Skip to content

Conversation

@rieder
Copy link
Member

@rieder rieder commented Apr 8, 2025

AMUSE units are outdated: in some cases they contradict international agreed values.
In this PR units and constants are updated to their current standards.
As a reference, the default values used in Astropy should be used.

Changes include:

  • yr is now the same as julianyr

  • au value is updated

  • solar/jupiter/earth related values updated

  • Make original AMUSE units / constants available under a new name

  • Update default AMUSE units / constants

  • Update tests

  • Test values of units against their Astropy equivalent

  • Make sure that Astropy unit names map one-to-one to AMUSE units (create aliases where needed, maybe deprecate old AMUSE names)

@rieder
Copy link
Member Author

rieder commented Apr 8, 2025

Not all units/constants have been updated yet, but the most important ones have.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant