FocalPlaneBackgroundConfig#
- class lsst.pipe.tasks.background.FocalPlaneBackgroundConfig(*args, **kw)#
Bases:
ConfigConfiguration for FocalPlaneBackground
Note that
xSizeandySizeare floating-point values, as the focal plane frame is usually defined in units of microns or millimetres rather than pixels. As such, their values will need to be revised according to each particular camera. For this reason, no defaults are set for those.Attributes Summary
Binning to use for CCD background model (pixels) (
int, default64)Do smoothing? (
bool, defaultFalse)how to interpolate the background values.
Mask planes to treat as bad (
List, default['BAD', 'SAT', 'INTRP', 'DETECTED', 'DETECTED_NEGATIVE', 'EDGE', 'NO_DATA'])Minimum fraction of bin size for good measurement (
float, default0.1)Pixel size in same units as xSize/ySize (
float, default1.0)Smoothing scale, as a multiple of the bin size (
float, default2.0)Bin size in x (
float)Bin size in y (
float)Attributes Documentation
- binning#
Binning to use for CCD background model (pixels) (
int, default64)
- doSmooth#
Do smoothing? (
bool, defaultFalse)
- interpolation#
how to interpolate the background values. This maps to an enum; see afw::math::Background (
str, default'AKIMA_SPLINE')Allowed values:
'CONSTANT'Use a single constant value
'LINEAR'Use linear interpolation
'NATURAL_SPLINE'cubic spline with zero second derivative at endpoints
'AKIMA_SPLINE'higher-level nonlinear spline that is more robust to outliers
'NONE'No background estimation is to be attempted
'None'Field is optional
- mask#
Mask planes to treat as bad (
List, default['BAD', 'SAT', 'INTRP', 'DETECTED', 'DETECTED_NEGATIVE', 'EDGE', 'NO_DATA'])
- minFrac#
Minimum fraction of bin size for good measurement (
float, default0.1)
- pixelSize#
Pixel size in same units as xSize/ySize (
float, default1.0)
- smoothScale#
Smoothing scale, as a multiple of the bin size (
float, default2.0)
- xSize#
Bin size in x (
float)
- ySize#
Bin size in y (
float)