CpFlatApplyGradientsTask#
- class lsst.cp.pipe.CpFlatApplyGradientsTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
PipelineTaskTask to apply/remove gradients for dome flats.
Methods Summary
run(*, camera, input_flat, ...)Run the CpFlatApplyGradientsTask.
Methods Documentation
- run(*, camera, input_flat, reference_gradient, gradient)#
Run the CpFlatApplyGradientsTask.
This will apply (remove) any gradients from a flat.
Parameters#
- camera
lsst.afw.cameraGeom.Camera Camera object.
- input_flat
lsst.afw.Exposure Input flat to apply/remove gradients.
- reference_gradient
lsst.ip.isr.FlatGradient Reference gradient with target radial function.
- gradient
lsst.ip.isr.FlatGradient Gradient fit to the full focal plane.
Returns#
- struct
lsst.pipe.base.Struct - Output structure with:
output_flat:lsst.afw.image.Exposure
- camera