|
lsst.pipe.tasks g540474b770+e2881a99e2
|
Classes | |
| class | DonutPsf |
| class | PeekDonutTask |
| class | PeekDonutTaskConfig |
| class | PeekExposureTask |
| class | PeekExposureTaskConfig |
| class | PeekPhotoTask |
| class | PeekPhotoTaskConfig |
| class | PeekSpecTask |
| class | PeekSpecTaskConfig |
| class | PeekTask |
| class | PeekTaskConfig |
Functions | |
| isDispersedExp (exp) | |
| float | _estimateMode (npt.NDArray[np.float64] data, float frac=0.5) |
| geom.Extent2D | _bearingToUnitVector (afwGeom.SkyWcs wcs, geom.Angle bearing, geom.Point2D imagePoint, geom.SpherePoint|None skyPoint=None) |
| dict | roseVectors (afwGeom.SkyWcs wcs, geom.Point2D imagePoint, geom.Angle|None parAng=None) |
| None | plotRose (afwDisplay.Display display, afwGeom.SkyWcs wcs, geom.Point2D imagePoint, geom.Angle|None parAng=None, float len=50) |
Variables | |
| int | IDX_SENTINEL = -99999 |
| str | FILTER_DELIMITER = "~" |
|
protected |
Compute unit vector along given bearing at given point in the sky.
Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
World Coordinate System of image.
bearing : `lsst.geom.Angle`
Bearing (angle North of East) at which to compute unit vector.
imagePoint : `lsst.geom.Point2D`
Point in the image.
skyPoint : `lsst.geom.SpherePoint`, optional
Point in the sky.
Returns
-------
unitVector : `lsst.geom.Extent2D`
Unit vector in the direction of bearing.
Definition at line 118 of file peekExposure.py.
|
protected |
Estimate the mode of a 1d distribution.
Finds the smallest interval containing the fraction ``frac`` of the data,
then takes the median of the values in that interval.
Parameters
----------
data : array-like
1d array of data values
frac : float, optional
Fraction of data to include in the mode interval. Default is 0.5.
Returns
-------
mode : float
Estimated mode of the data.
Definition at line 86 of file peekExposure.py.
| lsst.pipe.tasks.peekExposure.isDispersedExp | ( | exp | ) |
Check if an exposure is dispersed.
Note this is copied from `atmospec.utils.isDispersedExp` to avoid a
circular import.
Parameters
----------
exp : `lsst.afw.image.Exposure`
The exposure.
Returns
-------
isDispersed : `bool`
Whether it is a dispersed image or not.
Definition at line 61 of file peekExposure.py.
| None lsst.pipe.tasks.peekExposure.plotRose | ( | afwDisplay.Display | display, |
| afwGeom.SkyWcs | wcs, | ||
| geom.Point2D | imagePoint, | ||
| geom.Angle | None | parAng = None, | ||
| float | len = 50 ) |
Display unit vectors along N/W and optionally alt/az directions.
Parameters
----------
display : `lsst.afw.display.Display`
Display on which to render rose.
wcs : `lsst.afw.geom.SkyWcs`
World Coordinate System of image.
imagePoint : `lsst.geom.Point2D`
Point in the image at which to render rose.
parAng : `lsst.geom.Angle`, optional
Parallactic angle (position angle of zenith measured East from North)
(default: None)
len : `float`, optional
Length of the rose vectors (default: 50)
Definition at line 181 of file peekExposure.py.
| dict lsst.pipe.tasks.peekExposure.roseVectors | ( | afwGeom.SkyWcs | wcs, |
| geom.Point2D | imagePoint, | ||
| geom.Angle | None | parAng = None ) |
Compute unit vectors in the N/W and optionally alt/az directions.
Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
World Coordinate System of image.
imagePoint : `lsst.geom.Point2D`
Point in the image
parAng : `lsst.geom.Angle`, optional
Parallactic angle (position angle of zenith measured East from North)
(default: None)
Returns
-------
unitVectors : `dict` of `lsst.geom.Extent2D`
Unit vectors in the N, W, alt, and az directions.
Definition at line 148 of file peekExposure.py.
| str lsst.pipe.tasks.peekExposure.FILTER_DELIMITER = "~" |
Definition at line 58 of file peekExposure.py.
| int lsst.pipe.tasks.peekExposure.IDX_SENTINEL = -99999 |
Definition at line 53 of file peekExposure.py.