LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
Public Member Functions | |
__reduce__ (self) | |
__deepcopy__ (self, memo=None) | |
convertF (self) | |
convertD (self) | |
getImage (self) | |
setImage (self, image) | |
getMask (self) | |
setMask (self, mask) | |
getVariance (self) | |
setVariance (self, variance) | |
getConvexPolygon (self, padding=10) | |
containsSkyCoords (self, ra, dec, padding=10) | |
Public Attributes | |
wcs | |
Static Public Attributes | |
readFitsWithOptions = classmethod(imageReadFitsWithOptions) | |
writeFitsWithOptions = exposureWriteFitsWithOptions | |
Protected Member Functions | |
_set (self, index, value, origin) | |
_get (self, index, origin) | |
Properties | |
image = property(getImage, setImage) | |
mask = property(getMask, setMask) | |
variance = property(getVariance, setVariance) | |
convex_polygon = property(getConvexPolygon) | |
Definition at line 35 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.__deepcopy__ | ( | self, | |
memo = None ) |
Definition at line 67 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.__reduce__ | ( | self | ) |
Definition at line 63 of file _exposureContinued.py.
|
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.
|
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.
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.
lsst.afw.image._exposure._exposureContinued.Exposure.convertD | ( | self | ) |
Definition at line 73 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.convertF | ( | self | ) |
Definition at line 70 of file _exposureContinued.py.
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.
lsst.afw.image._exposure._exposureContinued.Exposure.getImage | ( | self | ) |
Definition at line 76 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.getMask | ( | self | ) |
Definition at line 84 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.getVariance | ( | self | ) |
Definition at line 92 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.setImage | ( | self, | |
image ) |
Definition at line 79 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.setMask | ( | self, | |
mask ) |
Definition at line 87 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.setVariance | ( | self, | |
variance ) |
Definition at line 95 of file _exposureContinued.py.
|
static |
Definition at line 164 of file _exposureContinued.py.
lsst.afw.image._exposure._exposureContinued.Exposure.wcs |
Definition at line 124 of file _exposureContinued.py.
|
static |
Definition at line 166 of file _exposureContinued.py.
|
static |
Definition at line 126 of file _exposureContinued.py.
Definition at line 82 of file _exposureContinued.py.
Definition at line 90 of file _exposureContinued.py.
|
static |
Definition at line 98 of file _exposureContinued.py.