-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use builtin Astropy model unit and bounding box support
Define the `input_units`, `return_units`, `input_units_equivalencies`, and `bounding_box` properties for all models. Use Astropy models' built-in unit conversion support. All models now require inputs with valid units (wavelength, wavenumber, or frequency). Dimensionless inputs are no longer automatically converted to wavenumber. Fixes #237.
- Loading branch information
Showing
10 changed files
with
202 additions
and
370 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
Oops, something went wrong.