|
lsst.pipe.tasks gd5638573c2+392ae78cd2
|
Public Member Functions | |
| __init__ (self, Image image, *, Image|None variance=None, ExtendedPsfImageInfo|None info=None, ExtendedPsfFit|None fit=None, dict[str, MetadataValue]|None metadata=None) | |
| Image | image (self) |
| Image | variance (self) |
| Box | bbox (self) |
| UnitBase|None | unit (self) |
| None | sky_projection (self) |
| ExtendedPsfImageInfo | info (self) |
| ExtendedPsfFit | fit (self) |
| ExtendedPsfImage | __getitem__ (self, Box|EllipsisType bbox) |
| None | __setitem__ (self, Box|EllipsisType bbox, ExtendedPsfImage value) |
| str | __str__ (self) |
| ExtendedPsfImage | copy (self) |
| ExtendedPsfImageSerializationModel | serialize (self, OutputArchive[Any] archive) |
Static Public Member Functions | |
| ExtendedPsfImage | deserialize (ExtendedPsfImageSerializationModel[Any] model, InputArchive[Any] archive, *, Box|None bbox=None) |
Static Protected Member Functions | |
| type[ExtendedPsfImageSerializationModel[P]] | _get_archive_tree_type (type[P] pointer_type) |
Protected Attributes | |
| Image | _image = image |
| Image | _variance = variance |
| ExtendedPsfImageInfo | _info = info |
| ExtendedPsfFit | _fit = fit |
A multi-plane image with data (image) and variance planes, and the
results of a profile fit to the image.
Parameters
----------
image : `~lsst.images.Image`
The main image plane.
variance : `~lsst.images.Image`, optional
The per-pixel uncertainty of the main image as an image of variance
values. Must have the same bounding box as ``image`` if provided, and
its units must be the square of ``image.unit`` or `None`.
Values default to ``1.0``. Any attached ``sky_projection`` is replaced
(possibly by `None`).
info : `ExtendedPsfImageInfo`, optional
Additional information about how the extended PSF image was
constructed.
fit : `ExtendedPsfFit`, optional
The results of a profile fit to the image.
metadata : `dict` [`str`, `MetadataValue`], optional
Arbitrary flexible metadata to associate with the image.
Attributes
----------
image : `~lsst.images.Image`
The main image plane.
variance : `~lsst.images.Image`
The per-pixel uncertainty of the main image as an image of variance
values.
info : `ExtendedPsfImageInfo`
Additional information about how the extended PSF image was
constructed.
fit : `ExtendedPsfFit`
The results of a profile fit to the image.
|
staticprotected |
Return the serialization model type for this object for an archive type that uses the given pointer type.
| Box lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.bbox | ( | self | ) |
The bounding box shared by both image planes (`Box`).
| ExtendedPsfImage lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.copy | ( | self | ) |
Deep-copy the profile image and metadata.
|
static |
Deserialize an image from an input archive.
Parameters
----------
model
A Pydantic model representation of the image, holding references
to data stored in the archive.
archive
Archive to read from.
bbox
Bounding box of a subimage to read instead.
| ExtendedPsfFit lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.fit | ( | self | ) |
The results of a profile fit to the image.
| Image lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.image | ( | self | ) |
The main image plane (`Image`).
| ExtendedPsfImageInfo lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.info | ( | self | ) |
Additional information about the image (`ExtendedPsfImageInfo`).
| ExtendedPsfImageSerializationModel lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.serialize | ( | self, | |
| OutputArchive[Any] | archive ) |
Serialize the Extended PSF image to an output archive.
Parameters
----------
archive
Archive to write to.
| None lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.sky_projection | ( | self | ) |
The projection that maps the pixel grid to the sky. ExtendedPsfImage does not support attached projections, so this always returns `None`.
| UnitBase | None lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.unit | ( | self | ) |
The units of the image plane (`astropy.units.Unit` | `None`).
| Image lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImage.variance | ( | self | ) |
The variance plane (`Image`).