sdss_name¶
-
pydl.photoop.sdssio.sdss_name(ftype, run, camcol, field, rerun='', thisfilter='r', no_path=False)[source]¶ Return the name of an SDSS data file including path.
Parameters: ftype :
strThe general type of the file, for example
'reObj'run :
intThe run number.
camcol :
intThe camcol number.
field :
intThe field number
rerun :
str, optionalIf necessary, set the rerun name using this argument.
thisfilter :
intorstr, optionalIf necessary, set the filter using this argument.
no_path :
bool, optionalNormally, sdss_name returns the full path. If
no_pathisTrue, only the basename of the file is returned.Returns: strThe full file name, normally including the full path.
Raises: :exc:`KeyError`
If the file type is unknown.