summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-01-09 13:04:43 +0000
committerRichard Hughes <richard@hughsie.com>2014-01-09 15:01:08 +0000
commit73c3b0a0a8b922864bcb9d0ae84b28f022f1182d (patch)
tree0fa749995e5e075b8c0282825239f783307c4543 /data
parent4271fa2c3f92098ce12e35db5f70e0cf8fa9c158 (diff)
downloadcolord-73c3b0a0a8b922864bcb9d0ae84b28f022f1182d.tar.gz
Generate the CMFs from source data
Diffstat (limited to 'data')
-rw-r--r--data/cmf/CIE1931-2deg-XYZ.cmf18
-rw-r--r--data/cmf/CIE1931-2deg-XYZ.csv95
-rw-r--r--data/cmf/CIE1964-10deg-XYZ.cmf18
-rw-r--r--data/cmf/CIE1964-10deg-XYZ.csv95
-rw-r--r--data/cmf/Makefile.am32
5 files changed, 217 insertions, 41 deletions
diff --git a/data/cmf/CIE1931-2deg-XYZ.cmf b/data/cmf/CIE1931-2deg-XYZ.cmf
deleted file mode 100644
index c82b9f7..0000000
--- a/data/cmf/CIE1931-2deg-XYZ.cmf
+++ /dev/null
@@ -1,18 +0,0 @@
-CMF
-DISPLAY "CIE 1931 2-deg, XYZ"
-ORIGINATOR "lt-cd-csv2cmf"
-CREATED "Thu Jan 09 08:55:38 2014"
-DESCRIPTOR "Color Match Function"
-SPECTRAL_START_NM 360
-SPECTRAL_END_NM 830
-SPECTRAL_BANDS 95
-NUMBER_OF_FIELDS 95
-NUMBER_OF_SETS 3
-BEGIN_DATA_FORMAT
- SPEC_360 SPEC_365 SPEC_370 SPEC_375 SPEC_380 SPEC_385 SPEC_390 SPEC_395 SPEC_400 SPEC_405 SPEC_410 SPEC_415 SPEC_420 SPEC_425 SPEC_430 SPEC_435 SPEC_440 SPEC_445 SPEC_450 SPEC_455 SPEC_460 SPEC_465 SPEC_470 SPEC_475 SPEC_480 SPEC_485 SPEC_490 SPEC_495 SPEC_500 SPEC_505 SPEC_510 SPEC_515 SPEC_520 SPEC_525 SPEC_530 SPEC_535 SPEC_540 SPEC_545 SPEC_550 SPEC_555 SPEC_560 SPEC_565 SPEC_570 SPEC_575 SPEC_580 SPEC_585 SPEC_590 SPEC_595 SPEC_600 SPEC_605 SPEC_610 SPEC_615 SPEC_620 SPEC_625 SPEC_630 SPEC_635 SPEC_640 SPEC_645 SPEC_650 SPEC_655 SPEC_660 SPEC_665 SPEC_670 SPEC_675 SPEC_680 SPEC_685 SPEC_690 SPEC_695 SPEC_700 SPEC_705 SPEC_710 SPEC_715 SPEC_720 SPEC_725 SPEC_730 SPEC_735 SPEC_740 SPEC_745 SPEC_750 SPEC_755 SPEC_760 SPEC_765 SPEC_770 SPEC_775 SPEC_780 SPEC_785 SPEC_790 SPEC_795 SPEC_800 SPEC_805 SPEC_810 SPEC_815 SPEC_820 SPEC_825 SPEC_830
-END_DATA_FORMAT
-BEGIN_DATA
- 0.00012990000000000001 0.0002321 0.0004149 0.00074160000000000003 0.0013680000000000001 0.0022360000000000001 0.0042430000000000002 0.0076499999999999997 0.01431 0.023189999999999999 0.04351 0.077630000000000005 0.13438 0.21476999999999999 0.28389999999999999 0.32850000000000001 0.34827999999999998 0.34805999999999998 0.3362 0.31869999999999998 0.2908 0.25109999999999999 0.19536000000000001 0.1421 0.095640000000000003 0.057950010000000003 0.032009999999999997 0.0147 0.0048999999999999998 0.0023999999999999998 0.0092999999999999992 0.029100000000000001 0.063270000000000007 0.1096 0.16550000000000001 0.2257499 0.29039999999999999 0.35970000000000002 0.4334499 0.51205009999999995 0.59450000000000003 0.6784 0.7621 0.84250000000000003 0.9163 0.97860000000000003 1.0263 1.0567 1.0622 1.0456000000000001 1.0025999999999999 0.93840000000000001 0.85444989999999998 0.75139999999999996 0.64239999999999997 0.54190000000000005 0.44790000000000002 0.36080000000000001 0.28349999999999997 0.21870000000000001 0.16489999999999999 0.1212 0.087400000000000005 0.063600000000000004 0.046769999999999999 0.032899999999999999 0.022700000000000001 0.01584 0.01135916 0.0081109159999999993 0.005790346 0.0041094570000000004 0.0028993270000000002 0.0020491900000000002 0.001439971 0.00099994930000000008 0.00069007859999999999 0.00047602130000000002 0.0003323011 0.0002348261 0.00016615050000000001 0.000117413 8.3075270000000005e-05 5.8706519999999999e-05 4.1509940000000003e-05 2.935326e-05 2.0673830000000001e-05 1.455977e-05 1.0253980000000001e-05 7.2214559999999999e-06 5.0858679999999998e-06 3.5816519999999999e-06 2.522525e-06 1.7765090000000001e-06 1.251141e-06
- 3.9169999999999999e-06 6.9650000000000002e-06 1.239e-05 2.2019999999999999e-05 3.8999999999999999e-05 6.3999999999999997e-05 0.00012 0.00021699999999999999 0.00039599999999999998 0.00064000000000000005 0.0012099999999999999 0.0021800000000000001 0.0040000000000000001 0.0073000000000000001 0.011599999999999999 0.016840000000000001 0.023 0.0298 0.037999999999999999 0.048000000000000001 0.059999999999999998 0.073899999999999993 0.090980000000000005 0.11260000000000001 0.13902 0.16930000000000001 0.20802000000000001 0.2586 0.32300000000000001 0.4073 0.503 0.60819999999999996 0.70999999999999996 0.79320000000000002 0.86199999999999999 0.9148501 0.95399999999999996 0.98029999999999995 0.99495009999999995 1 0.995 0.97860000000000003 0.95199999999999996 0.91539999999999999 0.87 0.81630000000000003 0.75700000000000001 0.69489999999999996 0.63100000000000001 0.56679999999999997 0.503 0.44119999999999998 0.38100000000000001 0.32100000000000001 0.26500000000000001 0.217 0.17499999999999999 0.13819999999999999 0.107 0.081600000000000006 0.060999999999999999 0.044580000000000002 0.032000000000000001 0.023199999999999998 0.017000000000000001 0.01192 0.0082100000000000003 0.0057229999999999998 0.0041019999999999997 0.0029290000000000002 0.002091 0.0014840000000000001 0.001047 0.00073999999999999999 0.00051999999999999995 0.0003611 0.00024919999999999999 0.0001719 0.00012 8.4800000000000001e-05 6.0000000000000002e-05 4.2400000000000001e-05 3.0000000000000001e-05 2.12e-05 1.499e-05 1.06e-05 7.4657000000000004e-06 5.2577999999999999e-06 3.7029000000000002e-06 2.6077999999999998e-06 1.8365999999999999e-06 1.2934e-06 9.1093000000000002e-07 6.4153e-07 4.5181000000000002e-07
- 0.00060610000000000004 0.0010859999999999999 0.001946 0.0034859999999999999 0.0064500010000000003 0.01054999 0.02005001 0.036209999999999999 0.067850010000000002 0.11020000000000001 0.2074 0.37130000000000002 0.64559999999999995 1.0390501000000001 1.3855999999999999 1.62296 1.7470600000000001 1.7826 1.7721100000000001 1.7441 1.6692 1.5281 1.2876399999999999 1.0419 0.81295010000000001 0.61619999999999997 0.46517999999999998 0.3533 0.27200000000000002 0.21229999999999999 0.15820000000000001 0.11169999999999999 0.078249990000000005 0.057250009999999997 0.042160000000000003 0.029839999999999998 0.020299999999999999 0.0134 0.0087499989999999996 0.0057499990000000004 0.0038999999999999998 0.0027499989999999999 0.0020999999999999999 0.0018 0.0016500009999999999 0.0014 0.0011000000000000001 0.001 0.00080000000000000004 0.00059999999999999995 0.00034000000000000002 0.00024000000000000001 0.00019000000000000001 0.0001 4.9999990000000002e-05 3.0000000000000001e-05 2.0000000000000002e-05 1.0000000000000001e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-END_DATA
diff --git a/data/cmf/CIE1931-2deg-XYZ.csv b/data/cmf/CIE1931-2deg-XYZ.csv
new file mode 100644
index 0000000..cb20a47
--- /dev/null
+++ b/data/cmf/CIE1931-2deg-XYZ.csv
@@ -0,0 +1,95 @@
+360,0.000129900000,0.000003917000,0.000606100000
+365,0.000232100000,0.000006965000,0.001086000000
+370,0.000414900000,0.000012390000,0.001946000000
+375,0.000741600000,0.000022020000,0.003486000000
+380,0.001368000000,0.000039000000,0.006450001000
+385,0.002236000000,0.000064000000,0.010549990000
+390,0.004243000000,0.000120000000,0.020050010000
+395,0.007650000000,0.000217000000,0.036210000000
+400,0.014310000000,0.000396000000,0.067850010000
+405,0.023190000000,0.000640000000,0.110200000000
+410,0.043510000000,0.001210000000,0.207400000000
+415,0.077630000000,0.002180000000,0.371300000000
+420,0.134380000000,0.004000000000,0.645600000000
+425,0.214770000000,0.007300000000,1.039050100000
+430,0.283900000000,0.011600000000,1.385600000000
+435,0.328500000000,0.016840000000,1.622960000000
+440,0.348280000000,0.023000000000,1.747060000000
+445,0.348060000000,0.029800000000,1.782600000000
+450,0.336200000000,0.038000000000,1.772110000000
+455,0.318700000000,0.048000000000,1.744100000000
+460,0.290800000000,0.060000000000,1.669200000000
+465,0.251100000000,0.073900000000,1.528100000000
+470,0.195360000000,0.090980000000,1.287640000000
+475,0.142100000000,0.112600000000,1.041900000000
+480,0.095640000000,0.139020000000,0.812950100000
+485,0.057950010000,0.169300000000,0.616200000000
+490,0.032010000000,0.208020000000,0.465180000000
+495,0.014700000000,0.258600000000,0.353300000000
+500,0.004900000000,0.323000000000,0.272000000000
+505,0.002400000000,0.407300000000,0.212300000000
+510,0.009300000000,0.503000000000,0.158200000000
+515,0.029100000000,0.608200000000,0.111700000000
+520,0.063270000000,0.710000000000,0.078249990000
+525,0.109600000000,0.793200000000,0.057250010000
+530,0.165500000000,0.862000000000,0.042160000000
+535,0.225749900000,0.914850100000,0.029840000000
+540,0.290400000000,0.954000000000,0.020300000000
+545,0.359700000000,0.980300000000,0.013400000000
+550,0.433449900000,0.994950100000,0.008749999000
+555,0.512050100000,1.000000000000,0.005749999000
+560,0.594500000000,0.995000000000,0.003900000000
+565,0.678400000000,0.978600000000,0.002749999000
+570,0.762100000000,0.952000000000,0.002100000000
+575,0.842500000000,0.915400000000,0.001800000000
+580,0.916300000000,0.870000000000,0.001650001000
+585,0.978600000000,0.816300000000,0.001400000000
+590,1.026300000000,0.757000000000,0.001100000000
+595,1.056700000000,0.694900000000,0.001000000000
+600,1.062200000000,0.631000000000,0.000800000000
+605,1.045600000000,0.566800000000,0.000600000000
+610,1.002600000000,0.503000000000,0.000340000000
+615,0.938400000000,0.441200000000,0.000240000000
+620,0.854449900000,0.381000000000,0.000190000000
+625,0.751400000000,0.321000000000,0.000100000000
+630,0.642400000000,0.265000000000,0.000049999990
+635,0.541900000000,0.217000000000,0.000030000000
+640,0.447900000000,0.175000000000,0.000020000000
+645,0.360800000000,0.138200000000,0.000010000000
+650,0.283500000000,0.107000000000,0.000000000000
+655,0.218700000000,0.081600000000,0.000000000000
+660,0.164900000000,0.061000000000,0.000000000000
+665,0.121200000000,0.044580000000,0.000000000000
+670,0.087400000000,0.032000000000,0.000000000000
+675,0.063600000000,0.023200000000,0.000000000000
+680,0.046770000000,0.017000000000,0.000000000000
+685,0.032900000000,0.011920000000,0.000000000000
+690,0.022700000000,0.008210000000,0.000000000000
+695,0.015840000000,0.005723000000,0.000000000000
+700,0.011359160000,0.004102000000,0.000000000000
+705,0.008110916000,0.002929000000,0.000000000000
+710,0.005790346000,0.002091000000,0.000000000000
+715,0.004109457000,0.001484000000,0.000000000000
+720,0.002899327000,0.001047000000,0.000000000000
+725,0.002049190000,0.000740000000,0.000000000000
+730,0.001439971000,0.000520000000,0.000000000000
+735,0.000999949300,0.000361100000,0.000000000000
+740,0.000690078600,0.000249200000,0.000000000000
+745,0.000476021300,0.000171900000,0.000000000000
+750,0.000332301100,0.000120000000,0.000000000000
+755,0.000234826100,0.000084800000,0.000000000000
+760,0.000166150500,0.000060000000,0.000000000000
+765,0.000117413000,0.000042400000,0.000000000000
+770,0.000083075270,0.000030000000,0.000000000000
+775,0.000058706520,0.000021200000,0.000000000000
+780,0.000041509940,0.000014990000,0.000000000000
+785,0.000029353260,0.000010600000,0.000000000000
+790,0.000020673830,0.000007465700,0.000000000000
+795,0.000014559770,0.000005257800,0.000000000000
+800,0.000010253980,0.000003702900,0.000000000000
+805,0.000007221456,0.000002607800,0.000000000000
+810,0.000005085868,0.000001836600,0.000000000000
+815,0.000003581652,0.000001293400,0.000000000000
+820,0.000002522525,0.000000910930,0.000000000000
+825,0.000001776509,0.000000641530,0.000000000000
+830,0.000001251141,0.000000451810,0.000000000000
diff --git a/data/cmf/CIE1964-10deg-XYZ.cmf b/data/cmf/CIE1964-10deg-XYZ.cmf
deleted file mode 100644
index fd79249..0000000
--- a/data/cmf/CIE1964-10deg-XYZ.cmf
+++ /dev/null
@@ -1,18 +0,0 @@
-CMF
-DISPLAY "CIE 1964 10-deg, XYZ"
-ORIGINATOR "lt-cd-csv2cmf"
-CREATED "Thu Jan 09 08:56:23 2014"
-DESCRIPTOR "Color Match Function"
-SPECTRAL_START_NM 360
-SPECTRAL_END_NM 830
-SPECTRAL_BANDS 95
-NUMBER_OF_FIELDS 95
-NUMBER_OF_SETS 3
-BEGIN_DATA_FORMAT
- SPEC_360 SPEC_365 SPEC_370 SPEC_375 SPEC_380 SPEC_385 SPEC_390 SPEC_395 SPEC_400 SPEC_405 SPEC_410 SPEC_415 SPEC_420 SPEC_425 SPEC_430 SPEC_435 SPEC_440 SPEC_445 SPEC_450 SPEC_455 SPEC_460 SPEC_465 SPEC_470 SPEC_475 SPEC_480 SPEC_485 SPEC_490 SPEC_495 SPEC_500 SPEC_505 SPEC_510 SPEC_515 SPEC_520 SPEC_525 SPEC_530 SPEC_535 SPEC_540 SPEC_545 SPEC_550 SPEC_555 SPEC_560 SPEC_565 SPEC_570 SPEC_575 SPEC_580 SPEC_585 SPEC_590 SPEC_595 SPEC_600 SPEC_605 SPEC_610 SPEC_615 SPEC_620 SPEC_625 SPEC_630 SPEC_635 SPEC_640 SPEC_645 SPEC_650 SPEC_655 SPEC_660 SPEC_665 SPEC_670 SPEC_675 SPEC_680 SPEC_685 SPEC_690 SPEC_695 SPEC_700 SPEC_705 SPEC_710 SPEC_715 SPEC_720 SPEC_725 SPEC_730 SPEC_735 SPEC_740 SPEC_745 SPEC_750 SPEC_755 SPEC_760 SPEC_765 SPEC_770 SPEC_775 SPEC_780 SPEC_785 SPEC_790 SPEC_795 SPEC_800 SPEC_805 SPEC_810 SPEC_815 SPEC_820 SPEC_825 SPEC_830
-END_DATA_FORMAT
-BEGIN_DATA
- 1.222e-07 9.1927000000000005e-07 5.9586e-06 3.3266000000000003e-05 0.00015995199999999999 0.00066244000000000003 0.0023616000000000002 0.0072423000000000001 0.0191097 0.043400000000000001 0.084736000000000006 0.14063800000000001 0.20449200000000001 0.264737 0.31467899999999999 0.35771900000000001 0.38373400000000002 0.38672600000000001 0.37070199999999998 0.34295700000000001 0.30227300000000001 0.25408500000000001 0.19561799999999999 0.13234899999999999 0.080506999999999995 0.041071999999999997 0.016171999999999999 0.0051320000000000003 0.0038159999999999999 0.015443999999999999 0.037464999999999998 0.071358000000000005 0.11774900000000001 0.172953 0.23649100000000001 0.30421300000000001 0.376772 0.45158399999999999 0.52982600000000002 0.61605299999999996 0.70522399999999996 0.79383199999999998 0.87865499999999996 0.95116199999999995 1.01416 1.0743 1.11852 1.1343000000000001 1.12399 1.0891 1.0304800000000001 0.95074000000000003 0.85629699999999997 0.75492999999999999 0.64746700000000001 0.53510999999999997 0.43156699999999998 0.34369 0.26832899999999998 0.20430000000000001 0.15256800000000001 0.11221 0.081260600000000002 0.057930000000000002 0.0408508 0.028622999999999999 0.019941299999999999 0.013842 0.0095768799999999994 0.0066052000000000003 0.0045526300000000002 0.0031446999999999998 0.0021749600000000001 0.0015057 0.00104476 0.00072745000000000004 0.00050825800000000004 0.00035638 0.00025096899999999998 0.00017772999999999999 0.00012638999999999999 9.0150999999999998e-05 6.4525799999999998e-05 4.6338999999999998e-05 3.3411699999999997e-05 2.4209000000000001e-05 1.7611499999999999e-05 1.2855e-05 9.4136299999999995e-06 6.9129999999999997e-06 5.09347e-06 3.7670999999999999e-06 2.79531e-06 2.0820000000000001e-06 1.55314e-06
- 1.3398e-08 1.0065e-07 6.511e-07 3.625e-06 1.7363999999999998e-05 7.1559999999999999e-05 0.00025339999999999998 0.00076849999999999998 0.0020043999999999999 0.004509 0.0087559999999999999 0.014456 0.021391 0.029496999999999999 0.038676000000000002 0.049602 0.062077 0.074704000000000007 0.089455999999999994 0.106256 0.12820100000000001 0.15276100000000001 0.18518999999999999 0.21994 0.25358900000000001 0.29766500000000001 0.33913300000000002 0.39537899999999998 0.46077699999999999 0.53136000000000005 0.60674099999999997 0.68566000000000005 0.76175700000000002 0.82333000000000001 0.87521099999999996 0.92381000000000002 0.96198799999999995 0.98219999999999996 0.991761 0.99911000000000005 0.99734 0.98238000000000003 0.95555199999999996 0.91517499999999996 0.86893399999999998 0.825623 0.77740500000000001 0.72035300000000002 0.65834099999999995 0.59387800000000002 0.52796299999999996 0.46183400000000002 0.39805699999999999 0.33955400000000002 0.28349299999999999 0.22825400000000001 0.17982799999999999 0.140211 0.10763300000000001 0.081186999999999995 0.060281000000000001 0.044096000000000003 0.0318004 0.022601699999999999 0.015905099999999998 0.011130299999999999 0.0077488000000000001 0.0053750999999999998 0.0037177400000000002 0.00256456 0.0017684700000000001 0.0012223900000000001 0.00084619000000000003 0.00058644000000000003 0.00040740999999999998 0.00028404100000000001 0.00019872999999999999 0.00013955 9.8428e-05 6.9819000000000004e-05 4.9737000000000002e-05 3.5540500000000003e-05 2.5486e-05 1.83384e-05 1.3249e-05 9.6196000000000002e-06 7.0128e-06 5.1298000000000004e-06 3.7647300000000001e-06 2.7708100000000001e-06 2.0461300000000002e-06 1.51677e-06 1.12809e-06 8.4216000000000002e-07 6.2969999999999998e-07
- 5.3502699999999996e-07 4.0283e-06 2.6143699999999998e-05 0.00014621999999999999 0.00070477599999999995 0.0029277999999999999 0.010482200000000001 0.032343999999999998 0.086010900000000001 0.19711999999999999 0.38936599999999999 0.65676000000000001 0.97254200000000002 1.2825 1.55348 1.7985 1.9672799999999999 2.0272999999999999 1.9947999999999999 1.9007000000000001 1.7453700000000001 1.5548999999999999 1.3175600000000001 1.0302 0.77212499999999995 0.57006000000000001 0.41525400000000001 0.30235600000000001 0.218502 0.159249 0.112044 0.082248000000000002 0.060708999999999999 0.043049999999999998 0.030450999999999999 0.020584000000000002 0.013676000000000001 0.0079179999999999997 0.0039880000000000002 0.001091 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-END_DATA
diff --git a/data/cmf/CIE1964-10deg-XYZ.csv b/data/cmf/CIE1964-10deg-XYZ.csv
new file mode 100644
index 0000000..da77001
--- /dev/null
+++ b/data/cmf/CIE1964-10deg-XYZ.csv
@@ -0,0 +1,95 @@
+360,0.000000122200,0.000000013398,0.000000535027
+365,0.000000919270,0.000000100650,0.000004028300
+370,0.000005958600,0.000000651100,0.000026143700
+375,0.000033266000,0.000003625000,0.000146220000
+380,0.000159952000,0.000017364000,0.000704776000
+385,0.000662440000,0.000071560000,0.002927800000
+390,0.002361600000,0.000253400000,0.010482200000
+395,0.007242300000,0.000768500000,0.032344000000
+400,0.019109700000,0.002004400000,0.086010900000
+405,0.043400000000,0.004509000000,0.197120000000
+410,0.084736000000,0.008756000000,0.389366000000
+415,0.140638000000,0.014456000000,0.656760000000
+420,0.204492000000,0.021391000000,0.972542000000
+425,0.264737000000,0.029497000000,1.282500000000
+430,0.314679000000,0.038676000000,1.553480000000
+435,0.357719000000,0.049602000000,1.798500000000
+440,0.383734000000,0.062077000000,1.967280000000
+445,0.386726000000,0.074704000000,2.027300000000
+450,0.370702000000,0.089456000000,1.994800000000
+455,0.342957000000,0.106256000000,1.900700000000
+460,0.302273000000,0.128201000000,1.745370000000
+465,0.254085000000,0.152761000000,1.554900000000
+470,0.195618000000,0.185190000000,1.317560000000
+475,0.132349000000,0.219940000000,1.030200000000
+480,0.080507000000,0.253589000000,0.772125000000
+485,0.041072000000,0.297665000000,0.570060000000
+490,0.016172000000,0.339133000000,0.415254000000
+495,0.005132000000,0.395379000000,0.302356000000
+500,0.003816000000,0.460777000000,0.218502000000
+505,0.015444000000,0.531360000000,0.159249000000
+510,0.037465000000,0.606741000000,0.112044000000
+515,0.071358000000,0.685660000000,0.082248000000
+520,0.117749000000,0.761757000000,0.060709000000
+525,0.172953000000,0.823330000000,0.043050000000
+530,0.236491000000,0.875211000000,0.030451000000
+535,0.304213000000,0.923810000000,0.020584000000
+540,0.376772000000,0.961988000000,0.013676000000
+545,0.451584000000,0.982200000000,0.007918000000
+550,0.529826000000,0.991761000000,0.003988000000
+555,0.616053000000,0.999110000000,0.001091000000
+560,0.705224000000,0.997340000000,0.000000000000
+565,0.793832000000,0.982380000000,0.000000000000
+570,0.878655000000,0.955552000000,0.000000000000
+575,0.951162000000,0.915175000000,0.000000000000
+580,1.014160000000,0.868934000000,0.000000000000
+585,1.074300000000,0.825623000000,0.000000000000
+590,1.118520000000,0.777405000000,0.000000000000
+595,1.134300000000,0.720353000000,0.000000000000
+600,1.123990000000,0.658341000000,0.000000000000
+605,1.089100000000,0.593878000000,0.000000000000
+610,1.030480000000,0.527963000000,0.000000000000
+615,0.950740000000,0.461834000000,0.000000000000
+620,0.856297000000,0.398057000000,0.000000000000
+625,0.754930000000,0.339554000000,0.000000000000
+630,0.647467000000,0.283493000000,0.000000000000
+635,0.535110000000,0.228254000000,0.000000000000
+640,0.431567000000,0.179828000000,0.000000000000
+645,0.343690000000,0.140211000000,0.000000000000
+650,0.268329000000,0.107633000000,0.000000000000
+655,0.204300000000,0.081187000000,0.000000000000
+660,0.152568000000,0.060281000000,0.000000000000
+665,0.112210000000,0.044096000000,0.000000000000
+670,0.081260600000,0.031800400000,0.000000000000
+675,0.057930000000,0.022601700000,0.000000000000
+680,0.040850800000,0.015905100000,0.000000000000
+685,0.028623000000,0.011130300000,0.000000000000
+690,0.019941300000,0.007748800000,0.000000000000
+695,0.013842000000,0.005375100000,0.000000000000
+700,0.009576880000,0.003717740000,0.000000000000
+705,0.006605200000,0.002564560000,0.000000000000
+710,0.004552630000,0.001768470000,0.000000000000
+715,0.003144700000,0.001222390000,0.000000000000
+720,0.002174960000,0.000846190000,0.000000000000
+725,0.001505700000,0.000586440000,0.000000000000
+730,0.001044760000,0.000407410000,0.000000000000
+735,0.000727450000,0.000284041000,0.000000000000
+740,0.000508258000,0.000198730000,0.000000000000
+745,0.000356380000,0.000139550000,0.000000000000
+750,0.000250969000,0.000098428000,0.000000000000
+755,0.000177730000,0.000069819000,0.000000000000
+760,0.000126390000,0.000049737000,0.000000000000
+765,0.000090151000,0.000035540500,0.000000000000
+770,0.000064525800,0.000025486000,0.000000000000
+775,0.000046339000,0.000018338400,0.000000000000
+780,0.000033411700,0.000013249000,0.000000000000
+785,0.000024209000,0.000009619600,0.000000000000
+790,0.000017611500,0.000007012800,0.000000000000
+795,0.000012855000,0.000005129800,0.000000000000
+800,0.000009413630,0.000003764730,0.000000000000
+805,0.000006913000,0.000002770810,0.000000000000
+810,0.000005093470,0.000002046130,0.000000000000
+815,0.000003767100,0.000001516770,0.000000000000
+820,0.000002795310,0.000001128090,0.000000000000
+825,0.000002082000,0.000000842160,0.000000000000
+830,0.000001553140,0.000000629700,0.000000000000
diff --git a/data/cmf/Makefile.am b/data/cmf/Makefile.am
index 6a9b7ca..0fb40b8 100644
--- a/data/cmf/Makefile.am
+++ b/data/cmf/Makefile.am
@@ -1,9 +1,31 @@
-cmfdir = $(datadir)/colord/cmf
-cmf_DATA = \
- CIE1931-2deg-XYZ.cmf \
+.NOTPARALLEL:
+
+generated = \
+ CIE1931-2deg-XYZ.cmf \
CIE1964-10deg-XYZ.cmf
-EXTRA_DIST = \
- $(cmf_DATA)
+cmfdir = $(datadir)/colord/cmf
+cmf_DATA = \
+ $(generated)
+
+noinst_DATA = \
+ CIE1931-2deg-XYZ.csv \
+ CIE1964-10deg-XYZ.csv
+
+CIE1931-2deg-XYZ.cmf: CIE1931-2deg-XYZ.csv
+ $(AM_V_GEN) \
+ $(top_builddir)/contrib/csv2cmf/cd-csv2cmf \
+ $(srcdir)/CIE1931-2deg-XYZ.csv $@
+
+CIE1964-10deg-XYZ.cmf: CIE1964-10deg-XYZ.csv
+ $(AM_V_GEN) \
+ $(top_builddir)/contrib/csv2cmf/cd-csv2cmf \
+ $(srcdir)/CIE1964-10deg-XYZ.csv $@
+
+CLEANFILES = \
+ $(generated)
+
+EXTRA_DIST = \
+ $(noinst_DATA)
-include $(top_srcdir)/git.mk