-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing units and refactoring Keplerian orbit models (#61)
* adding units * adding example of how we might use units * adding tests for quantity_input decorator * adding docstring to decorator * adding doctring and tests for field * adding tests for keplerian * fixing edge cases test * updating keplerian tests * adding units to TransitOrbit * fixing python 3.9 errors * remove pyright from pre-commit * less stringent test comparisons * test tol for soln * sketching OO interface * default central * improving interface for keplerian system
- Loading branch information
Showing
23 changed files
with
1,160 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from jaxoplanet import core as core, orbits as orbits | ||
from jaxoplanet import core as core, orbits as orbits, units as units | ||
from jaxoplanet.jaxoplanet_version import __version__ as __version__ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
from jaxoplanet.orbits.keplerian import ( | ||
KeplerianBody as KeplerianBody, | ||
KeplerianCentral as KeplerianCentral, | ||
KeplerianOrbit as KeplerianOrbit, | ||
) | ||
from jaxoplanet.orbits import keplerian as keplerian | ||
from jaxoplanet.orbits.transit import TransitOrbit as TransitOrbit |
Oops, something went wrong.