DummyCamYamlWcsFormatter#
- class lsst.obs.base.instrument_tests.DummyCamYamlWcsFormatter(file_descriptor: FileDescriptor, *, ref: DatasetRef, write_parameters: Mapping[str, Any] | None = None, write_recipes: Mapping[str, Any] | None = None, **kwargs: Any)#
Bases:
YamlFormatterSpecialist formatter for tests that can make a WCS.
Methods Summary
makeRawSkyWcsFromBoresight(boresight, ...)Class method to make a raw sky WCS from boresight and detector.
Methods Documentation
- classmethod makeRawSkyWcsFromBoresight(boresight: lsst.geom.SpherePoint, orientation: lsst.geom.Angle, detector: lsst.afw.cameraGeom.Detector) lsst.afw.geom.SkyWcs#
Class method to make a raw sky WCS from boresight and detector.
This uses the API expected by define-visits. A working example can be found in
FitsRawFormatterBase.Notes#
This makes no attempt to create a proper WCS from geometry.