createInitialSkyWcs¶
- lsst.obs.base.createInitialSkyWcs(visitInfo, detector, flipX=None)¶
 Create a SkyWcs from the visit information and detector geometry.
A typical use case for this is to create the initial WCS for a newly-read raw exposure.
- Parameters:
 - visitInfo
lsst.afw.image.VisitInfo Where to get the telescope boresight and rotator angle from.
- detector
lsst.afw.cameraGeom.Detector Where to get the camera geometry from.
- flipX
boolorNone, optional If
False, +X is along W, ifTrue+X is along E. IfNone, the focal plane parity in the camera geometry is assumed to be correct, which may not be true for old camera datasets.
- visitInfo
 - Returns:
 - skyWcs
lsst.afw.geom.SkyWcs The new composed WCS.
- skyWcs
 - Raises:
 - InitialSkyWcsError
 Raised if there is an error generating the SkyWcs, chained from the lower-level exception if available.