|
lsst.meas.astrom gaea863341c+39a08c657f
|
Public Member Functions | |
| __init__ (self, config=None, *, schema, **kwargs) | |
| run (self, *, catalog, camera) | |
Static Public Attributes | |
| ConfigClass = RefitPointingConfig | |
Protected Member Functions | |
| _fit_pointing (self, catalog, camera) | |
| _compute_pointing_residual (self, transform, from_xyz, to_xyz) | |
| _null_bad (self, catalog) | |
| _make_visit_geometry (self, boresight, orientation, catalog, camera) | |
| tuple[np.ndarray, np.ndarray] | _make_grid (self, detector, spacing) |
Protected Attributes | |
| _detector_pointing_residual_key | |
| _visit_pointing_residual_key | |
| _rejected_key | |
| _rejection_threshold = self.config.rejection_threshold * arcseconds | |
| _nulling_threshold = self.config.nulling_threshold * arcseconds | |
Static Protected Attributes | |
| str | _DefaultName = "refitPointing" |
A task that uses the available WCSs of the detectors in a visit to re-fit the pointing for that visit and compute new visit regions for the butler.
Definition at line 101 of file refit_pointing.py.
| lsst.meas.astrom.refit_pointing.RefitPointingTask.__init__ | ( | self, | |
| config = None, | |||
| * | , | ||
| schema, | |||
| ** | kwargs ) |
Definition at line 109 of file refit_pointing.py.
|
protected |
Definition at line 312 of file refit_pointing.py.
|
protected |
Fit the pointing for a visit from the detectors in that visit that
have a fitted WCS.
Parameters
----------
catalog : `lsst.afw.table.ExposureCatalog`
A catalog of per-detector records for the visit.
camera : `lsst.afw.cameraGeom.Camera`
Camera geometry.
Returns
-------
boresight : `lsst.geom.SpherePoint`
New boresight location.
orientation : `lsst.geom.Angle`
New orientation angle.
Definition at line 193 of file refit_pointing.py.
|
protected |
Definition at line 378 of file refit_pointing.py.
|
protected |
Create new sky regions for the visit and its detectors.
Parameters
----------
boresight : `lsst.geom.SpherePoint`
New boresight location.
orientation : `lsst.geom.Angle`
New orientation angle.
catalog : `lsst.afw.table.ExposureCatalog`
A catalog of per-detector records for the visit with WCSs
A repointed raw-like WCS will be used for any detectors not in the
catalog or for which the catalog record does not have a WCS.
camera : `lsst.afw.cameraGeom.Camera`
Camera geometry.
Returns
-------
regions : `lsst.obs.base.visit_geometry.VisitGeometry`
Updated regions for the visit and all detectors in the camera.
Definition at line 334 of file refit_pointing.py.
|
protected |
Definition at line 323 of file refit_pointing.py.
| lsst.meas.astrom.refit_pointing.RefitPointingTask.run | ( | self, | |
| * | , | ||
| catalog, | |||
| camera ) |
Re-fit the pointing from the WCSs in a visit.
Parameters
----------
catalog : `lsst.afw.table.ExposureCatalog`
A catalog of per-detector records for the visit. Columns with WCS
diagnostics are updatd in-place, and WCSs may be set to `None` if
they do not satisfy the `~RefitPointingConfig.nulling_threshold`.
camera : `lsst.afw.cameraGeom.Camera`
Camera geometry.
Returns
-------
results : `lsst.pipe.base.Struct`
A struct with the following attributes:
- boresight (`lsst.geom.SpherePoint`): new boresight location
- orientation (`lsst.geom.Angle`): new orientation angle
- catalog (`lsst.afw.table.ExposureCatalog`): the same catalog that
was passed in, after modification in-place.
- regions (`lsst.obs.base.VisitGeometry`): updated regions for the
visit and all detectors.
Raises
------
NoVisitWcs
Raised if ``catalog`` is empty or if there are no WCSs for any
detectors.
Definition at line 140 of file refit_pointing.py.
|
staticprotected |
Definition at line 106 of file refit_pointing.py.
|
protected |
Definition at line 111 of file refit_pointing.py.
|
protected |
Definition at line 138 of file refit_pointing.py.
|
protected |
Definition at line 129 of file refit_pointing.py.
|
protected |
Definition at line 137 of file refit_pointing.py.
|
protected |
Definition at line 120 of file refit_pointing.py.
|
static |
Definition at line 107 of file refit_pointing.py.