Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with astropy.units #3

Open
cgobat opened this issue Sep 2, 2022 · 1 comment
Open

Compatibility with astropy.units #3

cgobat opened this issue Sep 2, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request inprogress Issue is being worked on

Comments

@cgobat
Copy link
Owner

cgobat commented Sep 2, 2022

The a_u object type is not currently compatible with astropy.units. Adding this functionality would greatly enhance this package for use across the physical sciences, and would certainly be very nice to have, given that this package's perhaps most notable use case is in astronomy & astrophysics.

My initial thought is that the most straightforward way to do this will be to make a_u a subclass of astropy.units.Quantity.

@cgobat cgobat added enhancement New feature or request help wanted Extra attention is needed labels Sep 2, 2022
@cgobat
Copy link
Owner Author

cgobat commented Dec 8, 2022

The astropy-units-compatibility branch has been updated with basic support for mathematical operations between instances of a_u and instances of astropy.units.Quantity and astropy.units.Unit.

@cgobat cgobat pinned this issue Jan 9, 2023
@cgobat cgobat unpinned this issue Jan 9, 2023
@cgobat cgobat self-assigned this Jan 13, 2023
@cgobat cgobat removed the help wanted Extra attention is needed label Jan 13, 2023
@cgobat cgobat added the inprogress Issue is being worked on label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inprogress Issue is being worked on
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant