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, optional If necessary, set the rerun name using this argument.
- thisfilter
intorstr, optional If necessary, set the filter using this argument.
- no_path
bool, optional Normally, sdss_name returns the full path. If
no_pathisTrue, only the basename of the file is returned.
- ftype
- Returns:
strThe full file name, normally including the full path.
- Raises:
KeyErrorIf the file type is unknown.