BrighterFatterKernelSolveTask¶
BrighterFatterKernelSolveTask
inverts the covariance matrix from a photon transfer curve dataset to produce a brighter-fatter kernel.
Processing summary¶
BrighterFatterKernelSolveTask
runs these operations:
- Scale and normalize the covariance matrix.
- Tile the covariance matrix to produce the cross-correlation in all four quadrants.
- Invert cross-correlation through successive over relaxation process.
- Optionally average the per-amplifier kernels into a per-detector kernel.
Python API summary¶
from lsst.cp.pipe.makeBrighterFatterKernel import BrighterFatterKernelSolveTask
-
class
(*, config: Optional[PipelineTaskConfig] = None, log: Optional[Union[logging.Logger, LsstLogAdapter]] = None, initInputs: Optional[Dict[str, Any]] = None, **kwargs)BrighterFatterKernelSolveTask
Measure appropriate Brighter-Fatter Kernel from the PTC dataset
...
-
attribute
config
Access configuration fields and retargetable subtasks.
-
method
(inputPtc, dummy, camera, inputDims)run
Combine covariance information from PTC into brighter-fatter kernels
...
See also
See the BrighterFatterKernelSolveTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
connections¶
- Data type
lsst.pipe.base.config.Connections
- Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes
correlationModelRadius¶
Build a model of the correlation coefficients for radii larger than this value in pixels?
correlationModelSlope¶
Slope of the correlation model for radii larger than correlationModelRadius
correlationQuadraticFit¶
Use a quadratic fit to find the correlations instead of simple averaging?
eLevelSuccessiveOverRelaxation¶
The target residual error for the successive over-relaxation method
forceZeroSum¶
Force the correlation matrix to have zero sum by adjusting the (0,0) value?
ignoreAmpsForAveraging¶
List of amp names to ignore when averaging the amplifier kernels into the detector kernel. Only relevant for level = DETECTOR
level¶
- Default
'AMP'
- Field type
str
ChoiceField
(optional)- Choices
'AMP'
- Every amplifier treated separately
'DETECTOR'
- One kernel per detector
None
- Field is optional
The level at which to calculate the brighter-fatter kernels
maxIterSuccessiveOverRelaxation¶
The maximum number of iterations allowed for the successive over-relaxation method
nSigmaClip¶
Number of sigma to clip when calculating means for the cross-correlation
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
saveMetadata¶
Flag to enable/disable metadata saving for a task, enabled by default.
useAmatrix¶
Use the PTC ‘a’ matrix (Astier et al. 2019 equation 20) instead of the average of measured covariances?