CoaddBoundedField#

class lsst.meas.algorithms.CoaddBoundedField#

Bases: BoundedField

Methods Summary

evaluate(x[, y])

Evaluate the CoaddBoundedField.

getCoaddWcs(self)

getDefault(self)

getElements(self)

getThrowOnMissing(self)

isPersistable(self)

readFits(*args, **kwargs)

Overloaded function.

writeFits(*args, **kwargs)

Overloaded function.

Methods Documentation

evaluate(x, y=None)#

Evaluate the CoaddBoundedField.

This accepts either a Point2D or an array of x and y positions.

When arrays are passed, this uses a vectorized version of CoaddBoundedField::evaluate(). If the coadd bounded field has throwOnMissing then this will return NaN for missing values; otherwise it will return 0.0.

Parameters#

xlsst.geom.Point2D or np.ndarray

Array of x values.

ynp.ndarray, optional

Array of y values.

Returns#

valuesfloat or np.ndarray

Evaluated value or array of values.

getCoaddWcs(self: lsst.meas.algorithms.CoaddBoundedField) lsst.afw.geom.SkyWcs#
getDefault(self: lsst.meas.algorithms.CoaddBoundedField) float#
getElements(self: lsst.meas.algorithms.CoaddBoundedField) list[lsst.meas.algorithms.CoaddBoundedFieldElement]#
getThrowOnMissing(self: lsst.meas.algorithms.CoaddBoundedField) bool#
isPersistable(self: lsst.meas.algorithms.CoaddBoundedField) bool#
static readFits(*args, **kwargs)#

Overloaded function.

  1. readFits(fileName: str, hdu: typing.SupportsInt = -2147483648) -> lsst.meas.algorithms.CoaddBoundedField

  2. readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: typing.SupportsInt = -2147483648) -> lsst.meas.algorithms.CoaddBoundedField

writeFits(*args, **kwargs)#

Overloaded function.

  1. writeFits(self: lsst.meas.algorithms.CoaddBoundedField, fileName: str, mode: str = ‘w’) -> None

  2. writeFits(self: lsst.meas.algorithms.CoaddBoundedField, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None