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.

@rieder rieder added area: tests The central tests, for issues testing community codes use area: community_code area: units Related to the units subsystem labels Apr 8, 2025
@HannoSpreeuw HannoSpreeuw moved this from Backlog to Open PRs in Development Board Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests The central tests, for issues testing community codes use area: community_code area: units Related to the units subsystem

Projects

Status: Open PRs

Development

Successfully merging this pull request may close these issues.

1 participant