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 :
str
The general type of the file, for example
'reObj'
run :
int
The run number.
camcol :
int
The camcol number.
field :
int
The field number
rerun :
str
, optionalIf necessary, set the rerun name using this argument.
thisfilter :
int
orstr
, optionalIf necessary, set the filter using this argument.
no_path :
bool
, optionalNormally, sdss_name returns the full path. If
no_path
isTrue
, only the basename of the file is returned.Returns: The full file name, normally including the full path.
Raises: KeyError
If the file type is unknown.