From 3f92eaf9312704e481adea198c032d4c513a341b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 13 Jan 2016 02:44:02 +0100 Subject: fix doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 2 +- src/blackbody.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 26c3a33..1036619 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -651,7 +651,7 @@ white point included: @table @code @item series_d(temperature) Can only calculate the white point correctly for -temperatures inside [4000, 7000]. The CIE illuminant +temperatures inside [4000, 25000]. The CIE illuminant series D is used to calculate the white point. @item simple_whitepoint(temperature) diff --git a/src/blackbody.py b/src/blackbody.py index 1ad9b54..ba7f7e5 100644 --- a/src/blackbody.py +++ b/src/blackbody.py @@ -494,7 +494,7 @@ def series_d(temperature): Using `lambda t : divide_by_maximum(series_d(t))` as the algorithm is better than just `series_d` - @param temperature:float The blackbody temperature in kelvins, must be inside [4000, 7000] + @param temperature:float The blackbody temperature in kelvins, must be inside [4000, 25000] @return :(float, float, float) The red, green and blue components of the white point ''' # Get coefficients for calculating the x component -- cgit v1.2.3-70-g09d2