summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-13 02:44:02 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-13 02:44:02 +0100
commit3f92eaf9312704e481adea198c032d4c513a341b (patch)
tree3f5f4aaf89eb1d11813a97789ed68be22793097a
parentupdate dist (diff)
downloadblueshift-3f92eaf9312704e481adea198c032d4c513a341b.tar.gz
blueshift-3f92eaf9312704e481adea198c032d4c513a341b.tar.bz2
blueshift-3f92eaf9312704e481adea198c032d4c513a341b.tar.xz
fix doc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--info/blueshift.texinfo2
-rw-r--r--src/blackbody.py2
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