|
lsst.afw g4f4f280218+81551fceaa
|
Classes | |
| class | MultibandFootprint |
Functions | |
| def | getSpanSetFromImages (images, thresh=0, xy0=None) |
| def | heavyFootprintToImage (heavy, fill=np.nan, bbox=None, imageType=MaskedImage) |
| def lsst.afw.detection.multiband.getSpanSetFromImages | ( | images, | |
thresh = 0, |
|||
xy0 = None |
|||
| ) |
Create a Footprint from a set of Images
Parameters
----------
images : `lsst.afw.image.MultibandImage` or list of `lsst.afw.image.Image`, array
Images to extract the footprint from
thresh : `float`
All pixels above `thresh` will be included in the footprint
xy0 : `lsst.geom.Point2I`
Location of the minimum value of the images bounding box
(if images is an array, otherwise the image bounding box is used).
Returns
-------
spans : `lsst.afw.geom.SpanSet`
Union of all spans in the images above the threshold
imageBBox : `lsst.afw.detection.Box2I`
Bounding box for the input images.
Definition at line 35 of file multiband.py.
| def lsst.afw.detection.multiband.heavyFootprintToImage | ( | heavy, | |
fill = np.nan, |
|||
bbox = None, |
|||
imageType = MaskedImage |
|||
| ) |
Create an image of a HeavyFootprint
Parameters
----------
heavy : `HeavyFootprint`
The HeavyFootprint to insert into the image
fill: number
Number to fill the pixels in the image that are not
contained in `heavy`.
bbox : `Box2I`
Bounding box of the output image.
imageType : `type`
This should be either a `MaskedImage` or `Image` and describes
the type of the output image.
Returns
-------
image : `lsst.afw.image.MaskedImage` or `lsst.afw.image.Image`
An image defined by `bbox` and padded with `fill` that
contains the projected flux in `heavy`.
Definition at line 80 of file multiband.py.