diff options
Diffstat (limited to 'color/chromaticity.py')
| -rw-r--r-- | color/chromaticity.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/color/chromaticity.py b/color/chromaticity.py index 6229b51..fbd812a 100644 --- a/color/chromaticity.py +++ b/color/chromaticity.py @@ -1,6 +1,9 @@  import numpy as np +import os -f = open('sbrgb10w.csv') +dir = os.path.split(os.path.realpath(__file__))[0] + +f = open(dir + '/sbrgb10w.csv')  color_map = []  for line in f:  | 
