LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Functions | |
def | getDataset |
def | getPsf |
def lsst.datarel.utils.getDataset | ( | butler, | |
dataset, | |||
dataId, | |||
strict, | |||
warn | |||
) |
Get a dataset from a repository with an optional exception or warning if not found @param[in] butler: data butler @param[in] dataset: name of desired dataset @param[in] dataId: data ID dict @param[in] strict: if True then raise RuntimeError if dataset not found @param[in] warn: if True and strict False then print a warning to stderr if dataset not found @raise RuntimeError if dataset not found and strict true
Definition at line 27 of file utils.py.
def lsst.datarel.utils.getPsf | ( | butler, | |
dataset, | |||
dataId, | |||
strict, | |||
warn | |||
) |
Get the PSF from a repository without reading (very much of) the exposure @param[in] butler: data butler @param[in] dataset: name of desired dataset @param[in] dataId: data ID dict of exposure containing desired PSF @param[in] strict: if True then raise RuntimeError if psf not found @param[in] warn: if True and strict False then print a warning to stderr if psf not found @raise RuntimeError if exposure not found (regardless of strict) @raise RuntimeError if exposure has no PSF and strict true