LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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