A task to warp and PSF-match an exposure
Definition at line 52 of file warpAndPsfMatch.py.
def lsst.pipe.tasks.warpAndPsfMatch.WarpAndPsfMatchTask.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def lsst.pipe.tasks.warpAndPsfMatch.WarpAndPsfMatchTask.run |
( |
|
self, |
|
|
|
exposure, |
|
|
|
wcs, |
|
|
|
modelPsf = None , |
|
|
|
maxBBox = None , |
|
|
|
destBBox = None |
|
) |
| |
Warp and PSF-match exposure (if modelPsf is not None)
Parameters
----------
exposure : :cpp:class: `lsst::afw::image::Exposure`
Exposure to preprocess. PSF matching is done in place.
wcs : :cpp:class:`lsst::afw::image::Wcs`
Desired WCS of temporary images.
modelPsf : :cpp:class: `lsst::meas::algorithms::KernelPsf` or None
Target PSF to which to match.
If None then exposures are not PSF matched.
maxBBox : :cpp:class:`lsst::afw::geom::Box2I` or None
Maximum allowed parent bbox of warped exposure.
If None then the warped exposure will be just big enough to contain all warped pixels;
if provided then the warped exposure may be smaller, and so missing some warped pixels;
ignored if destBBox is not None.
destBBox: :cpp:class: `lsst::afw::geom::Box2I` or None
Exact parent bbox of warped exposure.
If None then maxBBox is used to determine the bbox, otherwise maxBBox is ignored.
Returns
-------
An lsst.pipe.base.Struct with the following fields:
exposure : :cpp:class:`lsst::afw::image::Exposure`
processed exposure
Definition at line 62 of file warpAndPsfMatch.py.
lsst.pipe.tasks.warpAndPsfMatch.WarpAndPsfMatchTask.warper |
The documentation for this class was generated from the following file: