Single abstract stamp.
Parameters
----------
Inherit from this class to add metadata to the stamp.
Definition at line 206 of file stamps.py.
lsst.meas.algorithms.stamps.AbstractStamp.factory |
( |
| cls, |
|
|
| stamp_im, |
|
|
| metadata, |
|
|
| index, |
|
|
| archive_element = None ) |
This method is needed to service the FITS reader. We need a standard
interface to construct objects like this. Parameters needed to
construct this object are passed in via a metadata dictionary and then
passed to the constructor of this class.
Parameters
----------
stamp : `~lsst.afw.image.MaskedImage`
Pixel data to pass to the constructor
metadata : `dict`
Dictionary containing the information
needed by the constructor.
idx : `int`
Index into the lists in ``metadata``
archive_element : `~lsst.afw.table.io.Persistable`, optional
Archive element (e.g. Transform or WCS) associated with this stamp.
Returns
-------
stamp : `AbstractStamp`
An instance of this class
Reimplemented in lsst.meas.algorithms.brightStarStamps.BrightStarStamp, and lsst.meas.algorithms.stamps.Stamp.
Definition at line 216 of file stamps.py.