|
lsst.meas.algorithms g1581cd22ba+dee93ecadb
|
Public Member Functions | |
| evaluate (self, x, y=None) | |
Definition at line 33 of file coaddBoundedField.py.
| lsst.meas.algorithms.coaddBoundedField.CoaddBoundedField.evaluate | ( | self, | |
| 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.Point2D` or `np.ndarray`
Array of x values.
y : `np.ndarray`, optional
Array of y values.
Returns
-------
values : `float` or `np.ndarray`
Evaluated value or array of values.
Definition at line 34 of file coaddBoundedField.py.