createInitialSkyWcs¶
- lsst.obs.base.createInitialSkyWcs(visitInfo, detector, flipX=False)¶
- Create a SkyWcs from the visit information and detector geometry. - A typical usecase for this is to create the initial WCS for a newly-read raw exposure. - Parameters:
- visitInfolsst.afw.image.VisitInfo
- Where to get the telescope boresight and rotator angle from. 
- detectorlsst.afw.cameraGeom.Detector
- Where to get the camera geomtry from. 
- flipXbool, optional
- If False, +X is along W, if True +X is along E. 
 
- visitInfo
- Returns:
- skyWcslsst.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.