CoaddBoundedField#
- class lsst.meas.algorithms.CoaddBoundedField#
Bases:
BoundedFieldMethods 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#
- x
lsst.geom.Point2Dornp.ndarray Array of x values.
- y
np.ndarray, optional Array of y values.
Returns#
- values
floatornp.ndarray Evaluated value or array of values.
- x
- 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.
readFits(fileName: str, hdu: typing.SupportsInt = -2147483648) -> lsst.meas.algorithms.CoaddBoundedField
readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: typing.SupportsInt = -2147483648) -> lsst.meas.algorithms.CoaddBoundedField
- writeFits(*args, **kwargs)#
Overloaded function.
writeFits(self: lsst.meas.algorithms.CoaddBoundedField, fileName: str, mode: str = ‘w’) -> None
writeFits(self: lsst.meas.algorithms.CoaddBoundedField, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None