Skip to content

Improve support for unit systems in astropy.units #11525

Open

Description

@adrn

The current support for unit systems in Astropy is pretty minimal and only extends to major unit systems like CGS, SI, Imperial (as modules with implemented units). There have been various related feature requests, discussions, and attempts to improve this. For example:

Let's use this issue as a new meta-issue for discussing improving support for unit systems in astropy.units!

cc @mhvk @eteq @nstarman

Activity

  1. nstarman commented on Apr 12, 2021

    @nstarman
    Member

    While this is linked to in the opening comment, I'd like to mention here the SymPy implementation of unit systems as an interesting example implementation. They have a very formal structure, allowing for decomposition into any orthogonal set of units, and it's easy to make new systems. I think it's quite close to the gala suggestion.
    Their documentation is a bit poor, but the code is pretty clear.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions