Skip to content

Commit

Permalink
expose ureg
Browse files Browse the repository at this point in the history
  • Loading branch information
neuralsignal committed May 15, 2023
1 parent c71ba49 commit 0751d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/reference/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Conversion functions
flux2irr
optional_to
has_units
ureg

Utility functions
=================
Expand Down
2 changes: 2 additions & 0 deletions dreye/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from dreye.api.capture import calculate_capture
from dreye.api.estimator import ReceptorEstimator
from dreye.api.units.convert import irr2flux, flux2irr, optional_to, has_units
from dreye.api.units.pint import ureg
from dreye.api.filter_templates import (
gaussian_template,
govardovskii2000_template,
Expand Down Expand Up @@ -95,5 +96,6 @@
"cartesian_to_spherical",
"optional_to",
"has_units",
"ureg",
"DREYE_DIR"
]

0 comments on commit 0751d14

Please sign in to comment.