lsst.pipe.tasks gd5638573c2+392ae78cd2
Loading...
Searching...
No Matches
lsst.pipe.tasks.prettyPictureMaker._task.PrettyPictureStarFixerTask Class Reference
Inheritance diagram for lsst.pipe.tasks.prettyPictureMaker._task.PrettyPictureStarFixerTask:

Public Member Functions

Struct run (self, Mapping[str, ExposureF] inputs)
None runQuantum (self, QuantumContext butlerQC, InputQuantizedConnection inputRefs, OutputQuantizedConnection outputRefs)

Static Public Attributes

 ConfigClass = PrettyPictureStarFixerConfig

Static Protected Attributes

str _DefaultName = "prettyPictureStarFixer"

Detailed Description

This class fixes up regions in an image where there is no, or bad data.

The fixes done by this task are overwhelmingly comprised of the cores of
bright stars for which there is no data.

Member Function Documentation

◆ run()

Struct lsst.pipe.tasks.prettyPictureMaker._task.PrettyPictureStarFixerTask.run ( self,
Mapping[str, ExposureF] inputs )
Fix areas in an image where this is no data, most likely to be
the cores of bright stars.

Because we want to have consistent fixes accross bands, this method
relies on supplying all bands and fixing pixels that are marked
as having a defect in any band even if within one band there  is
no issue.

Parameters
----------
inputs : `Mapping` of `str` to `ExposureF`
    This mapping has keys of band as a `str` and the corresponding
    ExposureF as a value.

Returns
-------
results : `Struct` of `Mapping` of `str` to `ExposureF`
    A `Struct` that has a mapping of band to `ExposureF`. The `Struct`
    has an attribute named ``results``.

The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/prettyPictureMaker/_task.py