Skip to content

Commit

Permalink
Added colorsynth.wavelength_visible_min and `colorsynth.wavelength_…
Browse files Browse the repository at this point in the history
…visible_max`.
  • Loading branch information
byrdie committed Nov 17, 2023
1 parent 2f34367 commit b1b7108
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions colorsynth/_colorsynth.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import astropy.units as u

__all__ = [
"wavelength_visible_min",
"wavelength_visible_max",
"d65_standard_illuminant",
"color_matching_x",
"color_matching_y",
Expand All @@ -15,6 +17,10 @@
]


wavelength_visible_min = 380 * u.nm
wavelength_visible_max = 700 * u.nm


def d65_standard_illuminant(
wavelength: u.Quantity,
) -> u.Quantity:
Expand Down

0 comments on commit b1b7108

Please sign in to comment.