Skip to content

define origin and world_origin for CelestialWCS classes? #1260

Description

@beckermr

@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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for a new feature in GalSimwcsRelated to WCS coordinate transformations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions