Public Member Functions | |
| __init__ (self, Box bbox) | |
| tuple[int,...] | shape (self) |
| Box | bbox (self) |
| np.ndarray | x_grid (self) |
| np.ndarray | y_grid (self) |
Protected Attributes | |
| Box | _bbox = bbox |
| _x = np.linspace(xi, xf - 1, width) | |
| _y = np.meshgrid(x, y) | |
| _r = None | |
| _r2 = None | |
A grid of X and Y values contained in a bbox
| lsst.scarlet.lite.models.parametric.CartesianFrame.__init__ | ( | self, | |
| Box | bbox ) |
Parameters
----------
bbox: Box
The bounding box that contains this frame.
| Box lsst.scarlet.lite.models.parametric.CartesianFrame.bbox | ( | self | ) |
Bounding box containing the frame
Reimplemented in lsst.scarlet.lite.models.parametric.EllipseFrame.
| tuple[int, ...] lsst.scarlet.lite.models.parametric.CartesianFrame.shape | ( | self | ) |
Shape of the frame.
| np.ndarray lsst.scarlet.lite.models.parametric.CartesianFrame.x_grid | ( | self | ) |
The grid of x-values for the entire frame
| np.ndarray lsst.scarlet.lite.models.parametric.CartesianFrame.y_grid | ( | self | ) |
The grid of y-values for the entire frame