sdss_sweep_circle¶
-
pydl.pydlutils.sdss.sdss_sweep_circle(ra, dec, radius, stype='star', allobj=False)[source]¶ Read the SDSS datasweep files and return objects around a location.
Parameters: ra, dec :
floatThe sky location to search, J2000 degrees.
radius :
floatThe radius around
ra,decto search.stype :
str, optionalThe type of object to search, ‘star’, ‘gal’ or ‘sky’. The default is ‘star’.
allobj :
bool, optionalIf set to
True, return all objects found, not just SURVEY_PRIMARY.Returns: numpy.ndarrayThe data extracted from the sweep files.
Raises: :exc:`PydlutilsException`
If
PHOTO_SWEEPis not set.Notes
Assumes that the sweep files exist in
PHOTO_SWEEPand that index files have been created.