|
| _set (self, index, value, origin) |
|
| _get (self, index, origin) |
|
Definition at line 35 of file _exposureContinued.py.
◆ __deepcopy__()
lsst.afw.image._exposure._exposureContinued.Exposure.__deepcopy__ |
( |
| self, |
|
|
| memo = None ) |
◆ __reduce__()
lsst.afw.image._exposure._exposureContinued.Exposure.__reduce__ |
( |
| self | ) |
|
◆ _get()
lsst.afw.image._exposure._exposureContinued.Exposure._get |
( |
| self, |
|
|
| index, |
|
|
| origin ) |
|
protected |
Return a triple (value, mask, variance) at the given index.
Parameters
----------
index : `geom.Point2I`
Position of the pixel to assign to.
origin : `ImageOrigin`
Coordinate system of ``index`` (`PARENT` or `LOCAL`).
Definition at line 51 of file _exposureContinued.py.
◆ _set()
lsst.afw.image._exposure._exposureContinued.Exposure._set |
( |
| self, |
|
|
| index, |
|
|
| value, |
|
|
| origin ) |
|
protected |
Set the pixel at the given index to a triple (value, mask, variance).
Parameters
----------
index : `geom.Point2I`
Position of the pixel to assign to.
value : `tuple`
A tuple of (value, mask, variance) scalars.
origin : `ImageOrigin`
Coordinate system of ``index`` (`PARENT` or `LOCAL`).
Definition at line 37 of file _exposureContinued.py.
◆ containsSkyCoords()
lsst.afw.image._exposure._exposureContinued.Exposure.containsSkyCoords |
( |
| self, |
|
|
| ra, |
|
|
| dec, |
|
|
| padding = 10 ) |
Check if a set of sky positions is in the pixel bounding box.
The default padding size was chosen to be sufficient for the
most warped detectors at the edges of the HyperSuprimeCam focal plane.
Parameters
----------
ra : `astropy.Quantity`, (N,)
Array of Right Ascension, angular units.
dec : `astropy.Quantity`, (N,)
Array of Declination, angular units.
padding : `int`, optional
Pixel padding to ensure that bounding box is entirely contained
within the sky polygon (see ``getConvexPolygon()``).
Returns
-------
contained : `np.ndarray`, (N,)
Boolean array indicating which points are contained in the
bounding box.
Raises
------
ValueError if exposure does not have a valid wcs.
Definition at line 128 of file _exposureContinued.py.
◆ convertD()
lsst.afw.image._exposure._exposureContinued.Exposure.convertD |
( |
| self | ) |
|
◆ convertF()
lsst.afw.image._exposure._exposureContinued.Exposure.convertF |
( |
| self | ) |
|
◆ getConvexPolygon()
lsst.afw.image._exposure._exposureContinued.Exposure.getConvexPolygon |
( |
| self, |
|
|
| padding = 10 ) |
Get the convex polygon associated with the bounding box corners.
The returned polygon has additional padding to ensure that the
bounding box is entirely contained within it. To ensure a set
of coordinates are entirely contained within an exposure, run
``exposure.containsSkyCoords()``. The default padding
size was chosen to be sufficient for the most warped detectors at
the edges of the HyperSuprimeCam focal plane.
Parameters
----------
padding : `int`
Pixel padding to ensure that bounding box is entirely contained
within the resulting polygon.
Returns
-------
convexPolygon : `lsst.sphgeom.ConvexPolygon`
Returns `None` if exposure does not have a valid WCS.
Definition at line 100 of file _exposureContinued.py.
◆ getImage()
lsst.afw.image._exposure._exposureContinued.Exposure.getImage |
( |
| self | ) |
|
◆ getMask()
lsst.afw.image._exposure._exposureContinued.Exposure.getMask |
( |
| self | ) |
|
◆ getVariance()
lsst.afw.image._exposure._exposureContinued.Exposure.getVariance |
( |
| self | ) |
|
◆ setImage()
lsst.afw.image._exposure._exposureContinued.Exposure.setImage |
( |
| self, |
|
|
| image ) |
◆ setMask()
lsst.afw.image._exposure._exposureContinued.Exposure.setMask |
( |
| self, |
|
|
| mask ) |
◆ setVariance()
lsst.afw.image._exposure._exposureContinued.Exposure.setVariance |
( |
| self, |
|
|
| variance ) |
◆ readFitsWithOptions
lsst.afw.image._exposure._exposureContinued.Exposure.readFitsWithOptions = classmethod(imageReadFitsWithOptions) |
|
static |
◆ wcs
lsst.afw.image._exposure._exposureContinued.Exposure.wcs |
◆ writeFitsWithOptions
lsst.afw.image._exposure._exposureContinued.Exposure.writeFitsWithOptions = exposureWriteFitsWithOptions |
|
static |
◆ convex_polygon
lsst.afw.image._exposure._exposureContinued.Exposure.convex_polygon = property(getConvexPolygon) |
|
static |
◆ image
lsst.afw.image._exposure._exposureContinued.Exposure.image = property(getImage, setImage) |
|
static |
◆ mask
lsst.afw.image._exposure._exposureContinued.Exposure.mask = property(getMask, setMask) |
|
static |
◆ variance
The documentation for this class was generated from the following file: