@sidneymau and I were working on some DES stuff and ran into an issue where we need the point on the sphere about which a given a WCS uses the projection. We found that the GSFitsWCS class defines a .center property (but that its value was (0, 0) which did not make much sense to us).
However, ignoring that .center was a bit funny in our case, as far as I can tell
.center is the point we want but is largely undocumented?
- the
origin and world_origin attributes are not defined
Is there a reason we couldn't set origin to CRPIX or similar and set world_origin to the tangent point on the sphere?
@sidneymau and I were working on some DES stuff and ran into an issue where we need the point on the sphere about which a given a WCS uses the projection. We found that the
GSFitsWCSclass defines a.centerproperty (but that its value was(0, 0)which did not make much sense to us).However, ignoring that
.centerwas a bit funny in our case, as far as I can tell.centeris the point we want but is largely undocumented?originandworld_originattributes are not definedIs there a reason we couldn't set
origintoCRPIXor similar and setworld_originto the tangent point on the sphere?