//  CIE 1931 (2 degree) and 1964 (10 degree) Color Matching Functions
//  of a hypothetical "standard observer"
//
//  efg, Nov 1998
//  Reorganized, Jan 1999

UNIT  ColorMatchingFunctions;

INTERFACE

  TYPE
    TReal = Double;

    TCIEStandardObserver = (CIEStandardObserver1931, CIESTandardObserver1964);
    TCIEChart            = (CIEChart1931, CIEChart1960, CIEChart1976);

    TColorMatchTriple =
    RECORD
      xBar:  TReal;
      yBar:  TReal;
      zBar:  TReal
    END;

    TWavelength = 360..830;  // nanometers

  FUNCTION GetColorMatchTriple(CONST CIEStandardObserver:  TCIEStandardObserver;
                               CONST Wavelength:  TWavelength):  TColorMatchTriple;

  // Assumes CIEChartYear1931
  PROCEDURE xyChromaticityCoordinates(
     CONST CIEStandardObserver:  TCIEStandardObserver;
     CONST Wavelength:  TWavelength;
     VAR x, y:  TReal);

  // For either CIEChartYear1960 or CIEChartYear1976
  // (u,v)   for CIEChartYear1960
  // (u',v') for CIEChartYear1976
  PROCEDURE uvChromaticityCoordinates(
     CONST CIEChart:  TCIEChart;
     CONST CIEStandardObserver:  TCIEStandardObserver;
     CONST Wavelength:  TWavelength;
     VAR u, v:  TReal);

IMPLEMENTATION

  USES
    SysUtils;  // Exception;

  TYPE
    EChromaticityError = CLASS(Exception);
    TColorMatchArray = ARRAY[TWavelength] OF TColorMatchTriple;
    pColorMatchArray = ^TColorMatchArray;

  CONST
    // Adapted from cxyz31_1.txt at http://cvision.ucsd.edu/cie.htm
    ColorMatch1931:  TColorMatchArray =
 (  {nm}
  ({360} xBar: 0.000129900000; yBar: 0.000003917000; zBar: 0.000606100000),
  ({361} xBar: 0.000145847000; yBar: 0.000004393581; zBar: 0.000680879200),
  ({362} xBar: 0.000163802100; yBar: 0.000004929604; zBar: 0.000765145600),
  ({363} xBar: 0.000184003700; yBar: 0.000005532136; zBar: 0.000860012400),
  ({364} xBar: 0.000206690200; yBar: 0.000006208245; zBar: 0.000966592800),
  ({365} xBar: 0.000232100000; yBar: 0.000006965000; zBar: 0.001086000000),
  ({366} xBar: 0.000260728000; yBar: 0.000007813219; zBar: 0.001220586000),
  ({367} xBar: 0.000293075000; yBar: 0.000008767336; zBar: 0.001372729000),
  ({368} xBar: 0.000329388000; yBar: 0.000009839844; zBar: 0.001543579000),
  ({369} xBar: 0.000369914000; yBar: 0.000011043230; zBar: 0.001734286000),
  ({370} xBar: 0.000414900000; yBar: 0.000012390000; zBar: 0.001946000000),
  ({371} xBar: 0.000464158700; yBar: 0.000013886410; zBar: 0.002177777000),
  ({372} xBar: 0.000518986000; yBar: 0.000015557280; zBar: 0.002435809000),
  ({373} xBar: 0.000581854000; yBar: 0.000017442960; zBar: 0.002731953000),
  ({374} xBar: 0.000655234700; yBar: 0.000019583750; zBar: 0.003078064000),
  ({375} xBar: 0.000741600000; yBar: 0.000022020000; zBar: 0.003486000000),
  ({376} xBar: 0.000845029600; yBar: 0.000024839650; zBar: 0.003975227000),
  ({377} xBar: 0.000964526800; yBar: 0.000028041260; zBar: 0.004540880000),
  ({378} xBar: 0.001094949000; yBar: 0.000031531040; zBar: 0.005158320000),
  ({379} xBar: 0.001231154000; yBar: 0.000035215210; zBar: 0.005802907000),
  ({380} xBar: 0.001368000000; yBar: 0.000039000000; zBar: 0.006450001000),
  ({381} xBar: 0.001502050000; yBar: 0.000042826400; zBar: 0.007083216000),
  ({382} xBar: 0.001642328000; yBar: 0.000046914600; zBar: 0.007745488000),
  ({383} xBar: 0.001802382000; yBar: 0.000051589600; zBar: 0.008501152000),
  ({384} xBar: 0.001995757000; yBar: 0.000057176400; zBar: 0.009414544000),
  ({385} xBar: 0.002236000000; yBar: 0.000064000000; zBar: 0.010549990000),
  ({386} xBar: 0.002535385000; yBar: 0.000072344210; zBar: 0.011965800000),
  ({387} xBar: 0.002892603000; yBar: 0.000082212240; zBar: 0.013655870000),
  ({388} xBar: 0.003300829000; yBar: 0.000093508160; zBar: 0.015588050000),
  ({389} xBar: 0.003753236000; yBar: 0.000106136100; zBar: 0.017730150000),
  ({390} xBar: 0.004243000000; yBar: 0.000120000000; zBar: 0.020050010000),
  ({391} xBar: 0.004762389000; yBar: 0.000134984000; zBar: 0.022511360000),
  ({392} xBar: 0.005330048000; yBar: 0.000151492000; zBar: 0.025202880000),
  ({393} xBar: 0.005978712000; yBar: 0.000170208000; zBar: 0.028279720000),
  ({394} xBar: 0.006741117000; yBar: 0.000191816000; zBar: 0.031897040000),
  ({395} xBar: 0.007650000000; yBar: 0.000217000000; zBar: 0.036210000000),
  ({396} xBar: 0.008751373000; yBar: 0.000246906700; zBar: 0.041437710000),
  ({397} xBar: 0.010028880000; yBar: 0.000281240000; zBar: 0.047503720000),
  ({398} xBar: 0.011421700000; yBar: 0.000318520000; zBar: 0.054119880000),
  ({399} xBar: 0.012869010000; yBar: 0.000357266700; zBar: 0.060998030000),
  ({400} xBar: 0.014310000000; yBar: 0.000396000000; zBar: 0.067850010000),
  ({401} xBar: 0.015704430000; yBar: 0.000433714700; zBar: 0.074486320000),
  ({402} xBar: 0.017147440000; yBar: 0.000473024000; zBar: 0.081361560000),
  ({403} xBar: 0.018781220000; yBar: 0.000517876000; zBar: 0.089153640000),
  ({404} xBar: 0.020748010000; yBar: 0.000572218700; zBar: 0.098540480000),
  ({405} xBar: 0.023190000000; yBar: 0.000640000000; zBar: 0.110200000000),
  ({406} xBar: 0.026207360000; yBar: 0.000724560000; zBar: 0.124613300000),
  ({407} xBar: 0.029782480000; yBar: 0.000825500000; zBar: 0.141701700000),
  ({408} xBar: 0.033880920000; yBar: 0.000941160000; zBar: 0.161303500000),
  ({409} xBar: 0.038468240000; yBar: 0.001069880000; zBar: 0.183256800000),
  ({410} xBar: 0.043510000000; yBar: 0.001210000000; zBar: 0.207400000000),
  ({411} xBar: 0.048995600000; yBar: 0.001362091000; zBar: 0.233692100000),
  ({412} xBar: 0.055022600000; yBar: 0.001530752000; zBar: 0.262611400000),
  ({413} xBar: 0.061718800000; yBar: 0.001720368000; zBar: 0.294774600000),
  ({414} xBar: 0.069212000000; yBar: 0.001935323000; zBar: 0.330798500000),
  ({415} xBar: 0.077630000000; yBar: 0.002180000000; zBar: 0.371300000000),
  ({416} xBar: 0.086958110000; yBar: 0.002454800000; zBar: 0.416209100000),
  ({417} xBar: 0.097176720000; yBar: 0.002764000000; zBar: 0.465464200000),
  ({418} xBar: 0.108406300000; yBar: 0.003117800000; zBar: 0.519694800000),
  ({419} xBar: 0.120767200000; yBar: 0.003526400000; zBar: 0.579530300000),
  ({420} xBar: 0.134380000000; yBar: 0.004000000000; zBar: 0.645600000000),
  ({421} xBar: 0.149358200000; yBar: 0.004546240000; zBar: 0.718483800000),
  ({422} xBar: 0.165395700000; yBar: 0.005159320000; zBar: 0.796713300000),
  ({423} xBar: 0.181983100000; yBar: 0.005829280000; zBar: 0.877845900000),
  ({424} xBar: 0.198611000000; yBar: 0.006546160000; zBar: 0.959439000000),
  ({425} xBar: 0.214770000000; yBar: 0.007300000000; zBar: 1.039050100000),
  ({426} xBar: 0.230186800000; yBar: 0.008086507000; zBar: 1.115367300000),
  ({427} xBar: 0.244879700000; yBar: 0.008908720000; zBar: 1.188497100000),
  ({428} xBar: 0.258777300000; yBar: 0.009767680000; zBar: 1.258123300000),
  ({429} xBar: 0.271807900000; yBar: 0.010664430000; zBar: 1.323929600000),
  ({430} xBar: 0.283900000000; yBar: 0.011600000000; zBar: 1.385600000000),
  ({431} xBar: 0.294943800000; yBar: 0.012573170000; zBar: 1.442635200000),
  ({432} xBar: 0.304896500000; yBar: 0.013582720000; zBar: 1.494803500000),
  ({433} xBar: 0.313787300000; yBar: 0.014629680000; zBar: 1.542190300000),
  ({434} xBar: 0.321645400000; yBar: 0.015715090000; zBar: 1.584880700000),
  ({435} xBar: 0.328500000000; yBar: 0.016840000000; zBar: 1.622960000000),
  ({436} xBar: 0.334351300000; yBar: 0.018007360000; zBar: 1.656404800000),
  ({437} xBar: 0.339210100000; yBar: 0.019214480000; zBar: 1.685295900000),
  ({438} xBar: 0.343121300000; yBar: 0.020453920000; zBar: 1.709874500000),
  ({439} xBar: 0.346129600000; yBar: 0.021718240000; zBar: 1.730382100000),
  ({440} xBar: 0.348280000000; yBar: 0.023000000000; zBar: 1.747060000000),
  ({441} xBar: 0.349599900000; yBar: 0.024294610000; zBar: 1.760044600000),
  ({442} xBar: 0.350147400000; yBar: 0.025610240000; zBar: 1.769623300000),
  ({443} xBar: 0.350013000000; yBar: 0.026958570000; zBar: 1.776263700000),
  ({444} xBar: 0.349287000000; yBar: 0.028351250000; zBar: 1.780433400000),
  ({445} xBar: 0.348060000000; yBar: 0.029800000000; zBar: 1.782600000000),
  ({446} xBar: 0.346373300000; yBar: 0.031310830000; zBar: 1.782968200000),
  ({447} xBar: 0.344262400000; yBar: 0.032883680000; zBar: 1.781699800000),
  ({448} xBar: 0.341808800000; yBar: 0.034521120000; zBar: 1.779198200000),
  ({449} xBar: 0.339094100000; yBar: 0.036225710000; zBar: 1.775867100000),
  ({450} xBar: 0.336200000000; yBar: 0.038000000000; zBar: 1.772110000000),
  ({451} xBar: 0.333197700000; yBar: 0.039846670000; zBar: 1.768258900000),
  ({452} xBar: 0.330041100000; yBar: 0.041768000000; zBar: 1.764039000000),
  ({453} xBar: 0.326635700000; yBar: 0.043766000000; zBar: 1.758943800000),
  ({454} xBar: 0.322886800000; yBar: 0.045842670000; zBar: 1.752466300000),
  ({455} xBar: 0.318700000000; yBar: 0.048000000000; zBar: 1.744100000000),
  ({456} xBar: 0.314025100000; yBar: 0.050243680000; zBar: 1.733559500000),
  ({457} xBar: 0.308884000000; yBar: 0.052573040000; zBar: 1.720858100000),
  ({458} xBar: 0.303290400000; yBar: 0.054980560000; zBar: 1.705936900000),
  ({459} xBar: 0.297257900000; yBar: 0.057458720000; zBar: 1.688737200000),
  ({460} xBar: 0.290800000000; yBar: 0.060000000000; zBar: 1.669200000000),
  ({461} xBar: 0.283970100000; yBar: 0.062601970000; zBar: 1.647528700000),
  ({462} xBar: 0.276721400000; yBar: 0.065277520000; zBar: 1.623412700000),
  ({463} xBar: 0.268917800000; yBar: 0.068042080000; zBar: 1.596022300000),
  ({464} xBar: 0.260422700000; yBar: 0.070911090000; zBar: 1.564528000000),
  ({465} xBar: 0.251100000000; yBar: 0.073900000000; zBar: 1.528100000000),
  ({466} xBar: 0.240847500000; yBar: 0.077016000000; zBar: 1.486111400000),
  ({467} xBar: 0.229851200000; yBar: 0.080266400000; zBar: 1.439521500000),
  ({468} xBar: 0.218407200000; yBar: 0.083666800000; zBar: 1.389879900000),
  ({469} xBar: 0.206811500000; yBar: 0.087232800000; zBar: 1.338736200000),
  ({470} xBar: 0.195360000000; yBar: 0.090980000000; zBar: 1.287640000000),
  ({471} xBar: 0.184213600000; yBar: 0.094917550000; zBar: 1.237422300000),
  ({472} xBar: 0.173327300000; yBar: 0.099045840000; zBar: 1.187824300000),
  ({473} xBar: 0.162688100000; yBar: 0.103367400000; zBar: 1.138761100000),
  ({474} xBar: 0.152283300000; yBar: 0.107884600000; zBar: 1.090148000000),
  ({475} xBar: 0.142100000000; yBar: 0.112600000000; zBar: 1.041900000000),
  ({476} xBar: 0.132178600000; yBar: 0.117532000000; zBar: 0.994197600000),
  ({477} xBar: 0.122569600000; yBar: 0.122674400000; zBar: 0.947347300000),
  ({478} xBar: 0.113275200000; yBar: 0.127992800000; zBar: 0.901453100000),
  ({479} xBar: 0.104297900000; yBar: 0.133452800000; zBar: 0.856619300000),
  ({480} xBar: 0.095640000000; yBar: 0.139020000000; zBar: 0.812950100000),
  ({481} xBar: 0.087299550000; yBar: 0.144676400000; zBar: 0.770517300000),
  ({482} xBar: 0.079308040000; yBar: 0.150469300000; zBar: 0.729444800000),
  ({483} xBar: 0.071717760000; yBar: 0.156461900000; zBar: 0.689913600000),
  ({484} xBar: 0.064580990000; yBar: 0.162717700000; zBar: 0.652104900000),
  ({485} xBar: 0.057950010000; yBar: 0.169300000000; zBar: 0.616200000000),
  ({486} xBar: 0.051862110000; yBar: 0.176243100000; zBar: 0.582328600000),
  ({487} xBar: 0.046281520000; yBar: 0.183558100000; zBar: 0.550416200000),
  ({488} xBar: 0.041150880000; yBar: 0.191273500000; zBar: 0.520337600000),
  ({489} xBar: 0.036412830000; yBar: 0.199418000000; zBar: 0.491967300000),
  ({490} xBar: 0.032010000000; yBar: 0.208020000000; zBar: 0.465180000000),
  ({491} xBar: 0.027917200000; yBar: 0.217119900000; zBar: 0.439924600000),
  ({492} xBar: 0.024144400000; yBar: 0.226734500000; zBar: 0.416183600000),
  ({493} xBar: 0.020687000000; yBar: 0.236857100000; zBar: 0.393882200000),
  ({494} xBar: 0.017540400000; yBar: 0.247481200000; zBar: 0.372945900000),
  ({495} xBar: 0.014700000000; yBar: 0.258600000000; zBar: 0.353300000000),
  ({496} xBar: 0.012161790000; yBar: 0.270184900000; zBar: 0.334857800000),
  ({497} xBar: 0.009919960000; yBar: 0.282293900000; zBar: 0.317552100000),
  ({498} xBar: 0.007967240000; yBar: 0.295050500000; zBar: 0.301337500000),
  ({499} xBar: 0.006296346000; yBar: 0.308578000000; zBar: 0.286168600000),
  ({500} xBar: 0.004900000000; yBar: 0.323000000000; zBar: 0.272000000000),
  ({501} xBar: 0.003777173000; yBar: 0.338402100000; zBar: 0.258817100000),
  ({502} xBar: 0.002945320000; yBar: 0.354685800000; zBar: 0.246483800000),
  ({503} xBar: 0.002424880000; yBar: 0.371698600000; zBar: 0.234771800000),
  ({504} xBar: 0.002236293000; yBar: 0.389287500000; zBar: 0.223453300000),
  ({505} xBar: 0.002400000000; yBar: 0.407300000000; zBar: 0.212300000000),
  ({506} xBar: 0.002925520000; yBar: 0.425629900000; zBar: 0.201169200000),
  ({507} xBar: 0.003836560000; yBar: 0.444309600000; zBar: 0.190119600000),
  ({508} xBar: 0.005174840000; yBar: 0.463394400000; zBar: 0.179225400000),
  ({509} xBar: 0.006982080000; yBar: 0.482939500000; zBar: 0.168560800000),
  ({510} xBar: 0.009300000000; yBar: 0.503000000000; zBar: 0.158200000000),
  ({511} xBar: 0.012149490000; yBar: 0.523569300000; zBar: 0.148138300000),
  ({512} xBar: 0.015535880000; yBar: 0.544512000000; zBar: 0.138375800000),
  ({513} xBar: 0.019477520000; yBar: 0.565690000000; zBar: 0.128994200000),
  ({514} xBar: 0.023992770000; yBar: 0.586965300000; zBar: 0.120075100000),
  ({515} xBar: 0.029100000000; yBar: 0.608200000000; zBar: 0.111700000000),
  ({516} xBar: 0.034814850000; yBar: 0.629345600000; zBar: 0.103904800000),
  ({517} xBar: 0.041120160000; yBar: 0.650306800000; zBar: 0.096667480000),
  ({518} xBar: 0.047985040000; yBar: 0.670875200000; zBar: 0.089982720000),
  ({519} xBar: 0.055378610000; yBar: 0.690842400000; zBar: 0.083845310000),
  ({520} xBar: 0.063270000000; yBar: 0.710000000000; zBar: 0.078249990000),
  ({521} xBar: 0.071635010000; yBar: 0.728185200000; zBar: 0.073208990000),
  ({522} xBar: 0.080462240000; yBar: 0.745463600000; zBar: 0.068678160000),
  ({523} xBar: 0.089739960000; yBar: 0.761969400000; zBar: 0.064567840000),
  ({524} xBar: 0.099456450000; yBar: 0.777836800000; zBar: 0.060788350000),
  ({525} xBar: 0.109600000000; yBar: 0.793200000000; zBar: 0.057250010000),
  ({526} xBar: 0.120167400000; yBar: 0.808110400000; zBar: 0.053904350000),
  ({527} xBar: 0.131114500000; yBar: 0.822496200000; zBar: 0.050746640000),
  ({528} xBar: 0.142367900000; yBar: 0.836306800000; zBar: 0.047752760000),
  ({529} xBar: 0.153854200000; yBar: 0.849491600000; zBar: 0.044898590000),
  ({530} xBar: 0.165500000000; yBar: 0.862000000000; zBar: 0.042160000000),
  ({531} xBar: 0.177257100000; yBar: 0.873810800000; zBar: 0.039507280000),
  ({532} xBar: 0.189140000000; yBar: 0.884962400000; zBar: 0.036935640000),
  ({533} xBar: 0.201169400000; yBar: 0.895493600000; zBar: 0.034458360000),
  ({534} xBar: 0.213365800000; yBar: 0.905443200000; zBar: 0.032088720000),
  ({535} xBar: 0.225749900000; yBar: 0.914850100000; zBar: 0.029840000000),
  ({536} xBar: 0.238320900000; yBar: 0.923734800000; zBar: 0.027711810000),
  ({537} xBar: 0.251066800000; yBar: 0.932092400000; zBar: 0.025694440000),
  ({538} xBar: 0.263992200000; yBar: 0.939922600000; zBar: 0.023787160000),
  ({539} xBar: 0.277101700000; yBar: 0.947225200000; zBar: 0.021989250000),
  ({540} xBar: 0.290400000000; yBar: 0.954000000000; zBar: 0.020300000000),
  ({541} xBar: 0.303891200000; yBar: 0.960256100000; zBar: 0.018718050000),
  ({542} xBar: 0.317572600000; yBar: 0.966007400000; zBar: 0.017240360000),
  ({543} xBar: 0.331438400000; yBar: 0.971260600000; zBar: 0.015863640000),
  ({544} xBar: 0.345482800000; yBar: 0.976022500000; zBar: 0.014584610000),
  ({545} xBar: 0.359700000000; yBar: 0.980300000000; zBar: 0.013400000000),
  ({546} xBar: 0.374083900000; yBar: 0.984092400000; zBar: 0.012307230000),
  ({547} xBar: 0.388639600000; yBar: 0.987418200000; zBar: 0.011301880000),
  ({548} xBar: 0.403378400000; yBar: 0.990312800000; zBar: 0.010377920000),
  ({549} xBar: 0.418311500000; yBar: 0.992811600000; zBar: 0.009529306000),
  ({550} xBar: 0.433449900000; yBar: 0.994950100000; zBar: 0.008749999000),
  ({551} xBar: 0.448795300000; yBar: 0.996710800000; zBar: 0.008035200000),
  ({552} xBar: 0.464336000000; yBar: 0.998098300000; zBar: 0.007381600000),
  ({553} xBar: 0.480064000000; yBar: 0.999112000000; zBar: 0.006785400000),
  ({554} xBar: 0.495971300000; yBar: 0.999748200000; zBar: 0.006242800000),
  ({555} xBar: 0.512050100000; yBar: 1.000000000000; zBar: 0.005749999000),
  ({556} xBar: 0.528295900000; yBar: 0.999856700000; zBar: 0.005303600000),
  ({557} xBar: 0.544691600000; yBar: 0.999304600000; zBar: 0.004899800000),
  ({558} xBar: 0.561209400000; yBar: 0.998325500000; zBar: 0.004534200000),
  ({559} xBar: 0.577821500000; yBar: 0.996898700000; zBar: 0.004202400000),
  ({560} xBar: 0.594500000000; yBar: 0.995000000000; zBar: 0.003900000000),
  ({561} xBar: 0.611220900000; yBar: 0.992600500000; zBar: 0.003623200000),
  ({562} xBar: 0.627975800000; yBar: 0.989742600000; zBar: 0.003370600000),
  ({563} xBar: 0.644760200000; yBar: 0.986444400000; zBar: 0.003141400000),
  ({564} xBar: 0.661569700000; yBar: 0.982724100000; zBar: 0.002934800000),
  ({565} xBar: 0.678400000000; yBar: 0.978600000000; zBar: 0.002749999000),
  ({566} xBar: 0.695239200000; yBar: 0.974083700000; zBar: 0.002585200000),
  ({567} xBar: 0.712058600000; yBar: 0.969171200000; zBar: 0.002438600000),
  ({568} xBar: 0.728828400000; yBar: 0.963856800000; zBar: 0.002309400000),
  ({569} xBar: 0.745518800000; yBar: 0.958134900000; zBar: 0.002196800000),
  ({570} xBar: 0.762100000000; yBar: 0.952000000000; zBar: 0.002100000000),
  ({571} xBar: 0.778543200000; yBar: 0.945450400000; zBar: 0.002017733000),
  ({572} xBar: 0.794825600000; yBar: 0.938499200000; zBar: 0.001948200000),
  ({573} xBar: 0.810926400000; yBar: 0.931162800000; zBar: 0.001889800000),
  ({574} xBar: 0.826824800000; yBar: 0.923457600000; zBar: 0.001840933000),
  ({575} xBar: 0.842500000000; yBar: 0.915400000000; zBar: 0.001800000000),
  ({576} xBar: 0.857932500000; yBar: 0.907006400000; zBar: 0.001766267000),
  ({577} xBar: 0.873081600000; yBar: 0.898277200000; zBar: 0.001737800000),
  ({578} xBar: 0.887894400000; yBar: 0.889204800000; zBar: 0.001711200000),
  ({579} xBar: 0.902318100000; yBar: 0.879781600000; zBar: 0.001683067000),
  ({580} xBar: 0.916300000000; yBar: 0.870000000000; zBar: 0.001650001000),
  ({581} xBar: 0.929799500000; yBar: 0.859861300000; zBar: 0.001610133000),
  ({582} xBar: 0.942798400000; yBar: 0.849392000000; zBar: 0.001564400000),
  ({583} xBar: 0.955277600000; yBar: 0.838622000000; zBar: 0.001513600000),
  ({584} xBar: 0.967217900000; yBar: 0.827581300000; zBar: 0.001458533000),
  ({585} xBar: 0.978600000000; yBar: 0.816300000000; zBar: 0.001400000000),
  ({586} xBar: 0.989385600000; yBar: 0.804794700000; zBar: 0.001336667000),
  ({587} xBar: 0.999548800000; yBar: 0.793082000000; zBar: 0.001270000000),
  ({588} xBar: 1.009089200000; yBar: 0.781192000000; zBar: 0.001205000000),
  ({589} xBar: 1.018006400000; yBar: 0.769154700000; zBar: 0.001146667000),
  ({590} xBar: 1.026300000000; yBar: 0.757000000000; zBar: 0.001100000000),
  ({591} xBar: 1.033982700000; yBar: 0.744754100000; zBar: 0.001068800000),
  ({592} xBar: 1.040986000000; yBar: 0.732422400000; zBar: 0.001049400000),
  ({593} xBar: 1.047188000000; yBar: 0.720003600000; zBar: 0.001035600000),
  ({594} xBar: 1.052466700000; yBar: 0.707496500000; zBar: 0.001021200000),
  ({595} xBar: 1.056700000000; yBar: 0.694900000000; zBar: 0.001000000000),
  ({596} xBar: 1.059794400000; yBar: 0.682219200000; zBar: 0.000968640000),
  ({597} xBar: 1.061799200000; yBar: 0.669471600000; zBar: 0.000929920000),
  ({598} xBar: 1.062806800000; yBar: 0.656674400000; zBar: 0.000886880000),
  ({599} xBar: 1.062909600000; yBar: 0.643844800000; zBar: 0.000842560000),
  ({600} xBar: 1.062200000000; yBar: 0.631000000000; zBar: 0.000800000000),
  ({601} xBar: 1.060735200000; yBar: 0.618155500000; zBar: 0.000760960000),
  ({602} xBar: 1.058443600000; yBar: 0.605314400000; zBar: 0.000723680000),
  ({603} xBar: 1.055224400000; yBar: 0.592475600000; zBar: 0.000685920000),
  ({604} xBar: 1.050976800000; yBar: 0.579637900000; zBar: 0.000645440000),
  ({605} xBar: 1.045600000000; yBar: 0.566800000000; zBar: 0.000600000000),
  ({606} xBar: 1.039036900000; yBar: 0.553961100000; zBar: 0.000547866700),
  ({607} xBar: 1.031360800000; yBar: 0.541137200000; zBar: 0.000491600000),
  ({608} xBar: 1.022666200000; yBar: 0.528352800000; zBar: 0.000435400000),
  ({609} xBar: 1.013047700000; yBar: 0.515632300000; zBar: 0.000383466700),
  ({610} xBar: 1.002600000000; yBar: 0.503000000000; zBar: 0.000340000000),
  ({611} xBar: 0.991367500000; yBar: 0.490468800000; zBar: 0.000307253300),
  ({612} xBar: 0.979331400000; yBar: 0.478030400000; zBar: 0.000283160000),
  ({613} xBar: 0.966491600000; yBar: 0.465677600000; zBar: 0.000265440000),
  ({614} xBar: 0.952847900000; yBar: 0.453403200000; zBar: 0.000251813300),
  ({615} xBar: 0.938400000000; yBar: 0.441200000000; zBar: 0.000240000000),
  ({616} xBar: 0.923194000000; yBar: 0.429080000000; zBar: 0.000229546700),
  ({617} xBar: 0.907244000000; yBar: 0.417036000000; zBar: 0.000220640000),
  ({618} xBar: 0.890502000000; yBar: 0.405032000000; zBar: 0.000211960000),
  ({619} xBar: 0.872920000000; yBar: 0.393032000000; zBar: 0.000202186700),
  ({620} xBar: 0.854449900000; yBar: 0.381000000000; zBar: 0.000190000000),
  ({621} xBar: 0.835084000000; yBar: 0.368918400000; zBar: 0.000174213300),
  ({622} xBar: 0.814946000000; yBar: 0.356827200000; zBar: 0.000155640000),
  ({623} xBar: 0.794186000000; yBar: 0.344776800000; zBar: 0.000135960000),
  ({624} xBar: 0.772954000000; yBar: 0.332817600000; zBar: 0.000116853300),
  ({625} xBar: 0.751400000000; yBar: 0.321000000000; zBar: 0.000100000000),
  ({626} xBar: 0.729583600000; yBar: 0.309338100000; zBar: 0.000086133330),
  ({627} xBar: 0.707588800000; yBar: 0.297850400000; zBar: 0.000074600000),
  ({628} xBar: 0.685602200000; yBar: 0.286593600000; zBar: 0.000065000000),
  ({629} xBar: 0.663810400000; yBar: 0.275624500000; zBar: 0.000056933330),
  ({630} xBar: 0.642400000000; yBar: 0.265000000000; zBar: 0.000049999990),
  ({631} xBar: 0.621514900000; yBar: 0.254763200000; zBar: 0.000044160000),
  ({632} xBar: 0.601113800000; yBar: 0.244889600000; zBar: 0.000039480000),
  ({633} xBar: 0.581105200000; yBar: 0.235334400000; zBar: 0.000035720000),
  ({634} xBar: 0.561397700000; yBar: 0.226052800000; zBar: 0.000032640000),
  ({635} xBar: 0.541900000000; yBar: 0.217000000000; zBar: 0.000030000000),
  ({636} xBar: 0.522599500000; yBar: 0.208161600000; zBar: 0.000027653330),
  ({637} xBar: 0.503546400000; yBar: 0.199548800000; zBar: 0.000025560000),
  ({638} xBar: 0.484743600000; yBar: 0.191155200000; zBar: 0.000023640000),
  ({639} xBar: 0.466193900000; yBar: 0.182974400000; zBar: 0.000021813330),
  ({640} xBar: 0.447900000000; yBar: 0.175000000000; zBar: 0.000020000000),
  ({641} xBar: 0.429861300000; yBar: 0.167223500000; zBar: 0.000018133330),
  ({642} xBar: 0.412098000000; yBar: 0.159646400000; zBar: 0.000016200000),
  ({643} xBar: 0.394644000000; yBar: 0.152277600000; zBar: 0.000014200000),
  ({644} xBar: 0.377533300000; yBar: 0.145125900000; zBar: 0.000012133330),
  ({645} xBar: 0.360800000000; yBar: 0.138200000000; zBar: 0.000010000000),
  ({646} xBar: 0.344456300000; yBar: 0.131500300000; zBar: 0.000007733333),
  ({647} xBar: 0.328516800000; yBar: 0.125024800000; zBar: 0.000005400000),
  ({648} xBar: 0.313019200000; yBar: 0.118779200000; zBar: 0.000003200000),
  ({649} xBar: 0.298001100000; yBar: 0.112769100000; zBar: 0.000001333333),
  ({650} xBar: 0.283500000000; yBar: 0.107000000000; zBar: 0.000000000000),
  ({651} xBar: 0.269544800000; yBar: 0.101476200000; zBar: 0.000000000000),
  ({652} xBar: 0.256118400000; yBar: 0.096188640000; zBar: 0.000000000000),
  ({653} xBar: 0.243189600000; yBar: 0.091122960000; zBar: 0.000000000000),
  ({654} xBar: 0.230727200000; yBar: 0.086264850000; zBar: 0.000000000000),
  ({655} xBar: 0.218700000000; yBar: 0.081600000000; zBar: 0.000000000000),
  ({656} xBar: 0.207097100000; yBar: 0.077120640000; zBar: 0.000000000000),
  ({657} xBar: 0.195923200000; yBar: 0.072825520000; zBar: 0.000000000000),
  ({658} xBar: 0.185170800000; yBar: 0.068710080000; zBar: 0.000000000000),
  ({659} xBar: 0.174832300000; yBar: 0.064769760000; zBar: 0.000000000000),
  ({660} xBar: 0.164900000000; yBar: 0.061000000000; zBar: 0.000000000000),
  ({661} xBar: 0.155366700000; yBar: 0.057396210000; zBar: 0.000000000000),
  ({662} xBar: 0.146230000000; yBar: 0.053955040000; zBar: 0.000000000000),
  ({663} xBar: 0.137490000000; yBar: 0.050673760000; zBar: 0.000000000000),
  ({664} xBar: 0.129146700000; yBar: 0.047549650000; zBar: 0.000000000000),
  ({665} xBar: 0.121200000000; yBar: 0.044580000000; zBar: 0.000000000000),
  ({666} xBar: 0.113639700000; yBar: 0.041758720000; zBar: 0.000000000000),
  ({667} xBar: 0.106465000000; yBar: 0.039084960000; zBar: 0.000000000000),
  ({668} xBar: 0.099690440000; yBar: 0.036563840000; zBar: 0.000000000000),
  ({669} xBar: 0.093330610000; yBar: 0.034200480000; zBar: 0.000000000000),
  ({670} xBar: 0.087400000000; yBar: 0.032000000000; zBar: 0.000000000000),
  ({671} xBar: 0.081900960000; yBar: 0.029962610000; zBar: 0.000000000000),
  ({672} xBar: 0.076804280000; yBar: 0.028076640000; zBar: 0.000000000000),
  ({673} xBar: 0.072077120000; yBar: 0.026329360000; zBar: 0.000000000000),
  ({674} xBar: 0.067686640000; yBar: 0.024708050000; zBar: 0.000000000000),
  ({675} xBar: 0.063600000000; yBar: 0.023200000000; zBar: 0.000000000000),
  ({676} xBar: 0.059806850000; yBar: 0.021800770000; zBar: 0.000000000000),
  ({677} xBar: 0.056282160000; yBar: 0.020501120000; zBar: 0.000000000000),
  ({678} xBar: 0.052971040000; yBar: 0.019281080000; zBar: 0.000000000000),
  ({679} xBar: 0.049818610000; yBar: 0.018120690000; zBar: 0.000000000000),
  ({680} xBar: 0.046770000000; yBar: 0.017000000000; zBar: 0.000000000000),
  ({681} xBar: 0.043784050000; yBar: 0.015903790000; zBar: 0.000000000000),
  ({682} xBar: 0.040875360000; yBar: 0.014837180000; zBar: 0.000000000000),
  ({683} xBar: 0.038072640000; yBar: 0.013810680000; zBar: 0.000000000000),
  ({684} xBar: 0.035404610000; yBar: 0.012834780000; zBar: 0.000000000000),
  ({685} xBar: 0.032900000000; yBar: 0.011920000000; zBar: 0.000000000000),
  ({686} xBar: 0.030564190000; yBar: 0.011068310000; zBar: 0.000000000000),
  ({687} xBar: 0.028380560000; yBar: 0.010273390000; zBar: 0.000000000000),
  ({688} xBar: 0.026344840000; yBar: 0.009533311000; zBar: 0.000000000000),
  ({689} xBar: 0.024452750000; yBar: 0.008846157000; zBar: 0.000000000000),
  ({690} xBar: 0.022700000000; yBar: 0.008210000000; zBar: 0.000000000000),
  ({691} xBar: 0.021084290000; yBar: 0.007623781000; zBar: 0.000000000000),
  ({692} xBar: 0.019599880000; yBar: 0.007085424000; zBar: 0.000000000000),
  ({693} xBar: 0.018237320000; yBar: 0.006591476000; zBar: 0.000000000000),
  ({694} xBar: 0.016987170000; yBar: 0.006138485000; zBar: 0.000000000000),
  ({695} xBar: 0.015840000000; yBar: 0.005723000000; zBar: 0.000000000000),
  ({696} xBar: 0.014790640000; yBar: 0.005343059000; zBar: 0.000000000000),
  ({697} xBar: 0.013831320000; yBar: 0.004995796000; zBar: 0.000000000000),
  ({698} xBar: 0.012948680000; yBar: 0.004676404000; zBar: 0.000000000000),
  ({699} xBar: 0.012129200000; yBar: 0.004380075000; zBar: 0.000000000000),
  ({700} xBar: 0.011359160000; yBar: 0.004102000000; zBar: 0.000000000000),
  ({701} xBar: 0.010629350000; yBar: 0.003838453000; zBar: 0.000000000000),
  ({702} xBar: 0.009938846000; yBar: 0.003589099000; zBar: 0.000000000000),
  ({703} xBar: 0.009288422000; yBar: 0.003354219000; zBar: 0.000000000000),
  ({704} xBar: 0.008678854000; yBar: 0.003134093000; zBar: 0.000000000000),
  ({705} xBar: 0.008110916000; yBar: 0.002929000000; zBar: 0.000000000000),
  ({706} xBar: 0.007582388000; yBar: 0.002738139000; zBar: 0.000000000000),
  ({707} xBar: 0.007088746000; yBar: 0.002559876000; zBar: 0.000000000000),
  ({708} xBar: 0.006627313000; yBar: 0.002393244000; zBar: 0.000000000000),
  ({709} xBar: 0.006195408000; yBar: 0.002237275000; zBar: 0.000000000000),
  ({710} xBar: 0.005790346000; yBar: 0.002091000000; zBar: 0.000000000000),
  ({711} xBar: 0.005409826000; yBar: 0.001953587000; zBar: 0.000000000000),
  ({712} xBar: 0.005052583000; yBar: 0.001824580000; zBar: 0.000000000000),
  ({713} xBar: 0.004717512000; yBar: 0.001703580000; zBar: 0.000000000000),
  ({714} xBar: 0.004403507000; yBar: 0.001590187000; zBar: 0.000000000000),
  ({715} xBar: 0.004109457000; yBar: 0.001484000000; zBar: 0.000000000000),
  ({716} xBar: 0.003833913000; yBar: 0.001384496000; zBar: 0.000000000000),
  ({717} xBar: 0.003575748000; yBar: 0.001291268000; zBar: 0.000000000000),
  ({718} xBar: 0.003334342000; yBar: 0.001204092000; zBar: 0.000000000000),
  ({719} xBar: 0.003109075000; yBar: 0.001122744000; zBar: 0.000000000000),
  ({720} xBar: 0.002899327000; yBar: 0.001047000000; zBar: 0.000000000000),
  ({721} xBar: 0.002704348000; yBar: 0.000976589600; zBar: 0.000000000000),
  ({722} xBar: 0.002523020000; yBar: 0.000911108800; zBar: 0.000000000000),
  ({723} xBar: 0.002354168000; yBar: 0.000850133200; zBar: 0.000000000000),
  ({724} xBar: 0.002196616000; yBar: 0.000793238400; zBar: 0.000000000000),
  ({725} xBar: 0.002049190000; yBar: 0.000740000000; zBar: 0.000000000000),
  ({726} xBar: 0.001910960000; yBar: 0.000690082700; zBar: 0.000000000000),
  ({727} xBar: 0.001781438000; yBar: 0.000643310000; zBar: 0.000000000000),
  ({728} xBar: 0.001660110000; yBar: 0.000599496000; zBar: 0.000000000000),
  ({729} xBar: 0.001546459000; yBar: 0.000558454700; zBar: 0.000000000000),
  ({730} xBar: 0.001439971000; yBar: 0.000520000000; zBar: 0.000000000000),
  ({731} xBar: 0.001340042000; yBar: 0.000483913600; zBar: 0.000000000000),
  ({732} xBar: 0.001246275000; yBar: 0.000450052800; zBar: 0.000000000000),
  ({733} xBar: 0.001158471000; yBar: 0.000418345200; zBar: 0.000000000000),
  ({734} xBar: 0.001076430000; yBar: 0.000388718400; zBar: 0.000000000000),
  ({735} xBar: 0.000999949300; yBar: 0.000361100000; zBar: 0.000000000000),
  ({736} xBar: 0.000928735800; yBar: 0.000335383500; zBar: 0.000000000000),
  ({737} xBar: 0.000862433200; yBar: 0.000311440400; zBar: 0.000000000000),
  ({738} xBar: 0.000800750300; yBar: 0.000289165600; zBar: 0.000000000000),
  ({739} xBar: 0.000743396000; yBar: 0.000268453900; zBar: 0.000000000000),
  ({740} xBar: 0.000690078600; yBar: 0.000249200000; zBar: 0.000000000000),
  ({741} xBar: 0.000640515600; yBar: 0.000231301900; zBar: 0.000000000000),
  ({742} xBar: 0.000594502100; yBar: 0.000214685600; zBar: 0.000000000000),
  ({743} xBar: 0.000551864600; yBar: 0.000199288400; zBar: 0.000000000000),
  ({744} xBar: 0.000512429000; yBar: 0.000185047500; zBar: 0.000000000000),
  ({745} xBar: 0.000476021300; yBar: 0.000171900000; zBar: 0.000000000000),
  ({746} xBar: 0.000442453600; yBar: 0.000159778100; zBar: 0.000000000000),
  ({747} xBar: 0.000411511700; yBar: 0.000148604400; zBar: 0.000000000000),
  ({748} xBar: 0.000382981400; yBar: 0.000138301600; zBar: 0.000000000000),
  ({749} xBar: 0.000356649100; yBar: 0.000128792500; zBar: 0.000000000000),
  ({750} xBar: 0.000332301100; yBar: 0.000120000000; zBar: 0.000000000000),
  ({751} xBar: 0.000309758600; yBar: 0.000111859500; zBar: 0.000000000000),
  ({752} xBar: 0.000288887100; yBar: 0.000104322400; zBar: 0.000000000000),
  ({753} xBar: 0.000269539400; yBar: 0.000097335600; zBar: 0.000000000000),
  ({754} xBar: 0.000251568200; yBar: 0.000090845870; zBar: 0.000000000000),
  ({755} xBar: 0.000234826100; yBar: 0.000084800000; zBar: 0.000000000000),
  ({756} xBar: 0.000219171000; yBar: 0.000079146670; zBar: 0.000000000000),
  ({757} xBar: 0.000204525800; yBar: 0.000073858000; zBar: 0.000000000000),
  ({758} xBar: 0.000190840500; yBar: 0.000068916000; zBar: 0.000000000000),
  ({759} xBar: 0.000178065400; yBar: 0.000064302670; zBar: 0.000000000000),
  ({760} xBar: 0.000166150500; yBar: 0.000060000000; zBar: 0.000000000000),
  ({761} xBar: 0.000155023600; yBar: 0.000055981870; zBar: 0.000000000000),
  ({762} xBar: 0.000144621900; yBar: 0.000052225600; zBar: 0.000000000000),
  ({763} xBar: 0.000134909800; yBar: 0.000048718400; zBar: 0.000000000000),
  ({764} xBar: 0.000125852000; yBar: 0.000045447470; zBar: 0.000000000000),
  ({765} xBar: 0.000117413000; yBar: 0.000042400000; zBar: 0.000000000000),
  ({766} xBar: 0.000109551500; yBar: 0.000039561040; zBar: 0.000000000000),
  ({767} xBar: 0.000102224500; yBar: 0.000036915120; zBar: 0.000000000000),
  ({768} xBar: 0.000095394450; yBar: 0.000034448680; zBar: 0.000000000000),
  ({769} xBar: 0.000089023900; yBar: 0.000032148160; zBar: 0.000000000000),
  ({770} xBar: 0.000083075270; yBar: 0.000030000000; zBar: 0.000000000000),
  ({771} xBar: 0.000077512690; yBar: 0.000027991250; zBar: 0.000000000000),
  ({772} xBar: 0.000072313040; yBar: 0.000026113560; zBar: 0.000000000000),
  ({773} xBar: 0.000067457780; yBar: 0.000024360240; zBar: 0.000000000000),
  ({774} xBar: 0.000062928440; yBar: 0.000022724610; zBar: 0.000000000000),
  ({775} xBar: 0.000058706520; yBar: 0.000021200000; zBar: 0.000000000000),
  ({776} xBar: 0.000054770280; yBar: 0.000019778550; zBar: 0.000000000000),
  ({777} xBar: 0.000051099180; yBar: 0.000018452850; zBar: 0.000000000000),
  ({778} xBar: 0.000047676540; yBar: 0.000017216870; zBar: 0.000000000000),
  ({779} xBar: 0.000044485670; yBar: 0.000016064590; zBar: 0.000000000000),
  ({780} xBar: 0.000041509940; yBar: 0.000014990000; zBar: 0.000000000000),
  ({781} xBar: 0.000038733240; yBar: 0.000013987280; zBar: 0.000000000000),
  ({782} xBar: 0.000036142030; yBar: 0.000013051550; zBar: 0.000000000000),
  ({783} xBar: 0.000033723520; yBar: 0.000012178180; zBar: 0.000000000000),
  ({784} xBar: 0.000031464870; yBar: 0.000011362540; zBar: 0.000000000000),
  ({785} xBar: 0.000029353260; yBar: 0.000010600000; zBar: 0.000000000000),
  ({786} xBar: 0.000027375730; yBar: 0.000009885877; zBar: 0.000000000000),
  ({787} xBar: 0.000025524330; yBar: 0.000009217304; zBar: 0.000000000000),
  ({788} xBar: 0.000023793760; yBar: 0.000008592362; zBar: 0.000000000000),
  ({789} xBar: 0.000022178700; yBar: 0.000008009133; zBar: 0.000000000000),
  ({790} xBar: 0.000020673830; yBar: 0.000007465700; zBar: 0.000000000000),
  ({791} xBar: 0.000019272260; yBar: 0.000006959567; zBar: 0.000000000000),
  ({792} xBar: 0.000017966400; yBar: 0.000006487995; zBar: 0.000000000000),
  ({793} xBar: 0.000016749910; yBar: 0.000006048699; zBar: 0.000000000000),
  ({794} xBar: 0.000015616480; yBar: 0.000005639396; zBar: 0.000000000000),
  ({795} xBar: 0.000014559770; yBar: 0.000005257800; zBar: 0.000000000000),
  ({796} xBar: 0.000013573870; yBar: 0.000004901771; zBar: 0.000000000000),
  ({797} xBar: 0.000012654360; yBar: 0.000004569720; zBar: 0.000000000000),
  ({798} xBar: 0.000011797230; yBar: 0.000004260194; zBar: 0.000000000000),
  ({799} xBar: 0.000010998440; yBar: 0.000003971739; zBar: 0.000000000000),
  ({800} xBar: 0.000010253980; yBar: 0.000003702900; zBar: 0.000000000000),
  ({801} xBar: 0.000009559646; yBar: 0.000003452163; zBar: 0.000000000000),
  ({802} xBar: 0.000008912044; yBar: 0.000003218302; zBar: 0.000000000000),
  ({803} xBar: 0.000008308358; yBar: 0.000003000300; zBar: 0.000000000000),
  ({804} xBar: 0.000007745769; yBar: 0.000002797139; zBar: 0.000000000000),
  ({805} xBar: 0.000007221456; yBar: 0.000002607800; zBar: 0.000000000000),
  ({806} xBar: 0.000006732475; yBar: 0.000002431220; zBar: 0.000000000000),
  ({807} xBar: 0.000006276423; yBar: 0.000002266531; zBar: 0.000000000000),
  ({808} xBar: 0.000005851304; yBar: 0.000002113013; zBar: 0.000000000000),
  ({809} xBar: 0.000005455118; yBar: 0.000001969943; zBar: 0.000000000000),
  ({810} xBar: 0.000005085868; yBar: 0.000001836600; zBar: 0.000000000000),
  ({811} xBar: 0.000004741466; yBar: 0.000001712230; zBar: 0.000000000000),
  ({812} xBar: 0.000004420236; yBar: 0.000001596228; zBar: 0.000000000000),
  ({813} xBar: 0.000004120783; yBar: 0.000001488090; zBar: 0.000000000000),
  ({814} xBar: 0.000003841716; yBar: 0.000001387314; zBar: 0.000000000000),
  ({815} xBar: 0.000003581652; yBar: 0.000001293400; zBar: 0.000000000000),
  ({816} xBar: 0.000003339127; yBar: 0.000001205820; zBar: 0.000000000000),
  ({817} xBar: 0.000003112949; yBar: 0.000001124143; zBar: 0.000000000000),
  ({818} xBar: 0.000002902121; yBar: 0.000001048009; zBar: 0.000000000000),
  ({819} xBar: 0.000002705645; yBar: 0.000000977058; zBar: 0.000000000000),
  ({820} xBar: 0.000002522525; yBar: 0.000000910930; zBar: 0.000000000000),
  ({821} xBar: 0.000002351726; yBar: 0.000000849251; zBar: 0.000000000000),
  ({822} xBar: 0.000002192415; yBar: 0.000000791721; zBar: 0.000000000000),
  ({823} xBar: 0.000002043902; yBar: 0.000000738090; zBar: 0.000000000000),
  ({824} xBar: 0.000001905497; yBar: 0.000000688110; zBar: 0.000000000000),
  ({825} xBar: 0.000001776509; yBar: 0.000000641530; zBar: 0.000000000000),
  ({826} xBar: 0.000001656215; yBar: 0.000000598090; zBar: 0.000000000000),
  ({827} xBar: 0.000001544022; yBar: 0.000000557575; zBar: 0.000000000000),
  ({828} xBar: 0.000001439440; yBar: 0.000000519808; zBar: 0.000000000000),
  ({829} xBar: 0.000001341977; yBar: 0.000000484612; zBar: 0.000000000000),
  ({830} xBar: 0.000001251141; yBar: 0.000000451810; zBar: 0.000000000000)
 );


 // Adapted from cxyz64_1.txt at http://cvision.ucsd.edu/cie.htm
 ColorMatch1964:  TColorMatchArray =
 (
   ({360} xBar: 0.000000122200; yBar: 0.000000013398; zBar: 0.000000535027),
  ({361} xBar: 0.000000185138; yBar: 0.000000020294; zBar: 0.000000810720),
  ({362} xBar: 0.000000278830; yBar: 0.000000030560; zBar: 0.000001221200),
  ({363} xBar: 0.000000417470; yBar: 0.000000045740; zBar: 0.000001828700),
  ({364} xBar: 0.000000621330; yBar: 0.000000068050; zBar: 0.000002722200),
  ({365} xBar: 0.000000919270; yBar: 0.000000100650; zBar: 0.000004028300),
  ({366} xBar: 0.000001351980; yBar: 0.000000147980; zBar: 0.000005925700),
  ({367} xBar: 0.000001976540; yBar: 0.000000216270; zBar: 0.000008665100),
  ({368} xBar: 0.000002872500; yBar: 0.000000314200; zBar: 0.000012596000),
  ({369} xBar: 0.000004149500; yBar: 0.000000453700; zBar: 0.000018201000),
  ({370} xBar: 0.000005958600; yBar: 0.000000651100; zBar: 0.000026143700),
  ({371} xBar: 0.000008505600; yBar: 0.000000928800; zBar: 0.000037330000),
  ({372} xBar: 0.000012068600; yBar: 0.000001317500; zBar: 0.000052987000),
  ({373} xBar: 0.000017022600; yBar: 0.000001857200; zBar: 0.000074764000),
  ({374} xBar: 0.000023868000; yBar: 0.000002602000; zBar: 0.000104870000),
  ({375} xBar: 0.000033266000; yBar: 0.000003625000; zBar: 0.000146220000),
  ({376} xBar: 0.000046087000; yBar: 0.000005019000; zBar: 0.000202660000),
  ({377} xBar: 0.000063472000; yBar: 0.000006907000; zBar: 0.000279230000),
  ({378} xBar: 0.000086892000; yBar: 0.000009449000; zBar: 0.000382450000),
  ({379} xBar: 0.000118246000; yBar: 0.000012848000; zBar: 0.000520720000),
  ({380} xBar: 0.000159952000; yBar: 0.000017364000; zBar: 0.000704776000),
  ({381} xBar: 0.000215080000; yBar: 0.000023327000; zBar: 0.000948230000),
  ({382} xBar: 0.000287490000; yBar: 0.000031150000; zBar: 0.001268200000),
  ({383} xBar: 0.000381990000; yBar: 0.000041350000; zBar: 0.001686100000),
  ({384} xBar: 0.000504550000; yBar: 0.000054560000; zBar: 0.002228500000),
  ({385} xBar: 0.000662440000; yBar: 0.000071560000; zBar: 0.002927800000),
  ({386} xBar: 0.000864500000; yBar: 0.000093300000; zBar: 0.003823700000),
  ({387} xBar: 0.001121500000; yBar: 0.000120870000; zBar: 0.004964200000),
  ({388} xBar: 0.001446160000; yBar: 0.000155640000; zBar: 0.006406700000),
  ({389} xBar: 0.001853590000; yBar: 0.000199200000; zBar: 0.008219300000),
  ({390} xBar: 0.002361600000; yBar: 0.000253400000; zBar: 0.010482200000),
  ({391} xBar: 0.002990600000; yBar: 0.000320200000; zBar: 0.013289000000),
  ({392} xBar: 0.003764500000; yBar: 0.000402400000; zBar: 0.016747000000),
  ({393} xBar: 0.004710200000; yBar: 0.000502300000; zBar: 0.020980000000),
  ({394} xBar: 0.005858100000; yBar: 0.000623200000; zBar: 0.026127000000),
  ({395} xBar: 0.007242300000; yBar: 0.000768500000; zBar: 0.032344000000),
  ({396} xBar: 0.008899600000; yBar: 0.000941700000; zBar: 0.039802000000),
  ({397} xBar: 0.010870900000; yBar: 0.001147800000; zBar: 0.048691000000),
  ({398} xBar: 0.013198900000; yBar: 0.001390300000; zBar: 0.059210000000),
  ({399} xBar: 0.015929200000; yBar: 0.001674000000; zBar: 0.071576000000),
  ({400} xBar: 0.019109700000; yBar: 0.002004400000; zBar: 0.086010900000),
  ({401} xBar: 0.022788000000; yBar: 0.002386000000; zBar: 0.102740000000),
  ({402} xBar: 0.027011000000; yBar: 0.002822000000; zBar: 0.122000000000),
  ({403} xBar: 0.031829000000; yBar: 0.003319000000; zBar: 0.144020000000),
  ({404} xBar: 0.037278000000; yBar: 0.003880000000; zBar: 0.168990000000),
  ({405} xBar: 0.043400000000; yBar: 0.004509000000; zBar: 0.197120000000),
  ({406} xBar: 0.050223000000; yBar: 0.005209000000; zBar: 0.228570000000),
  ({407} xBar: 0.057764000000; yBar: 0.005985000000; zBar: 0.263470000000),
  ({408} xBar: 0.066038000000; yBar: 0.006833000000; zBar: 0.301900000000),
  ({409} xBar: 0.075033000000; yBar: 0.007757000000; zBar: 0.343870000000),
  ({410} xBar: 0.084736000000; yBar: 0.008756000000; zBar: 0.389366000000),
  ({411} xBar: 0.095041000000; yBar: 0.009816000000; zBar: 0.437970000000),
  ({412} xBar: 0.105836000000; yBar: 0.010918000000; zBar: 0.489220000000),
  ({413} xBar: 0.117066000000; yBar: 0.012058000000; zBar: 0.542900000000),
  ({414} xBar: 0.128682000000; yBar: 0.013237000000; zBar: 0.598810000000),
  ({415} xBar: 0.140638000000; yBar: 0.014456000000; zBar: 0.656760000000),
  ({416} xBar: 0.152893000000; yBar: 0.015717000000; zBar: 0.716580000000),
  ({417} xBar: 0.165416000000; yBar: 0.017025000000; zBar: 0.778120000000),
  ({418} xBar: 0.178191000000; yBar: 0.018399000000; zBar: 0.841310000000),
  ({419} xBar: 0.191214000000; yBar: 0.019848000000; zBar: 0.906110000000),
  ({420} xBar: 0.204492000000; yBar: 0.021391000000; zBar: 0.972542000000),
  ({421} xBar: 0.217650000000; yBar: 0.022992000000; zBar: 1.038900000000),
  ({422} xBar: 0.230267000000; yBar: 0.024598000000; zBar: 1.103100000000),
  ({423} xBar: 0.242311000000; yBar: 0.026213000000; zBar: 1.165100000000),
  ({424} xBar: 0.253793000000; yBar: 0.027841000000; zBar: 1.224900000000),
  ({425} xBar: 0.264737000000; yBar: 0.029497000000; zBar: 1.282500000000),
  ({426} xBar: 0.275195000000; yBar: 0.031195000000; zBar: 1.338200000000),
  ({427} xBar: 0.285301000000; yBar: 0.032927000000; zBar: 1.392600000000),
  ({428} xBar: 0.295143000000; yBar: 0.034738000000; zBar: 1.446100000000),
  ({429} xBar: 0.304869000000; yBar: 0.036654000000; zBar: 1.499400000000),
  ({430} xBar: 0.314679000000; yBar: 0.038676000000; zBar: 1.553480000000),
  ({431} xBar: 0.324355000000; yBar: 0.040792000000; zBar: 1.607200000000),
  ({432} xBar: 0.333570000000; yBar: 0.042946000000; zBar: 1.658900000000),
  ({433} xBar: 0.342243000000; yBar: 0.045114000000; zBar: 1.708200000000),
  ({434} xBar: 0.350312000000; yBar: 0.047333000000; zBar: 1.754800000000),
  ({435} xBar: 0.357719000000; yBar: 0.049602000000; zBar: 1.798500000000),
  ({436} xBar: 0.364482000000; yBar: 0.051934000000; zBar: 1.839200000000),
  ({437} xBar: 0.370493000000; yBar: 0.054337000000; zBar: 1.876600000000),
  ({438} xBar: 0.375727000000; yBar: 0.056822000000; zBar: 1.910500000000),
  ({439} xBar: 0.380158000000; yBar: 0.059399000000; zBar: 1.940800000000),
  ({440} xBar: 0.383734000000; yBar: 0.062077000000; zBar: 1.967280000000),
  ({441} xBar: 0.386327000000; yBar: 0.064737000000; zBar: 1.989100000000),
  ({442} xBar: 0.387858000000; yBar: 0.067285000000; zBar: 2.005700000000),
  ({443} xBar: 0.388396000000; yBar: 0.069764000000; zBar: 2.017400000000),
  ({444} xBar: 0.387978000000; yBar: 0.072218000000; zBar: 2.024400000000),
  ({445} xBar: 0.386726000000; yBar: 0.074704000000; zBar: 2.027300000000),
  ({446} xBar: 0.384696000000; yBar: 0.077272000000; zBar: 2.026400000000),
  ({447} xBar: 0.382006000000; yBar: 0.079979000000; zBar: 2.022300000000),
  ({448} xBar: 0.378709000000; yBar: 0.082874000000; zBar: 2.015300000000),
  ({449} xBar: 0.374915000000; yBar: 0.086000000000; zBar: 2.006000000000),
  ({450} xBar: 0.370702000000; yBar: 0.089456000000; zBar: 1.994800000000),
  ({451} xBar: 0.366089000000; yBar: 0.092947000000; zBar: 1.981400000000),
  ({452} xBar: 0.361045000000; yBar: 0.096275000000; zBar: 1.965300000000),
  ({453} xBar: 0.355518000000; yBar: 0.099535000000; zBar: 1.946400000000),
  ({454} xBar: 0.349486000000; yBar: 0.102829000000; zBar: 1.924800000000),
  ({455} xBar: 0.342957000000; yBar: 0.106256000000; zBar: 1.900700000000),
  ({456} xBar: 0.335893000000; yBar: 0.109901000000; zBar: 1.874100000000),
  ({457} xBar: 0.328284000000; yBar: 0.113835000000; zBar: 1.845100000000),
  ({458} xBar: 0.320150000000; yBar: 0.118167000000; zBar: 1.813900000000),
  ({459} xBar: 0.311475000000; yBar: 0.122932000000; zBar: 1.780600000000),
  ({460} xBar: 0.302273000000; yBar: 0.128201000000; zBar: 1.745370000000),
  ({461} xBar: 0.292858000000; yBar: 0.133457000000; zBar: 1.709100000000),
  ({462} xBar: 0.283502000000; yBar: 0.138323000000; zBar: 1.672300000000),
  ({463} xBar: 0.274044000000; yBar: 0.143042000000; zBar: 1.634700000000),
  ({464} xBar: 0.264263000000; yBar: 0.147787000000; zBar: 1.595600000000),
  ({465} xBar: 0.254085000000; yBar: 0.152761000000; zBar: 1.554900000000),
  ({466} xBar: 0.243392000000; yBar: 0.158102000000; zBar: 1.512200000000),
  ({467} xBar: 0.232187000000; yBar: 0.163941000000; zBar: 1.467300000000),
  ({468} xBar: 0.220488000000; yBar: 0.170362000000; zBar: 1.419900000000),
  ({469} xBar: 0.208198000000; yBar: 0.177425000000; zBar: 1.370000000000),
  ({470} xBar: 0.195618000000; yBar: 0.185190000000; zBar: 1.317560000000),
  ({471} xBar: 0.183034000000; yBar: 0.193025000000; zBar: 1.262400000000),
  ({472} xBar: 0.170222000000; yBar: 0.200313000000; zBar: 1.205000000000),
  ({473} xBar: 0.157348000000; yBar: 0.207156000000; zBar: 1.146600000000),
  ({474} xBar: 0.144650000000; yBar: 0.213644000000; zBar: 1.088000000000),
  ({475} xBar: 0.132349000000; yBar: 0.219940000000; zBar: 1.030200000000),
  ({476} xBar: 0.120584000000; yBar: 0.226170000000; zBar: 0.973830000000),
  ({477} xBar: 0.109456000000; yBar: 0.232467000000; zBar: 0.919430000000),
  ({478} xBar: 0.099042000000; yBar: 0.239025000000; zBar: 0.867460000000),
  ({479} xBar: 0.089388000000; yBar: 0.245997000000; zBar: 0.818280000000),
  ({480} xBar: 0.080507000000; yBar: 0.253589000000; zBar: 0.772125000000),
  ({481} xBar: 0.072034000000; yBar: 0.261876000000; zBar: 0.728290000000),
  ({482} xBar: 0.063710000000; yBar: 0.270643000000; zBar: 0.686040000000),
  ({483} xBar: 0.055694000000; yBar: 0.279645000000; zBar: 0.645530000000),
  ({484} xBar: 0.048117000000; yBar: 0.288694000000; zBar: 0.606850000000),
  ({485} xBar: 0.041072000000; yBar: 0.297665000000; zBar: 0.570060000000),
  ({486} xBar: 0.034642000000; yBar: 0.306469000000; zBar: 0.535220000000),
  ({487} xBar: 0.028896000000; yBar: 0.315035000000; zBar: 0.502340000000),
  ({488} xBar: 0.023876000000; yBar: 0.323335000000; zBar: 0.471400000000),
  ({489} xBar: 0.019628000000; yBar: 0.331366000000; zBar: 0.442390000000),
  ({490} xBar: 0.016172000000; yBar: 0.339133000000; zBar: 0.415254000000),
  ({491} xBar: 0.013300000000; yBar: 0.347860000000; zBar: 0.390024000000),
  ({492} xBar: 0.010759000000; yBar: 0.358326000000; zBar: 0.366399000000),
  ({493} xBar: 0.008542000000; yBar: 0.370001000000; zBar: 0.344015000000),
  ({494} xBar: 0.006661000000; yBar: 0.382464000000; zBar: 0.322689000000),
  ({495} xBar: 0.005132000000; yBar: 0.395379000000; zBar: 0.302356000000),
  ({496} xBar: 0.003982000000; yBar: 0.408482000000; zBar: 0.283036000000),
  ({497} xBar: 0.003239000000; yBar: 0.421588000000; zBar: 0.264816000000),
  ({498} xBar: 0.002934000000; yBar: 0.434619000000; zBar: 0.247848000000),
  ({499} xBar: 0.003114000000; yBar: 0.447601000000; zBar: 0.232318000000),
  ({500} xBar: 0.003816000000; yBar: 0.460777000000; zBar: 0.218502000000),
  ({501} xBar: 0.005095000000; yBar: 0.474340000000; zBar: 0.205851000000),
  ({502} xBar: 0.006936000000; yBar: 0.488200000000; zBar: 0.193596000000),
  ({503} xBar: 0.009299000000; yBar: 0.502340000000; zBar: 0.181736000000),
  ({504} xBar: 0.012147000000; yBar: 0.516740000000; zBar: 0.170281000000),
  ({505} xBar: 0.015444000000; yBar: 0.531360000000; zBar: 0.159249000000),
  ({506} xBar: 0.019156000000; yBar: 0.546190000000; zBar: 0.148673000000),
  ({507} xBar: 0.023250000000; yBar: 0.561180000000; zBar: 0.138609000000),
  ({508} xBar: 0.027690000000; yBar: 0.576290000000; zBar: 0.129096000000),
  ({509} xBar: 0.032444000000; yBar: 0.591500000000; zBar: 0.120215000000),
  ({510} xBar: 0.037465000000; yBar: 0.606741000000; zBar: 0.112044000000),
  ({511} xBar: 0.042956000000; yBar: 0.622150000000; zBar: 0.104710000000),
  ({512} xBar: 0.049114000000; yBar: 0.637830000000; zBar: 0.098196000000),
  ({513} xBar: 0.055920000000; yBar: 0.653710000000; zBar: 0.092361000000),
  ({514} xBar: 0.063349000000; yBar: 0.669680000000; zBar: 0.087088000000),
  ({515} xBar: 0.071358000000; yBar: 0.685660000000; zBar: 0.082248000000),
  ({516} xBar: 0.079901000000; yBar: 0.701550000000; zBar: 0.077744000000),
  ({517} xBar: 0.088909000000; yBar: 0.717230000000; zBar: 0.073456000000),
  ({518} xBar: 0.098293000000; yBar: 0.732570000000; zBar: 0.069268000000),
  ({519} xBar: 0.107949000000; yBar: 0.747460000000; zBar: 0.065060000000),
  ({520} xBar: 0.117749000000; yBar: 0.761757000000; zBar: 0.060709000000),
  ({521} xBar: 0.127839000000; yBar: 0.775340000000; zBar: 0.056457000000),
  ({522} xBar: 0.138450000000; yBar: 0.788220000000; zBar: 0.052609000000),
  ({523} xBar: 0.149516000000; yBar: 0.800460000000; zBar: 0.049122000000),
  ({524} xBar: 0.161041000000; yBar: 0.812140000000; zBar: 0.045954000000),
  ({525} xBar: 0.172953000000; yBar: 0.823330000000; zBar: 0.043050000000),
  ({526} xBar: 0.185209000000; yBar: 0.834120000000; zBar: 0.040368000000),
  ({527} xBar: 0.197755000000; yBar: 0.844600000000; zBar: 0.037839000000),
  ({528} xBar: 0.210538000000; yBar: 0.854870000000; zBar: 0.035384000000),
  ({529} xBar: 0.223460000000; yBar: 0.865040000000; zBar: 0.032949000000),
  ({530} xBar: 0.236491000000; yBar: 0.875211000000; zBar: 0.030451000000),
  ({531} xBar: 0.249633000000; yBar: 0.885370000000; zBar: 0.028029000000),
  ({532} xBar: 0.262972000000; yBar: 0.895370000000; zBar: 0.025862000000),
  ({533} xBar: 0.276515000000; yBar: 0.905150000000; zBar: 0.023920000000),
  ({534} xBar: 0.290269000000; yBar: 0.914650000000; zBar: 0.022174000000),
  ({535} xBar: 0.304213000000; yBar: 0.923810000000; zBar: 0.020584000000),
  ({536} xBar: 0.318361000000; yBar: 0.932550000000; zBar: 0.019127000000),
  ({537} xBar: 0.332705000000; yBar: 0.940810000000; zBar: 0.017740000000),
  ({538} xBar: 0.347232000000; yBar: 0.948520000000; zBar: 0.016403000000),
  ({539} xBar: 0.361926000000; yBar: 0.955600000000; zBar: 0.015064000000),
  ({540} xBar: 0.376772000000; yBar: 0.961988000000; zBar: 0.013676000000),
  ({541} xBar: 0.391683000000; yBar: 0.967540000000; zBar: 0.012308000000),
  ({542} xBar: 0.406594000000; yBar: 0.972230000000; zBar: 0.011056000000),
  ({543} xBar: 0.421539000000; yBar: 0.976170000000; zBar: 0.009915000000),
  ({544} xBar: 0.436517000000; yBar: 0.979460000000; zBar: 0.008872000000),
  ({545} xBar: 0.451584000000; yBar: 0.982200000000; zBar: 0.007918000000),
  ({546} xBar: 0.466782000000; yBar: 0.984520000000; zBar: 0.007030000000),
  ({547} xBar: 0.482147000000; yBar: 0.986520000000; zBar: 0.006223000000),
  ({548} xBar: 0.497738000000; yBar: 0.988320000000; zBar: 0.005453000000),
  ({549} xBar: 0.513606000000; yBar: 0.990020000000; zBar: 0.004714000000),
  ({550} xBar: 0.529826000000; yBar: 0.991761000000; zBar: 0.003988000000),
  ({551} xBar: 0.546440000000; yBar: 0.993530000000; zBar: 0.003289000000),
  ({552} xBar: 0.563426000000; yBar: 0.995230000000; zBar: 0.002646000000),
  ({553} xBar: 0.580726000000; yBar: 0.996770000000; zBar: 0.002063000000),
  ({554} xBar: 0.598290000000; yBar: 0.998090000000; zBar: 0.001533000000),
  ({555} xBar: 0.616053000000; yBar: 0.999110000000; zBar: 0.001091000000),
  ({556} xBar: 0.633948000000; yBar: 0.999770000000; zBar: 0.000711000000),
  ({557} xBar: 0.651901000000; yBar: 1.000000000000; zBar: 0.000407000000),
  ({558} xBar: 0.669824000000; yBar: 0.999710000000; zBar: 0.000184000000),
  ({559} xBar: 0.687632000000; yBar: 0.998850000000; zBar: 0.000047000000),
  ({560} xBar: 0.705224000000; yBar: 0.997340000000; zBar: 0.000000000000),
  ({561} xBar: 0.722773000000; yBar: 0.995260000000; zBar: 0.000000000000),
  ({562} xBar: 0.740483000000; yBar: 0.992740000000; zBar: 0.000000000000),
  ({563} xBar: 0.758273000000; yBar: 0.989750000000; zBar: 0.000000000000),
  ({564} xBar: 0.776083000000; yBar: 0.986300000000; zBar: 0.000000000000),
  ({565} xBar: 0.793832000000; yBar: 0.982380000000; zBar: 0.000000000000),
  ({566} xBar: 0.811436000000; yBar: 0.977980000000; zBar: 0.000000000000),
  ({567} xBar: 0.828822000000; yBar: 0.973110000000; zBar: 0.000000000000),
  ({568} xBar: 0.845879000000; yBar: 0.967740000000; zBar: 0.000000000000),
  ({569} xBar: 0.862525000000; yBar: 0.961890000000; zBar: 0.000000000000),
  ({570} xBar: 0.878655000000; yBar: 0.955552000000; zBar: 0.000000000000),
  ({571} xBar: 0.894208000000; yBar: 0.948601000000; zBar: 0.000000000000),
  ({572} xBar: 0.909206000000; yBar: 0.940981000000; zBar: 0.000000000000),
  ({573} xBar: 0.923672000000; yBar: 0.932798000000; zBar: 0.000000000000),
  ({574} xBar: 0.937638000000; yBar: 0.924158000000; zBar: 0.000000000000),
  ({575} xBar: 0.951162000000; yBar: 0.915175000000; zBar: 0.000000000000),
  ({576} xBar: 0.964283000000; yBar: 0.905954000000; zBar: 0.000000000000),
  ({577} xBar: 0.977068000000; yBar: 0.896608000000; zBar: 0.000000000000),
  ({578} xBar: 0.989590000000; yBar: 0.887249000000; zBar: 0.000000000000),
  ({579} xBar: 1.001910000000; yBar: 0.877986000000; zBar: 0.000000000000),
  ({580} xBar: 1.014160000000; yBar: 0.868934000000; zBar: 0.000000000000),
  ({581} xBar: 1.026500000000; yBar: 0.860164000000; zBar: 0.000000000000),
  ({582} xBar: 1.038800000000; yBar: 0.851519000000; zBar: 0.000000000000),
  ({583} xBar: 1.051000000000; yBar: 0.842963000000; zBar: 0.000000000000),
  ({584} xBar: 1.062900000000; yBar: 0.834393000000; zBar: 0.000000000000),
  ({585} xBar: 1.074300000000; yBar: 0.825623000000; zBar: 0.000000000000),
  ({586} xBar: 1.085200000000; yBar: 0.816764000000; zBar: 0.000000000000),
  ({587} xBar: 1.095200000000; yBar: 0.807544000000; zBar: 0.000000000000),
  ({588} xBar: 1.104200000000; yBar: 0.797947000000; zBar: 0.000000000000),
  ({589} xBar: 1.112000000000; yBar: 0.787893000000; zBar: 0.000000000000),
  ({590} xBar: 1.118520000000; yBar: 0.777405000000; zBar: 0.000000000000),
  ({591} xBar: 1.123800000000; yBar: 0.766490000000; zBar: 0.000000000000),
  ({592} xBar: 1.128000000000; yBar: 0.755309000000; zBar: 0.000000000000),
  ({593} xBar: 1.131100000000; yBar: 0.743845000000; zBar: 0.000000000000),
  ({594} xBar: 1.133200000000; yBar: 0.732190000000; zBar: 0.000000000000),
  ({595} xBar: 1.134300000000; yBar: 0.720353000000; zBar: 0.000000000000),
  ({596} xBar: 1.134300000000; yBar: 0.708281000000; zBar: 0.000000000000),
  ({597} xBar: 1.133300000000; yBar: 0.696055000000; zBar: 0.000000000000),
  ({598} xBar: 1.131200000000; yBar: 0.683621000000; zBar: 0.000000000000),
  ({599} xBar: 1.128100000000; yBar: 0.671048000000; zBar: 0.000000000000),
  ({600} xBar: 1.123990000000; yBar: 0.658341000000; zBar: 0.000000000000),
  ({601} xBar: 1.118900000000; yBar: 0.645545000000; zBar: 0.000000000000),
  ({602} xBar: 1.112900000000; yBar: 0.632718000000; zBar: 0.000000000000),
  ({603} xBar: 1.105900000000; yBar: 0.619815000000; zBar: 0.000000000000),
  ({604} xBar: 1.098000000000; yBar: 0.606887000000; zBar: 0.000000000000),
  ({605} xBar: 1.089100000000; yBar: 0.593878000000; zBar: 0.000000000000),
  ({606} xBar: 1.079200000000; yBar: 0.580781000000; zBar: 0.000000000000),
  ({607} xBar: 1.068400000000; yBar: 0.567653000000; zBar: 0.000000000000),
  ({608} xBar: 1.056700000000; yBar: 0.554490000000; zBar: 0.000000000000),
  ({609} xBar: 1.044000000000; yBar: 0.541228000000; zBar: 0.000000000000),
  ({610} xBar: 1.030480000000; yBar: 0.527963000000; zBar: 0.000000000000),
  ({611} xBar: 1.016000000000; yBar: 0.514634000000; zBar: 0.000000000000),
  ({612} xBar: 1.000800000000; yBar: 0.501363000000; zBar: 0.000000000000),
  ({613} xBar: 0.984790000000; yBar: 0.488124000000; zBar: 0.000000000000),
  ({614} xBar: 0.968080000000; yBar: 0.474935000000; zBar: 0.000000000000),
  ({615} xBar: 0.950740000000; yBar: 0.461834000000; zBar: 0.000000000000),
  ({616} xBar: 0.932800000000; yBar: 0.448823000000; zBar: 0.000000000000),
  ({617} xBar: 0.914340000000; yBar: 0.435917000000; zBar: 0.000000000000),
  ({618} xBar: 0.895390000000; yBar: 0.423153000000; zBar: 0.000000000000),
  ({619} xBar: 0.876030000000; yBar: 0.410526000000; zBar: 0.000000000000),
  ({620} xBar: 0.856297000000; yBar: 0.398057000000; zBar: 0.000000000000),
  ({621} xBar: 0.836350000000; yBar: 0.385835000000; zBar: 0.000000000000),
  ({622} xBar: 0.816290000000; yBar: 0.373951000000; zBar: 0.000000000000),
  ({623} xBar: 0.796050000000; yBar: 0.362311000000; zBar: 0.000000000000),
  ({624} xBar: 0.775610000000; yBar: 0.350863000000; zBar: 0.000000000000),
  ({625} xBar: 0.754930000000; yBar: 0.339554000000; zBar: 0.000000000000),
  ({626} xBar: 0.733990000000; yBar: 0.328309000000; zBar: 0.000000000000),
  ({627} xBar: 0.712780000000; yBar: 0.317118000000; zBar: 0.000000000000),
  ({628} xBar: 0.691290000000; yBar: 0.305936000000; zBar: 0.000000000000),
  ({629} xBar: 0.669520000000; yBar: 0.294737000000; zBar: 0.000000000000),
  ({630} xBar: 0.647467000000; yBar: 0.283493000000; zBar: 0.000000000000),
  ({631} xBar: 0.625110000000; yBar: 0.272222000000; zBar: 0.000000000000),
  ({632} xBar: 0.602520000000; yBar: 0.260990000000; zBar: 0.000000000000),
  ({633} xBar: 0.579890000000; yBar: 0.249877000000; zBar: 0.000000000000),
  ({634} xBar: 0.557370000000; yBar: 0.238946000000; zBar: 0.000000000000),
  ({635} xBar: 0.535110000000; yBar: 0.228254000000; zBar: 0.000000000000),
  ({636} xBar: 0.513240000000; yBar: 0.217853000000; zBar: 0.000000000000),
  ({637} xBar: 0.491860000000; yBar: 0.207780000000; zBar: 0.000000000000),
  ({638} xBar: 0.471080000000; yBar: 0.198072000000; zBar: 0.000000000000),
  ({639} xBar: 0.450960000000; yBar: 0.188748000000; zBar: 0.000000000000),
  ({640} xBar: 0.431567000000; yBar: 0.179828000000; zBar: 0.000000000000),
  ({641} xBar: 0.412870000000; yBar: 0.171285000000; zBar: 0.000000000000),
  ({642} xBar: 0.394750000000; yBar: 0.163059000000; zBar: 0.000000000000),
  ({643} xBar: 0.377210000000; yBar: 0.155151000000; zBar: 0.000000000000),
  ({644} xBar: 0.360190000000; yBar: 0.147535000000; zBar: 0.000000000000),
  ({645} xBar: 0.343690000000; yBar: 0.140211000000; zBar: 0.000000000000),
  ({646} xBar: 0.327690000000; yBar: 0.133170000000; zBar: 0.000000000000),
  ({647} xBar: 0.312170000000; yBar: 0.126400000000; zBar: 0.000000000000),
  ({648} xBar: 0.297110000000; yBar: 0.119892000000; zBar: 0.000000000000),
  ({649} xBar: 0.282500000000; yBar: 0.113640000000; zBar: 0.000000000000),
  ({650} xBar: 0.268329000000; yBar: 0.107633000000; zBar: 0.000000000000),
  ({651} xBar: 0.254590000000; yBar: 0.101870000000; zBar: 0.000000000000),
  ({652} xBar: 0.241300000000; yBar: 0.096347000000; zBar: 0.000000000000),
  ({653} xBar: 0.228480000000; yBar: 0.091063000000; zBar: 0.000000000000),
  ({654} xBar: 0.216140000000; yBar: 0.086010000000; zBar: 0.000000000000),
  ({655} xBar: 0.204300000000; yBar: 0.081187000000; zBar: 0.000000000000),
  ({656} xBar: 0.192950000000; yBar: 0.076583000000; zBar: 0.000000000000),
  ({657} xBar: 0.182110000000; yBar: 0.072198000000; zBar: 0.000000000000),
  ({658} xBar: 0.171770000000; yBar: 0.068024000000; zBar: 0.000000000000),
  ({659} xBar: 0.161920000000; yBar: 0.064052000000; zBar: 0.000000000000),
  ({660} xBar: 0.152568000000; yBar: 0.060281000000; zBar: 0.000000000000),
  ({661} xBar: 0.143670000000; yBar: 0.056697000000; zBar: 0.000000000000),
  ({662} xBar: 0.135200000000; yBar: 0.053292000000; zBar: 0.000000000000),
  ({663} xBar: 0.127130000000; yBar: 0.050059000000; zBar: 0.000000000000),
  ({664} xBar: 0.119480000000; yBar: 0.046998000000; zBar: 0.000000000000),
  ({665} xBar: 0.112210000000; yBar: 0.044096000000; zBar: 0.000000000000),
  ({666} xBar: 0.105310000000; yBar: 0.041345000000; zBar: 0.000000000000),
  ({667} xBar: 0.098786000000; yBar: 0.038750700000; zBar: 0.000000000000),
  ({668} xBar: 0.092610000000; yBar: 0.036297800000; zBar: 0.000000000000),
  ({669} xBar: 0.086773000000; yBar: 0.033983200000; zBar: 0.000000000000),
  ({670} xBar: 0.081260600000; yBar: 0.031800400000; zBar: 0.000000000000),
  ({671} xBar: 0.076048000000; yBar: 0.029739500000; zBar: 0.000000000000),
  ({672} xBar: 0.071114000000; yBar: 0.027791800000; zBar: 0.000000000000),
  ({673} xBar: 0.066454000000; yBar: 0.025955100000; zBar: 0.000000000000),
  ({674} xBar: 0.062062000000; yBar: 0.024226300000; zBar: 0.000000000000),
  ({675} xBar: 0.057930000000; yBar: 0.022601700000; zBar: 0.000000000000),
  ({676} xBar: 0.054050000000; yBar: 0.021077900000; zBar: 0.000000000000),
  ({677} xBar: 0.050412000000; yBar: 0.019650500000; zBar: 0.000000000000),
  ({678} xBar: 0.047006000000; yBar: 0.018315300000; zBar: 0.000000000000),
  ({679} xBar: 0.043823000000; yBar: 0.017068600000; zBar: 0.000000000000),
  ({680} xBar: 0.040850800000; yBar: 0.015905100000; zBar: 0.000000000000),
  ({681} xBar: 0.038072000000; yBar: 0.014818300000; zBar: 0.000000000000),
  ({682} xBar: 0.035468000000; yBar: 0.013800800000; zBar: 0.000000000000),
  ({683} xBar: 0.033031000000; yBar: 0.012849500000; zBar: 0.000000000000),
  ({684} xBar: 0.030753000000; yBar: 0.011960700000; zBar: 0.000000000000),
  ({685} xBar: 0.028623000000; yBar: 0.011130300000; zBar: 0.000000000000),
  ({686} xBar: 0.026635000000; yBar: 0.010355500000; zBar: 0.000000000000),
  ({687} xBar: 0.024781000000; yBar: 0.009633200000; zBar: 0.000000000000),
  ({688} xBar: 0.023052000000; yBar: 0.008959900000; zBar: 0.000000000000),
  ({689} xBar: 0.021441000000; yBar: 0.008332400000; zBar: 0.000000000000),
  ({690} xBar: 0.019941300000; yBar: 0.007748800000; zBar: 0.000000000000),
  ({691} xBar: 0.018544000000; yBar: 0.007204600000; zBar: 0.000000000000),
  ({692} xBar: 0.017241000000; yBar: 0.006697500000; zBar: 0.000000000000),
  ({693} xBar: 0.016027000000; yBar: 0.006225100000; zBar: 0.000000000000),
  ({694} xBar: 0.014896000000; yBar: 0.005785000000; zBar: 0.000000000000),
  ({695} xBar: 0.013842000000; yBar: 0.005375100000; zBar: 0.000000000000),
  ({696} xBar: 0.012862000000; yBar: 0.004994100000; zBar: 0.000000000000),
  ({697} xBar: 0.011949000000; yBar: 0.004639200000; zBar: 0.000000000000),
  ({698} xBar: 0.011100000000; yBar: 0.004309300000; zBar: 0.000000000000),
  ({699} xBar: 0.010311000000; yBar: 0.004002800000; zBar: 0.000000000000),
  ({700} xBar: 0.009576880000; yBar: 0.003717740000; zBar: 0.000000000000),
  ({701} xBar: 0.008894000000; yBar: 0.003452620000; zBar: 0.000000000000),
  ({702} xBar: 0.008258100000; yBar: 0.003205830000; zBar: 0.000000000000),
  ({703} xBar: 0.007666400000; yBar: 0.002976230000; zBar: 0.000000000000),
  ({704} xBar: 0.007116300000; yBar: 0.002762810000; zBar: 0.000000000000),
  ({705} xBar: 0.006605200000; yBar: 0.002564560000; zBar: 0.000000000000),
  ({706} xBar: 0.006130600000; yBar: 0.002380480000; zBar: 0.000000000000),
  ({707} xBar: 0.005690300000; yBar: 0.002209710000; zBar: 0.000000000000),
  ({708} xBar: 0.005281900000; yBar: 0.002051320000; zBar: 0.000000000000),
  ({709} xBar: 0.004903300000; yBar: 0.001904490000; zBar: 0.000000000000),
  ({710} xBar: 0.004552630000; yBar: 0.001768470000; zBar: 0.000000000000),
  ({711} xBar: 0.004227500000; yBar: 0.001642360000; zBar: 0.000000000000),
  ({712} xBar: 0.003925800000; yBar: 0.001525350000; zBar: 0.000000000000),
  ({713} xBar: 0.003645700000; yBar: 0.001416720000; zBar: 0.000000000000),
  ({714} xBar: 0.003385900000; yBar: 0.001315950000; zBar: 0.000000000000),
  ({715} xBar: 0.003144700000; yBar: 0.001222390000; zBar: 0.000000000000),
  ({716} xBar: 0.002920800000; yBar: 0.001135550000; zBar: 0.000000000000),
  ({717} xBar: 0.002713000000; yBar: 0.001054940000; zBar: 0.000000000000),
  ({718} xBar: 0.002520200000; yBar: 0.000980140000; zBar: 0.000000000000),
  ({719} xBar: 0.002341100000; yBar: 0.000910660000; zBar: 0.000000000000),
  ({720} xBar: 0.002174960000; yBar: 0.000846190000; zBar: 0.000000000000),
  ({721} xBar: 0.002020600000; yBar: 0.000786290000; zBar: 0.000000000000),
  ({722} xBar: 0.001877300000; yBar: 0.000730680000; zBar: 0.000000000000),
  ({723} xBar: 0.001744100000; yBar: 0.000678990000; zBar: 0.000000000000),
  ({724} xBar: 0.001620500000; yBar: 0.000631010000; zBar: 0.000000000000),
  ({725} xBar: 0.001505700000; yBar: 0.000586440000; zBar: 0.000000000000),
  ({726} xBar: 0.001399200000; yBar: 0.000545110000; zBar: 0.000000000000),
  ({727} xBar: 0.001300400000; yBar: 0.000506720000; zBar: 0.000000000000),
  ({728} xBar: 0.001208700000; yBar: 0.000471110000; zBar: 0.000000000000),
  ({729} xBar: 0.001123600000; yBar: 0.000438050000; zBar: 0.000000000000),
  ({730} xBar: 0.001044760000; yBar: 0.000407410000; zBar: 0.000000000000),
  ({731} xBar: 0.000971560000; yBar: 0.000378962000; zBar: 0.000000000000),
  ({732} xBar: 0.000903600000; yBar: 0.000352543000; zBar: 0.000000000000),
  ({733} xBar: 0.000840480000; yBar: 0.000328001000; zBar: 0.000000000000),
  ({734} xBar: 0.000781870000; yBar: 0.000305208000; zBar: 0.000000000000),
  ({735} xBar: 0.000727450000; yBar: 0.000284041000; zBar: 0.000000000000),
  ({736} xBar: 0.000676900000; yBar: 0.000264375000; zBar: 0.000000000000),
  ({737} xBar: 0.000629960000; yBar: 0.000246109000; zBar: 0.000000000000),
  ({738} xBar: 0.000586370000; yBar: 0.000229143000; zBar: 0.000000000000),
  ({739} xBar: 0.000545870000; yBar: 0.000213376000; zBar: 0.000000000000),
  ({740} xBar: 0.000508258000; yBar: 0.000198730000; zBar: 0.000000000000),
  ({741} xBar: 0.000473300000; yBar: 0.000185115000; zBar: 0.000000000000),
  ({742} xBar: 0.000440800000; yBar: 0.000172454000; zBar: 0.000000000000),
  ({743} xBar: 0.000410580000; yBar: 0.000160678000; zBar: 0.000000000000),
  ({744} xBar: 0.000382490000; yBar: 0.000149730000; zBar: 0.000000000000),
  ({745} xBar: 0.000356380000; yBar: 0.000139550000; zBar: 0.000000000000),
  ({746} xBar: 0.000332110000; yBar: 0.000130086000; zBar: 0.000000000000),
  ({747} xBar: 0.000309550000; yBar: 0.000121290000; zBar: 0.000000000000),
  ({748} xBar: 0.000288580000; yBar: 0.000113106000; zBar: 0.000000000000),
  ({749} xBar: 0.000269090000; yBar: 0.000105501000; zBar: 0.000000000000),
  ({750} xBar: 0.000250969000; yBar: 0.000098428000; zBar: 0.000000000000),
  ({751} xBar: 0.000234130000; yBar: 0.000091853000; zBar: 0.000000000000),
  ({752} xBar: 0.000218470000; yBar: 0.000085738000; zBar: 0.000000000000),
  ({753} xBar: 0.000203910000; yBar: 0.000080048000; zBar: 0.000000000000),
  ({754} xBar: 0.000190350000; yBar: 0.000074751000; zBar: 0.000000000000),
  ({755} xBar: 0.000177730000; yBar: 0.000069819000; zBar: 0.000000000000),
  ({756} xBar: 0.000165970000; yBar: 0.000065222000; zBar: 0.000000000000),
  ({757} xBar: 0.000155020000; yBar: 0.000060939000; zBar: 0.000000000000),
  ({758} xBar: 0.000144800000; yBar: 0.000056942000; zBar: 0.000000000000),
  ({759} xBar: 0.000135280000; yBar: 0.000053217000; zBar: 0.000000000000),
  ({760} xBar: 0.000126390000; yBar: 0.000049737000; zBar: 0.000000000000),
  ({761} xBar: 0.000118100000; yBar: 0.000046491000; zBar: 0.000000000000),
  ({762} xBar: 0.000110370000; yBar: 0.000043464000; zBar: 0.000000000000),
  ({763} xBar: 0.000103150000; yBar: 0.000040635000; zBar: 0.000000000000),
  ({764} xBar: 0.000096427000; yBar: 0.000038000000; zBar: 0.000000000000),
  ({765} xBar: 0.000090151000; yBar: 0.000035540500; zBar: 0.000000000000),
  ({766} xBar: 0.000084294000; yBar: 0.000033244800; zBar: 0.000000000000),
  ({767} xBar: 0.000078830000; yBar: 0.000031100600; zBar: 0.000000000000),
  ({768} xBar: 0.000073729000; yBar: 0.000029099000; zBar: 0.000000000000),
  ({769} xBar: 0.000068969000; yBar: 0.000027230700; zBar: 0.000000000000),
  ({770} xBar: 0.000064525800; yBar: 0.000025486000; zBar: 0.000000000000),
  ({771} xBar: 0.000060376000; yBar: 0.000023856100; zBar: 0.000000000000),
  ({772} xBar: 0.000056500000; yBar: 0.000022333200; zBar: 0.000000000000),
  ({773} xBar: 0.000052880000; yBar: 0.000020910400; zBar: 0.000000000000),
  ({774} xBar: 0.000049498000; yBar: 0.000019580800; zBar: 0.000000000000),
  ({775} xBar: 0.000046339000; yBar: 0.000018338400; zBar: 0.000000000000),
  ({776} xBar: 0.000043389000; yBar: 0.000017177700; zBar: 0.000000000000),
  ({777} xBar: 0.000040634000; yBar: 0.000016093400; zBar: 0.000000000000),
  ({778} xBar: 0.000038060000; yBar: 0.000015080000; zBar: 0.000000000000),
  ({779} xBar: 0.000035657000; yBar: 0.000014133600; zBar: 0.000000000000),
  ({780} xBar: 0.000033411700; yBar: 0.000013249000; zBar: 0.000000000000),
  ({781} xBar: 0.000031315000; yBar: 0.000012422600; zBar: 0.000000000000),
  ({782} xBar: 0.000029355000; yBar: 0.000011649900; zBar: 0.000000000000),
  ({783} xBar: 0.000027524000; yBar: 0.000010927700; zBar: 0.000000000000),
  ({784} xBar: 0.000025811000; yBar: 0.000010251900; zBar: 0.000000000000),
  ({785} xBar: 0.000024209000; yBar: 0.000009619600; zBar: 0.000000000000),
  ({786} xBar: 0.000022711000; yBar: 0.000009028100; zBar: 0.000000000000),
  ({787} xBar: 0.000021308000; yBar: 0.000008474000; zBar: 0.000000000000),
  ({788} xBar: 0.000019994000; yBar: 0.000007954800; zBar: 0.000000000000),
  ({789} xBar: 0.000018764000; yBar: 0.000007468600; zBar: 0.000000000000),
  ({790} xBar: 0.000017611500; yBar: 0.000007012800; zBar: 0.000000000000),
  ({791} xBar: 0.000016532000; yBar: 0.000006585800; zBar: 0.000000000000),
  ({792} xBar: 0.000015521000; yBar: 0.000006185700; zBar: 0.000000000000),
  ({793} xBar: 0.000014574000; yBar: 0.000005810700; zBar: 0.000000000000),
  ({794} xBar: 0.000013686000; yBar: 0.000005459000; zBar: 0.000000000000),
  ({795} xBar: 0.000012855000; yBar: 0.000005129800; zBar: 0.000000000000),
  ({796} xBar: 0.000012075000; yBar: 0.000004820600; zBar: 0.000000000000),
  ({797} xBar: 0.000011345000; yBar: 0.000004531200; zBar: 0.000000000000),
  ({798} xBar: 0.000010659000; yBar: 0.000004259100; zBar: 0.000000000000),
  ({799} xBar: 0.000010017000; yBar: 0.000004004200; zBar: 0.000000000000),
  ({800} xBar: 0.000009413630; yBar: 0.000003764730; zBar: 0.000000000000),
  ({801} xBar: 0.000008847900; yBar: 0.000003539950; zBar: 0.000000000000),
  ({802} xBar: 0.000008317100; yBar: 0.000003329140; zBar: 0.000000000000),
  ({803} xBar: 0.000007819000; yBar: 0.000003131150; zBar: 0.000000000000),
  ({804} xBar: 0.000007351600; yBar: 0.000002945290; zBar: 0.000000000000),
  ({805} xBar: 0.000006913000; yBar: 0.000002770810; zBar: 0.000000000000),
  ({806} xBar: 0.000006501500; yBar: 0.000002607050; zBar: 0.000000000000),
  ({807} xBar: 0.000006115300; yBar: 0.000002453290; zBar: 0.000000000000),
  ({808} xBar: 0.000005752900; yBar: 0.000002308940; zBar: 0.000000000000),
  ({809} xBar: 0.000005412700; yBar: 0.000002173380; zBar: 0.000000000000),
  ({810} xBar: 0.000005093470; yBar: 0.000002046130; zBar: 0.000000000000),
  ({811} xBar: 0.000004793800; yBar: 0.000001926620; zBar: 0.000000000000),
  ({812} xBar: 0.000004512500; yBar: 0.000001814400; zBar: 0.000000000000),
  ({813} xBar: 0.000004248300; yBar: 0.000001708950; zBar: 0.000000000000),
  ({814} xBar: 0.000004000200; yBar: 0.000001609880; zBar: 0.000000000000),
  ({815} xBar: 0.000003767100; yBar: 0.000001516770; zBar: 0.000000000000),
  ({816} xBar: 0.000003548000; yBar: 0.000001429210; zBar: 0.000000000000),
  ({817} xBar: 0.000003342100; yBar: 0.000001346860; zBar: 0.000000000000),
  ({818} xBar: 0.000003148500; yBar: 0.000001269450; zBar: 0.000000000000),
  ({819} xBar: 0.000002966500; yBar: 0.000001196620; zBar: 0.000000000000),
  ({820} xBar: 0.000002795310; yBar: 0.000001128090; zBar: 0.000000000000),
  ({821} xBar: 0.000002634500; yBar: 0.000001063680; zBar: 0.000000000000),
  ({822} xBar: 0.000002483400; yBar: 0.000001003130; zBar: 0.000000000000),
  ({823} xBar: 0.000002341400; yBar: 0.000000946220; zBar: 0.000000000000),
  ({824} xBar: 0.000002207800; yBar: 0.000000892630; zBar: 0.000000000000),
  ({825} xBar: 0.000002082000; yBar: 0.000000842160; zBar: 0.000000000000),
  ({826} xBar: 0.000001963600; yBar: 0.000000794640; zBar: 0.000000000000),
  ({827} xBar: 0.000001851900; yBar: 0.000000749780; zBar: 0.000000000000),
  ({828} xBar: 0.000001746500; yBar: 0.000000707440; zBar: 0.000000000000),
  ({829} xBar: 0.000001647100; yBar: 0.000000667480; zBar: 0.000000000000),
  ({830} xBar: 0.000001553140; yBar: 0.000000629700; zBar: 0.000000000000)
 );


  FUNCTION GetColorMatchTriple(CONST CIEStandardObserver:  TCIEStandardObserver;
                               CONST Wavelength:  TWavelength):  TColorMatchTriple;
  BEGIN
    CASE CIEStandardObserver OF
      CIEStandardObserver1931:  RESULT := ColorMatch1931[Wavelength];
      CIEStandardObserver1964:  RESULT := ColorMatch1964[Wavelength]
    END
  END {GetColorMatchTriple};


  PROCEDURE xyChromaticityCoordinates(
    CONST CIEStandardObserver:  TCIEStandardObserver;
    CONST Wavelength:  TWavelength;
    VAR x, y:  TReal);

    VAR
      ColorMatchTriple:  TColorMatchTriple;
      sum             :  TReal;
  BEGIN
    ColorMatchTriple := GetColorMatchTriple(CIEStandardObserver, Wavelength);

    sum := ColorMatchTriple.xBar + ColorMatchTriple.yBar + ColorMatchTriple.zBar;
    x := ColorMatchTriple.xBar / sum;
    y := ColorMatchTRiple.yBar / sum
  END {xyChromaticityCoordinates};


  PROCEDURE uvChromaticityCoordinates(
    CONST CIEChart:  TCIEChart;
    CONST CIEStandardObserver:  TCIEStandardObserver;
    CONST Wavelength:  TWavelength;
    VAR u, v:  TReal);

    VAR
      denominator:  TReal;
      factor     :  TReal;
      x,y        :  TReal;
  BEGIN
    factor := 1;  // avoid compiler warning
    CASE CIEChart OF
      CIEChart1931:  RAISE EChromaticityError.Create('Invalid year 1931 for uv coordinates');
      CIEChart1960:  factor := 6;
      CIEChart1976:  factor := 9
    END;

    xyChromaticityCoordinates(CIEStandardObserver, Wavelength, x,y);

    denominator := -2*x + 12*y + 3;
    u := 4*x / denominator;
    v := factor*y / denominator
  END {uvChromaticityCoordinates};

END.
