spec_path¶
-
pydl.pydlspec2d.spec1d.spec_path(plate, path=None, topdir=None, run2d=None)[source]¶ Return the directory containing spPlate files.
Parameters: plate :
intornumpy.ndarrayThe plate(s) to examine.
path :
str, optionalIf set,
pathbecomes the full path for every plate. In other words, it completely short-circuits this function.topdir :
str, optionalUsed to override the value of
BOSS_SPECTRO_REDUX.run2d :
str, optionalUsed to override the value of
RUN2D.Returns: listA list of directories, one for each plate.
Raises: :exc:`KeyError`
If environment variables are not supplied.