StitchedApertureCorrection

class lsst.cell_coadds.StitchedApertureCorrection(ugrid: UniformGrid, gc: Mapping[Index2D, float])

Bases: object

A class that quacks like BoundedField and defined on a grid piecewise.

Parameters:
ugridUniformGrid

The uniform grid that defines the bounding boxes for each piece.

gcMapping[Index2D, float]

The grid container that holds the values for each cell.

Methods Summary

evaluate()

Evaluate the BoundedField at a given point on the image.

Methods Documentation

evaluate(x: geom.Point2D | geom.Point2I, y: None) float
evaluate(x: Iterable[float], y: Iterable[float]) np.ndarray

Evaluate the BoundedField at a given point on the image.

Parameters:
xPoint2D or Point2I, or Iterable[float]

The point at which to evaluate the BoundedField, or an iterable of x-coordinates.

yIterable[float], optional

The y-coordinates of the points at which to evaluate the aperture correction. If None, x is assumed to be a single point.

Returns:
value: float, or numpy.ndarray

The value of the BoundedField at the specified point.