You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 13cdcae
Browse filesBrowse the repository at this point in the historyBrowse files
Add global registry of representations and default names and units
Each representation is automatically registered when the class
is defined. That provides a mapping between the alias name and
the class.
Each representation now defines the default names (e.g. ra, dec,
distance) and units (e.g. u.deg, u.deg, None) for that
representation. These are only used in frames but here seems like
the most logical place to store this information. Otherwise there
would need to be a secondary data structure, and authors of
new representations would need to have a way to add their frame
to that secondary structure.
0 commit comments