Astropy Proposal for Enhancement 23: Removing data storage (representations) from coordinate frames (APE 23)
Authors/Creators
Description
Following the rationale presented in APE 5, coordinate frames in astropy.coordinates currently store metadata used to construct the frame (i.e., for transforming between frames) and may also store coordinate data itself. This duplicates functionality with SkyCoord, which acts as a container for both coordinate data and reference frame information. We propose to change the frame classes such that they only store metadata and never coordinate data, superseding this aspect of the implementation in APE 5. This would make the implementation more modular and performant, remove ambiguity for users from having nearly duplicate functionality with slightly different APIs, and better satisfy the principle of Separation of Concerns.
Files
Files
(19.1 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:f94ed57c3b720d549368cf8c97a0e6f6
|
19.1 kB | Download |
Additional details
Related works
- Is supplemented by
- Technical note: https://github.com/astropy/astropy-APEs/blob/5aa0e124bb4d44878a76a941a18716828e97cab8/APE23.rst (URL)