|
lsst.pipe.tasks g5b638a483d+2a6a9422c9
|
Public Member Functions | |
| __init__ (self, **kwargs) | |
| run (self, exposure, sources, background, summary=None) | |
| update_psf_stats (self, summary, psf, bbox, sources=None, image_mask=None, image_ap_corr_map=None, sources_is_astropy=False) | |
| comp_psf_TEX_visit_level (self, summary, sources, sources_is_astropy=False) | |
| update_wcs_stats (self, summary, wcs, bbox, visitInfo) | |
| update_photo_calib_stats (self, summary, photo_calib) | |
| update_background_stats (self, summary, background) | |
| update_masked_image_stats (self, summary, masked_image) | |
| update_effective_time_stats (self, summary, exposure) | |
| update_magnitude_limit_stats (self, summary, exposure) | |
Public Attributes | |
| psfTE1e1 = nan, nan | |
| psfTE1e2 = nan, nan | |
| psfTE1ex = nan, nan | |
| psfTE2e1 = nan, nan | |
| psfTE2e2 = nan, nan | |
| psfTE2ex = nan, nan | |
| psfTE3e1 = nan, nan | |
| psfTE3e2 = nan, nan | |
| psfTE3ex = nan, nan | |
| psfTE4e1 = nan, nan | |
| psfTE4e2 = nan, nan | |
| psfTE4ex = nan, nan | |
Static Public Attributes | |
| ConfigClass = ComputeExposureSummaryStatsConfig | |
Protected Attributes | |
| bool | _isTEXComputationDone = False |
Static Protected Attributes | |
| str | _DefaultName = "computeExposureSummaryStats" |
Task to compute exposure summary statistics. This task computes various quantities suitable for DPDD and other downstream processing at the detector centers, including: - expTime - psfSigma - psfArea - psfIxx - psfIyy - psfIxy - ra - dec - pixelScale (arcsec/pixel) - zenithDistance - zeroPoint - skyBg - skyNoise - meanVar - raCorners - decCorners - astromOffsetMean - astromOffsetStd These additional quantities are computed from the stars in the detector: - psfStarDeltaE1Median - psfStarDeltaE2Median - psfStarDeltaE1Scatter - psfStarDeltaE2Scatter - psfStarDeltaSizeMedian - psfStarDeltaSizeScatter - psfStarScaledDeltaSizeScatter These quantities are computed based on the PSF model and image mask to assess the robustness of the PSF model across a given detector (against, e.g., extrapolation instability): - maxDistToNearestPsf - psfTraceRadiusDelta - psfApFluxDelta These quantities are computed as part of: https://rubinobs.atlassian.net/browse/DM-40780 - psfTE1e1 - psfTE1e2 - psfTE1ex - psfTE2e1 - psfTE2e2 - psfTE2ex - psfTE3e1 - psfTE3e2 - psfTE3ex - psfTE4e1 - psfTE4e2 - psfTE4ex This quantity is computed based on the aperture correction map, the psfSigma, and the image mask to assess the robustness of the aperture corrections across a given detector: - psfApCorrSigmaScaledDelta These quantities are computed based on the shape measurements of the sources used in the PSF model to assess the image quality (i.e. as a measure of the deviation from a circular shape): - starEMedian - starUnNormalizedEMedian These quantities are computed to assess depth: - effTime - effTimePsfSigmaScale - effTimeSkyBgScale - effTimeZeroPointScale - magLim
Definition at line 268 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.__init__ | ( | self, | |
| ** | kwargs ) |
Definition at line 345 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.comp_psf_TEX_visit_level | ( | self, | |
| summary, | |||
| sources, | |||
| sources_is_astropy = False ) |
Compute all summary-statistic fields at visit level for TEx metric of PSF.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
sources : `lsst.afw.table.SourceCatalog` or `astropy.table.Table`
Catalog for quantities that are computed from source table columns.
If `None`, these quantities will be reset (generally to NaN).
The type of this table must correspond to the
``sources_is_astropy`` argument.
sources_is_astropy : `bool`, optional
Whether ``sources`` is an `astropy.table.Table` instance instead
of an `lsst.afw.table.Catalog` instance.
Definition at line 634 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.run | ( | self, | |
| exposure, | |||
| sources, | |||
| background, | |||
| summary = None ) |
Measure exposure statistics from the exposure, sources, and
background.
Parameters
----------
exposure : `lsst.afw.image.ExposureF`
sources : `lsst.afw.table.SourceCatalog`
background : `lsst.afw.math.BackgroundList`
summary : `lsst.afw.image.ExposureSummary`, optional
Summary object to be appended to if not `None`. If `None` a new
summary object will be created.
Returns
-------
summary : `lsst.afw.image.ExposureSummary`
Definition at line 356 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_background_stats | ( | self, | |
| summary, | |||
| background ) |
Compute summary-statistic fields that depend only on the
background model.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
background : `lsst.afw.math.BackgroundList` or `None`
Background model. If `None`, all fields that depend on the
background will be reset (generally to NaN).
Notes
-----
This does not include fields that depend on the background-subtracted
masked image; when the background changes, it should generally be
applied to the image and `update_masked_image_stats` should be called
as well.
Definition at line 869 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_effective_time_stats | ( | self, | |
| summary, | |||
| exposure ) |
Compute effective exposure time statistics to estimate depth.
The effective exposure time is the equivalent shutter open
time that would be needed under nominal conditions to give the
same signal-to-noise for a point source as what is achieved by
the observation of interest. This metric combines measurements
of the point-spread function, the sky brightness, and the
transparency. It assumes that the observation is
sky-background dominated.
.. _teff_definitions:
The effective exposure time and its subcomponents are defined in [1]_.
References
----------
.. [1] Neilsen, E.H., Bernstein, G., Gruendl, R., and Kent, S. (2016).
Limiting Magnitude, \tau, teff, and Image Quality in DES Year 1
https://www.osti.gov/biblio/1250877/
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
exposure : `lsst.afw.image.ExposureF`
Exposure to grab band and exposure time metadata
Definition at line 927 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_magnitude_limit_stats | ( | self, | |
| summary, | |||
| exposure ) |
Compute a summary statistic for the point-source magnitude limit at
a given signal-to-noise ratio using exposure-level metadata.
The magnitude limit is calculated at a given SNR from the PSF,
sky, zeropoint, and readnoise in accordance with SMTN-002 [1]_,
LSE-40 [2]_, and DMTN-296 [3]_.
References
----------
.. [1] "Calculating LSST limiting magnitudes and SNR" (SMTN-002)
.. [2] "Photon Rates and SNR Calculations" (LSE-40)
.. [3] "Calculations of Image and Catalog Depth" (DMTN-296)
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
exposure : `lsst.afw.image.ExposureF`
Exposure to grab band and exposure time metadata
Definition at line 1030 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_masked_image_stats | ( | self, | |
| summary, | |||
| masked_image ) |
Compute summary-statistic fields that depend on the masked image
itself.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
masked_image : `lsst.afw.image.MaskedImage` or `None`
Masked image. If `None`, all fields that depend
on the masked image will be reset (generally to NaN).
Definition at line 895 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_photo_calib_stats | ( | self, | |
| summary, | |||
| photo_calib ) |
Compute all summary-statistic fields that depend on the photometric
calibration model.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
photo_calib : `lsst.afw.image.PhotoCalib` or `None`
Photometric calibration model. If `None`, all fields that depend
on the photometric calibration will be reset (generally to NaN).
Definition at line 852 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_psf_stats | ( | self, | |
| summary, | |||
| psf, | |||
| bbox, | |||
| sources = None, | |||
| image_mask = None, | |||
| image_ap_corr_map = None, | |||
| sources_is_astropy = False ) |
Compute all summary-statistic fields that depend on the PSF model.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
psf : `lsst.afw.detection.Psf` or `None`
Point spread function model. If `None`, all fields that depend on
the PSF will be reset (generally to NaN).
bbox : `lsst.geom.Box2I`
Bounding box of the image for which summary stats are being
computed.
sources : `lsst.afw.table.SourceCatalog` or `astropy.table.Table`
Catalog for quantities that are computed from source table columns.
If `None`, these quantities will be reset (generally to NaN).
The type of this table must correspond to the
``sources_is_astropy`` argument.
image_mask : `lsst.afw.image.Mask`, optional
Mask image that may be used to compute distance-to-nearest-star
metrics.
sources_is_astropy : `bool`, optional
Whether ``sources`` is an `astropy.table.Table` instance instead
of an `lsst.afw.table.Catalog` instance. Default is `False` (the
latter).
Definition at line 417 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.update_wcs_stats | ( | self, | |
| summary, | |||
| wcs, | |||
| bbox, | |||
| visitInfo ) |
Compute all summary-statistic fields that depend on the WCS model.
Parameters
----------
summary : `lsst.afw.image.ExposureSummaryStats`
Summary object to update in-place.
wcs : `lsst.afw.geom.SkyWcs` or `None`
Astrometric calibration model. If `None`, all fields that depend
on the WCS will be reset (generally to NaN).
bbox : `lsst.geom.Box2I`
Bounding box of the image for which summary stats are being
computed.
visitInfo : `lsst.afw.image.VisitInfo`
Observation information used in together with ``wcs`` to compute
the zenith distance.
Definition at line 790 of file computeExposureSummaryStats.py.
|
staticprotected |
Definition at line 343 of file computeExposureSummaryStats.py.
|
protected |
Definition at line 353 of file computeExposureSummaryStats.py.
|
static |
Definition at line 342 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE1e1 = nan, nan |
Definition at line 671 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE1e2 = nan, nan |
Definition at line 672 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE1ex = nan, nan |
Definition at line 673 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE2e1 = nan, nan |
Definition at line 674 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE2e2 = nan, nan |
Definition at line 675 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE2ex = nan, nan |
Definition at line 676 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE3e1 = nan, nan |
Definition at line 677 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE3e2 = nan, nan |
Definition at line 678 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE3ex = nan, nan |
Definition at line 679 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE4e1 = nan, nan |
Definition at line 680 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE4e2 = nan, nan |
Definition at line 681 of file computeExposureSummaryStats.py.
| lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask.psfTE4ex = nan, nan |
Definition at line 682 of file computeExposureSummaryStats.py.