From b1b710802499216f0341b3c2ae2a9d1c8b3511b7 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Thu, 16 Nov 2023 18:21:25 -0700 Subject: [PATCH] Added `colorsynth.wavelength_visible_min` and `colorsynth.wavelength_visible_max`. --- colorsynth/_colorsynth.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/colorsynth/_colorsynth.py b/colorsynth/_colorsynth.py index 240e3fe..5c56d83 100644 --- a/colorsynth/_colorsynth.py +++ b/colorsynth/_colorsynth.py @@ -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", @@ -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: