CalibStatsTask#

class lsst.cp.pipe.CalibStatsTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#

Bases: Task

Measure statistics on the background

This can be useful for scaling the background, e.g., for flats and fringe frames.

Methods Summary

run(exposureOrImage)

Measure a particular statistic on an image (of some sort).

Methods Documentation

run(exposureOrImage)#

Measure a particular statistic on an image (of some sort).

Parameters#

exposureOrImagelsst.afw.image.Exposure,

lsst.afw.image.MaskedImage, or lsst.afw.image.Image

Exposure or image to calculate statistics on.

Returns#

resultsfloat

Resulting statistic value.