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
|
Classes | |
class | BackgroundConfig |
Config for background estimation. More... | |
class | SourceDetectionConfig |
Configuration parameters for the SourceDetectionTask. More... | |
class | SourceDetectionTask |
Detect positive and negative sources on an exposure and return a new table.SourceCatalog. More... | |
Functions | |
def | addExposures |
Add a set of exposures together. More... | |
def | getBackground |
Estimate the background of an image (a thin layer on lsst.afw.math.makeBackground) More... | |
def | estimateBackground |
Estimate exposure's background using parameters in backgroundConfig. More... | |
Variables | |
tuple | __all__ |
def lsst.meas.algorithms.detection.addExposures | ( | exposureList | ) |
Add a set of exposures together.
[in] | exposureList | sequence of exposures to add |
LsstException | if the exposures do not all have the same dimensions (but does not check xy0) |
Definition at line 531 of file detection.py.
def lsst.meas.algorithms.detection.estimateBackground | ( | exposure, | |
backgroundConfig, | |||
subtract = True , |
|||
stats = True , |
|||
statsKeys = None |
|||
) |
Estimate exposure's background using parameters in backgroundConfig.
If subtract is true, make a copy of the exposure and subtract the background. If stats
is True, measure the mean and variance of the background and add them to the background-subtracted exposure's metadata with keys "BGMEAN" and "BGVAR", or the keys given in statsKeys
(2-tuple of strings).
Return background, backgroundSubtractedExposure
Definition at line 639 of file detection.py.
def lsst.meas.algorithms.detection.getBackground | ( | image, | |
backgroundConfig, | |||
nx = 0 , |
|||
ny = 0 , |
|||
algorithm = None |
|||
) |
Estimate the background of an image (a thin layer on lsst.afw.math.makeBackground)
[in] | image | image whose background is to be computed |
[in] | backgroundConfig | configuration (a BackgroundConfig) |
[in] | nx | number of x bands; 0 for default |
[in] | ny | number of y bands; 0 for default |
[in] | algorithm | name of interpolation algorithm; see lsst.afw.math.BackgroundControl for details |
Definition at line 555 of file detection.py.
tuple lsst.meas.algorithms.detection.__all__ |
Definition at line 33 of file detection.py.