SMILX  1.01
milxLUT.h
1 /*=========================================================================
2  The Software is copyright (c) Commonwealth Scientific and Industrial Research Organisation (CSIRO)
3  ABN 41 687 119 230.
4  All rights reserved.
5 
6  Licensed under the CSIRO BSD 3-Clause License
7  You may not use this file except in compliance with the License.
8  You may obtain a copy of the License in the file LICENSE.md or at
9 
10  https://stash.csiro.au/projects/SMILI/repos/smili/browse/license.txt
11 
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17 =========================================================================*/
18 typedef float colourMapType;
19 
20 const colourMapType JET_ARRAY[][3] = {
21  {0.0, 0.0, 0.5},
22  {0.0, 0.0, 0.517825311943},
23  {0.0, 0.0, 0.535650623886},
24  {0.0, 0.0, 0.553475935829},
25  {0.0, 0.0, 0.571301247772},
26  {0.0, 0.0, 0.589126559715},
27  {0.0, 0.0, 0.606951871658},
28  {0.0, 0.0, 0.624777183601},
29  {0.0, 0.0, 0.642602495544},
30  {0.0, 0.0, 0.660427807487},
31  {0.0, 0.0, 0.67825311943},
32  {0.0, 0.0, 0.696078431373},
33  {0.0, 0.0, 0.713903743316},
34  {0.0, 0.0, 0.731729055258},
35  {0.0, 0.0, 0.749554367201},
36  {0.0, 0.0, 0.767379679144},
37  {0.0, 0.0, 0.785204991087},
38  {0.0, 0.0, 0.80303030303},
39  {0.0, 0.0, 0.820855614973},
40  {0.0, 0.0, 0.838680926916},
41  {0.0, 0.0, 0.856506238859},
42  {0.0, 0.0, 0.874331550802},
43  {0.0, 0.0, 0.892156862745},
44  {0.0, 0.0, 0.909982174688},
45  {0.0, 0.0, 0.927807486631},
46  {0.0, 0.0, 0.945632798574},
47  {0.0, 0.0, 0.963458110517},
48  {0.0, 0.0, 0.98128342246},
49  {0.0, 0.0, 0.999108734403},
50  {0.0, 0.0, 1.0},
51  {0.0, 0.0, 1.0},
52  {0.0, 0.0, 1.0},
53  {0.0, 0.00196078431373, 1.0},
54  {0.0, 0.0176470588235, 1.0},
55  {0.0, 0.0333333333333, 1.0},
56  {0.0, 0.0490196078431, 1.0},
57  {0.0, 0.0647058823529, 1.0},
58  {0.0, 0.0803921568627, 1.0},
59  {0.0, 0.0960784313725, 1.0},
60  {0.0, 0.111764705882, 1.0},
61  {0.0, 0.127450980392, 1.0},
62  {0.0, 0.143137254902, 1.0},
63  {0.0, 0.158823529412, 1.0},
64  {0.0, 0.174509803922, 1.0},
65  {0.0, 0.190196078431, 1.0},
66  {0.0, 0.205882352941, 1.0},
67  {0.0, 0.221568627451, 1.0},
68  {0.0, 0.237254901961, 1.0},
69  {0.0, 0.252941176471, 1.0},
70  {0.0, 0.26862745098, 1.0},
71  {0.0, 0.28431372549, 1.0},
72  {0.0, 0.3, 1.0},
73  {0.0, 0.31568627451, 1.0},
74  {0.0, 0.33137254902, 1.0},
75  {0.0, 0.347058823529, 1.0},
76  {0.0, 0.362745098039, 1.0},
77  {0.0, 0.378431372549, 1.0},
78  {0.0, 0.394117647059, 1.0},
79  {0.0, 0.409803921569, 1.0},
80  {0.0, 0.425490196078, 1.0},
81  {0.0, 0.441176470588, 1.0},
82  {0.0, 0.456862745098, 1.0},
83  {0.0, 0.472549019608, 1.0},
84  {0.0, 0.488235294118, 1.0},
85  {0.0, 0.503921568627, 1.0},
86  {0.0, 0.519607843137, 1.0},
87  {0.0, 0.535294117647, 1.0},
88  {0.0, 0.550980392157, 1.0},
89  {0.0, 0.566666666667, 1.0},
90  {0.0, 0.582352941176, 1.0},
91  {0.0, 0.598039215686, 1.0},
92  {0.0, 0.613725490196, 1.0},
93  {0.0, 0.629411764706, 1.0},
94  {0.0, 0.645098039216, 1.0},
95  {0.0, 0.660784313725, 1.0},
96  {0.0, 0.676470588235, 1.0},
97  {0.0, 0.692156862745, 1.0},
98  {0.0, 0.707843137255, 1.0},
99  {0.0, 0.723529411765, 1.0},
100  {0.0, 0.739215686275, 1.0},
101  {0.0, 0.754901960784, 1.0},
102  {0.0, 0.770588235294, 1.0},
103  {0.0, 0.786274509804, 1.0},
104  {0.0, 0.801960784314, 1.0},
105  {0.0, 0.817647058824, 1.0},
106  {0.0, 0.833333333333, 1.0},
107  {0.0, 0.849019607843, 1.0},
108  {0.0, 0.864705882353, 0.996204933586},
109  {0.0, 0.880392156863, 0.983554712207},
110  {0.0, 0.896078431373, 0.970904490829},
111  {0.00948766603416, 0.911764705882, 0.95825426945},
112  {0.022137887413, 0.927450980392, 0.945604048071},
113  {0.0347881087919, 0.943137254902, 0.932953826692},
114  {0.0474383301708, 0.958823529412, 0.920303605313},
115  {0.0600885515497, 0.974509803922, 0.907653383934},
116  {0.0727387729285, 0.990196078431, 0.895003162555},
117  {0.0853889943074, 1.0, 0.882352941176},
118  {0.0980392156863, 1.0, 0.869702719798},
119  {0.110689437065, 1.0, 0.857052498419},
120  {0.123339658444, 1.0, 0.84440227704},
121  {0.135989879823, 1.0, 0.831752055661},
122  {0.148640101202, 1.0, 0.819101834282},
123  {0.161290322581, 1.0, 0.806451612903},
124  {0.17394054396, 1.0, 0.793801391524},
125  {0.186590765338, 1.0, 0.781151170145},
126  {0.199240986717, 1.0, 0.768500948767},
127  {0.211891208096, 1.0, 0.755850727388},
128  {0.224541429475, 1.0, 0.743200506009},
129  {0.237191650854, 1.0, 0.73055028463},
130  {0.249841872233, 1.0, 0.717900063251},
131  {0.262492093612, 1.0, 0.705249841872},
132  {0.275142314991, 1.0, 0.692599620493},
133  {0.287792536369, 1.0, 0.679949399114},
134  {0.300442757748, 1.0, 0.667299177736},
135  {0.313092979127, 1.0, 0.654648956357},
136  {0.325743200506, 1.0, 0.641998734978},
137  {0.338393421885, 1.0, 0.629348513599},
138  {0.351043643264, 1.0, 0.61669829222},
139  {0.363693864643, 1.0, 0.604048070841},
140  {0.376344086022, 1.0, 0.591397849462},
141  {0.3889943074, 1.0, 0.578747628083},
142  {0.401644528779, 1.0, 0.566097406705},
143  {0.414294750158, 1.0, 0.553447185326},
144  {0.426944971537, 1.0, 0.540796963947},
145  {0.439595192916, 1.0, 0.528146742568},
146  {0.452245414295, 1.0, 0.515496521189},
147  {0.464895635674, 1.0, 0.50284629981},
148  {0.477545857052, 1.0, 0.490196078431},
149  {0.490196078431, 1.0, 0.477545857052},
150  {0.50284629981, 1.0, 0.464895635674},
151  {0.515496521189, 1.0, 0.452245414295},
152  {0.528146742568, 1.0, 0.439595192916},
153  {0.540796963947, 1.0, 0.426944971537},
154  {0.553447185326, 1.0, 0.414294750158},
155  {0.566097406705, 1.0, 0.401644528779},
156  {0.578747628083, 1.0, 0.3889943074},
157  {0.591397849462, 1.0, 0.376344086022},
158  {0.604048070841, 1.0, 0.363693864643},
159  {0.61669829222, 1.0, 0.351043643264},
160  {0.629348513599, 1.0, 0.338393421885},
161  {0.641998734978, 1.0, 0.325743200506},
162  {0.654648956357, 1.0, 0.313092979127},
163  {0.667299177736, 1.0, 0.300442757748},
164  {0.679949399114, 1.0, 0.287792536369},
165  {0.692599620493, 1.0, 0.275142314991},
166  {0.705249841872, 1.0, 0.262492093612},
167  {0.717900063251, 1.0, 0.249841872233},
168  {0.73055028463, 1.0, 0.237191650854},
169  {0.743200506009, 1.0, 0.224541429475},
170  {0.755850727388, 1.0, 0.211891208096},
171  {0.768500948767, 1.0, 0.199240986717},
172  {0.781151170145, 1.0, 0.186590765338},
173  {0.793801391524, 1.0, 0.17394054396},
174  {0.806451612903, 1.0, 0.161290322581},
175  {0.819101834282, 1.0, 0.148640101202},
176  {0.831752055661, 1.0, 0.135989879823},
177  {0.84440227704, 1.0, 0.123339658444},
178  {0.857052498419, 1.0, 0.110689437065},
179  {0.869702719798, 1.0, 0.0980392156863},
180  {0.882352941176, 1.0, 0.0853889943074},
181  {0.895003162555, 1.0, 0.0727387729285},
182  {0.907653383934, 1.0, 0.0600885515497},
183  {0.920303605313, 1.0, 0.0474383301708},
184  {0.932953826692, 1.0, 0.0347881087919},
185  {0.945604048071, 0.9883805374, 0.022137887413},
186  {0.95825426945, 0.97385620915, 0.00948766603416},
187  {0.970904490829, 0.959331880901, 0.0},
188  {0.983554712207, 0.944807552651, 0.0},
189  {0.996204933586, 0.930283224401, 0.0},
190  {1.0, 0.915758896151, 0.0},
191  {1.0, 0.901234567901, 0.0},
192  {1.0, 0.886710239651, 0.0},
193  {1.0, 0.872185911402, 0.0},
194  {1.0, 0.857661583152, 0.0},
195  {1.0, 0.843137254902, 0.0},
196  {1.0, 0.828612926652, 0.0},
197  {1.0, 0.814088598402, 0.0},
198  {1.0, 0.799564270153, 0.0},
199  {1.0, 0.785039941903, 0.0},
200  {1.0, 0.770515613653, 0.0},
201  {1.0, 0.755991285403, 0.0},
202  {1.0, 0.741466957153, 0.0},
203  {1.0, 0.726942628903, 0.0},
204  {1.0, 0.712418300654, 0.0},
205  {1.0, 0.697893972404, 0.0},
206  {1.0, 0.683369644154, 0.0},
207  {1.0, 0.668845315904, 0.0},
208  {1.0, 0.654320987654, 0.0},
209  {1.0, 0.639796659405, 0.0},
210  {1.0, 0.625272331155, 0.0},
211  {1.0, 0.610748002905, 0.0},
212  {1.0, 0.596223674655, 0.0},
213  {1.0, 0.581699346405, 0.0},
214  {1.0, 0.567175018155, 0.0},
215  {1.0, 0.552650689906, 0.0},
216  {1.0, 0.538126361656, 0.0},
217  {1.0, 0.523602033406, 0.0},
218  {1.0, 0.509077705156, 0.0},
219  {1.0, 0.494553376906, 0.0},
220  {1.0, 0.480029048656, 0.0},
221  {1.0, 0.465504720407, 0.0},
222  {1.0, 0.450980392157, 0.0},
223  {1.0, 0.436456063907, 0.0},
224  {1.0, 0.421931735657, 0.0},
225  {1.0, 0.407407407407, 0.0},
226  {1.0, 0.392883079158, 0.0},
227  {1.0, 0.378358750908, 0.0},
228  {1.0, 0.363834422658, 0.0},
229  {1.0, 0.349310094408, 0.0},
230  {1.0, 0.334785766158, 0.0},
231  {1.0, 0.320261437908, 0.0},
232  {1.0, 0.305737109659, 0.0},
233  {1.0, 0.291212781409, 0.0},
234  {1.0, 0.276688453159, 0.0},
235  {1.0, 0.262164124909, 0.0},
236  {1.0, 0.247639796659, 0.0},
237  {1.0, 0.23311546841, 0.0},
238  {1.0, 0.21859114016, 0.0},
239  {1.0, 0.20406681191, 0.0},
240  {1.0, 0.18954248366, 0.0},
241  {1.0, 0.17501815541, 0.0},
242  {1.0, 0.16049382716, 0.0},
243  {1.0, 0.145969498911, 0.0},
244  {1.0, 0.131445170661, 0.0},
245  {1.0, 0.116920842411, 0.0},
246  {1.0, 0.102396514161, 0.0},
247  {1.0, 0.0878721859114, 0.0},
248  {0.999108734403, 0.0733478576616, 0.0},
249  {0.98128342246, 0.0588235294118, 0.0},
250  {0.963458110517, 0.0442992011619, 0.0},
251  {0.945632798574, 0.0297748729121, 0.0},
252  {0.927807486631, 0.0152505446623, 0.0},
253  {0.909982174688, 0.000726216412491, 0.0},
254  {0.892156862745, 0.0, 0.0},
255  {0.874331550802, 0.0, 0.0},
256  {0.856506238859, 0.0, 0.0},
257  {0.838680926916, 0.0, 0.0},
258  {0.820855614973, 0.0, 0.0},
259  {0.80303030303, 0.0, 0.0},
260  {0.785204991087, 0.0, 0.0},
261  {0.767379679144, 0.0, 0.0},
262  {0.749554367201, 0.0, 0.0},
263  {0.731729055258, 0.0, 0.0},
264  {0.713903743316, 0.0, 0.0},
265  {0.696078431373, 0.0, 0.0},
266  {0.67825311943, 0.0, 0.0},
267  {0.660427807487, 0.0, 0.0},
268  {0.642602495544, 0.0, 0.0},
269  {0.624777183601, 0.0, 0.0},
270  {0.606951871658, 0.0, 0.0},
271  {0.589126559715, 0.0, 0.0},
272  {0.571301247772, 0.0, 0.0},
273  {0.553475935829, 0.0, 0.0},
274  {0.535650623886, 0.0, 0.0},
275  {0.517825311943, 0.0, 0.0},
276  {0.5, 0.0, 0.0}
277  };
278 
279 const colourMapType RAINBOW_ARRAY[][3] = {
280  {0.5, 0.0, 1.0},
281  {0.492156862745, 0.0123196595352, 0.999981027349},
282  {0.48431372549, 0.0246374491954, 0.999924110115},
283  {0.476470588235, 0.0369514993891, 0.999829250458},
284  {0.46862745098, 0.0492599410928, 0.999696451978},
285  {0.460784313725, 0.0615609061339, 0.999525719713},
286  {0.452941176471, 0.0738525274749, 0.999317060143},
287  {0.445098039216, 0.0861329394961, 0.999070481184},
288  {0.437254901961, 0.0984002782796, 0.998785992194},
289  {0.429411764706, 0.110652681892, 0.998463603967},
290  {0.421568627451, 0.122888290665, 0.998103328737},
291  {0.413725490196, 0.135105247481, 0.997705180174},
292  {0.405882352941, 0.147301698055, 0.997269173386},
293  {0.398039215686, 0.15947579121, 0.996795324917},
294  {0.390196078431, 0.171625679166, 0.996283652748},
295  {0.382352941176, 0.183749517817, 0.995734176295},
296  {0.374509803922, 0.195845467007, 0.995146916407},
297  {0.366666666667, 0.207911690818, 0.994521895368},
298  {0.358823529412, 0.21994635784, 0.993859136895},
299  {0.350980392157, 0.231947641454, 0.993158666137},
300  {0.343137254902, 0.243913720108, 0.992420509672},
301  {0.335294117647, 0.255842777594, 0.991644695511},
302  {0.327450980392, 0.267733003322, 0.990831253092},
303  {0.319607843137, 0.279582592597, 0.989980213281},
304  {0.311764705882, 0.291389746889, 0.989091608371},
305  {0.303921568627, 0.303152674113, 0.988165472081},
306  {0.296078431373, 0.314869588894, 0.987201839554},
307  {0.288235294118, 0.32653871284, 0.986200747353},
308  {0.280392156863, 0.338158274816, 0.985162233468},
309  {0.272549019608, 0.349726511206, 0.984086337303},
310  {0.264705882353, 0.361241666187, 0.982973099684},
311  {0.256862745098, 0.372701991991, 0.981822562854},
312  {0.249019607843, 0.384105749172, 0.980634770469},
313  {0.241176470588, 0.395451206871, 0.979409767601},
314  {0.233333333333, 0.406736643076, 0.978147600734},
315  {0.225490196078, 0.417960344887, 0.97684831776},
316  {0.217647058824, 0.429120608773, 0.97551196798},
317  {0.209803921569, 0.440215740831, 0.974138602105},
318  {0.201960784314, 0.451244057045, 0.972728272245},
319  {0.194117647059, 0.46220388354, 0.971281031916},
320  {0.186274509804, 0.473093556836, 0.969796936035},
321  {0.178431372549, 0.4839114241, 0.968276040916},
322  {0.170588235294, 0.4946558434, 0.966718404269},
323  {0.162745098039, 0.505325183949, 0.9651240852},
324  {0.154901960784, 0.515917826358, 0.963493144206},
325  {0.147058823529, 0.526432162877, 0.961825643173},
326  {0.139215686275, 0.536866597644, 0.960121645375},
327  {0.13137254902, 0.547219546922, 0.95838121547},
328  {0.123529411765, 0.557489439343, 0.9566044195},
329  {0.11568627451, 0.567674716145, 0.954791324887},
330  {0.107843137255, 0.577773831408, 0.952942000427},
331  {0.1, 0.587785252292, 0.951056516295},
332  {0.0921568627451, 0.597707459266, 0.949134944036},
333  {0.0843137254902, 0.607538946339, 0.947177356564},
334  {0.0764705882353, 0.61727822129, 0.945183828161},
335  {0.0686274509804, 0.626923805894, 0.943154434471},
336  {0.0607843137255, 0.636474236147, 0.941089252501},
337  {0.0529411764706, 0.645928062487, 0.938988360615},
338  {0.0450980392157, 0.655283850013, 0.936851838531},
339  {0.0372549019608, 0.664540178708, 0.934679767321},
340  {0.0294117647059, 0.673695643647, 0.932472229404},
341  {0.021568627451, 0.682748855215, 0.930229308547},
342  {0.0137254901961, 0.691698439319, 0.927951089857},
343  {0.00588235294118, 0.700543037593, 0.925637659782},
344  {0.00196078431373, 0.709281307606, 0.923289106105},
345  {0.00980392156863, 0.717911923064, 0.920905517945},
346  {0.0176470588235, 0.726433574016, 0.918486985746},
347  {0.0254901960784, 0.734844967047, 0.91603360128},
348  {0.0333333333333, 0.743144825477, 0.913545457643},
349  {0.0411764705882, 0.751331889557, 0.911022649246},
350  {0.0490196078431, 0.759404916655, 0.90846527182},
351  {0.056862745098, 0.767362681449, 0.905873422403},
352  {0.0647058823529, 0.775203976111, 0.903247199346},
353  {0.0725490196078, 0.782927610492, 0.900586702301},
354  {0.0803921568627, 0.7905324123, 0.89789203222},
355  {0.0882352941176, 0.79801722728, 0.895163291355},
356  {0.0960784313725, 0.805380919389, 0.892400583248},
357  {0.103921568627, 0.812622370966, 0.889604012731},
358  {0.111764705882, 0.819740482907, 0.88677368592},
359  {0.119607843137, 0.826734174826, 0.883909710214},
360  {0.127450980392, 0.833602385221, 0.881012194286},
361  {0.135294117647, 0.840344071638, 0.878081248084},
362  {0.143137254902, 0.846958210824, 0.875116982823},
363  {0.150980392157, 0.853443798888, 0.872119510984},
364  {0.158823529412, 0.859799851448, 0.869088946306},
365  {0.166666666667, 0.866025403784, 0.866025403784},
366  {0.174509803922, 0.872119510984, 0.862928999667},
367  {0.182352941176, 0.878081248084, 0.859799851448},
368  {0.190196078431, 0.883909710214, 0.856638077864},
369  {0.198039215686, 0.889604012731, 0.853443798888},
370  {0.205882352941, 0.895163291355, 0.85021713573},
371  {0.213725490196, 0.900586702301, 0.846958210824},
372  {0.221568627451, 0.905873422403, 0.843667147834},
373  {0.229411764706, 0.911022649246, 0.840344071638},
374  {0.237254901961, 0.91603360128, 0.836989108332},
375  {0.245098039216, 0.920905517945, 0.833602385221},
376  {0.252941176471, 0.925637659782, 0.830184030816},
377  {0.260784313725, 0.930229308547, 0.826734174826},
378  {0.26862745098, 0.934679767321, 0.823252948158},
379  {0.276470588235, 0.938988360615, 0.819740482907},
380  {0.28431372549, 0.943154434471, 0.816196912356},
381  {0.292156862745, 0.947177356564, 0.812622370966},
382  {0.3, 0.951056516295, 0.809016994375},
383  {0.307843137255, 0.954791324887, 0.805380919389},
384  {0.31568627451, 0.95838121547, 0.80171428398},
385  {0.323529411765, 0.961825643173, 0.79801722728},
386  {0.33137254902, 0.9651240852, 0.794289889575},
387  {0.339215686275, 0.968276040916, 0.7905324123},
388  {0.347058823529, 0.971281031916, 0.786744938033},
389  {0.354901960784, 0.974138602105, 0.782927610492},
390  {0.362745098039, 0.97684831776, 0.779080574526},
391  {0.370588235294, 0.979409767601, 0.775203976111},
392  {0.378431372549, 0.981822562854, 0.771297962347},
393  {0.386274509804, 0.984086337303, 0.767362681449},
394  {0.394117647059, 0.986200747353, 0.763398282741},
395  {0.401960784314, 0.988165472081, 0.759404916655},
396  {0.409803921569, 0.989980213281, 0.755382734719},
397  {0.417647058824, 0.991644695511, 0.751331889557},
398  {0.425490196078, 0.993158666137, 0.747252534879},
399  {0.433333333333, 0.994521895368, 0.743144825477},
400  {0.441176470588, 0.995734176295, 0.739008917221},
401  {0.449019607843, 0.996795324917, 0.734844967047},
402  {0.456862745098, 0.997705180174, 0.730653132959},
403  {0.464705882353, 0.998463603967, 0.726433574016},
404  {0.472549019608, 0.999070481184, 0.722186450332},
405  {0.480392156863, 0.999525719713, 0.717911923064},
406  {0.488235294118, 0.999829250458, 0.713610154412},
407  {0.496078431373, 0.999981027349, 0.709281307606},
408  {0.503921568627, 0.999981027349, 0.704925546906},
409  {0.511764705882, 0.999829250458, 0.700543037593},
410  {0.519607843137, 0.999525719713, 0.696133945963},
411  {0.527450980392, 0.999070481184, 0.691698439319},
412  {0.535294117647, 0.998463603967, 0.687236685969},
413  {0.543137254902, 0.997705180174, 0.682748855215},
414  {0.550980392157, 0.996795324917, 0.678235117349},
415  {0.558823529412, 0.995734176295, 0.673695643647},
416  {0.566666666667, 0.994521895368, 0.669130606359},
417  {0.574509803922, 0.993158666137, 0.664540178708},
418  {0.582352941176, 0.991644695511, 0.659924534879},
419  {0.590196078431, 0.989980213281, 0.655283850013},
420  {0.598039215686, 0.988165472081, 0.650618300204},
421  {0.605882352941, 0.986200747353, 0.645928062487},
422  {0.613725490196, 0.984086337303, 0.641213314834},
423  {0.621568627451, 0.981822562854, 0.636474236147},
424  {0.629411764706, 0.979409767601, 0.631711006253},
425  {0.637254901961, 0.97684831776, 0.626923805894},
426  {0.645098039216, 0.974138602105, 0.622112816721},
427  {0.652941176471, 0.971281031916, 0.61727822129},
428  {0.660784313725, 0.968276040916, 0.612420203049},
429  {0.66862745098, 0.9651240852, 0.607538946339},
430  {0.676470588235, 0.961825643173, 0.602634636379},
431  {0.68431372549, 0.95838121547, 0.597707459266},
432  {0.692156862745, 0.954791324887, 0.592757601963},
433  {0.7, 0.951056516295, 0.587785252292},
434  {0.707843137255, 0.947177356564, 0.582790598933},
435  {0.71568627451, 0.943154434471, 0.577773831408},
436  {0.723529411765, 0.938988360615, 0.572735140081},
437  {0.73137254902, 0.934679767321, 0.567674716145},
438  {0.739215686275, 0.930229308547, 0.56259275162},
439  {0.747058823529, 0.925637659782, 0.557489439343},
440  {0.754901960784, 0.920905517945, 0.552364972961},
441  {0.762745098039, 0.91603360128, 0.547219546922},
442  {0.770588235294, 0.911022649246, 0.542053356472},
443  {0.778431372549, 0.905873422403, 0.536866597644},
444  {0.786274509804, 0.900586702301, 0.53165946725},
445  {0.794117647059, 0.895163291355, 0.526432162877},
446  {0.801960784314, 0.889604012731, 0.521184882877},
447  {0.809803921569, 0.883909710214, 0.515917826358},
448  {0.817647058824, 0.878081248084, 0.510631193181},
449  {0.825490196078, 0.872119510984, 0.505325183949},
450  {0.833333333333, 0.866025403784, 0.5},
451  {0.841176470588, 0.859799851448, 0.4946558434},
452  {0.849019607843, 0.853443798888, 0.489292916934},
453  {0.856862745098, 0.846958210824, 0.4839114241},
454  {0.864705882353, 0.840344071638, 0.478511569101},
455  {0.872549019608, 0.833602385221, 0.473093556836},
456  {0.880392156863, 0.826734174826, 0.467657592893},
457  {0.888235294118, 0.819740482907, 0.46220388354},
458  {0.896078431373, 0.812622370966, 0.456732635722},
459  {0.903921568627, 0.805380919389, 0.451244057045},
460  {0.911764705882, 0.79801722728, 0.445738355777},
461  {0.919607843137, 0.7905324123, 0.440215740831},
462  {0.927450980392, 0.782927610492, 0.434676421766},
463  {0.935294117647, 0.775203976111, 0.429120608773},
464  {0.943137254902, 0.767362681449, 0.423548512668},
465  {0.950980392157, 0.759404916655, 0.417960344887},
466  {0.958823529412, 0.751331889557, 0.412356317474},
467  {0.966666666667, 0.743144825477, 0.406736643076},
468  {0.974509803922, 0.734844967047, 0.401101534933},
469  {0.982352941176, 0.726433574016, 0.395451206871},
470  {0.990196078431, 0.717911923064, 0.389785873293},
471  {0.998039215686, 0.709281307606, 0.384105749172},
472  {1.0, 0.700543037593, 0.378411050042},
473  {1.0, 0.691698439319, 0.372701991991},
474  {1.0, 0.682748855215, 0.36697879165},
475  {1.0, 0.673695643647, 0.361241666187},
476  {1.0, 0.664540178708, 0.3554908333},
477  {1.0, 0.655283850013, 0.349726511206},
478  {1.0, 0.645928062487, 0.343948918634},
479  {1.0, 0.636474236147, 0.338158274816},
480  {1.0, 0.626923805894, 0.33235479948},
481  {1.0, 0.61727822129, 0.32653871284},
482  {1.0, 0.607538946339, 0.32071023559},
483  {1.0, 0.597707459266, 0.314869588894},
484  {1.0, 0.587785252292, 0.309016994375},
485  {1.0, 0.577773831408, 0.303152674113},
486  {1.0, 0.567674716145, 0.297276850631},
487  {1.0, 0.557489439343, 0.291389746889},
488  {1.0, 0.547219546922, 0.285491586275},
489  {1.0, 0.536866597644, 0.279582592597},
490  {1.0, 0.526432162877, 0.273662990072},
491  {1.0, 0.515917826358, 0.267733003322},
492  {1.0, 0.505325183949, 0.261792857363},
493  {1.0, 0.4946558434, 0.255842777594},
494  {1.0, 0.4839114241, 0.249882989794},
495  {1.0, 0.473093556836, 0.243913720108},
496  {1.0, 0.46220388354, 0.237935195043},
497  {1.0, 0.451244057045, 0.231947641454},
498  {1.0, 0.440215740831, 0.225951286542},
499  {1.0, 0.429120608773, 0.21994635784},
500  {1.0, 0.417960344887, 0.213933083206},
501  {1.0, 0.406736643076, 0.207911690818},
502  {1.0, 0.395451206871, 0.201882409157},
503  {1.0, 0.384105749172, 0.195845467007},
504  {1.0, 0.372701991991, 0.189801093442},
505  {1.0, 0.361241666187, 0.183749517817},
506  {1.0, 0.349726511206, 0.17769096976},
507  {1.0, 0.338158274816, 0.171625679166},
508  {1.0, 0.32653871284, 0.165553876184},
509  {1.0, 0.314869588894, 0.15947579121},
510  {1.0, 0.303152674113, 0.153391654879},
511  {1.0, 0.291389746889, 0.147301698055},
512  {1.0, 0.279582592597, 0.141206151823},
513  {1.0, 0.267733003322, 0.135105247481},
514  {1.0, 0.255842777594, 0.12899921653},
515  {1.0, 0.243913720108, 0.122888290665},
516  {1.0, 0.231947641454, 0.116772701766},
517  {1.0, 0.21994635784, 0.110652681892},
518  {1.0, 0.207911690818, 0.104528463268},
519  {1.0, 0.195845467007, 0.0984002782796},
520  {1.0, 0.183749517817, 0.0922683594633},
521  {1.0, 0.171625679166, 0.0861329394961},
522  {1.0, 0.15947579121, 0.0799942511885},
523  {1.0, 0.147301698055, 0.0738525274749},
524  {1.0, 0.135105247481, 0.0677080014047},
525  {1.0, 0.122888290665, 0.0615609061339},
526  {1.0, 0.110652681892, 0.055411474916},
527  {1.0, 0.0984002782796, 0.0492599410928},
528  {1.0, 0.0861329394961, 0.0431065380863},
529  {1.0, 0.0738525274749, 0.0369514993891},
530  {1.0, 0.0615609061339, 0.0307950585562},
531  {1.0, 0.0492599410928, 0.0246374491954},
532  {1.0, 0.0369514993891, 0.0184789049591},
533  {1.0, 0.0246374491954, 0.0123196595352},
534  {1.0, 0.0123196595352, 0.00615994663814},
535  {1.0, 1.22464679915e-16, 6.12323399574e-17}
536  };
537 
538 //NIH Colour map
539 const colourMapType NIH_ARRAY[][3] = {
540  { 0.0, 0.0, 0.0 },
541  {0.0196078431373, 0.0, 0.043137254902},
542  {0.043137254902, 0.0, 0.0862745098039},
543  {0.0666666666667, 0.0, 0.133333333333},
544  {0.0862745098039, 0.0, 0.176470588235},
545  {0.109803921569, 0.0, 0.219607843137},
546  {0.133333333333, 0.0, 0.266666666667},
547  {0.152941176471, 0.0, 0.309803921569},
548  {0.176470588235, 0.0, 0.352941176471},
549  {0.2, 0.0, 0.4},
550  {0.219607843137, 0.0, 0.443137254902},
551  {0.243137254902, 0.0, 0.486274509804},
552  {0.266666666667, 0.0, 0.533333333333},
553  {0.286274509804, 0.0, 0.576470588235},
554  {0.309803921569, 0.0, 0.619607843137},
555  {0.333333333333, 0.0, 0.666666666667},
556  {0.309803921569, 0.0, 0.643137254902},
557  {0.290196078431, 0.0, 0.623529411765},
558  {0.270588235294, 0.0, 0.603921568627},
559  {0.247058823529, 0.0, 0.580392156863},
560  {0.227450980392, 0.0, 0.560784313725},
561  {0.207843137255, 0.0, 0.541176470588},
562  {0.18431372549, 0.0, 0.517647058824},
563  {0.164705882353, 0.0, 0.498039215686},
564  {0.145098039216, 0.0, 0.478431372549},
565  {0.121568627451, 0.0, 0.454901960784},
566  {0.101960784314, 0.0, 0.435294117647},
567  {0.0823529411765, 0.0, 0.41568627451},
568  {0.0588235294118, 0.0, 0.392156862745},
569  {0.0392156862745, 0.0, 0.372549019608},
570  {0.0196078431373, 0.0, 0.352941176471},
571  {0.0, 0.0, 0.333333333333},
572  {0.0, 0.0, 0.352941176471},
573  {0.0, 0.0, 0.372549019608},
574  {0.0, 0.0, 0.392156862745},
575  {0.0, 0.0, 0.41568627451},
576  {0.0, 0.0, 0.435294117647},
577  {0.0, 0.0, 0.454901960784},
578  {0.0, 0.0, 0.478431372549},
579  {0.0, 0.0, 0.498039215686},
580  {0.0, 0.0, 0.517647058824},
581  {0.0, 0.0, 0.541176470588},
582  {0.0, 0.0, 0.560784313725},
583  {0.0, 0.0, 0.580392156863},
584  {0.0, 0.0, 0.603921568627},
585  {0.0, 0.0, 0.623529411765},
586  {0.0, 0.0, 0.643137254902},
587  {0.0, 0.0, 0.666666666667},
588  {0.0, 0.0, 0.686274509804},
589  {0.0, 0.0, 0.705882352941},
590  {0.0, 0.0, 0.725490196078},
591  {0.0, 0.0, 0.749019607843},
592  {0.0, 0.0, 0.76862745098},
593  {0.0, 0.0, 0.788235294118},
594  {0.0, 0.0, 0.811764705882},
595  {0.0, 0.0, 0.83137254902},
596  {0.0, 0.0, 0.850980392157},
597  {0.0, 0.0, 0.874509803922},
598  {0.0, 0.0, 0.894117647059},
599  {0.0, 0.0, 0.913725490196},
600  {0.0, 0.0, 0.937254901961},
601  {0.0, 0.0, 0.956862745098},
602  {0.0, 0.0, 0.976470588235},
603  {0.0, 0.0, 1.0},
604  {0.0, 0.0196078431373, 1.0},
605  {0.0, 0.0392156862745, 1.0},
606  {0.0, 0.0588235294118, 1.0},
607  {0.0, 0.0823529411765, 1.0},
608  {0.0, 0.101960784314, 1.0},
609  {0.0, 0.121568627451, 1.0},
610  {0.0, 0.145098039216, 1.0},
611  {0.0, 0.164705882353, 1.0},
612  {0.0, 0.18431372549, 1.0},
613  {0.0, 0.207843137255, 1.0},
614  {0.0, 0.227450980392, 1.0},
615  {0.0, 0.247058823529, 1.0},
616  {0.0, 0.270588235294, 1.0},
617  {0.0, 0.290196078431, 1.0},
618  {0.0, 0.309803921569, 1.0},
619  {0.0, 0.333333333333, 1.0},
620  {0.0, 0.352941176471, 0.976470588235},
621  {0.0, 0.372549019608, 0.956862745098},
622  {0.0, 0.392156862745, 0.937254901961},
623  {0.0, 0.41568627451, 0.913725490196},
624  {0.0, 0.435294117647, 0.894117647059},
625  {0.0, 0.454901960784, 0.874509803922},
626  {0.0, 0.478431372549, 0.850980392157},
627  {0.0, 0.498039215686, 0.83137254902},
628  {0.0, 0.517647058824, 0.811764705882},
629  {0.0, 0.541176470588, 0.788235294118},
630  {0.0, 0.560784313725, 0.76862745098},
631  {0.0, 0.580392156863, 0.749019607843},
632  {0.0, 0.603921568627, 0.725490196078},
633  {0.0, 0.623529411765, 0.705882352941},
634  {0.0, 0.643137254902, 0.686274509804},
635  {0.0, 0.666666666667, 0.666666666667},
636  {0.0, 0.686274509804, 0.666666666667},
637  {0.0, 0.705882352941, 0.666666666667},
638  {0.0, 0.725490196078, 0.666666666667},
639  {0.0, 0.749019607843, 0.666666666667},
640  {0.0, 0.76862745098, 0.666666666667},
641  {0.0, 0.788235294118, 0.666666666667},
642  {0.0, 0.811764705882, 0.666666666667},
643  {0.0, 0.83137254902, 0.666666666667},
644  {0.0, 0.850980392157, 0.666666666667},
645  {0.0, 0.874509803922, 0.666666666667},
646  {0.0, 0.894117647059, 0.666666666667},
647  {0.0, 0.913725490196, 0.666666666667},
648  {0.0, 0.937254901961, 0.666666666667},
649  {0.0, 0.956862745098, 0.666666666667},
650  {0.0, 0.976470588235, 0.666666666667},
651  {0.0, 1.0, 0.666666666667},
652  {0.0, 1.0, 0.623529411765},
653  {0.0, 1.0, 0.580392156863},
654  {0.0, 1.0, 0.541176470588},
655  {0.0, 1.0, 0.498039215686},
656  {0.0, 1.0, 0.454901960784},
657  {0.0, 1.0, 0.41568627451},
658  {0.0, 1.0, 0.372549019608},
659  {0.0, 1.0, 0.333333333333},
660  {0.0, 1.0, 0.290196078431},
661  {0.0, 1.0, 0.247058823529},
662  {0.0, 1.0, 0.207843137255},
663  {0.0, 1.0, 0.164705882353},
664  {0.0, 1.0, 0.121568627451},
665  {0.0, 1.0, 0.0823529411765},
666  {0.0, 1.0, 0.0392156862745},
667  {0.0, 1.0, 0.0},
668  {0.0196078431373, 1.0, 0.0196078431373},
669  {0.0392156862745, 1.0, 0.0392156862745},
670  {0.0588235294118, 1.0, 0.0588235294118},
671  {0.0823529411765, 1.0, 0.0823529411765},
672  {0.101960784314, 1.0, 0.101960784314},
673  {0.121568627451, 1.0, 0.121568627451},
674  {0.145098039216, 1.0, 0.145098039216},
675  {0.164705882353, 1.0, 0.164705882353},
676  {0.18431372549, 1.0, 0.18431372549},
677  {0.207843137255, 1.0, 0.207843137255},
678  {0.227450980392, 1.0, 0.227450980392},
679  {0.247058823529, 1.0, 0.247058823529},
680  {0.270588235294, 1.0, 0.270588235294},
681  {0.290196078431, 1.0, 0.290196078431},
682  {0.309803921569, 1.0, 0.309803921569},
683  {0.333333333333, 1.0, 0.333333333333},
684  {0.372549019608, 1.0, 0.309803921569},
685  {0.41568627451, 1.0, 0.290196078431},
686  {0.454901960784, 1.0, 0.270588235294},
687  {0.498039215686, 1.0, 0.247058823529},
688  {0.541176470588, 1.0, 0.227450980392},
689  {0.580392156863, 1.0, 0.207843137255},
690  {0.623529411765, 1.0, 0.18431372549},
691  {0.666666666667, 1.0, 0.164705882353},
692  {0.705882352941, 1.0, 0.145098039216},
693  {0.749019607843, 1.0, 0.121568627451},
694  {0.788235294118, 1.0, 0.101960784314},
695  {0.83137254902, 1.0, 0.0823529411765},
696  {0.874509803922, 1.0, 0.0588235294118},
697  {0.913725490196, 1.0, 0.0392156862745},
698  {0.956862745098, 1.0, 0.0196078431373},
699  {1.0, 1.0, 0.0},
700  {1.0, 0.976470588235, 0.0},
701  {1.0, 0.956862745098, 0.0},
702  {1.0, 0.937254901961, 0.0},
703  {1.0, 0.913725490196, 0.0},
704  {1.0, 0.894117647059, 0.0},
705  {1.0, 0.874509803922, 0.0},
706  {1.0, 0.850980392157, 0.0},
707  {1.0, 0.83137254902, 0.0},
708  {1.0, 0.811764705882, 0.0},
709  {1.0, 0.788235294118, 0.0},
710  {1.0, 0.76862745098, 0.0},
711  {1.0, 0.749019607843, 0.0},
712  {1.0, 0.725490196078, 0.0},
713  {1.0, 0.705882352941, 0.0},
714  {1.0, 0.686274509804, 0.0},
715  {1.0, 0.666666666667, 0.0},
716  {1.0, 0.643137254902, 0.0},
717  {1.0, 0.623529411765, 0.0},
718  {1.0, 0.603921568627, 0.0},
719  {1.0, 0.580392156863, 0.0},
720  {1.0, 0.560784313725, 0.0},
721  {1.0, 0.541176470588, 0.0},
722  {1.0, 0.517647058824, 0.0},
723  {1.0, 0.498039215686, 0.0},
724  {1.0, 0.478431372549, 0.0},
725  {1.0, 0.454901960784, 0.0},
726  {1.0, 0.435294117647, 0.0},
727  {1.0, 0.41568627451, 0.0},
728  {1.0, 0.392156862745, 0.0},
729  {1.0, 0.372549019608, 0.0},
730  {1.0, 0.352941176471, 0.0},
731  {1.0, 0.333333333333, 0.0},
732  {1.0, 0.317647058824, 0.0},
733  {1.0, 0.305882352941, 0.0},
734  {1.0, 0.294117647059, 0.0},
735  {1.0, 0.278431372549, 0.0},
736  {1.0, 0.266666666667, 0.0},
737  {1.0, 0.254901960784, 0.0},
738  {1.0, 0.243137254902, 0.0},
739  {1.0, 0.227450980392, 0.0},
740  {1.0, 0.21568627451, 0.0},
741  {1.0, 0.203921568627, 0.0},
742  {1.0, 0.192156862745, 0.0},
743  {1.0, 0.176470588235, 0.0},
744  {1.0, 0.164705882353, 0.0},
745  {1.0, 0.152941176471, 0.0},
746  {1.0, 0.137254901961, 0.0},
747  {1.0, 0.125490196078, 0.0},
748  {1.0, 0.113725490196, 0.0},
749  {1.0, 0.101960784314, 0.0},
750  {1.0, 0.0862745098039, 0.0},
751  {1.0, 0.0745098039216, 0.0},
752  {1.0, 0.0627450980392, 0.0},
753  {1.0, 0.0509803921569, 0.0},
754  {1.0, 0.0352941176471, 0.0},
755  {1.0, 0.0235294117647, 0.0},
756  {1.0, 0.0117647058824, 0.0},
757  {1.0, 0.0, 0.0},
758  {0.988235294118, 0.0, 0.0},
759  {0.980392156863, 0.0, 0.0},
760  {0.972549019608, 0.0, 0.0},
761  {0.964705882353, 0.0, 0.0},
762  {0.952941176471, 0.0, 0.0},
763  {0.945098039216, 0.0, 0.0},
764  {0.937254901961, 0.0, 0.0},
765  {0.929411764706, 0.0, 0.0},
766  {0.917647058824, 0.0, 0.0},
767  {0.909803921569, 0.0, 0.0},
768  {0.901960784314, 0.0, 0.0},
769  {0.894117647059, 0.0, 0.0},
770  {0.882352941176, 0.0, 0.0},
771  {0.874509803922, 0.0, 0.0},
772  {0.866666666667, 0.0, 0.0},
773  {0.858823529412, 0.0, 0.0},
774  {0.847058823529, 0.0, 0.0},
775  {0.839215686275, 0.0, 0.0},
776  {0.83137254902, 0.0, 0.0},
777  {0.823529411765, 0.0, 0.0},
778  {0.81568627451, 0.0, 0.0},
779  {0.803921568627, 0.0, 0.0},
780  {0.796078431373, 0.0, 0.0},
781  {0.788235294118, 0.0, 0.0},
782  {0.780392156863, 0.0, 0.0},
783  {0.76862745098, 0.0, 0.0},
784  {0.760784313725, 0.0, 0.0},
785  {0.752941176471, 0.0, 0.0},
786  {0.745098039216, 0.0, 0.0},
787  {0.733333333333, 0.0, 0.0},
788  {0.725490196078, 0.0, 0.0},
789  {0.717647058824, 0.0, 0.0},
790  {0.709803921569, 0.0, 0.0},
791  {0.698039215686, 0.0, 0.0},
792  {0.690196078431, 0.0, 0.0},
793  {0.682352941176, 0.0, 0.0},
794  {0.678431372549, 0.0, 0.0},
795  {0.668431372549, 0.0, 0.0}
796  };
797 
798 //NIH FIRE colour map
799 const colourMapType NIH_FIRE_ARRAY[][3] = {
800  {0,0,0},
801  {0,0,0.137255},
802  {0,0,0.14902},
803  {0,0,0.164706},
804  {0,0,0.180392},
805  {0,0,0.192157},
806  {0,0,0.207843},
807  {0,0,0.223529},
808  {0,0,0.235294},
809  {0,0,0.25098},
810  {0,0,0.270588},
811  {0,0,0.286275},
812  {0,0,0.301961},
813  {0.00392157,0,0.317647},
814  {0.00392157,0,0.337255},
815  {0.00392157,0,0.352941},
816  {0.00392157,0,0.368627},
817  {0.0117647,0,0.384314},
818  {0.0196078,0,0.4},
819  {0.0313726,0,0.415686},
820  {0.0431373,0,0.435294},
821  {0.054902,0,0.45098},
822  {0.0666667,0,0.466667},
823  {0.0784314,0,0.482353},
824  {0.0901961,0,0.498039},
825  {0.101961,0,0.513726},
826  {0.113725,0,0.533333},
827  {0.12549,0,0.54902},
828  {0.137255,0,0.564706},
829  {0.14902,0,0.580392},
830  {0.156863,0,0.6},
831  {0.168627,0,0.615686},
832  {0.180392,0,0.631373},
833  {0.192157,0,0.647059},
834  {0.203922,0,0.662745},
835  {0.215686,0,0.67451},
836  {0.227451,0,0.686275},
837  {0.239216,0,0.698039},
838  {0.25098,0,0.713726},
839  {0.262745,0,0.72549},
840  {0.27451,0,0.737255},
841  {0.286275,0,0.752941},
842  {0.298039,0,0.764706},
843  {0.309804,0,0.776471},
844  {0.321569,0,0.792157},
845  {0.333333,0,0.803922},
846  {0.345098,0,0.819608},
847  {0.356863,0,0.831373},
848  {0.368627,0,0.843137},
849  {0.380392,0,0.858824},
850  {0.392157,0,0.866667},
851  {0.403922,0,0.866667},
852  {0.415686,0,0.870588},
853  {0.427451,0,0.87451},
854  {0.435294,0,0.878431},
855  {0.447059,0,0.882353},
856  {0.458824,0,0.886275},
857  {0.470588,0,0.886275},
858  {0.482353,0,0.886275},
859  {0.494118,0,0.878431},
860  {0.505882,0,0.870588},
861  {0.517647,0,0.862745},
862  {0.529412,0,0.854902},
863  {0.541176,0,0.847059},
864  {0.552941,0,0.839216},
865  {0.564706,0,0.831373},
866  {0.572549,0,0.819608},
867  {0.580392,0,0.807843},
868  {0.588235,0,0.792157},
869  {0.596078,0,0.780392},
870  {0.603922,0,0.764706},
871  {0.611765,0,0.752941},
872  {0.619608,0,0.737255},
873  {0.627451,0,0.72549},
874  {0.635294,0,0.709804},
875  {0.639216,0,0.698039},
876  {0.647059,0,0.682353},
877  {0.65098,0,0.666667},
878  {0.654902,0,0.654902},
879  {0.662745,0,0.639216},
880  {0.666667,0,0.623529},
881  {0.670588,0,0.611765},
882  {0.678431,0,0.596078},
883  {0.682353,0,0.584314},
884  {0.686275,0,0.568627},
885  {0.694118,0,0.552941},
886  {0.698039,0,0.541176},
887  {0.701961,0,0.52549},
888  {0.709804,0,0.513726},
889  {0.713726,0,0.498039},
890  {0.717647,0,0.486275},
891  {0.72549,0,0.470588},
892  {0.729412,0,0.458824},
893  {0.733333,0,0.443137},
894  {0.741176,0,0.431373},
895  {0.745098,0,0.415686},
896  {0.74902,0,0.403922},
897  {0.756863,0,0.388235},
898  {0.760784,0,0.376471},
899  {0.764706,0,0.360784},
900  {0.772549,0.00784314,0.34902},
901  {0.776471,0.0156863,0.333333},
902  {0.784314,0.0235294,0.321569},
903  {0.788235,0.027451,0.305882},
904  {0.796078,0.0352941,0.294118},
905  {0.8,0.0431373,0.278431},
906  {0.807843,0.0470588,0.262745},
907  {0.811765,0.054902,0.25098},
908  {0.815686,0.0666667,0.235294},
909  {0.819608,0.0745098,0.223529},
910  {0.827451,0.0862745,0.207843},
911  {0.831373,0.0941176,0.196078},
912  {0.835294,0.105882,0.180392},
913  {0.839216,0.113725,0.168627},
914  {0.847059,0.12549,0.152941},
915  {0.85098,0.133333,0.141176},
916  {0.854902,0.145098,0.12549},
917  {0.862745,0.156863,0.113725},
918  {0.866667,0.164706,0.0980392},
919  {0.87451,0.176471,0.0823529},
920  {0.878431,0.188235,0.0705882},
921  {0.882353,0.196078,0.054902},
922  {0.890196,0.207843,0.0392157},
923  {0.894118,0.219608,0.027451},
924  {0.901961,0.227451,0.0196078},
925  {0.905882,0.239216,0.0156863},
926  {0.909804,0.25098,0.0117647},
927  {0.917647,0.258824,0.0117647},
928  {0.921569,0.270588,0.00784314},
929  {0.92549,0.282353,0.00784314},
930  {0.933333,0.294118,0.00392157},
931  {0.937255,0.301961,0},
932  {0.941176,0.313726,0},
933  {0.94902,0.32549,0},
934  {0.952941,0.333333,0},
935  {0.960784,0.345098,0},
936  {0.964706,0.356863,0},
937  {0.972549,0.364706,0},
938  {0.976471,0.376471,0},
939  {0.984314,0.388235,0},
940  {0.988235,0.396078,0},
941  {0.988235,0.403922,0},
942  {0.992157,0.411765,0},
943  {0.992157,0.419608,0},
944  {0.992157,0.427451,0},
945  {0.996078,0.435294,0},
946  {0.996078,0.443137,0},
947  {1,0.45098,0},
948  {1,0.458824,0},
949  {1,0.466667,0},
950  {1,0.47451,0},
951  {1,0.482353,0},
952  {1,0.490196,0},
953  {1,0.494118,0},
954  {1,0.501961,0},
955  {1,0.509804,0},
956  {1,0.517647,0},
957  {1,0.52549,0},
958  {1,0.533333,0},
959  {1,0.537255,0},
960  {1,0.545098,0},
961  {1,0.552941,0},
962  {1,0.560784,0},
963  {1,0.564706,0},
964  {1,0.572549,0},
965  {1,0.580392,0},
966  {1,0.584314,0},
967  {1,0.592157,0},
968  {1,0.6,0},
969  {1,0.603922,0},
970  {1,0.611765,0},
971  {1,0.619608,0},
972  {1,0.627451,0},
973  {1,0.631373,0},
974  {1,0.639216,0},
975  {1,0.647059,0},
976  {1,0.65098,0},
977  {1,0.658824,0},
978  {1,0.666667,0},
979  {1,0.670588,0},
980  {1,0.678431,0},
981  {1,0.686275,0},
982  {1,0.694118,0},
983  {1,0.701961,0},
984  {1,0.705882,0},
985  {1,0.713726,0},
986  {1,0.721569,0},
987  {1,0.729412,0},
988  {1,0.737255,0},
989  {1,0.741176,0},
990  {1,0.74902,0},
991  {1,0.756863,0},
992  {1,0.764706,0},
993  {1,0.772549,0},
994  {1,0.780392,0},
995  {1,0.784314,0},
996  {1,0.792157,0},
997  {1,0.8,0},
998  {1,0.807843,0},
999  {1,0.815686,0},
1000  {1,0.819608,0},
1001  {1,0.827451,0},
1002  {1,0.835294,0},
1003  {1,0.839216,0},
1004  {1,0.847059,0},
1005  {1,0.854902,0},
1006  {1,0.858824,0},
1007  {1,0.866667,0},
1008  {1,0.87451,0},
1009  {1,0.882353,0},
1010  {1,0.890196,0},
1011  {1,0.898039,0},
1012  {1,0.901961,0},
1013  {1,0.909804,0},
1014  {1,0.917647,0},
1015  {1,0.92549,0.0156863},
1016  {1,0.929412,0.0352941},
1017  {1,0.937255,0.0509804},
1018  {1,0.945098,0.0666667},
1019  {1,0.952941,0.0823529},
1020  {1,0.956863,0.101961},
1021  {1,0.964706,0.117647},
1022  {1,0.972549,0.133333},
1023  {1,0.976471,0.160784},
1024  {1,0.980392,0.192157},
1025  {1,0.980392,0.219608},
1026  {1,0.984314,0.25098},
1027  {1,0.988235,0.282353},
1028  {1,0.992157,0.309804},
1029  {1,0.996078,0.341176},
1030  {1,1,0.372549},
1031  {1,1,0.4},
1032  {1,1,0.431373},
1033  {1,1,0.458824},
1034  {1,1,0.490196},
1035  {1,1,0.517647},
1036  {1,1,0.54902},
1037  {1,1,0.576471},
1038  {1,1,0.607843},
1039  {1,1,0.639216},
1040  {1,1,0.666667},
1041  {1,1,0.698039},
1042  {1,1,0.72549},
1043  {1,1,0.756863},
1044  {1,1,0.788235},
1045  {1,1,0.815686},
1046  {1,1,0.847059},
1047  {1,1,0.87451},
1048  {1,1,0.890196},
1049  {1,1,0.905882},
1050  {1,1,0.921569},
1051  {1,1,0.937255},
1052  {1,1,0.952941},
1053  {1,1,0.968627},
1054  {1,1,0.984314},
1055  {1,1,0.996078}
1056  };
1057 
1058 //AAL colour map
1059 const colourMapType AAL_ARRAY[][3] = {
1060  { 1 , 1 , 1 },
1061  { 1 , 0 , 0 },
1062  { 0 , 1 , 0 },
1063  { 0 , 0 , 1 },
1064  { 0.796078 , 0.584314 , 0.584314 },
1065  { 0.239216 , 0.239216 , 0.796078 },
1066  { 0.239216 , 0.239216 , 0.796078 },
1067  { 0 , 0.796078 , 0 },
1068  { 0 , 0.796078 , 0 },
1069  { 0.635294 , 0 , 0.211765 },
1070  { 0.635294 , 0 , 0.211765 },
1071  { 0.635294 , 0.211765 , 0.0509804 },
1072  { 0.635294 , 0.211765 , 0.0509804 },
1073  { 0 , 0.368627 , 0.360784 },
1074  { 0 , 0.368627 , 0.360784 },
1075  { 0.796078 , 0.796078 , 0.0117647 },
1076  { 0.796078 , 0.796078 , 0.0117647 },
1077  { 0.635294 , 0 , 0.219608 },
1078  { 0.635294 , 0 , 0.219608 },
1079  { 0.635294 , 0.317647 , 0.796078 },
1080  { 0.635294 , 0.317647 , 0.796078 },
1081  { 0 , 0 , 0 },
1082  { 0 , 0 , 0 },
1083  { 0 , 0 , 0 },
1084  { 0 , 0 , 0 },
1085  { 0 , 0 , 0 },
1086  { 0 , 0 , 0 },
1087  { 0 , 0 , 0 },
1088  { 0 , 0 , 0 },
1089  { 0 , 0 , 0 },
1090  { 0 , 0 , 0 },
1091  { 0.796078 , 0.796078 , 0.423529 },
1092  { 0.796078 , 0.796078 , 0.423529 },
1093  { 0.776471 , 0.776471 , 0.00784314 },
1094  { 0.776471 , 0.776471 , 0.00784314 },
1095  { 0.721569 , 0.580392 , 0.152941 },
1096  { 0.721569 , 0.580392 , 0.152941 },
1097  { 0.796078 , 0.796078 , 0 },
1098  { 0.796078 , 0.796078 , 0 },
1099  { 0.0509804 , 0.690196 , 0.262745 },
1100  { 0.0509804 , 0.690196 , 0.262745 },
1101  { 0.796078 , 0.556863 , 0.796078 },
1102  { 0.796078 , 0.556863 , 0.796078 },
1103  { 0 , 0.596078 , 0.25098 },
1104  { 0 , 0.596078 , 0.25098 },
1105  { 0.211765 , 0.211765 , 0.796078 },
1106  { 0.211765 , 0.211765 , 0.796078 },
1107  { 0.584314 , 0.796078 , 0.796078 },
1108  { 0.584314 , 0.796078 , 0.796078 },
1109  { 0.54902 , 0.141176 , 0.164706 },
1110  { 0.54902 , 0.141176 , 0.164706 },
1111  { 0.596078 , 0.270588 , 0.184314 },
1112  { 0.596078 , 0.270588 , 0.184314 },
1113  { 0.368627 , 0.270588 , 0.211765 },
1114  { 0.368627 , 0.270588 , 0.211765 },
1115  { 0.14902 , 0 , 0.32549 },
1116  { 0.14902 , 0 , 0.32549 },
1117  { 0.317647 , 0 , 0.690196 },
1118  { 0.317647 , 0 , 0.690196 },
1119  { 0.298039 , 0.184314 , 0.498039 },
1120  { 0.298039 , 0.184314 , 0.498039 },
1121  { 0 , 0.529412 , 0.796078 },
1122  { 0 , 0.529412 , 0.796078 },
1123  { 0 , 0 , 0 },
1124  { 0 , 0 , 0 },
1125  { 0.368627 , 0.0666667 , 0.298039 },
1126  { 0.368627 , 0.0666667 , 0.298039 },
1127  { 0.368627 , 0.0509804 , 0.0509804 },
1128  { 0.368627 , 0.0509804 , 0.0509804 },
1129  { 0.368627 , 0 , 0.101961 },
1130  { 0.368627 , 0 , 0.101961 },
1131  { 0.478431 , 0.796078 , 0.262745 },
1132  { 0.478431 , 0.796078 , 0.262745 },
1133  { 0.282353 , 0.282353 , 0.784314 },
1134  { 0.282353 , 0.282353 , 0.784314 },
1135  { 0.796078 , 0.4 , 0 },
1136  { 0.796078 , 0.4 , 0 },
1137  { 0 , 0.796078 , 0.796078 },
1138  { 0 , 0.796078 , 0.796078 },
1139  { 0.501961 , 0.4 , 0 },
1140  { 0.501961 , 0.4 , 0 },
1141  { 0.796078 , 0.207843 , 0 },
1142  { 0.796078 , 0.207843 , 0 },
1143  { 0.74902 , 0.0901961 , 0.0901961 },
1144  { 0.74902 , 0.0901961 , 0.0901961 },
1145  { 0 , 0.784314 , 0.796078 },
1146  { 0 , 0.784314 , 0.796078 },
1147  { 0.423529 , 0 , 0.635294 },
1148  { 0.423529 , 0 , 0.635294 },
1149  { 0 , 0.784314 , 0 },
1150  { 0 , 0.784314 , 0 },
1151  { 0.52549 , 0.207843 , 0 },
1152  { 0.52549 , 0.207843 , 0 },
1153  { 0.4 , 0.4 , 0.4 },
1154  { 0.4 , 0.4 , 0.4 },
1155  { 0.0313726 , 0.0313726 , 0.0313726 },
1156  { 0.0313726 , 0.0313726 , 0.0313726 },
1157  { 0.796078 , 0.584314 , 0.584314 },
1158  { 0.796078 , 0.584314 , 0.584314 },
1159  { 0.239216 , 0.239216 , 0.796078 },
1160  { 0.239216 , 0.239216 , 0.796078 },
1161  { 0 , 0.796078 , 0 },
1162  { 0 , 0.796078 , 0 },
1163  { 0.635294 , 0 , 0.211765 },
1164  { 0.635294 , 0 , 0.211765 },
1165  { 0.635294 , 0.211765 , 0.0509804 },
1166  { 0.635294 , 0.211765 , 0.0509804 },
1167  { 0 , 0.368627 , 0.360784 },
1168  { 0 , 0.368627 , 0.360784 },
1169  { 0.796078 , 0.796078 , 0.0117647 },
1170  { 0.796078 , 0.796078 , 0.0117647 },
1171  { 0.635294 , 0 , 0.219608 },
1172  { 0.635294 , 0.317647 , 0.796078 },
1173  { 0 , 0 , 0 },
1174  { 0 , 0 , 0 },
1175  { 0 , 0 , 0 },
1176  { 0 , 0 , 0 },
1177  { 0 , 0 , 0 },
1178  { 0.8 , 0.8 , 0.8 },
1179  { 0.8 , 0.8 , 0.8 },
1180  { 0.8 , 0.8 , 0.8 },
1181  { 0.8 , 0.8 , 0.8 },
1182  { 0.8 , 0.8 , 0.8 },
1183  { 0.8 , 0.8 , 0.8 },
1184  { 0.8 , 0.8 , 0.8 },
1185  { 0.8 , 0.8 , 0.8 },
1186  { 0.8 , 0.8 , 0.8 },
1187  { 0.8 , 0.8 , 0.8 },
1188  { 1 , 1 , 1 },
1189  { 1 , 1 , 1 },
1190  { 1 , 1 , 1 },
1191  { 1 , 1 , 1 },
1192  { 1 , 1 , 1 },
1193  { 1 , 1 , 1 },
1194  { 1 , 1 , 1 },
1195  { 1 , 1 , 1 },
1196  { 1 , 1 , 1 },
1197  { 1 , 1 , 1 },
1198  { 0 , 0 , 0 },
1199  { 0 , 0 , 0 },
1200  { 0 , 0 , 0 },
1201  { 0 , 0 , 0 },
1202  { 0 , 0 , 0 },
1203  { 0.796078 , 0.396078 , 0.996078 },
1204  { 0.792157 , 0 , 0.27451 },
1205  { 0.996078 , 0.996078 , 0.0156863 },
1206  { 0.996078 , 0.996078 , 0.0156863 },
1207  { 0 , 0.458824 , 0.45098 },
1208  { 0 , 0.458824 , 0.45098 },
1209  { 0.796078 , 0.262745 , 0.0627451 },
1210  { 0.796078 , 0.262745 , 0.0627451 },
1211  { 0.796078 , 0 , 0.262745 },
1212  { 0.796078 , 0 , 0.262745 },
1213  { 0 , 0.996078 , 0 },
1214  { 0 , 0.996078 , 0 },
1215  { 0.298039 , 0.298039 , 0.996078 },
1216  { 0.298039 , 0.298039 , 0.996078 },
1217  { 0.996078 , 0.729412 , 0.729412 },
1218  { 0.996078 , 0.729412 , 0.729412 },
1219  { 0.0392157 , 0.0392157 , 0.0392157 },
1220  { 0.0392157 , 0.0392157 , 0.0392157 },
1221  { 0.501961 , 0.501961 , 0.501961 },
1222  { 0.501961 , 0.501961 , 0.501961 },
1223  { 0.658824 , 0.258824 , 0 },
1224  { 0.658824 , 0.258824 , 0 },
1225  { 0 , 0.980392 , 0 },
1226  { 0 , 0.980392 , 0 },
1227  { 0.529412 , 0 , 0.796078 },
1228  { 0.529412 , 0 , 0.796078 },
1229  { 0 , 0.980392 , 0.996078 },
1230  { 0 , 0.980392 , 0.996078 },
1231  { 0.937255 , 0.113725 , 0.113725 },
1232  { 0.937255 , 0.113725 , 0.113725 },
1233  { 0.996078 , 0.258824 , 0 },
1234  { 0.996078 , 0.258824 , 0 },
1235  { 0.627451 , 0.498039 , 0 },
1236  { 0.627451 , 0.498039 , 0 },
1237  { 0 , 0.996078 , 0.996078 },
1238  { 0 , 0.996078 , 0.996078 },
1239  { 0.996078 , 0.498039 , 0 },
1240  { 0.996078 , 0.498039 , 0 },
1241  { 0.352941 , 0.352941 , 0.980392 },
1242  { 0.352941 , 0.352941 , 0.980392 },
1243  { 0.596078 , 0.996078 , 0.329412 },
1244  { 0.596078 , 0.996078 , 0.329412 },
1245  { 0.462745 , 0 , 0.129412 },
1246  { 0.462745 , 0 , 0.129412 },
1247  { 0.462745 , 0.0627451 , 0.0627451 },
1248  { 0.462745 , 0.0627451 , 0.0627451 },
1249  { 0.462745 , 0.0823529 , 0.372549 },
1250  { 0.462745 , 0.0823529 , 0.372549 },
1251  { 0 , 0 , 0 },
1252  { 0 , 0 , 0 },
1253  { 0 , 0.662745 , 0.996078 },
1254  { 0 , 0.662745 , 0.996078 },
1255  { 0.372549 , 0.231373 , 0.623529 },
1256  { 0.372549 , 0.231373 , 0.623529 },
1257  { 0.396078 , 0 , 0.862745 },
1258  { 0.396078 , 0 , 0.862745 },
1259  { 0.184314 , 0 , 0.407843 },
1260  { 0.184314 , 0 , 0.407843 },
1261  { 0.462745 , 0.337255 , 0.266667 },
1262  { 0.462745 , 0.337255 , 0.266667 },
1263  { 0.745098 , 0.337255 , 0.231373 },
1264  { 0.745098 , 0.337255 , 0.231373 },
1265  { 0.686275 , 0.176471 , 0.207843 },
1266  { 0.686275 , 0.176471 , 0.207843 },
1267  { 0.729412 , 0.996078 , 0.996078 },
1268  { 0.729412 , 0.996078 , 0.996078 },
1269  { 0.262745 , 0.262745 , 0.996078 },
1270  { 0.262745 , 0.262745 , 0.996078 },
1271  { 0 , 0.745098 , 0.313726 },
1272  { 0 , 0.745098 , 0.313726 },
1273  { 0.996078 , 0.694118 , 0.996078 },
1274  { 0.996078 , 0.694118 , 0.996078 },
1275  { 0.0627451 , 0.862745 , 0.329412 },
1276  { 0.0627451 , 0.862745 , 0.329412 },
1277  { 0.996078 , 0.996078 , 0 },
1278  { 0.996078 , 0.996078 , 0 },
1279  { 0.901961 , 0.72549 , 0.192157 },
1280  { 0.901961 , 0.72549 , 0.192157 },
1281  { 0.972549 , 0.972549 , 0.00784314 },
1282  { 0.972549 , 0.972549 , 0.00784314 },
1283  { 0.996078 , 0.996078 , 0.529412 },
1284  { 0.996078 , 0.996078 , 0.529412 },
1285  { 0 , 0 , 0 },
1286  { 0 , 0 , 0 },
1287  { 0 , 0 , 0 },
1288  { 0 , 0 , 0 },
1289  { 0 , 0 , 0 },
1290  { 0 , 0 , 0 },
1291  { 0 , 0 , 0 },
1292  { 0 , 0 , 0 },
1293  { 0 , 0 , 0 },
1294  { 0 , 0 , 0 },
1295  { 0.796078 , 0.396078 , 0.996078 },
1296  { 0.796078 , 0.396078 , 0.996078 },
1297  { 0.792157 , 0 , 0.27451 },
1298  { 0.792157 , 0 , 0.27451 },
1299  { 0.996078 , 0.996078 , 0.0156863 },
1300  { 0.996078 , 0.996078 , 0.0156863 },
1301  { 0 , 0.458824 , 0.45098 },
1302  { 0 , 0.458824 , 0.45098 },
1303  { 0.796078 , 0.262745 , 0.0627451 },
1304  { 0.796078 , 0.262745 , 0.0627451 },
1305  { 0.796078 , 0 , 0.262745 },
1306  { 0.796078 , 0 , 0.262745 },
1307  { 0 , 0.996078 , 0 },
1308  { 0 , 0.996078 , 0 },
1309  { 0.298039 , 0.298039 , 0.996078 },
1310  { 0.298039 , 0.298039 , 0.996078 },
1311  { 0.996078 , 0.729412 , 0.729412 },
1312  { 0.996078 , 0.729412 , 0.729412 },
1313  { 0.85098 , 0.85098 , 0.85098 },
1314  { 0.85098 , 0.85098 , 0.85098 },
1315  { 1 , 1 , 1 }
1316  };
1317 
1318 //FS colour map
1319 const colourMapType FS_ARRAY[][3] = {
1320  {0,1,1},
1321  {0,0.99,1},
1322  {0,0.97,1},
1323  {0,0.96,1},
1324  {0,0.95,1},
1325  {0,0.93,1},
1326  {0,0.92,1},
1327  {0,0.91,1},
1328  {0,0.9,1},
1329  {0,0.88,1},
1330  {0,0.87,1},
1331  {0,0.86,1},
1332  {0,0.84,1},
1333  {0,0.83,1},
1334  {0,0.82,1},
1335  {0,0.8,1},
1336  {0,0.79,1},
1337  {0,0.78,1},
1338  {0,0.77,1},
1339  {0,0.75,1},
1340  {0,0.74,1},
1341  {0,0.73,1},
1342  {0,0.71,1},
1343  {0,0.7,1},
1344  {0,0.69,1},
1345  {0,0.67,1},
1346  {0,0.66,1},
1347  {0,0.65,1},
1348  {0,0.64,1},
1349  {0,0.62,1},
1350  {0,0.61,1},
1351  {0,0.6,1},
1352  {0,0.58,1},
1353  {0,0.57,1},
1354  {0,0.56,1},
1355  {0,0.54,1},
1356  {0,0.53,1},
1357  {0,0.52,1},
1358  {0,0.51,1},
1359  {0,0.49,1},
1360  {0,0.48,1},
1361  {0,0.47,1},
1362  {0,0.45,1},
1363  {0,0.44,1},
1364  {0,0.43,1},
1365  {0,0.41,1},
1366  {0,0.4,1},
1367  {0,0.39,1},
1368  {0,0.37,1},
1369  {0,0.36,1},
1370  {0,0.35,1},
1371  {0,0.34,1},
1372  {0,0.32,1},
1373  {0,0.31,1},
1374  {0,0.3,1},
1375  {0,0.28,1},
1376  {0,0.27,1},
1377  {0,0.26,1},
1378  {0,0.24,1},
1379  {0,0.23,1},
1380  {0,0.22,1},
1381  {0,0.21,1},
1382  {0,0.19,1},
1383  {0,0.18,1},
1384  {0,0.17,1},
1385  {0,0.15,1},
1386  {0,0.14,1},
1387  {0,0.13,1},
1388  {0,0.11,1},
1389  {0,0.1,1},
1390  {0,0.09,1},
1391  {0,0.08,1},
1392  {0,0.06,1},
1393  {0,0.05,1},
1394  {0,0.04,1},
1395  {0,0.02,1},
1396  {0.5,0.5,0.5},
1397  {0.5,0.5,0.5},
1398  {0.5,0.5,0.5},
1399  {0.5,0.5,0.5},
1400  {0.5,0.5,0.5},
1401  {0.5,0.5,0.5},
1402  {0.5,0.5,0.5},
1403  {0.5,0.5,0.5},
1404  {0.5,0.5,0.5},
1405  {0.5,0.5,0.5},
1406  {0.5,0.5,0.5},
1407  {0.5,0.5,0.5},
1408  {0.5,0.5,0.5},
1409  {0.5,0.5,0.5},
1410  {0.5,0.5,0.5},
1411  {0.5,0.5,0.5},
1412  {0.5,0.5,0.5},
1413  {0.5,0.5,0.5},
1414  {0.5,0.5,0.5},
1415  {0.5,0.5,0.5},
1416  {0.5,0.5,0.5},
1417  {0.5,0.5,0.5},
1418  {0.5,0.5,0.5},
1419  {0.5,0.5,0.5},
1420  {0.5,0.5,0.5},
1421  {0.5,0.5,0.5},
1422  {0.5,0.5,0.5},
1423  {0.5,0.5,0.5},
1424  {0.5,0.5,0.5},
1425  {0.5,0.5,0.5},
1426  {0.5,0.5,0.5},
1427  {0.5,0.5,0.5},
1428  {0.5,0.5,0.5},
1429  {0.5,0.5,0.5},
1430  {0.5,0.5,0.5},
1431  {0.5,0.5,0.5},
1432  {0.5,0.5,0.5},
1433  {0.5,0.5,0.5},
1434  {0.5,0.5,0.5},
1435  {0.5,0.5,0.5},
1436  {0.5,0.5,0.5},
1437  {0.5,0.5,0.5},
1438  {0.5,0.5,0.5},
1439  {0.5,0.5,0.5},
1440  {0.5,0.5,0.5},
1441  {0.5,0.5,0.5},
1442  {0.5,0.5,0.5},
1443  {0.5,0.5,0.5},
1444  {0.5,0.5,0.5},
1445  {0.5,0.5,0.5},
1446  {0.5,0.5,0.5},
1447  {0.5,0.5,0.5},
1448  {0.5,0.5,0.5},
1449  {0.5,0.5,0.5},
1450  {0.5,0.5,0.5},
1451  {0.5,0.5,0.5},
1452  {0.5,0.5,0.5},
1453  {0.5,0.5,0.5},
1454  {0.5,0.5,0.5},
1455  {0.5,0.5,0.5},
1456  {0.5,0.5,0.5},
1457  {0.5,0.5,0.5},
1458  {0.5,0.5,0.5},
1459  {0.5,0.5,0.5},
1460  {0.5,0.5,0.5},
1461  {0.5,0.5,0.5},
1462  {0.5,0.5,0.5},
1463  {0.5,0.5,0.5},
1464  {0.5,0.5,0.5},
1465  {0.5,0.5,0.5},
1466  {0.5,0.5,0.5},
1467  {0.5,0.5,0.5},
1468  {0.5,0.5,0.5},
1469  {0.5,0.5,0.5},
1470  {0.5,0.5,0.5},
1471  {0.5,0.5,0.5},
1472  {0.5,0.5,0.5},
1473  {0.5,0.5,0.5},
1474  {0.5,0.5,0.5},
1475  {0.5,0.5,0.5},
1476  {0.5,0.5,0.5},
1477  {0.5,0.5,0.5},
1478  {0.5,0.5,0.5},
1479  {0.5,0.5,0.5},
1480  {0.5,0.5,0.5},
1481  {0.5,0.5,0.5},
1482  {0.5,0.5,0.5},
1483  {0.5,0.5,0.5},
1484  {0.5,0.5,0.5},
1485  {0.5,0.5,0.5},
1486  {0.5,0.5,0.5},
1487  {0.5,0.5,0.5},
1488  {0.5,0.5,0.5},
1489  {0.5,0.5,0.5},
1490  {0.5,0.5,0.5},
1491  {0.5,0.5,0.5},
1492  {0.5,0.5,0.5},
1493  {0.5,0.5,0.5},
1494  {0.5,0.5,0.5},
1495  {0.5,0.5,0.5},
1496  {0.5,0.5,0.5},
1497  {0.5,0.5,0.5},
1498  {1,0,0},
1499  {1,0.01,0},
1500  {1,0.03,0},
1501  {1,0.04,0},
1502  {1,0.05,0},
1503  {1,0.06,0},
1504  {1,0.08,0},
1505  {1,0.09,0},
1506  {1,0.1,0},
1507  {1,0.12,0},
1508  {1,0.13,0},
1509  {1,0.14,0},
1510  {1,0.16,0},
1511  {1,0.17,0},
1512  {1,0.18,0},
1513  {1,0.19,0},
1514  {1,0.21,0},
1515  {1,0.22,0},
1516  {1,0.23,0},
1517  {1,0.25,0},
1518  {1,0.26,0},
1519  {1,0.27,0},
1520  {1,0.29,0},
1521  {1,0.3,0},
1522  {1,0.31,0},
1523  {1,0.32,0},
1524  {1,0.34,0},
1525  {1,0.35,0},
1526  {1,0.36,0},
1527  {1,0.38,0},
1528  {1,0.39,0},
1529  {1,0.4,0},
1530  {1,0.42,0},
1531  {1,0.43,0},
1532  {1,0.44,0},
1533  {1,0.45,0},
1534  {1,0.47,0},
1535  {1,0.48,0},
1536  {1,0.49,0},
1537  {1,0.51,0},
1538  {1,0.52,0},
1539  {1,0.53,0},
1540  {1,0.55,0},
1541  {1,0.56,0},
1542  {1,0.57,0},
1543  {1,0.58,0},
1544  {1,0.6,0},
1545  {1,0.61,0},
1546  {1,0.62,0},
1547  {1,0.64,0},
1548  {1,0.65,0},
1549  {1,0.66,0},
1550  {1,0.68,0},
1551  {1,0.69,0},
1552  {1,0.7,0},
1553  {1,0.71,0},
1554  {1,0.73,0},
1555  {1,0.74,0},
1556  {1,0.75,0},
1557  {1,0.77,0},
1558  {1,0.78,0},
1559  {1,0.79,0},
1560  {1,0.81,0},
1561  {1,0.82,0},
1562  {1,0.83,0},
1563  {1,0.84,0},
1564  {1,0.86,0},
1565  {1,0.87,0},
1566  {1,0.88,0},
1567  {1,0.9,0},
1568  {1,0.91,0},
1569  {1,0.92,0},
1570  {1,0.94,0},
1571  {1,0.95,0},
1572  {1,0.96,0},
1573  {1,0.97,0},
1574  {1,0.99,0},
1575  {1,1,0}
1576  };
1577 
1578 //HOT colour map
1579 const colourMapType HOT_ARRAY[][3] = {
1580  {0.0104,0,0},
1581  {0.0208,0,0},
1582  {0.0312,0,0},
1583  {0.0417,0,0},
1584  {0.0521,0,0},
1585  {0.0625,0,0},
1586  {0.0729,0,0},
1587  {0.0833,0,0},
1588  {0.0938,0,0},
1589  {0.1042,0,0},
1590  {0.1146,0,0},
1591  {0.1250,0,0},
1592  {0.1354,0,0},
1593  {0.1458,0,0},
1594  {0.1562,0,0},
1595  {0.1667,0,0},
1596  {0.1771,0,0},
1597  {0.1875,0,0},
1598  {0.1979,0,0},
1599  {0.2083,0,0},
1600  {0.2188,0,0},
1601  {0.2292,0,0},
1602  {0.2396,0,0},
1603  {0.2500,0,0},
1604  {0.2604,0,0},
1605  {0.2708,0,0},
1606  {0.2812,0,0},
1607  {0.2917,0,0},
1608  {0.3021,0,0},
1609  {0.3125,0,0},
1610  {0.3229,0,0},
1611  {0.3333,0,0},
1612  {0.3438,0,0},
1613  {0.3542,0,0},
1614  {0.3646,0,0},
1615  {0.3750,0,0},
1616  {0.3854,0,0},
1617  {0.3958,0,0},
1618  {0.4062,0,0},
1619  {0.4167,0,0},
1620  {0.4271,0,0},
1621  {0.4375,0,0},
1622  {0.4479,0,0},
1623  {0.4583,0,0},
1624  {0.4688,0,0},
1625  {0.4792,0,0},
1626  {0.4896,0,0},
1627  {0.5000,0,0},
1628  {0.5104,0,0},
1629  {0.5208,0,0},
1630  {0.5312,0,0},
1631  {0.5417,0,0},
1632  {0.5521,0,0},
1633  {0.5625,0,0},
1634  {0.5729,0,0},
1635  {0.5833,0,0},
1636  {0.5938,0,0},
1637  {0.6042,0,0},
1638  {0.6146,0,0},
1639  {0.6250,0,0},
1640  {0.6354,0,0},
1641  {0.6458,0,0},
1642  {0.6562,0,0},
1643  {0.6667,0,0},
1644  {0.6771,0,0},
1645  {0.6875,0,0},
1646  {0.6979,0,0},
1647  {0.7083,0,0},
1648  {0.7188,0,0},
1649  {0.7292,0,0},
1650  {0.7396,0,0},
1651  {0.7500,0,0},
1652  {0.7604,0,0},
1653  {0.7708,0,0},
1654  {0.7812,0,0},
1655  {0.7917,0,0},
1656  {0.8021,0,0},
1657  {0.8125,0,0},
1658  {0.8229,0,0},
1659  {0.8333,0,0},
1660  {0.8438,0,0},
1661  {0.8542,0,0},
1662  {0.8646,0,0},
1663  {0.8750,0,0},
1664  {0.8854,0,0},
1665  {0.8958,0,0},
1666  {0.9062,0,0},
1667  {0.9167,0,0},
1668  {0.9271,0,0},
1669  {0.9375,0,0},
1670  {0.9479,0,0},
1671  {0.9583,0,0},
1672  {0.9688,0,0},
1673  {0.9792,0,0},
1674  {0.9896,0,0},
1675  {1.0000,0,0},
1676  {1.0000,0.0104,0},
1677  {1.0000,0.0208,0},
1678  {1.0000,0.0312,0},
1679  {1.0000,0.0417,0},
1680  {1.0000,0.0521,0},
1681  {1.0000,0.0625,0},
1682  {1.0000,0.0729,0},
1683  {1.0000,0.0833,0},
1684  {1.0000,0.0938,0},
1685  {1.0000,0.1042,0},
1686  {1.0000,0.1146,0},
1687  {1.0000,0.1250,0},
1688  {1.0000,0.1354,0},
1689  {1.0000,0.1458,0},
1690  {1.0000,0.1562,0},
1691  {1.0000,0.1667,0},
1692  {1.0000,0.1771,0},
1693  {1.0000,0.1875,0},
1694  {1.0000,0.1979,0},
1695  {1.0000,0.2083,0},
1696  {1.0000,0.2188,0},
1697  {1.0000,0.2292,0},
1698  {1.0000,0.2396,0},
1699  {1.0000,0.2500,0},
1700  {1.0000,0.2604,0},
1701  {1.0000,0.2708,0},
1702  {1.0000,0.2812,0},
1703  {1.0000,0.2917,0},
1704  {1.0000,0.3021,0},
1705  {1.0000,0.3125,0},
1706  {1.0000,0.3229,0},
1707  {1.0000,0.3333,0},
1708  {1.0000,0.3438,0},
1709  {1.0000,0.3542,0},
1710  {1.0000,0.3646,0},
1711  {1.0000,0.3750,0},
1712  {1.0000,0.3854,0},
1713  {1.0000,0.3958,0},
1714  {1.0000,0.4062,0},
1715  {1.0000,0.4167,0},
1716  {1.0000,0.4271,0},
1717  {1.0000,0.4375,0},
1718  {1.0000,0.4479,0},
1719  {1.0000,0.4583,0},
1720  {1.0000,0.4688,0},
1721  {1.0000,0.4792,0},
1722  {1.0000,0.4896,0},
1723  {1.0000,0.5000,0},
1724  {1.0000,0.5104,0},
1725  {1.0000,0.5208,0},
1726  {1.0000,0.5312,0},
1727  {1.0000,0.5417,0},
1728  {1.0000,0.5521,0},
1729  {1.0000,0.5625,0},
1730  {1.0000,0.5729,0},
1731  {1.0000,0.5833,0},
1732  {1.0000,0.5938,0},
1733  {1.0000,0.6042,0},
1734  {1.0000,0.6146,0},
1735  {1.0000,0.6250,0},
1736  {1.0000,0.6354,0},
1737  {1.0000,0.6458,0},
1738  {1.0000,0.6562,0},
1739  {1.0000,0.6667,0},
1740  {1.0000,0.6771,0},
1741  {1.0000,0.6875,0},
1742  {1.0000,0.6979,0},
1743  {1.0000,0.7083,0},
1744  {1.0000,0.7188,0},
1745  {1.0000,0.7292,0},
1746  {1.0000,0.7396,0},
1747  {1.0000,0.7500,0},
1748  {1.0000,0.7604,0},
1749  {1.0000,0.7708,0},
1750  {1.0000,0.7812,0},
1751  {1.0000,0.7917,0},
1752  {1.0000,0.8021,0},
1753  {1.0000,0.8125,0},
1754  {1.0000,0.8229,0},
1755  {1.0000,0.8333,0},
1756  {1.0000,0.8438,0},
1757  {1.0000,0.8542,0},
1758  {1.0000,0.8646,0},
1759  {1.0000,0.8750,0},
1760  {1.0000,0.8854,0},
1761  {1.0000,0.8958,0},
1762  {1.0000,0.9062,0},
1763  {1.0000,0.9167,0},
1764  {1.0000,0.9271,0},
1765  {1.0000,0.9375,0},
1766  {1.0000,0.9479,0},
1767  {1.0000,0.9583,0},
1768  {1.0000,0.9688,0},
1769  {1.0000,0.9792,0},
1770  {1.0000,0.9896,0},
1771  {1.0000,1.0000,0},
1772  {1.0000,1.0000,0.0156},
1773  {1.0000,1.0000,0.0312},
1774  {1.0000,1.0000,0.0469},
1775  {1.0000,1.0000,0.0625},
1776  {1.0000,1.0000,0.0781},
1777  {1.0000,1.0000,0.0938},
1778  {1.0000,1.0000,0.1094},
1779  {1.0000,1.0000,0.1250},
1780  {1.0000,1.0000,0.1406},
1781  {1.0000,1.0000,0.1562},
1782  {1.0000,1.0000,0.1719},
1783  {1.0000,1.0000,0.1875},
1784  {1.0000,1.0000,0.2031},
1785  {1.0000,1.0000,0.2188},
1786  {1.0000,1.0000,0.2344},
1787  {1.0000,1.0000,0.2500},
1788  {1.0000,1.0000,0.2656},
1789  {1.0000,1.0000,0.2812},
1790  {1.0000,1.0000,0.2969},
1791  {1.0000,1.0000,0.3125},
1792  {1.0000,1.0000,0.3281},
1793  {1.0000,1.0000,0.3438},
1794  {1.0000,1.0000,0.3594},
1795  {1.0000,1.0000,0.3750},
1796  {1.0000,1.0000,0.3906},
1797  {1.0000,1.0000,0.4062},
1798  {1.0000,1.0000,0.4219},
1799  {1.0000,1.0000,0.4375},
1800  {1.0000,1.0000,0.4531},
1801  {1.0000,1.0000,0.4688},
1802  {1.0000,1.0000,0.4844},
1803  {1.0000,1.0000,0.5000},
1804  {1.0000,1.0000,0.5156},
1805  {1.0000,1.0000,0.5312},
1806  {1.0000,1.0000,0.5469},
1807  {1.0000,1.0000,0.5625},
1808  {1.0000,1.0000,0.5781},
1809  {1.0000,1.0000,0.5938},
1810  {1.0000,1.0000,0.6094},
1811  {1.0000,1.0000,0.6250},
1812  {1.0000,1.0000,0.6406},
1813  {1.0000,1.0000,0.6562},
1814  {1.0000,1.0000,0.6719},
1815  {1.0000,1.0000,0.6875},
1816  {1.0000,1.0000,0.7031},
1817  {1.0000,1.0000,0.7188},
1818  {1.0000,1.0000,0.7344},
1819  {1.0000,1.0000,0.7500},
1820  {1.0000,1.0000,0.7656},
1821  {1.0000,1.0000,0.7812},
1822  {1.0000,1.0000,0.7969},
1823  {1.0000,1.0000,0.8125},
1824  {1.0000,1.0000,0.8281},
1825  {1.0000,1.0000,0.8438},
1826  {1.0000,1.0000,0.8594},
1827  {1.0000,1.0000,0.8750},
1828  {1.0000,1.0000,0.8906},
1829  {1.0000,1.0000,0.9062},
1830  {1.0000,1.0000,0.9219},
1831  {1.0000,1.0000,0.9375},
1832  {1.0000,1.0000,0.9531},
1833  {1.0000,1.0000,0.9688},
1834  {1.0000,1.0000,0.9844},
1835  {1.0000,1.0000,1.0000}
1836  };
1837 
1838 const colourMapType COOL_ARRAY[][3] = {
1839  {0.0, 1.0, 1.0},
1840  {0.00392156862745, 0.996078431373, 1.0},
1841  {0.0078431372549, 0.992156862745, 1.0},
1842  {0.0117647058824, 0.988235294118, 1.0},
1843  {0.0156862745098, 0.98431372549, 1.0},
1844  {0.0196078431373, 0.980392156863, 1.0},
1845  {0.0235294117647, 0.976470588235, 1.0},
1846  {0.0274509803922, 0.972549019608, 1.0},
1847  {0.0313725490196, 0.96862745098, 1.0},
1848  {0.0352941176471, 0.964705882353, 1.0},
1849  {0.0392156862745, 0.960784313725, 1.0},
1850  {0.043137254902, 0.956862745098, 1.0},
1851  {0.0470588235294, 0.952941176471, 1.0},
1852  {0.0509803921569, 0.949019607843, 1.0},
1853  {0.0549019607843, 0.945098039216, 1.0},
1854  {0.0588235294118, 0.941176470588, 1.0},
1855  {0.0627450980392, 0.937254901961, 1.0},
1856  {0.0666666666667, 0.933333333333, 1.0},
1857  {0.0705882352941, 0.929411764706, 1.0},
1858  {0.0745098039216, 0.925490196078, 1.0},
1859  {0.078431372549, 0.921568627451, 1.0},
1860  {0.0823529411765, 0.917647058824, 1.0},
1861  {0.0862745098039, 0.913725490196, 1.0},
1862  {0.0901960784314, 0.909803921569, 1.0},
1863  {0.0941176470588, 0.905882352941, 1.0},
1864  {0.0980392156863, 0.901960784314, 1.0},
1865  {0.101960784314, 0.898039215686, 1.0},
1866  {0.105882352941, 0.894117647059, 1.0},
1867  {0.109803921569, 0.890196078431, 1.0},
1868  {0.113725490196, 0.886274509804, 1.0},
1869  {0.117647058824, 0.882352941176, 1.0},
1870  {0.121568627451, 0.878431372549, 1.0},
1871  {0.125490196078, 0.874509803922, 1.0},
1872  {0.129411764706, 0.870588235294, 1.0},
1873  {0.133333333333, 0.866666666667, 1.0},
1874  {0.137254901961, 0.862745098039, 1.0},
1875  {0.141176470588, 0.858823529412, 1.0},
1876  {0.145098039216, 0.854901960784, 1.0},
1877  {0.149019607843, 0.850980392157, 1.0},
1878  {0.152941176471, 0.847058823529, 1.0},
1879  {0.156862745098, 0.843137254902, 1.0},
1880  {0.160784313725, 0.839215686275, 1.0},
1881  {0.164705882353, 0.835294117647, 1.0},
1882  {0.16862745098, 0.83137254902, 1.0},
1883  {0.172549019608, 0.827450980392, 1.0},
1884  {0.176470588235, 0.823529411765, 1.0},
1885  {0.180392156863, 0.819607843137, 1.0},
1886  {0.18431372549, 0.81568627451, 1.0},
1887  {0.188235294118, 0.811764705882, 1.0},
1888  {0.192156862745, 0.807843137255, 1.0},
1889  {0.196078431373, 0.803921568627, 1.0},
1890  {0.2, 0.8, 1.0},
1891  {0.203921568627, 0.796078431373, 1.0},
1892  {0.207843137255, 0.792156862745, 1.0},
1893  {0.211764705882, 0.788235294118, 1.0},
1894  {0.21568627451, 0.78431372549, 1.0},
1895  {0.219607843137, 0.780392156863, 1.0},
1896  {0.223529411765, 0.776470588235, 1.0},
1897  {0.227450980392, 0.772549019608, 1.0},
1898  {0.23137254902, 0.76862745098, 1.0},
1899  {0.235294117647, 0.764705882353, 1.0},
1900  {0.239215686275, 0.760784313725, 1.0},
1901  {0.243137254902, 0.756862745098, 1.0},
1902  {0.247058823529, 0.752941176471, 1.0},
1903  {0.250980392157, 0.749019607843, 1.0},
1904  {0.254901960784, 0.745098039216, 1.0},
1905  {0.258823529412, 0.741176470588, 1.0},
1906  {0.262745098039, 0.737254901961, 1.0},
1907  {0.266666666667, 0.733333333333, 1.0},
1908  {0.270588235294, 0.729411764706, 1.0},
1909  {0.274509803922, 0.725490196078, 1.0},
1910  {0.278431372549, 0.721568627451, 1.0},
1911  {0.282352941176, 0.717647058824, 1.0},
1912  {0.286274509804, 0.713725490196, 1.0},
1913  {0.290196078431, 0.709803921569, 1.0},
1914  {0.294117647059, 0.705882352941, 1.0},
1915  {0.298039215686, 0.701960784314, 1.0},
1916  {0.301960784314, 0.698039215686, 1.0},
1917  {0.305882352941, 0.694117647059, 1.0},
1918  {0.309803921569, 0.690196078431, 1.0},
1919  {0.313725490196, 0.686274509804, 1.0},
1920  {0.317647058824, 0.682352941176, 1.0},
1921  {0.321568627451, 0.678431372549, 1.0},
1922  {0.325490196078, 0.674509803922, 1.0},
1923  {0.329411764706, 0.670588235294, 1.0},
1924  {0.333333333333, 0.666666666667, 1.0},
1925  {0.337254901961, 0.662745098039, 1.0},
1926  {0.341176470588, 0.658823529412, 1.0},
1927  {0.345098039216, 0.654901960784, 1.0},
1928  {0.349019607843, 0.650980392157, 1.0},
1929  {0.352941176471, 0.647058823529, 1.0},
1930  {0.356862745098, 0.643137254902, 1.0},
1931  {0.360784313725, 0.639215686275, 1.0},
1932  {0.364705882353, 0.635294117647, 1.0},
1933  {0.36862745098, 0.63137254902, 1.0},
1934  {0.372549019608, 0.627450980392, 1.0},
1935  {0.376470588235, 0.623529411765, 1.0},
1936  {0.380392156863, 0.619607843137, 1.0},
1937  {0.38431372549, 0.61568627451, 1.0},
1938  {0.388235294118, 0.611764705882, 1.0},
1939  {0.392156862745, 0.607843137255, 1.0},
1940  {0.396078431373, 0.603921568627, 1.0},
1941  {0.4, 0.6, 1.0},
1942  {0.403921568627, 0.596078431373, 1.0},
1943  {0.407843137255, 0.592156862745, 1.0},
1944  {0.411764705882, 0.588235294118, 1.0},
1945  {0.41568627451, 0.58431372549, 1.0},
1946  {0.419607843137, 0.580392156863, 1.0},
1947  {0.423529411765, 0.576470588235, 1.0},
1948  {0.427450980392, 0.572549019608, 1.0},
1949  {0.43137254902, 0.56862745098, 1.0},
1950  {0.435294117647, 0.564705882353, 1.0},
1951  {0.439215686275, 0.560784313725, 1.0},
1952  {0.443137254902, 0.556862745098, 1.0},
1953  {0.447058823529, 0.552941176471, 1.0},
1954  {0.450980392157, 0.549019607843, 1.0},
1955  {0.454901960784, 0.545098039216, 1.0},
1956  {0.458823529412, 0.541176470588, 1.0},
1957  {0.462745098039, 0.537254901961, 1.0},
1958  {0.466666666667, 0.533333333333, 1.0},
1959  {0.470588235294, 0.529411764706, 1.0},
1960  {0.474509803922, 0.525490196078, 1.0},
1961  {0.478431372549, 0.521568627451, 1.0},
1962  {0.482352941176, 0.517647058824, 1.0},
1963  {0.486274509804, 0.513725490196, 1.0},
1964  {0.490196078431, 0.509803921569, 1.0},
1965  {0.494117647059, 0.505882352941, 1.0},
1966  {0.498039215686, 0.501960784314, 1.0},
1967  {0.501960784314, 0.498039215686, 1.0},
1968  {0.505882352941, 0.494117647059, 1.0},
1969  {0.509803921569, 0.490196078431, 1.0},
1970  {0.513725490196, 0.486274509804, 1.0},
1971  {0.517647058824, 0.482352941176, 1.0},
1972  {0.521568627451, 0.478431372549, 1.0},
1973  {0.525490196078, 0.474509803922, 1.0},
1974  {0.529411764706, 0.470588235294, 1.0},
1975  {0.533333333333, 0.466666666667, 1.0},
1976  {0.537254901961, 0.462745098039, 1.0},
1977  {0.541176470588, 0.458823529412, 1.0},
1978  {0.545098039216, 0.454901960784, 1.0},
1979  {0.549019607843, 0.450980392157, 1.0},
1980  {0.552941176471, 0.447058823529, 1.0},
1981  {0.556862745098, 0.443137254902, 1.0},
1982  {0.560784313725, 0.439215686275, 1.0},
1983  {0.564705882353, 0.435294117647, 1.0},
1984  {0.56862745098, 0.43137254902, 1.0},
1985  {0.572549019608, 0.427450980392, 1.0},
1986  {0.576470588235, 0.423529411765, 1.0},
1987  {0.580392156863, 0.419607843137, 1.0},
1988  {0.58431372549, 0.41568627451, 1.0},
1989  {0.588235294118, 0.411764705882, 1.0},
1990  {0.592156862745, 0.407843137255, 1.0},
1991  {0.596078431373, 0.403921568627, 1.0},
1992  {0.6, 0.4, 1.0},
1993  {0.603921568627, 0.396078431373, 1.0},
1994  {0.607843137255, 0.392156862745, 1.0},
1995  {0.611764705882, 0.388235294118, 1.0},
1996  {0.61568627451, 0.38431372549, 1.0},
1997  {0.619607843137, 0.380392156863, 1.0},
1998  {0.623529411765, 0.376470588235, 1.0},
1999  {0.627450980392, 0.372549019608, 1.0},
2000  {0.63137254902, 0.36862745098, 1.0},
2001  {0.635294117647, 0.364705882353, 1.0},
2002  {0.639215686275, 0.360784313725, 1.0},
2003  {0.643137254902, 0.356862745098, 1.0},
2004  {0.647058823529, 0.352941176471, 1.0},
2005  {0.650980392157, 0.349019607843, 1.0},
2006  {0.654901960784, 0.345098039216, 1.0},
2007  {0.658823529412, 0.341176470588, 1.0},
2008  {0.662745098039, 0.337254901961, 1.0},
2009  {0.666666666667, 0.333333333333, 1.0},
2010  {0.670588235294, 0.329411764706, 1.0},
2011  {0.674509803922, 0.325490196078, 1.0},
2012  {0.678431372549, 0.321568627451, 1.0},
2013  {0.682352941176, 0.317647058824, 1.0},
2014  {0.686274509804, 0.313725490196, 1.0},
2015  {0.690196078431, 0.309803921569, 1.0},
2016  {0.694117647059, 0.305882352941, 1.0},
2017  {0.698039215686, 0.301960784314, 1.0},
2018  {0.701960784314, 0.298039215686, 1.0},
2019  {0.705882352941, 0.294117647059, 1.0},
2020  {0.709803921569, 0.290196078431, 1.0},
2021  {0.713725490196, 0.286274509804, 1.0},
2022  {0.717647058824, 0.282352941176, 1.0},
2023  {0.721568627451, 0.278431372549, 1.0},
2024  {0.725490196078, 0.274509803922, 1.0},
2025  {0.729411764706, 0.270588235294, 1.0},
2026  {0.733333333333, 0.266666666667, 1.0},
2027  {0.737254901961, 0.262745098039, 1.0},
2028  {0.741176470588, 0.258823529412, 1.0},
2029  {0.745098039216, 0.254901960784, 1.0},
2030  {0.749019607843, 0.250980392157, 1.0},
2031  {0.752941176471, 0.247058823529, 1.0},
2032  {0.756862745098, 0.243137254902, 1.0},
2033  {0.760784313725, 0.239215686275, 1.0},
2034  {0.764705882353, 0.235294117647, 1.0},
2035  {0.76862745098, 0.23137254902, 1.0},
2036  {0.772549019608, 0.227450980392, 1.0},
2037  {0.776470588235, 0.223529411765, 1.0},
2038  {0.780392156863, 0.219607843137, 1.0},
2039  {0.78431372549, 0.21568627451, 1.0},
2040  {0.788235294118, 0.211764705882, 1.0},
2041  {0.792156862745, 0.207843137255, 1.0},
2042  {0.796078431373, 0.203921568627, 1.0},
2043  {0.8, 0.2, 1.0},
2044  {0.803921568627, 0.196078431373, 1.0},
2045  {0.807843137255, 0.192156862745, 1.0},
2046  {0.811764705882, 0.188235294118, 1.0},
2047  {0.81568627451, 0.18431372549, 1.0},
2048  {0.819607843137, 0.180392156863, 1.0},
2049  {0.823529411765, 0.176470588235, 1.0},
2050  {0.827450980392, 0.172549019608, 1.0},
2051  {0.83137254902, 0.16862745098, 1.0},
2052  {0.835294117647, 0.164705882353, 1.0},
2053  {0.839215686275, 0.160784313725, 1.0},
2054  {0.843137254902, 0.156862745098, 1.0},
2055  {0.847058823529, 0.152941176471, 1.0},
2056  {0.850980392157, 0.149019607843, 1.0},
2057  {0.854901960784, 0.145098039216, 1.0},
2058  {0.858823529412, 0.141176470588, 1.0},
2059  {0.862745098039, 0.137254901961, 1.0},
2060  {0.866666666667, 0.133333333333, 1.0},
2061  {0.870588235294, 0.129411764706, 1.0},
2062  {0.874509803922, 0.125490196078, 1.0},
2063  {0.878431372549, 0.121568627451, 1.0},
2064  {0.882352941176, 0.117647058824, 1.0},
2065  {0.886274509804, 0.113725490196, 1.0},
2066  {0.890196078431, 0.109803921569, 1.0},
2067  {0.894117647059, 0.105882352941, 1.0},
2068  {0.898039215686, 0.101960784314, 1.0},
2069  {0.901960784314, 0.0980392156863, 1.0},
2070  {0.905882352941, 0.0941176470588, 1.0},
2071  {0.909803921569, 0.0901960784314, 1.0},
2072  {0.913725490196, 0.0862745098039, 1.0},
2073  {0.917647058824, 0.0823529411765, 1.0},
2074  {0.921568627451, 0.078431372549, 1.0},
2075  {0.925490196078, 0.0745098039216, 1.0},
2076  {0.929411764706, 0.0705882352941, 1.0},
2077  {0.933333333333, 0.0666666666667, 1.0},
2078  {0.937254901961, 0.0627450980392, 1.0},
2079  {0.941176470588, 0.0588235294118, 1.0},
2080  {0.945098039216, 0.0549019607843, 1.0},
2081  {0.949019607843, 0.0509803921569, 1.0},
2082  {0.952941176471, 0.0470588235294, 1.0},
2083  {0.956862745098, 0.043137254902, 1.0},
2084  {0.960784313725, 0.0392156862745, 1.0},
2085  {0.964705882353, 0.0352941176471, 1.0},
2086  {0.96862745098, 0.0313725490196, 1.0},
2087  {0.972549019608, 0.0274509803922, 1.0},
2088  {0.976470588235, 0.0235294117647, 1.0},
2089  {0.980392156863, 0.0196078431373, 1.0},
2090  {0.98431372549, 0.0156862745098, 1.0},
2091  {0.988235294118, 0.0117647058824, 1.0},
2092  {0.992156862745, 0.0078431372549, 1.0},
2093  {0.996078431373, 0.00392156862745, 1.0},
2094  {1.0, 0.0, 1.0}
2095  };
2096 
2097 //Knee colour map
2098 const colourMapType KNEE_ARRAY[][3] = {
2099  {0,0,0},
2100  {0,0,0},
2101  {0,0,0},
2102  {0,0,0},
2103  {0,0,0},
2104  {0,0,0},
2105  {0,0,0},
2106  {0,0,0},
2107  {0,0,0},
2108  {0,0,0},
2109  {0,0,0},
2110  {0,0,0},
2111  {0,0,0},
2112  {0,0,0},
2113  {0,0,0},
2114  {0,0,0},
2115  {0,0,0},
2116  {0,0,0},
2117  {0,0,0},
2118  {0,0,0},
2119  {0,0,0},
2120  {0,0,0},
2121  {0,0,0},
2122  {0,0,0},
2123  {0,0,0},
2124  {0,0,0},
2125  {0,0,0},
2126  {0,0,0},
2127  {0,0,0},
2128  {0,0,0},
2129  {0,0,0},
2130  {0,0,0},
2131  {0,0,0},
2132  {0,0,0},
2133  {0,0,0},
2134  {0,0,0},
2135  {0,0,0},
2136  {0,0,0},
2137  {0,0,0},
2138  {0,0,0},
2139  {0,0,0},
2140  {0,0,0},
2141  {0,0,0},
2142  {0,0,0},
2143  {0,0,0},
2144  {0,0,0},
2145  {0,0,0},
2146  {0,0,0},
2147  {0,0,0},
2148  {0,0,0},
2149  {0,0,0},
2150  {0,0,0},
2151  {0,0,0},
2152  {0,0,0},
2153  {0,0,0},
2154  {0,0,0},
2155  {0,0,0},
2156  {0,0,0},
2157  {0,0,0},
2158  {0,0,0},
2159  {0,0,0},
2160  {0,0,0},
2161  {0,0,0},
2162  {0,0,0},
2163  {0,0,0},
2164  {0,0,0},
2165  {0,0,0},
2166  {0,0,0},
2167  {0,0,0},
2168  {0,0,0},
2169  {0,0,0},
2170  {0,0,0},
2171  {0,0,0},
2172  {0,0,0},
2173  {0,0,0},
2174  {0,0,0},
2175  {0,0,0},
2176  {0,0,0},
2177  {0,0,0},
2178  {0,0,0},
2179  {0,0,0},
2180  {0,0,0},
2181  {0,0,0},
2182  {0,0,0},
2183  {0,0,0},
2184  {0,0,0},
2185  {0,0,0},
2186  {0,0,0},
2187  {0,0,0},
2188  {0,0,0},
2189  {0,0,0},
2190  {0,0,0},
2191  {0,0,0},
2192  {0,0,0},
2193  {0,0,0},
2194  {0,0,0},
2195  {0,0,0},
2196  {0,0,0},
2197  {0,0,0},
2198  {0,0,0},
2199  {0,0,0},
2200  {0,0,0},
2201  {0,0,0},
2202  {0,0,0},
2203  {0,0,0},
2204  {0,0,0},
2205  {0,0,0},
2206  {0,0,0},
2207  {0,0,0},
2208  {0,0,0},
2209  {0,0,0},
2210  {0,0,0},
2211  {0,0,0},
2212  {0,0,0},
2213  {0,0,0},
2214  {0,0,0},
2215  {0,0,0},
2216  {0,0,0},
2217  {0,0,0},
2218  {0,0,0},
2219  {0,0,0},
2220  {0,0,0},
2221  {0,0,0},
2222  {0,0,0},
2223  {0,0,0},
2224  {0,0,0},
2225  {0.909804,0.25098,0.0117647},
2226  {0.917647,0.258824,0.0117647},
2227  {0.921569,0.270588,0.00784314},
2228  {0.92549,0.282353,0.00784314},
2229  {0.933333,0.294118,0.00392157},
2230  {0.937255,0.301961,0},
2231  {0.941176,0.313726,0},
2232  {0.94902,0.32549,0},
2233  {0.952941,0.333333,0},
2234  {0.960784,0.345098,0},
2235  {0.964706,0.356863,0},
2236  {0.972549,0.364706,0},
2237  {0.976471,0.376471,0},
2238  {0.984314,0.388235,0},
2239  {0.988235,0.396078,0},
2240  {0.988235,0.403922,0},
2241  {0.992157,0.411765,0},
2242  {0.992157,0.419608,0},
2243  {0.992157,0.427451,0},
2244  {0.996078,0.435294,0},
2245  {0.996078,0.443137,0},
2246  {1,0.45098,0},
2247  {1,0.458824,0},
2248  {1,0.466667,0},
2249  {1,0.47451,0},
2250  {1,0.482353,0},
2251  {1,0.490196,0},
2252  {1,0.494118,0},
2253  {1,0.501961,0},
2254  {1,0.509804,0},
2255  {1,0.517647,0},
2256  {1,0.52549,0},
2257  {1,0.533333,0},
2258  {1,0.537255,0},
2259  {1,0.545098,0},
2260  {1,0.552941,0},
2261  {1,0.560784,0},
2262  {1,0.564706,0},
2263  {1,0.572549,0},
2264  {1,0.580392,0},
2265  {1,0.584314,0},
2266  {1,0.592157,0},
2267  {1,0.6,0},
2268  {1,0.603922,0},
2269  {1,0.611765,0},
2270  {1,0.619608,0},
2271  {1,0.627451,0},
2272  {1,0.631373,0},
2273  {1,0.639216,0},
2274  {1,0.647059,0},
2275  {1,0.65098,0},
2276  {1,0.658824,0},
2277  {1,0.666667,0},
2278  {1,0.670588,0},
2279  {1,0.678431,0},
2280  {0,0,0},
2281  {0,0,0},
2282  {0,0,0},
2283  {0,0,0},
2284  {0,0,0},
2285  {0,0,0},
2286  {0,0,0},
2287  {0,0,0},
2288  {0,0,0},
2289  {0,0,0},
2290  {0,0,0},
2291  {0,0,0},
2292  {0,0,0},
2293  {0,0,0},
2294  {0,0,0},
2295  {0,0,0},
2296  {0,0,0},
2297  {0,0,0},
2298  {0,0,0},
2299  {0,0,0},
2300  {0,0,0},
2301  {0,0,0},
2302  {0,0,0},
2303  {0,0,0},
2304  {1,0.854902,0},
2305  {0,0,0},
2306  {0,0,0},
2307  {0,0,0},
2308  {0,0,0},
2309  {0,0,0},
2310  {0,0,0},
2311  {0,0,0},
2312  {0,0,0},
2313  {0,0,0},
2314  {0,0,0},
2315  {0,0,0},
2316  {0,0,0},
2317  {0,0,0},
2318  {0,0,0},
2319  {1,0.956863,0.101961},
2320  {0,0,0},
2321  {0,0,0},
2322  {0,0,0},
2323  {0,0,0},
2324  {1,0.980392,0.219608},
2325  {0,0,0},
2326  {0,0,0},
2327  {0,0,0},
2328  {0,0,0},
2329  {1,1,0.372549},
2330  {0,0,0},
2331  {0,0,0},
2332  {0,0,0},
2333  {0,0,0},
2334  {1,1,0.517647},
2335  {0,0,0},
2336  {0,0,0},
2337  {0,0,0},
2338  {0,0,0},
2339  {0,0,0},
2340  {0,0,0},
2341  {0,0,0},
2342  {0,0,0},
2343  {0,0,0},
2344  {0,0,0},
2345  {0,0,0},
2346  {0,0,0},
2347  {0,0,0},
2348  {0,0,0},
2349  {0,0,0},
2350  {0,0,0},
2351  {0,0,0},
2352  {0,0,0},
2353  {0,0,0},
2354  {1,1,0.996078}
2355  };
2356 
2357 const colourMapType SPECTRAL_ARRAY[][3] = {
2358  {0.61960786581, 0.00392156885937, 0.258823543787},
2359  {0.628066150581, 0.0133025761712, 0.260822774733},
2360  {0.636524435352, 0.022683583483, 0.262822005679},
2361  {0.644982720123, 0.0320645907949, 0.264821236624},
2362  {0.653441004893, 0.0414455981067, 0.26682046757},
2363  {0.661899289664, 0.0508266054185, 0.268819698516},
2364  {0.670357574435, 0.0602076127303, 0.270818929462},
2365  {0.678815859206, 0.0695886200422, 0.272818160408},
2366  {0.687274143976, 0.078969627354, 0.274817391353},
2367  {0.695732428747, 0.0883506346658, 0.276816622299},
2368  {0.704190713518, 0.0977316419777, 0.278815853245},
2369  {0.712648998289, 0.107112649289, 0.280815084191},
2370  {0.721107283059, 0.116493656601, 0.282814315137},
2371  {0.72956556783, 0.125874663913, 0.284813546083},
2372  {0.738023852601, 0.135255671225, 0.286812777028},
2373  {0.746482137372, 0.144636678537, 0.288812007974},
2374  {0.754940422142, 0.154017685849, 0.29081123892},
2375  {0.763398706913, 0.16339869316, 0.292810469866},
2376  {0.771856991684, 0.172779700472, 0.294809700812},
2377  {0.780315276454, 0.182160707784, 0.296808931757},
2378  {0.788773561225, 0.191541715096, 0.298808162703},
2379  {0.797231845996, 0.200922722408, 0.300807393649},
2380  {0.805690130767, 0.21030372972, 0.302806624595},
2381  {0.814148415537, 0.219684737031, 0.304805855541},
2382  {0.822606700308, 0.229065744343, 0.306805086486},
2383  {0.831064985079, 0.238446751655, 0.308804317432},
2384  {0.8376778259, 0.246751250005, 0.30888121093},
2385  {0.84244522277, 0.253979239394, 0.30703576698},
2386  {0.847212619641, 0.261207228782, 0.30519032303},
2387  {0.851980016512, 0.268435218171, 0.30334487908},
2388  {0.856747413383, 0.275663207559, 0.30149943513},
2389  {0.861514810254, 0.282891196947, 0.29965399118},
2390  {0.866282207124, 0.290119186336, 0.29780854723},
2391  {0.871049603995, 0.297347175724, 0.29596310328},
2392  {0.875817000866, 0.304575165113, 0.29411765933},
2393  {0.880584397737, 0.311803154501, 0.29227221538},
2394  {0.885351794607, 0.31903114389, 0.29042677143},
2395  {0.890119191478, 0.326259133278, 0.28858132748},
2396  {0.894886588349, 0.333487122667, 0.28673588353},
2397  {0.89965398522, 0.340715112055, 0.28489043958},
2398  {0.904421382091, 0.347943101443, 0.28304499563},
2399  {0.909188778961, 0.355171090832, 0.281199551681},
2400  {0.913956175832, 0.36239908022, 0.279354107731},
2401  {0.918723572703, 0.369627069609, 0.277508663781},
2402  {0.923490969574, 0.376855058997, 0.275663219831},
2403  {0.928258366445, 0.384083048386, 0.273817775881},
2404  {0.933025763315, 0.391311037774, 0.271972331931},
2405  {0.937793160186, 0.398539027163, 0.270126887981},
2406  {0.942560557057, 0.405767016551, 0.268281444031},
2407  {0.947327953928, 0.41299500594, 0.266436000081},
2408  {0.952095350798, 0.420222995328, 0.264590556131},
2409  {0.956862747669, 0.427450984716, 0.262745112181},
2410  {0.958246830632, 0.437447140614, 0.267358722056},
2411  {0.959630913594, 0.447443296512, 0.271972331931},
2412  {0.961014996557, 0.45743945241, 0.276585941806},
2413  {0.962399079519, 0.467435608308, 0.281199551681},
2414  {0.963783162482, 0.477431764205, 0.285813161555},
2415  {0.965167245444, 0.487427920103, 0.29042677143},
2416  {0.966551328407, 0.497424076001, 0.295040381305},
2417  {0.967935411369, 0.507420231899, 0.29965399118},
2418  {0.969319494332, 0.517416387796, 0.304267601055},
2419  {0.970703577294, 0.527412543694, 0.30888121093},
2420  {0.972087660257, 0.537408699592, 0.313494820805},
2421  {0.973471743219, 0.54740485549, 0.31810843068},
2422  {0.974855826182, 0.557401011388, 0.322722040555},
2423  {0.976239909144, 0.567397167285, 0.32733565043},
2424  {0.977623992106, 0.577393323183, 0.331949260305},
2425  {0.979008075069, 0.587389479081, 0.33656287018},
2426  {0.980392158031, 0.597385634979, 0.341176480055},
2427  {0.981776240994, 0.607381790876, 0.34579008993},
2428  {0.983160323956, 0.617377946774, 0.350403699805},
2429  {0.984544406919, 0.627374102672, 0.35501730968},
2430  {0.985928489881, 0.63737025857, 0.359630919555},
2431  {0.987312572844, 0.647366414467, 0.36424452943},
2432  {0.988696655806, 0.657362570365, 0.368858139305},
2433  {0.990080738769, 0.667358726263, 0.37347174918},
2434  {0.991464821731, 0.677354882161, 0.378085359054},
2435  {0.992233756711, 0.686197635006, 0.383621691489},
2436  {0.992387543706, 0.693886984797, 0.390080746482},
2437  {0.992541330702, 0.701576334589, 0.396539801476},
2438  {0.992695117698, 0.70926568438, 0.40299885647},
2439  {0.992848904694, 0.716955034172, 0.409457911463},
2440  {0.99300269169, 0.724644383963, 0.415916966457},
2441  {0.993156478685, 0.732333733755, 0.422376021451},
2442  {0.993310265681, 0.740023083547, 0.428835076444},
2443  {0.993464052677, 0.747712433338, 0.435294131438},
2444  {0.993617839673, 0.75540178313, 0.441753186432},
2445  {0.993771626669, 0.763091132921, 0.448212241425},
2446  {0.993925413665, 0.770780482713, 0.454671296419},
2447  {0.99407920066, 0.778469832504, 0.461130351413},
2448  {0.994232987656, 0.786159182296, 0.467589406406},
2449  {0.994386774652, 0.793848532088, 0.4740484614},
2450  {0.994540561648, 0.801537881879, 0.480507516393},
2451  {0.994694348644, 0.809227231671, 0.486966571387},
2452  {0.99484813564, 0.816916581462, 0.493425626381},
2453  {0.995001922635, 0.824605931254, 0.499884681374},
2454  {0.995155709631, 0.832295281046, 0.506343736368},
2455  {0.995309496627, 0.839984630837, 0.512802791362},
2456  {0.995463283623, 0.847673980629, 0.519261846355},
2457  {0.995617070619, 0.85536333042, 0.525720901349},
2458  {0.995770857615, 0.863052680212, 0.532179956343},
2459  {0.99592464461, 0.870742030003, 0.538639011336},
2460  {0.996078431606, 0.878431379795, 0.54509806633},
2461  {0.996232218602, 0.883198776666, 0.553094990113},
2462  {0.996386005598, 0.887966173537, 0.561091913896},
2463  {0.996539792594, 0.892733570407, 0.56908883768},
2464  {0.99669357959, 0.897500967278, 0.577085761463},
2465  {0.996847366585, 0.902268364149, 0.585082685246},
2466  {0.997001153581, 0.90703576102, 0.593079609029},
2467  {0.997154940577, 0.911803157891, 0.601076532813},
2468  {0.997308727573, 0.916570554761, 0.609073456596},
2469  {0.997462514569, 0.921337951632, 0.617070380379},
2470  {0.997616301565, 0.926105348503, 0.625067304162},
2471  {0.99777008856, 0.930872745374, 0.633064227946},
2472  {0.997923875556, 0.935640142244, 0.641061151729},
2473  {0.998077662552, 0.940407539115, 0.649058075512},
2474  {0.998231449548, 0.945174935986, 0.657054999295},
2475  {0.998385236544, 0.949942332857, 0.665051923079},
2476  {0.99853902354, 0.954709729728, 0.673048846862},
2477  {0.998692810535, 0.959477126598, 0.681045770645},
2478  {0.998846597531, 0.964244523469, 0.689042694428},
2479  {0.999000384527, 0.96901192034, 0.697039618212},
2480  {0.999154171523, 0.973779317211, 0.705036541995},
2481  {0.999307958519, 0.978546714081, 0.713033465778},
2482  {0.999461745515, 0.983314110952, 0.721030389561},
2483  {0.99961553251, 0.988081507823, 0.729027313345},
2484  {0.999769319506, 0.992848904694, 0.737024237128},
2485  {0.999923106502, 0.997616301565, 0.745021160911},
2486  {0.998077662552, 0.999231065021, 0.746020776384},
2487  {0.994232987656, 0.997693195063, 0.740023083547},
2488  {0.990388312761, 0.996155325104, 0.734025390709},
2489  {0.986543637865, 0.994617455146, 0.728027697872},
2490  {0.982698962969, 0.993079585188, 0.722030005034},
2491  {0.978854288073, 0.991541715229, 0.716032312197},
2492  {0.975009613177, 0.990003845271, 0.710034619359},
2493  {0.971164938282, 0.988465975313, 0.704036926522},
2494  {0.967320263386, 0.986928105354, 0.698039233685},
2495  {0.96347558849, 0.985390235396, 0.692041540847},
2496  {0.959630913594, 0.983852365438, 0.68604384801},
2497  {0.955786238698, 0.982314495479, 0.680046155172},
2498  {0.951941563803, 0.980776625521, 0.674048462335},
2499  {0.948096888907, 0.979238755563, 0.668050769497},
2500  {0.944252214011, 0.977700885604, 0.66205307666},
2501  {0.940407539115, 0.976163015646, 0.656055383822},
2502  {0.936562864219, 0.974625145688, 0.650057690985},
2503  {0.932718189324, 0.973087275729, 0.644059998148},
2504  {0.928873514428, 0.971549405771, 0.63806230531},
2505  {0.925028839532, 0.970011535813, 0.632064612473},
2506  {0.921184164636, 0.968473665855, 0.626066919635},
2507  {0.91733948974, 0.966935795896, 0.620069226798},
2508  {0.913494814845, 0.965397925938, 0.61407153396},
2509  {0.909650139949, 0.96386005598, 0.608073841123},
2510  {0.905805465053, 0.962322186021, 0.602076148286},
2511  {0.901960790157, 0.960784316063, 0.596078455448},
2512  {0.892887357403, 0.957093428163, 0.597923899398},
2513  {0.883813924649, 0.953402540263, 0.599769343348},
2514  {0.874740491895, 0.949711652363, 0.601614787298},
2515  {0.865667059141, 0.946020764463, 0.603460231248},
2516  {0.856593626387, 0.942329876563, 0.605305675198},
2517  {0.847520193633, 0.938638988663, 0.607151119148},
2518  {0.838446760879, 0.934948100763, 0.608996563098},
2519  {0.829373328125, 0.931257212863, 0.610842007048},
2520  {0.820299895371, 0.927566324963, 0.612687450998},
2521  {0.811226462617, 0.923875437063, 0.614532894948},
2522  {0.802153029863, 0.920184549163, 0.616378338898},
2523  {0.793079597109, 0.916493661263, 0.618223782848},
2524  {0.784006164354, 0.912802773363, 0.620069226798},
2525  {0.7749327316, 0.909111885463, 0.621914670748},
2526  {0.765859298846, 0.905420997564, 0.623760114698},
2527  {0.756785866092, 0.901730109664, 0.625605558648},
2528  {0.747712433338, 0.898039221764, 0.627451002598},
2529  {0.738639000584, 0.894348333864, 0.629296446548},
2530  {0.72956556783, 0.890657445964, 0.631141890498},
2531  {0.720492135076, 0.886966558064, 0.632987334448},
2532  {0.711418702322, 0.883275670164, 0.634832778398},
2533  {0.702345269568, 0.879584782264, 0.636678222348},
2534  {0.693271836814, 0.875893894364, 0.638523666298},
2535  {0.68419840406, 0.872203006464, 0.640369110248},
2536  {0.675124971306, 0.868512118564, 0.642214554198},
2537  {0.665282602988, 0.86459055017, 0.643214169671},
2538  {0.654671299107, 0.860438301283, 0.643367956666},
2539  {0.644059995226, 0.856286052395, 0.643521743662},
2540  {0.633448691345, 0.852133803508, 0.643675530658},
2541  {0.622837387464, 0.84798155462, 0.643829317654},
2542  {0.612226083583, 0.843829305733, 0.64398310465},
2543  {0.601614779701, 0.839677056845, 0.644136891646},
2544  {0.59100347582, 0.835524807958, 0.644290678641},
2545  {0.580392171939, 0.831372559071, 0.644444465637},
2546  {0.569780868058, 0.827220310183, 0.644598252633},
2547  {0.559169564177, 0.823068061296, 0.644752039629},
2548  {0.548558260296, 0.818915812408, 0.644905826625},
2549  {0.537946956415, 0.814763563521, 0.645059613621},
2550  {0.527335652534, 0.810611314633, 0.645213400616},
2551  {0.516724348653, 0.806459065746, 0.645367187612},
2552  {0.506113044771, 0.802306816858, 0.645520974608},
2553  {0.49550174089, 0.798154567971, 0.645674761604},
2554  {0.484890437009, 0.794002319083, 0.6458285486},
2555  {0.474279133128, 0.789850070196, 0.645982335596},
2556  {0.463667829247, 0.785697821309, 0.646136122591},
2557  {0.453056525366, 0.781545572421, 0.646289909587},
2558  {0.442445221485, 0.777393323534, 0.646443696583},
2559  {0.431833917604, 0.773241074646, 0.646597483579},
2560  {0.421222613723, 0.769088825759, 0.646751270575},
2561  {0.410611309842, 0.764936576871, 0.646905057571},
2562  {0.40000000596, 0.760784327984, 0.647058844566},
2563  {0.392003081593, 0.751864682226, 0.650749732466},
2564  {0.384006157225, 0.742945036467, 0.654440620366},
2565  {0.376009232858, 0.734025390709, 0.658131508266},
2566  {0.36801230849, 0.725105744951, 0.661822396166},
2567  {0.360015384122, 0.716186099193, 0.665513284066},
2568  {0.352018459755, 0.707266453434, 0.669204171966},
2569  {0.344021535387, 0.698346807676, 0.672895059866},
2570  {0.33602461102, 0.689427161918, 0.676585947766},
2571  {0.328027686652, 0.68050751616, 0.680276835666},
2572  {0.320030762284, 0.671587870401, 0.683967723566},
2573  {0.312033837917, 0.662668224643, 0.687658611466},
2574  {0.304036913549, 0.653748578885, 0.691349499366},
2575  {0.296039989182, 0.644828933127, 0.695040387266},
2576  {0.288043064814, 0.635909287369, 0.698731275166},
2577  {0.280046140446, 0.62698964161, 0.702422163066},
2578  {0.272049216079, 0.618069995852, 0.706113050966},
2579  {0.264052291711, 0.609150350094, 0.709803938866},
2580  {0.256055367344, 0.600230704336, 0.713494826766},
2581  {0.248058442976, 0.591311058577, 0.717185714666},
2582  {0.240061518608, 0.582391412819, 0.720876602566},
2583  {0.232064594241, 0.573471767061, 0.724567490466},
2584  {0.224067669873, 0.564552121303, 0.728258378365},
2585  {0.216070745506, 0.555632475544, 0.731949266265},
2586  {0.208073821138, 0.546712829786, 0.735640154165},
2587  {0.20007689677, 0.537793184028, 0.739331042065},
2588  {0.199461748787, 0.528950431183, 0.739100361572},
2589  {0.206228377188, 0.520184571252, 0.734948112684},
2590  {0.212995005589, 0.511418711321, 0.730795863797},
2591  {0.21976163399, 0.50265285139, 0.726643614909},
2592  {0.226528262391, 0.493886991459, 0.722491366022},
2593  {0.233294890792, 0.485121131528, 0.718339117134},
2594  {0.240061519193, 0.476355271597, 0.714186868247},
2595  {0.246828147594, 0.467589411665, 0.710034619359},
2596  {0.253594775995, 0.458823551734, 0.705882370472},
2597  {0.260361404396, 0.450057691803, 0.701730121584},
2598  {0.267128032797, 0.441291831872, 0.697577872697},
2599  {0.273894661197, 0.432525971941, 0.69342562381},
2600  {0.280661289598, 0.42376011201, 0.689273374922},
2601  {0.287427917999, 0.414994252079, 0.685121126035},
2602  {0.2941945464, 0.406228392148, 0.680968877147},
2603  {0.300961174801, 0.397462532216, 0.67681662826},
2604  {0.307727803202, 0.388696672285, 0.672664379372},
2605  {0.314494431603, 0.379930812354, 0.668512130485},
2606  {0.321261060004, 0.371164952423, 0.664359881597},
2607  {0.328027688405, 0.362399092492, 0.66020763271},
2608  {0.334794316806, 0.353633232561, 0.656055383822},
2609  {0.341560945207, 0.34486737263, 0.651903134935},
2610  {0.348327573608, 0.336101512699, 0.647750886048},
2611  {0.355094202009, 0.327335652767, 0.64359863716},
2612  {0.36186083041, 0.318569792836, 0.639446388273},
2613  {0.368627458811, 0.309803932905, 0.635294139385}
2614  };
2615 
2616 const colourMapType BONE_ARRAY[][3] = {
2617  {0.0, 0.0, 0.0},
2618  {0.00343137254902, 0.00343137120631, 0.00477408354646},
2619  {0.00686274509804, 0.00686274241261, 0.00954816709292},
2620  {0.0102941176471, 0.0102941136189, 0.0143222506394},
2621  {0.0137254901961, 0.0137254848252, 0.0190963341858},
2622  {0.0171568627451, 0.0171568560315, 0.0238704177323},
2623  {0.0205882352941, 0.0205882272378, 0.0286445012788},
2624  {0.0240196078431, 0.0240195984442, 0.0334185848252},
2625  {0.0274509803922, 0.0274509696505, 0.0381926683717},
2626  {0.0308823529412, 0.0308823408568, 0.0429667519182},
2627  {0.0343137254902, 0.0343137120631, 0.0477408354646},
2628  {0.0377450980392, 0.0377450832694, 0.0525149190111},
2629  {0.0411764705882, 0.0411764544757, 0.0572890025575},
2630  {0.0446078431373, 0.044607825682, 0.062063086104},
2631  {0.0480392156863, 0.0480391968883, 0.0668371696505},
2632  {0.0514705882353, 0.0514705680946, 0.0716112531969},
2633  {0.0549019607843, 0.0549019393009, 0.0763853367434},
2634  {0.0583333333333, 0.0583333105072, 0.0811594202899},
2635  {0.0617647058824, 0.0617646817135, 0.0859335038363},
2636  {0.0651960784314, 0.0651960529198, 0.0907075873828},
2637  {0.0686274509804, 0.0686274241261, 0.0954816709292},
2638  {0.0720588235294, 0.0720587953325, 0.100255754476},
2639  {0.0754901960784, 0.0754901665388, 0.105029838022},
2640  {0.0789215686275, 0.0789215377451, 0.109803921569},
2641  {0.0823529411765, 0.0823529089514, 0.114578005115},
2642  {0.0857843137255, 0.0857842801577, 0.119352088662},
2643  {0.0892156862745, 0.089215651364, 0.124126172208},
2644  {0.0926470588235, 0.0926470225703, 0.128900255754},
2645  {0.0960784313725, 0.0960783937766, 0.133674339301},
2646  {0.0995098039216, 0.0995097649829, 0.138448422847},
2647  {0.102941176471, 0.102941136189, 0.143222506394},
2648  {0.10637254902, 0.106372507396, 0.14799658994},
2649  {0.109803921569, 0.109803878602, 0.152770673487},
2650  {0.113235294118, 0.113235249808, 0.157544757033},
2651  {0.116666666667, 0.116666621014, 0.16231884058},
2652  {0.120098039216, 0.120097992221, 0.167092924126},
2653  {0.123529411765, 0.123529363427, 0.171867007673},
2654  {0.126960784314, 0.126960734633, 0.176641091219},
2655  {0.130392156863, 0.13039210584, 0.181415174766},
2656  {0.133823529412, 0.133823477046, 0.186189258312},
2657  {0.137254901961, 0.137254848252, 0.190963341858},
2658  {0.14068627451, 0.140686219459, 0.195737425405},
2659  {0.144117647059, 0.144117590665, 0.200511508951},
2660  {0.147549019608, 0.147548961871, 0.205285592498},
2661  {0.150980392157, 0.150980333078, 0.210059676044},
2662  {0.154411764706, 0.154411704284, 0.214833759591},
2663  {0.157843137255, 0.15784307549, 0.219607843137},
2664  {0.161274509804, 0.161274446696, 0.224381926684},
2665  {0.164705882353, 0.164705817903, 0.22915601023},
2666  {0.168137254902, 0.168137189109, 0.233930093777},
2667  {0.171568627451, 0.171568560315, 0.238704177323},
2668  {0.175, 0.174999931522, 0.24347826087},
2669  {0.178431372549, 0.178431302728, 0.248252344416},
2670  {0.181862745098, 0.181862673934, 0.253026427962},
2671  {0.185294117647, 0.185294045141, 0.257800511509},
2672  {0.188725490196, 0.188725416347, 0.262574595055},
2673  {0.192156862745, 0.192156787553, 0.267348678602},
2674  {0.195588235294, 0.19558815876, 0.272122762148},
2675  {0.199019607843, 0.199019529966, 0.276896845695},
2676  {0.202450980392, 0.202450901172, 0.281670929241},
2677  {0.205882352941, 0.205882272378, 0.286445012788},
2678  {0.20931372549, 0.209313643585, 0.291219096334},
2679  {0.212745098039, 0.212745014791, 0.295993179881},
2680  {0.216176470588, 0.216176385997, 0.300767263427},
2681  {0.219607843137, 0.219607757204, 0.305541346974},
2682  {0.223039215686, 0.22303912841, 0.31031543052},
2683  {0.226470588235, 0.226470499616, 0.315089514066},
2684  {0.229901960784, 0.229901870823, 0.319863597613},
2685  {0.233333333333, 0.233333242029, 0.324637681159},
2686  {0.236764705882, 0.236764613235, 0.329411764706},
2687  {0.240196078431, 0.240195984442, 0.334185848252},
2688  {0.24362745098, 0.243627355648, 0.338959931799},
2689  {0.247058823529, 0.247058726854, 0.343734015345},
2690  {0.250490196078, 0.25049009806, 0.348508098892},
2691  {0.253921568627, 0.253921469267, 0.353282182438},
2692  {0.257352941176, 0.257352840473, 0.358056265985},
2693  {0.260784313725, 0.260784211679, 0.362830349531},
2694  {0.264215686275, 0.264215582886, 0.367604433078},
2695  {0.267647058824, 0.267646954092, 0.372378516624},
2696  {0.271078431373, 0.271078325298, 0.377152600171},
2697  {0.274509803922, 0.274509696505, 0.381926683717},
2698  {0.277941176471, 0.277941067711, 0.386700767263},
2699  {0.28137254902, 0.281372438917, 0.39147485081},
2700  {0.284803921569, 0.284803810124, 0.396248934356},
2701  {0.288235294118, 0.28823518133, 0.401023017903},
2702  {0.291666666667, 0.291666552536, 0.405797101449},
2703  {0.295098039216, 0.295097923742, 0.410571184996},
2704  {0.298529411765, 0.298529294949, 0.415345268542},
2705  {0.301960784314, 0.301960666155, 0.420119352089},
2706  {0.305392156863, 0.305392037361, 0.424893435635},
2707  {0.308823529412, 0.308823408568, 0.429667519182},
2708  {0.312254901961, 0.312254779774, 0.434441602728},
2709  {0.31568627451, 0.31568615098, 0.439215686275},
2710  {0.319117647059, 0.319117522187, 0.443989769821},
2711  {0.322549019608, 0.323713229358, 0.447548895306},
2712  {0.325980392157, 0.328431365809, 0.450980268628},
2713  {0.329411764706, 0.333149502259, 0.454411641949},
2714  {0.332843137255, 0.33786763871, 0.45784301527},
2715  {0.336274509804, 0.342585775161, 0.461274388591},
2716  {0.339705882353, 0.347303911611, 0.464705761912},
2717  {0.343137254902, 0.352022048062, 0.468137135233},
2718  {0.346568627451, 0.356740184513, 0.471568508554},
2719  {0.35, 0.361458320963, 0.474999881875},
2720  {0.353431372549, 0.366176457414, 0.478431255196},
2721  {0.356862745098, 0.370894593865, 0.481862628517},
2722  {0.360294117647, 0.375612730316, 0.485294001838},
2723  {0.363725490196, 0.380330866766, 0.488725375159},
2724  {0.367156862745, 0.385049003217, 0.49215674848},
2725  {0.370588235294, 0.389767139668, 0.495588121802},
2726  {0.374019607843, 0.394485276118, 0.499019495123},
2727  {0.377450980392, 0.399203412569, 0.502450868444},
2728  {0.380882352941, 0.40392154902, 0.505882241765},
2729  {0.38431372549, 0.40863968547, 0.509313615086},
2730  {0.387745098039, 0.413357821921, 0.512744988407},
2731  {0.391176470588, 0.418075958372, 0.516176361728},
2732  {0.394607843137, 0.422794094822, 0.519607735049},
2733  {0.398039215686, 0.427512231273, 0.52303910837},
2734  {0.401470588235, 0.432230367724, 0.526470481691},
2735  {0.404901960784, 0.436948504174, 0.529901855012},
2736  {0.408333333333, 0.441666640625, 0.533333228333},
2737  {0.411764705882, 0.446384777076, 0.536764601654},
2738  {0.415196078431, 0.451102913526, 0.540195974976},
2739  {0.41862745098, 0.455821049977, 0.543627348297},
2740  {0.422058823529, 0.460539186428, 0.547058721618},
2741  {0.425490196078, 0.465257322878, 0.550490094939},
2742  {0.428921568627, 0.469975459329, 0.55392146826},
2743  {0.432352941176, 0.47469359578, 0.557352841581},
2744  {0.435784313725, 0.47941173223, 0.560784214902},
2745  {0.439215686275, 0.484129868681, 0.564215588223},
2746  {0.442647058824, 0.488848005132, 0.567646961544},
2747  {0.446078431373, 0.493566141582, 0.571078334865},
2748  {0.449509803922, 0.498284278033, 0.574509708186},
2749  {0.452941176471, 0.503002414484, 0.577941081507},
2750  {0.45637254902, 0.507720550934, 0.581372454828},
2751  {0.459803921569, 0.512438687385, 0.58480382815},
2752  {0.463235294118, 0.517156823836, 0.588235201471},
2753  {0.466666666667, 0.521874960286, 0.591666574792},
2754  {0.470098039216, 0.526593096737, 0.595097948113},
2755  {0.473529411765, 0.531311233188, 0.598529321434},
2756  {0.476960784314, 0.536029369638, 0.601960694755},
2757  {0.480392156863, 0.540747506089, 0.605392068076},
2758  {0.483823529412, 0.54546564254, 0.608823441397},
2759  {0.487254901961, 0.55018377899, 0.612254814718},
2760  {0.49068627451, 0.554901915441, 0.615686188039},
2761  {0.494117647059, 0.559620051892, 0.61911756136},
2762  {0.497549019608, 0.564338188343, 0.622548934681},
2763  {0.500980392157, 0.569056324793, 0.625980308002},
2764  {0.504411764706, 0.573774461244, 0.629411681324},
2765  {0.507843137255, 0.578492597695, 0.632843054645},
2766  {0.511274509804, 0.583210734145, 0.636274427966},
2767  {0.514705882353, 0.587928870596, 0.639705801287},
2768  {0.518137254902, 0.592647007047, 0.643137174608},
2769  {0.521568627451, 0.597365143497, 0.646568547929},
2770  {0.525, 0.602083279948, 0.64999992125},
2771  {0.528431372549, 0.606801416399, 0.653431294571},
2772  {0.531862745098, 0.611519552849, 0.656862667892},
2773  {0.535294117647, 0.6162376893, 0.660294041213},
2774  {0.538725490196, 0.620955825751, 0.663725414534},
2775  {0.542156862745, 0.625673962201, 0.667156787855},
2776  {0.545588235294, 0.630392098652, 0.670588161177},
2777  {0.549019607843, 0.635110235103, 0.674019534498},
2778  {0.552450980392, 0.639828371553, 0.677450907819},
2779  {0.555882352941, 0.644546508004, 0.68088228114},
2780  {0.55931372549, 0.649264644455, 0.684313654461},
2781  {0.562745098039, 0.653982780905, 0.687745027782},
2782  {0.566176470588, 0.658700917356, 0.691176401103},
2783  {0.569607843137, 0.663419053807, 0.694607774424},
2784  {0.573039215686, 0.668137190257, 0.698039147745},
2785  {0.576470588235, 0.672855326708, 0.701470521066},
2786  {0.579901960784, 0.677573463159, 0.704901894387},
2787  {0.583333333333, 0.682291599609, 0.708333267708},
2788  {0.586764705882, 0.68700973606, 0.711764641029},
2789  {0.590196078431, 0.691727872511, 0.715196014351},
2790  {0.59362745098, 0.696446008961, 0.718627387672},
2791  {0.597058823529, 0.701164145412, 0.722058760993},
2792  {0.600490196078, 0.705882281863, 0.725490134314},
2793  {0.603921568627, 0.710600418313, 0.728921507635},
2794  {0.607352941176, 0.715318554764, 0.732352880956},
2795  {0.610784313725, 0.720036691215, 0.735784254277},
2796  {0.614215686275, 0.724754827665, 0.739215627598},
2797  {0.617647058824, 0.729472964116, 0.742647000919},
2798  {0.621078431373, 0.734191100567, 0.74607837424},
2799  {0.624509803922, 0.738909237018, 0.749509747561},
2800  {0.627941176471, 0.743627373468, 0.752941120882},
2801  {0.63137254902, 0.748345509919, 0.756372494203},
2802  {0.634803921569, 0.75306364637, 0.759803867525},
2803  {0.638235294118, 0.75778178282, 0.763235240846},
2804  {0.641666666667, 0.762499919271, 0.766666614167},
2805  {0.645098039216, 0.767218055722, 0.770097987488},
2806  {0.648529411765, 0.771936192172, 0.773529360809},
2807  {0.651960784314, 0.776654328623, 0.77696073413},
2808  {0.656862621569, 0.780392156863, 0.780392107451},
2809  {0.662224143106, 0.783823529412, 0.783823480772},
2810  {0.667585664644, 0.787254901961, 0.787254854093},
2811  {0.672947186182, 0.79068627451, 0.790686227414},
2812  {0.67830870772, 0.794117647059, 0.794117600735},
2813  {0.683670229258, 0.797549019608, 0.797548974056},
2814  {0.689031750796, 0.800980392157, 0.800980347377},
2815  {0.694393272334, 0.804411764706, 0.804411720699},
2816  {0.699754793872, 0.807843137255, 0.80784309402},
2817  {0.70511631541, 0.811274509804, 0.811274467341},
2818  {0.710477836948, 0.814705882353, 0.814705840662},
2819  {0.715839358486, 0.818137254902, 0.818137213983},
2820  {0.721200880024, 0.821568627451, 0.821568587304},
2821  {0.726562401562, 0.825, 0.824999960625},
2822  {0.7319239231, 0.828431372549, 0.828431333946},
2823  {0.737285444638, 0.831862745098, 0.831862707267},
2824  {0.742646966176, 0.835294117647, 0.835294080588},
2825  {0.748008487714, 0.838725490196, 0.838725453909},
2826  {0.753370009252, 0.842156862745, 0.84215682723},
2827  {0.75873153079, 0.845588235294, 0.845588200551},
2828  {0.764093052328, 0.849019607843, 0.849019573873},
2829  {0.769454573866, 0.852450980392, 0.852450947194},
2830  {0.774816095404, 0.855882352941, 0.855882320515},
2831  {0.780177616942, 0.85931372549, 0.859313693836},
2832  {0.78553913848, 0.862745098039, 0.862745067157},
2833  {0.790900660018, 0.866176470588, 0.866176440478},
2834  {0.796262181556, 0.869607843137, 0.869607813799},
2835  {0.801623703094, 0.873039215686, 0.87303918712},
2836  {0.806985224632, 0.876470588235, 0.876470560441},
2837  {0.81234674617, 0.879901960784, 0.879901933762},
2838  {0.817708267708, 0.883333333333, 0.883333307083},
2839  {0.823069789246, 0.886764705882, 0.886764680404},
2840  {0.828431310784, 0.890196078431, 0.890196053726},
2841  {0.833792832322, 0.89362745098, 0.893627427047},
2842  {0.83915435386, 0.897058823529, 0.897058800368},
2843  {0.844515875398, 0.900490196078, 0.900490173689},
2844  {0.849877396936, 0.903921568627, 0.90392154701},
2845  {0.855238918474, 0.907352941176, 0.907352920331},
2846  {0.860600440012, 0.910784313725, 0.910784293652},
2847  {0.86596196155, 0.914215686275, 0.914215666973},
2848  {0.871323483088, 0.917647058824, 0.917647040294},
2849  {0.876685004626, 0.921078431373, 0.921078413615},
2850  {0.882046526164, 0.924509803922, 0.924509786936},
2851  {0.887408047702, 0.927941176471, 0.927941160257},
2852  {0.89276956924, 0.93137254902, 0.931372533578},
2853  {0.898131090778, 0.934803921569, 0.9348039069},
2854  {0.903492612316, 0.938235294118, 0.938235280221},
2855  {0.908854133854, 0.941666666667, 0.941666653542},
2856  {0.914215655392, 0.945098039216, 0.945098026863},
2857  {0.91957717693, 0.948529411765, 0.948529400184},
2858  {0.924938698468, 0.951960784314, 0.951960773505},
2859  {0.930300220006, 0.955392156863, 0.955392146826},
2860  {0.935661741544, 0.958823529412, 0.958823520147},
2861  {0.941023263082, 0.962254901961, 0.962254893468},
2862  {0.94638478462, 0.96568627451, 0.965686266789},
2863  {0.951746306158, 0.969117647059, 0.96911764011},
2864  {0.957107827696, 0.972549019608, 0.972549013431},
2865  {0.962469349234, 0.975980392157, 0.975980386752},
2866  {0.967830870772, 0.979411764706, 0.979411760074},
2867  {0.97319239231, 0.982843137255, 0.982843133395},
2868  {0.978553913848, 0.986274509804, 0.986274506716},
2869  {0.983915435386, 0.989705882353, 0.989705880037},
2870  {0.989276956924, 0.993137254902, 0.993137253358},
2871  {0.994638478462, 0.996568627451, 0.996568626679},
2872  {1.0, 1.0, 1.0}
2873  };
2874 
2875 const colourMapType COOLWARM_ARRAY[][3] = {
2876  {0.2298057, 0.298717966, 0.753683153},
2877  {0.234377079451, 0.305541730329, 0.759679527588},
2878  {0.238948458902, 0.312365494659, 0.765675902176},
2879  {0.243519838353, 0.319189258988, 0.771672276765},
2880  {0.248091217804, 0.326013023318, 0.777668651353},
2881  {0.252662597255, 0.332836787647, 0.783665025941},
2882  {0.257233976706, 0.339660551976, 0.789661400529},
2883  {0.261805356157, 0.346484316306, 0.795657775118},
2884  {0.266381468353, 0.353304408424, 0.801637319498},
2885  {0.271104295647, 0.360010661976, 0.807095127435},
2886  {0.275827122941, 0.366716915529, 0.812552935373},
2887  {0.280549950235, 0.373423169082, 0.81801074331},
2888  {0.285272777529, 0.380129422635, 0.823468551247},
2889  {0.289995604824, 0.386835676188, 0.828926359184},
2890  {0.294718432118, 0.393541929741, 0.834384167122},
2891  {0.299441259412, 0.400248183294, 0.839841975059},
2892  {0.304174287004, 0.406944882839, 0.845262726698},
2893  {0.309060319067, 0.413498272267, 0.850127633867},
2894  {0.313946351129, 0.420051661694, 0.854992541035},
2895  {0.318832383192, 0.426605051122, 0.859857448204},
2896  {0.323718415255, 0.433158440549, 0.864722355373},
2897  {0.328604447318, 0.439711829976, 0.869587262541},
2898  {0.33349047938, 0.446265219404, 0.87445216971},
2899  {0.338376511443, 0.452818608831, 0.879317076878},
2900  {0.343277523435, 0.459353634729, 0.884121921624},
2901  {0.348323341412, 0.46571114651, 0.888346162941},
2902  {0.353369159388, 0.47206865829, 0.892570404259},
2903  {0.358414977365, 0.478426170071, 0.896794645576},
2904  {0.363460795341, 0.484783681851, 0.901018886894},
2905  {0.368506613318, 0.491141193631, 0.905243128212},
2906  {0.373552431294, 0.497498705412, 0.909467369529},
2907  {0.378598249271, 0.503856217192, 0.913691610847},
2908  {0.383662065773, 0.510183417286, 0.917830673231},
2909  {0.388851871953, 0.516298435576, 0.921373483082},
2910  {0.394041678133, 0.522413453867, 0.924916292933},
2911  {0.399231484314, 0.528528472157, 0.928459102784},
2912  {0.404421290494, 0.534643490447, 0.932001912635},
2913  {0.409611096675, 0.540758508737, 0.935544722486},
2914  {0.414800902855, 0.546873527027, 0.939087532337},
2915  {0.419990709035, 0.552988545318, 0.942630342188},
2916  {0.425198970196, 0.559058179765, 0.946061457078},
2917  {0.430506888251, 0.564882741459, 0.94888941918},
2918  {0.435814806306, 0.570707303153, 0.951717381282},
2919  {0.441122724361, 0.576531864847, 0.954545343384},
2920  {0.446430642416, 0.582356426541, 0.957373305486},
2921  {0.451738560471, 0.588180988235, 0.960201267588},
2922  {0.457046478525, 0.594005549929, 0.96302922969},
2923  {0.46235439658, 0.599830111624, 0.965857191792},
2924  {0.467678094682, 0.605591231624, 0.968546281094},
2925  {0.473070172988, 0.611077437616, 0.970633588263},
2926  {0.478462251294, 0.616563643608, 0.972720895431},
2927  {0.4838543296, 0.6220498496, 0.9748082026},
2928  {0.489246407906, 0.627536055592, 0.976895509769},
2929  {0.494638486212, 0.633022261584, 0.978982816937},
2930  {0.500030564518, 0.638508467576, 0.981070124106},
2931  {0.505422642824, 0.643994673569, 0.983157431275},
2932  {0.510824324251, 0.649396614824, 0.985078776376},
2933  {0.516260302541, 0.654497610588, 0.986407399812},
2934  {0.521696280831, 0.659598606353, 0.987736023247},
2935  {0.527132259122, 0.664699602118, 0.989064646682},
2936  {0.532568237412, 0.669800597882, 0.990393270118},
2937  {0.538004215702, 0.674901593647, 0.991721893553},
2938  {0.543440193992, 0.680002589412, 0.993050516988},
2939  {0.548876172282, 0.685103585176, 0.994379140424},
2940  {0.554311869914, 0.690097011216, 0.995515548235},
2941  {0.559746725569, 0.694767728078, 0.996075309176},
2942  {0.565181581224, 0.699438444941, 0.996635070118},
2943  {0.570616436878, 0.704109161804, 0.997194831059},
2944  {0.576051292533, 0.708779878667, 0.997754592},
2945  {0.581486148188, 0.713450595529, 0.998314352941},
2946  {0.586921003843, 0.718121312392, 0.998874113882},
2947  {0.592355859498, 0.722792029255, 0.999433874824},
2948  {0.597776775494, 0.727329724882, 0.999776731776},
2949  {0.603162067918, 0.731527477353, 0.999565278537},
2950  {0.608547360341, 0.735725229824, 0.999353825298},
2951  {0.613932652765, 0.739922982294, 0.999142372059},
2952  {0.619317945188, 0.744120734765, 0.99893091882},
2953  {0.624703237612, 0.748318487235, 0.99871946558},
2954  {0.630088530035, 0.752516239706, 0.998508012341},
2955  {0.635473822459, 0.756713992176, 0.998296559102},
2956  {0.640827782373, 0.760751506412, 0.997845774882},
2957  {0.646112810765, 0.764436496529, 0.996868462506},
2958  {0.651397839157, 0.768121486647, 0.995891150129},
2959  {0.656682867549, 0.771806476765, 0.994913837753},
2960  {0.661967895941, 0.775491466882, 0.993936525376},
2961  {0.667252924333, 0.779176457, 0.992959213},
2962  {0.672537952725, 0.782861447118, 0.991981900624},
2963  {0.677822981118, 0.786546437235, 0.991004588247},
2964  {0.683055681561, 0.79004262689, 0.989768428184},
2965  {0.688188483192, 0.793178379298, 0.988038104357},
2966  {0.693321284824, 0.796314131706, 0.986307780529},
2967  {0.698454086455, 0.799449884114, 0.984577456702},
2968  {0.703586888086, 0.802585636522, 0.982847132875},
2969  {0.708719689718, 0.805721388929, 0.981116809047},
2970  {0.713852491349, 0.808857141337, 0.97938648522},
2971  {0.71898529298, 0.811992893745, 0.977656161392},
2972  {0.724041371882, 0.814910392647, 0.975650970647},
2973  {0.728969579569, 0.817464135706, 0.973187668373},
2974  {0.733897787255, 0.820017878765, 0.970724366098},
2975  {0.738825994941, 0.822571621824, 0.968261063824},
2976  {0.743754202627, 0.825125364882, 0.965797761549},
2977  {0.748682410314, 0.827679107941, 0.963334459275},
2978  {0.753610618, 0.830232851, 0.960871157},
2979  {0.758538825686, 0.832786594059, 0.958407854725},
2980  {0.763362780102, 0.83509222182, 0.955657676557},
2981  {0.768034364353, 0.837035219529, 0.952488218235},
2982  {0.772705948604, 0.838978217239, 0.949318759914},
2983  {0.777377532855, 0.840921214949, 0.946149301592},
2984  {0.782049117106, 0.842864212659, 0.942979843271},
2985  {0.786720701357, 0.844807210369, 0.939810384949},
2986  {0.791392285608, 0.846750208078, 0.936640926627},
2987  {0.796063869859, 0.848693205788, 0.933471468306},
2988  {0.800600847294, 0.850358321561, 0.930007560392},
2989  {0.804964758824, 0.851666160557, 0.926165074431},
2990  {0.809328670353, 0.852973999553, 0.922322588471},
2991  {0.813692581882, 0.854281838549, 0.91848010251},
2992  {0.818056493412, 0.855589677545, 0.914637616549},
2993  {0.822420404941, 0.856897516541, 0.910795130588},
2994  {0.826784316471, 0.858205355537, 0.906952644627},
2995  {0.831148228, 0.859513194533, 0.903110158667},
2996  {0.835344711353, 0.860513997294, 0.898970409941},
2997  {0.839351442773, 0.861166825655, 0.894493763416},
2998  {0.843358174192, 0.861819654016, 0.89001711689},
2999  {0.847364905612, 0.862472482376, 0.885540470365},
3000  {0.851371637031, 0.863125310737, 0.881063823839},
3001  {0.855378368451, 0.863778139098, 0.876587177314},
3002  {0.859385099871, 0.864430967459, 0.872110530788},
3003  {0.86339183129, 0.86508379582, 0.867633884263},
3004  {0.867427635086, 0.864376599773, 0.86260246202},
3005  {0.871492511259, 0.862309379318, 0.857016264059},
3006  {0.875557387431, 0.860242158863, 0.851430066098},
3007  {0.879622263604, 0.858174938408, 0.845843868137},
3008  {0.883687139776, 0.856107717953, 0.840257670176},
3009  {0.887752015949, 0.854040497498, 0.834671472216},
3010  {0.891816892122, 0.851973277043, 0.829085274255},
3011  {0.895881768294, 0.849906056588, 0.823499076294},
3012  {0.8995432066, 0.847500236, 0.8177890744},
3013  {0.902848670318, 0.844795650588, 0.811969833741},
3014  {0.906154134035, 0.842091065176, 0.806150593082},
3015  {0.909459597753, 0.839386479765, 0.800331352424},
3016  {0.912765061471, 0.836681894353, 0.794512111765},
3017  {0.916070525188, 0.833977308941, 0.788692871106},
3018  {0.919375988906, 0.831272723529, 0.782873630447},
3019  {0.922681452624, 0.828568138118, 0.777054389788},
3020  {0.925563423, 0.825517298071, 0.771136307812},
3021  {0.928116009667, 0.822197148863, 0.765141349255},
3022  {0.930668596333, 0.818876999655, 0.759146390698},
3023  {0.933221183, 0.815556850447, 0.753151432141},
3024  {0.935773769667, 0.812236701239, 0.747156473584},
3025  {0.938326356333, 0.808916552031, 0.741161515027},
3026  {0.940878943, 0.805596402824, 0.735166556471},
3027  {0.943431529667, 0.802276253616, 0.729171597914},
3028  {0.94554029891, 0.798605740533, 0.723105417298},
3029  {0.9473454036, 0.7946955048, 0.7169905058},
3030  {0.94915050829, 0.790785269067, 0.710875594302},
3031  {0.95095561298, 0.786875033333, 0.704760682804},
3032  {0.952760717671, 0.7829647976, 0.698645771306},
3033  {0.954565822361, 0.779054561867, 0.692530859808},
3034  {0.956370927051, 0.775144326133, 0.68641594831},
3035  {0.958176031741, 0.7712340904, 0.680301036812},
3036  {0.959517658471, 0.76697285451, 0.674144715039},
3037  {0.960581198424, 0.762501018525, 0.667963547102},
3038  {0.961644738376, 0.758029182541, 0.661782379165},
3039  {0.962708278329, 0.753557346557, 0.655601211227},
3040  {0.963771818282, 0.749085510573, 0.64942004329},
3041  {0.964835358235, 0.744613674588, 0.643238875353},
3042  {0.965898898188, 0.740141838604, 0.637057707416},
3043  {0.966962438141, 0.73567000262, 0.630876539478},
3044  {0.967544297635, 0.730849716188, 0.624685478235},
3045  {0.967873848318, 0.725846908094, 0.618489234784},
3046  {0.968203399, 0.7208441, 0.612292991333},
3047  {0.968532949682, 0.715841291906, 0.606096747882},
3048  {0.968862500365, 0.710838483812, 0.599900504431},
3049  {0.969192051047, 0.705835675718, 0.59370426098},
3050  {0.969521601729, 0.700832867624, 0.587508017529},
3051  {0.969851152412, 0.695830059529, 0.581311774078},
3052  {0.969682979667, 0.690483930737, 0.575138361365},
3053  {0.969288569, 0.684981747082, 0.568975326259},
3054  {0.968894158333, 0.679479563427, 0.562812291153},
3055  {0.968499747667, 0.673977379773, 0.556649256047},
3056  {0.968105337, 0.668475196118, 0.550486220941},
3057  {0.967710926333, 0.662973012463, 0.544323185835},
3058  {0.967316515667, 0.657470828808, 0.538160150729},
3059  {0.966922105, 0.651968645153, 0.531997115624},
3060  {0.966016719839, 0.646129741588, 0.525890348259},
3061  {0.964911388137, 0.640159078059, 0.519805598706},
3062  {0.963806056435, 0.634188414529, 0.513720849153},
3063  {0.962700724733, 0.628217751, 0.5076360996},
3064  {0.961595393031, 0.622247087471, 0.501551350047},
3065  {0.960490061329, 0.616276423941, 0.495466600494},
3066  {0.959384729627, 0.610305760412, 0.489381850941},
3067  {0.958279397925, 0.604335096882, 0.483297101388},
3068  {0.956653210976, 0.598033822718, 0.477302292353},
3069  {0.954853405612, 0.591622345008, 0.47133746349},
3070  {0.953053600247, 0.585210867298, 0.465372634627},
3071  {0.951253794882, 0.578799389588, 0.459407805765},
3072  {0.949453989518, 0.572387911878, 0.453442976902},
3073  {0.947654184153, 0.565976434169, 0.447478148039},
3074  {0.945854378788, 0.559564956459, 0.441513319176},
3075  {0.944054573424, 0.553153478749, 0.435548490314},
3076  {0.941727929824, 0.54641347702, 0.429707070373},
3077  {0.939253771518, 0.539581488565, 0.423900204929},
3078  {0.936779613212, 0.53274950011, 0.418093339486},
3079  {0.934305454906, 0.525917511655, 0.412286474043},
3080  {0.9318312966, 0.5190855232, 0.4064796086},
3081  {0.929357138294, 0.512253534745, 0.400672743157},
3082  {0.926882979988, 0.50542154629, 0.394865877714},
3083  {0.924408821682, 0.498589557835, 0.389059012271},
3084  {0.921406221227, 0.491420417184, 0.383408435376},
3085  {0.918281672584, 0.48417347218, 0.377793925071},
3086  {0.915157123941, 0.476926527176, 0.372179414765},
3087  {0.912032575298, 0.469679582173, 0.366564904459},
3088  {0.908908026655, 0.462432637169, 0.360950394153},
3089  {0.905783478012, 0.455185692165, 0.355335883847},
3090  {0.902658929369, 0.447938747161, 0.349721373541},
3091  {0.899534380725, 0.440691802157, 0.344106863235},
3092  {0.895884594835, 0.433074556706, 0.338680634518},
3093  {0.892137542788, 0.425388737098, 0.333289272761},
3094  {0.888390490741, 0.41770291749, 0.327897911004},
3095  {0.884643438694, 0.410017097882, 0.322506549247},
3096  {0.880896386647, 0.402331278275, 0.31711518749},
3097  {0.8771493346, 0.394645458667, 0.311723825733},
3098  {0.873402282553, 0.386959639059, 0.306332463976},
3099  {0.869655230506, 0.379273819451, 0.30094110222},
3100  {0.865391332937, 0.371127672047, 0.295768956416},
3101  {0.861053600294, 0.362915763529, 0.290628127176},
3102  {0.856715867651, 0.354703855012, 0.285487297937},
3103  {0.852378135008, 0.346491946494, 0.280346468698},
3104  {0.848040402365, 0.338280037976, 0.275205639459},
3105  {0.843702669722, 0.330068129459, 0.27006481022},
3106  {0.839364937078, 0.321856220941, 0.26492398098},
3107  {0.835027204435, 0.313644312424, 0.259783151741},
3108  {0.830186521949, 0.304732763553, 0.254891428067},
3109  {0.825293810169, 0.295748838094, 0.250025473933},
3110  {0.820401098388, 0.286764912635, 0.2451595198},
3111  {0.815508386608, 0.277780987176, 0.240293565667},
3112  {0.810615674827, 0.268797061718, 0.235427611533},
3113  {0.805722963047, 0.259813136259, 0.2305616574},
3114  {0.800830251267, 0.2508292108, 0.225695703267},
3115  {0.795937539486, 0.241845285341, 0.220829749133},
3116  {0.790561531941, 0.231396999059, 0.216242038294},
3117  {0.785153304678, 0.220851088722, 0.211672877008},
3118  {0.779745077416, 0.210305178384, 0.207103715722},
3119  {0.774336850153, 0.199759268047, 0.202534554435},
3120  {0.76892862289, 0.18921335771, 0.197965393149},
3121  {0.763520395627, 0.178667447373, 0.193396231863},
3122  {0.758112168365, 0.168121537035, 0.188827070576},
3123  {0.752703941102, 0.157575626698, 0.18425790929},
3124  {0.746838012212, 0.140021019482, 0.179996096957},
3125  {0.740957318753, 0.122240325271, 0.175744199106},
3126  {0.735076625294, 0.104459631059, 0.171492301255},
3127  {0.729195931835, 0.0866789368471, 0.167240403404},
3128  {0.723315238376, 0.0688982426353, 0.162988505553},
3129  {0.717434544918, 0.0511175484235, 0.158736607702},
3130  {0.711553851459, 0.0333368542118, 0.154484709851},
3131  {0.705673158, 0.01555616, 0.150232812}
3132  };
3133 
3134 const colourMapType GNUPLOT_ARRAY[][3] = {
3135  {0.0, 0.0, 0.0},
3136  {0.0, 0.0, 0.0156862745098},
3137  {0.0, 0.0, 0.0313725490196},
3138  {0.0, 0.0, 0.0470588235294},
3139  {0.0, 0.0, 0.0627450980392},
3140  {0.0, 0.0, 0.078431372549},
3141  {0.0, 0.0, 0.0941176470588},
3142  {0.0, 0.0, 0.109803921569},
3143  {0.0, 0.0, 0.125490196078},
3144  {0.0, 0.0, 0.141176470588},
3145  {0.0, 0.0, 0.156862745098},
3146  {0.0, 0.0, 0.172549019608},
3147  {0.0, 0.0, 0.188235294118},
3148  {0.0, 0.0, 0.203921568627},
3149  {0.0, 0.0, 0.219607843137},
3150  {0.0, 0.0, 0.235294117647},
3151  {0.0, 0.0, 0.250980392157},
3152  {0.0, 0.0, 0.266666666667},
3153  {0.0, 0.0, 0.282352941176},
3154  {0.0, 0.0, 0.298039215686},
3155  {0.0, 0.0, 0.313725490196},
3156  {0.0, 0.0, 0.329411764706},
3157  {0.0, 0.0, 0.345098039216},
3158  {0.0, 0.0, 0.360784313725},
3159  {0.0, 0.0, 0.376470588235},
3160  {0.0, 0.0, 0.392156862745},
3161  {0.0, 0.0, 0.407843137255},
3162  {0.0, 0.0, 0.423529411765},
3163  {0.0, 0.0, 0.439215686275},
3164  {0.0, 0.0, 0.454901960784},
3165  {0.0, 0.0, 0.470588235294},
3166  {0.0, 0.0, 0.486274509804},
3167  {0.0, 0.0, 0.501960784314},
3168  {0.0, 0.0, 0.517647058824},
3169  {0.0, 0.0, 0.533333333333},
3170  {0.0, 0.0, 0.549019607843},
3171  {0.0, 0.0, 0.564705882353},
3172  {0.0, 0.0, 0.580392156863},
3173  {0.0, 0.0, 0.596078431373},
3174  {0.0, 0.0, 0.611764705882},
3175  {0.0, 0.0, 0.627450980392},
3176  {0.0, 0.0, 0.643137254902},
3177  {0.0, 0.0, 0.658823529412},
3178  {0.0, 0.0, 0.674509803922},
3179  {0.0, 0.0, 0.690196078431},
3180  {0.0, 0.0, 0.705882352941},
3181  {0.0, 0.0, 0.721568627451},
3182  {0.0, 0.0, 0.737254901961},
3183  {0.0, 0.0, 0.752941176471},
3184  {0.0, 0.0, 0.76862745098},
3185  {0.0, 0.0, 0.78431372549},
3186  {0.0, 0.0, 0.8},
3187  {0.0, 0.0, 0.81568627451},
3188  {0.0, 0.0, 0.83137254902},
3189  {0.0, 0.0, 0.847058823529},
3190  {0.0, 0.0, 0.862745098039},
3191  {0.0, 0.0, 0.878431372549},
3192  {0.0, 0.0, 0.894117647059},
3193  {0.0, 0.0, 0.909803921569},
3194  {0.0, 0.0, 0.925490196078},
3195  {0.0, 0.0, 0.941176470588},
3196  {0.0, 0.0, 0.956862745098},
3197  {0.0, 0.0, 0.972549019608},
3198  {0.0, 0.0, 0.988235294118},
3199  {0.0030637254902, 0.0, 1.0},
3200  {0.015318627451, 0.0, 1.0},
3201  {0.0275735294118, 0.0, 1.0},
3202  {0.0398284313725, 0.0, 1.0},
3203  {0.0520833333333, 0.0, 1.0},
3204  {0.0643382352941, 0.0, 1.0},
3205  {0.0765931372549, 0.0, 1.0},
3206  {0.0888480392157, 0.0, 1.0},
3207  {0.101102941176, 0.0, 1.0},
3208  {0.113357843137, 0.0, 1.0},
3209  {0.125612745098, 0.0, 1.0},
3210  {0.137867647059, 0.0, 1.0},
3211  {0.15012254902, 0.0, 1.0},
3212  {0.16237745098, 0.0, 1.0},
3213  {0.174632352941, 0.0, 1.0},
3214  {0.186887254902, 0.0, 1.0},
3215  {0.199142156863, 0.0, 1.0},
3216  {0.211397058824, 0.0, 1.0},
3217  {0.223651960784, 0.0, 1.0},
3218  {0.235906862745, 0.0, 1.0},
3219  {0.248161764706, 0.0, 1.0},
3220  {0.260416666667, 0.0, 1.0},
3221  {0.272671568627, 0.0, 1.0},
3222  {0.284926470588, 0.0, 1.0},
3223  {0.297181372549, 0.0, 1.0},
3224  {0.30943627451, 0.0, 1.0},
3225  {0.321691176471, 0.0, 1.0},
3226  {0.333946078431, 0.0, 1.0},
3227  {0.346200980392, 0.0, 1.0},
3228  {0.358455882353, 0.0, 1.0},
3229  {0.370710784314, 0.0, 1.0},
3230  {0.382965686275, 0.0, 1.0},
3231  {0.395220588235, 0.0, 1.0},
3232  {0.407475490196, 0.0, 1.0},
3233  {0.419730392157, 0.0, 1.0},
3234  {0.431985294118, 0.0, 1.0},
3235  {0.444240196078, 0.0, 1.0},
3236  {0.456495098039, 0.0, 1.0},
3237  {0.46875, 0.0, 1.0},
3238  {0.481004901961, 0.0, 1.0},
3239  {0.493259803922, 0.0, 1.0},
3240  {0.505514705882, 0.0, 1.0},
3241  {0.517769607843, 0.0, 1.0},
3242  {0.530024509804, 0.0, 1.0},
3243  {0.542279411765, 0.00705882352941, 0.992941176471},
3244  {0.554534313725, 0.0149019607843, 0.985098039216},
3245  {0.566789215686, 0.0227450980392, 0.977254901961},
3246  {0.579044117647, 0.0305882352941, 0.969411764706},
3247  {0.591299019608, 0.038431372549, 0.961568627451},
3248  {0.603553921569, 0.0462745098039, 0.953725490196},
3249  {0.615808823529, 0.0541176470588, 0.945882352941},
3250  {0.62806372549, 0.0619607843137, 0.938039215686},
3251  {0.640318627451, 0.0698039215686, 0.930196078431},
3252  {0.652573529412, 0.0776470588235, 0.922352941176},
3253  {0.664828431373, 0.0854901960784, 0.914509803922},
3254  {0.677083333333, 0.0933333333333, 0.906666666667},
3255  {0.689338235294, 0.101176470588, 0.898823529412},
3256  {0.701593137255, 0.109019607843, 0.890980392157},
3257  {0.713848039216, 0.116862745098, 0.883137254902},
3258  {0.726102941176, 0.124705882353, 0.875294117647},
3259  {0.738357843137, 0.132549019608, 0.867450980392},
3260  {0.750612745098, 0.140392156863, 0.859607843137},
3261  {0.762867647059, 0.148235294118, 0.851764705882},
3262  {0.77512254902, 0.156078431373, 0.843921568627},
3263  {0.78737745098, 0.163921568627, 0.836078431373},
3264  {0.799632352941, 0.171764705882, 0.828235294118},
3265  {0.811887254902, 0.179607843137, 0.820392156863},
3266  {0.824142156863, 0.187450980392, 0.812549019608},
3267  {0.836397058824, 0.195294117647, 0.804705882353},
3268  {0.848651960784, 0.203137254902, 0.796862745098},
3269  {0.860906862745, 0.210980392157, 0.789019607843},
3270  {0.873161764706, 0.218823529412, 0.781176470588},
3271  {0.885416666667, 0.226666666667, 0.773333333333},
3272  {0.897671568627, 0.234509803922, 0.765490196078},
3273  {0.909926470588, 0.242352941176, 0.757647058824},
3274  {0.922181372549, 0.250196078431, 0.749803921569},
3275  {0.93443627451, 0.258039215686, 0.741960784314},
3276  {0.946691176471, 0.265882352941, 0.734117647059},
3277  {0.958946078431, 0.273725490196, 0.726274509804},
3278  {0.971200980392, 0.281568627451, 0.718431372549},
3279  {0.983455882353, 0.289411764706, 0.710588235294},
3280  {0.995710784314, 0.297254901961, 0.702745098039},
3281  {1.0, 0.305098039216, 0.694901960784},
3282  {1.0, 0.312941176471, 0.687058823529},
3283  {1.0, 0.320784313725, 0.679215686275},
3284  {1.0, 0.32862745098, 0.67137254902},
3285  {1.0, 0.336470588235, 0.663529411765},
3286  {1.0, 0.34431372549, 0.65568627451},
3287  {1.0, 0.352156862745, 0.647843137255},
3288  {1.0, 0.36, 0.64},
3289  {1.0, 0.367843137255, 0.632156862745},
3290  {1.0, 0.37568627451, 0.62431372549},
3291  {1.0, 0.383529411765, 0.616470588235},
3292  {1.0, 0.39137254902, 0.60862745098},
3293  {1.0, 0.399215686275, 0.600784313725},
3294  {1.0, 0.407058823529, 0.592941176471},
3295  {1.0, 0.414901960784, 0.585098039216},
3296  {1.0, 0.422745098039, 0.577254901961},
3297  {1.0, 0.430588235294, 0.569411764706},
3298  {1.0, 0.438431372549, 0.561568627451},
3299  {1.0, 0.446274509804, 0.553725490196},
3300  {1.0, 0.454117647059, 0.545882352941},
3301  {1.0, 0.461960784314, 0.538039215686},
3302  {1.0, 0.469803921569, 0.530196078431},
3303  {1.0, 0.477647058824, 0.522352941176},
3304  {1.0, 0.485490196078, 0.514509803922},
3305  {1.0, 0.493333333333, 0.506666666667},
3306  {1.0, 0.501176470588, 0.498823529412},
3307  {1.0, 0.509019607843, 0.490980392157},
3308  {1.0, 0.516862745098, 0.483137254902},
3309  {1.0, 0.524705882353, 0.475294117647},
3310  {1.0, 0.532549019608, 0.467450980392},
3311  {1.0, 0.540392156863, 0.459607843137},
3312  {1.0, 0.548235294118, 0.451764705882},
3313  {1.0, 0.556078431373, 0.443921568627},
3314  {1.0, 0.563921568627, 0.436078431373},
3315  {1.0, 0.571764705882, 0.428235294118},
3316  {1.0, 0.579607843137, 0.420392156863},
3317  {1.0, 0.587450980392, 0.412549019608},
3318  {1.0, 0.595294117647, 0.404705882353},
3319  {1.0, 0.603137254902, 0.396862745098},
3320  {1.0, 0.610980392157, 0.389019607843},
3321  {1.0, 0.618823529412, 0.381176470588},
3322  {1.0, 0.626666666667, 0.373333333333},
3323  {1.0, 0.634509803922, 0.365490196078},
3324  {1.0, 0.642352941176, 0.357647058824},
3325  {1.0, 0.650196078431, 0.349803921569},
3326  {1.0, 0.658039215686, 0.341960784314},
3327  {1.0, 0.665882352941, 0.334117647059},
3328  {1.0, 0.673725490196, 0.326274509804},
3329  {1.0, 0.681568627451, 0.318431372549},
3330  {1.0, 0.689411764706, 0.310588235294},
3331  {1.0, 0.697254901961, 0.302745098039},
3332  {1.0, 0.705098039216, 0.294901960784},
3333  {1.0, 0.712941176471, 0.287058823529},
3334  {1.0, 0.720784313725, 0.279215686275},
3335  {1.0, 0.72862745098, 0.27137254902},
3336  {1.0, 0.736470588235, 0.263529411765},
3337  {1.0, 0.74431372549, 0.25568627451},
3338  {1.0, 0.752156862745, 0.247843137255},
3339  {1.0, 0.76, 0.24},
3340  {1.0, 0.767843137255, 0.232156862745},
3341  {1.0, 0.77568627451, 0.22431372549},
3342  {1.0, 0.783529411765, 0.216470588235},
3343  {1.0, 0.79137254902, 0.20862745098},
3344  {1.0, 0.799215686275, 0.200784313725},
3345  {1.0, 0.807058823529, 0.192941176471},
3346  {1.0, 0.814901960784, 0.185098039216},
3347  {1.0, 0.822745098039, 0.177254901961},
3348  {1.0, 0.830588235294, 0.169411764706},
3349  {1.0, 0.838431372549, 0.161568627451},
3350  {1.0, 0.846274509804, 0.153725490196},
3351  {1.0, 0.854117647059, 0.145882352941},
3352  {1.0, 0.861960784314, 0.138039215686},
3353  {1.0, 0.869803921569, 0.130196078431},
3354  {1.0, 0.877647058824, 0.122352941176},
3355  {1.0, 0.885490196078, 0.114509803922},
3356  {1.0, 0.893333333333, 0.106666666667},
3357  {1.0, 0.901176470588, 0.0988235294118},
3358  {1.0, 0.909019607843, 0.0909803921569},
3359  {1.0, 0.916862745098, 0.083137254902},
3360  {1.0, 0.924705882353, 0.0752941176471},
3361  {1.0, 0.932549019608, 0.0674509803922},
3362  {1.0, 0.940392156863, 0.0596078431373},
3363  {1.0, 0.948235294118, 0.0517647058824},
3364  {1.0, 0.956078431373, 0.0439215686275},
3365  {1.0, 0.963921568627, 0.0360784313725},
3366  {1.0, 0.971764705882, 0.0282352941176},
3367  {1.0, 0.979607843137, 0.0203921568627},
3368  {1.0, 0.987450980392, 0.0125490196078},
3369  {1.0, 0.995294117647, 0.00470588235294},
3370  {1.0, 1.0, 0.0196078431373},
3371  {1.0, 1.0, 0.0686274509804},
3372  {1.0, 1.0, 0.117647058824},
3373  {1.0, 1.0, 0.166666666667},
3374  {1.0, 1.0, 0.21568627451},
3375  {1.0, 1.0, 0.264705882353},
3376  {1.0, 1.0, 0.313725490196},
3377  {1.0, 1.0, 0.362745098039},
3378  {1.0, 1.0, 0.411764705882},
3379  {1.0, 1.0, 0.460784313725},
3380  {1.0, 1.0, 0.509803921569},
3381  {1.0, 1.0, 0.558823529412},
3382  {1.0, 1.0, 0.607843137255},
3383  {1.0, 1.0, 0.656862745098},
3384  {1.0, 1.0, 0.705882352941},
3385  {1.0, 1.0, 0.754901960784},
3386  {1.0, 1.0, 0.803921568627},
3387  {1.0, 1.0, 0.852941176471},
3388  {1.0, 1.0, 0.901960784314},
3389  {1.0, 1.0, 0.950980392157},
3390  {1.0, 1.0, 1.0}
3391  };
3392 
3393 const colourMapType CUBEHELIX_ARRAY[][3] = {
3394  {0.0, 0.0, 0.0},
3395  {0.00671629474145, 0.0021185743614, 0.00597023288156},
3396  {0.0132524152855, 0.00428749900576, 0.012161788867},
3397  {0.0195991983178, 0.00651360130303, 0.0185630391273},
3398  {0.0257481044302, 0.00880348230351, 0.0251618671716},
3399  {0.0316912333494, 0.0111635027538, 0.0319457023184},
3400  {0.0374213376349, 0.0135997697537, 0.038901553906},
3401  {0.0429318348277, 0.0161181240777, 0.0460160461636},
3402  {0.0482168180354, 0.0187241281827, 0.053275453666},
3403  {0.053271064943, 0.0214230549209, 0.0606657372947},
3404  {0.0580900452416, 0.0242198769797, 0.0681725806253},
3405  {0.0626699264693, 0.0271192570617, 0.0757814266636},
3406  {0.0670075782641, 0.0301255388235, 0.0834775148497},
3407  {0.0711005750295, 0.0332427385859, 0.0912459182521},
3408  {0.0749471970186, 0.0364745378279, 0.099071580872},
3409  {0.0785464298444, 0.0398242764745, 0.106939354978},
3410  {0.0818979624265, 0.0432949469886, 0.114834038397},
3411  {0.0850021833912, 0.0468891892737, 0.122740411673},
3412  {0.0878601759384, 0.0506092863918, 0.130643275032},
3413  {0.0904737111999, 0.0544571611023, 0.138527485061},
3414  {0.0928452401083, 0.0584343732234, 0.146377991038},
3415  {0.0949778838058, 0.0625421178155, 0.154179870831},
3416  {0.0968754226202, 0.0667812241879, 0.161918366293},
3417  {0.0985422836395, 0.071152155723, 0.169578918091},
3418  {0.0999835269209, 0.0756550105164, 0.177147199886},
3419  {0.101204830369, 0.0802895228254, 0.184609151803},
3420  {0.102212473327, 0.0850550653181, 0.191951013127},
3421  {0.103013318912, 0.0899506521147, 0.199159354148},
3422  {0.103614795156, 0.0949749426101, 0.206221107115},
3423  {0.104024874982, 0.100126246065, 0.21312359621},
3424  {0.10425205507, 0.10540252695, 0.219854566509},
3425  {0.104305333671, 0.110801411037, 0.226402211857},
3426  {0.104194187405, 0.116320192201, 0.23275520162},
3427  {0.103928547111, 0.121955839937, 0.238902706242},
3428  {0.103518772801, 0.127705007562, 0.244834421583},
3429  {0.102975627774, 0.133564041076, 0.25054059197},
3430  {0.102310251943, 0.139528988668, 0.256012031941},
3431  {0.101534134454, 0.145595610849, 0.261240146616},
3432  {0.100659085629, 0.151759391168, 0.26621695069},
3433  {0.0996972083269, 0.158015547506, 0.270935085981},
3434  {0.0986608687609, 0.164359043915, 0.275387837532},
3435  {0.0975626668499, 0.170784602967, 0.279569148221},
3436  {0.0964154061637, 0.177286718596, 0.283473631854},
3437  {0.0952320635282, 0.183859669391, 0.28709658474},
3438  {0.0940257583566, 0.190497532333, 0.290433995704},
3439  {0.0928097217721, 0.197194196907, 0.293482554538},
3440  {0.0915972655887, 0.203943379602, 0.296239658882},
3441  {0.0904017512154, 0.210738638732, 0.298703419512},
3442  {0.089236558551, 0.217573389561, 0.300872664045},
3443  {0.0881150549337, 0.2244409197, 0.30274693905},
3444  {0.0870505642129, 0.231334404731, 0.304326510575},
3445  {0.0860563360058, 0.238246924042, 0.305612363081},
3446  {0.085145515205, 0.245171476822, 0.306606196806},
3447  {0.0843311117996, 0.252100998189, 0.307310423566},
3448  {0.0836259710723, 0.259028375413, 0.307728160998},
3449  {0.0830427442349, 0.265946464213, 0.307863225277},
3450  {0.0825938595619, 0.272848105068, 0.307720122318},
3451  {0.0822914940823, 0.279726139533, 0.307304037487},
3452  {0.0821475458859, 0.286573426509, 0.306620823855},
3453  {0.0821736071033, 0.293382858441, 0.305676989012},
3454  {0.0823809376115, 0.300147377405, 0.304479680492},
3455  {0.0827804395202, 0.306859991056, 0.303036669818},
3456  {0.0833826324902, 0.313513788395, 0.30135633523},
3457  {0.0841976299319, 0.320101955339, 0.299447643127},
3458  {0.0852351161341, 0.326617790036, 0.297320128253},
3459  {0.086504324366, 0.333054717919, 0.294983872697},
3460  {0.0880140159977, 0.339406306454, 0.292449483732},
3461  {0.0897724606799, 0.345666279555, 0.289728070559},
3462  {0.0917874176209, 0.351828531633, 0.286831219996},
3463  {0.0940661179993, 0.357887141261, 0.283770971172},
3464  {0.0966152485447, 0.363836384412, 0.280559789286},
3465  {0.099440936319, 0.369670747258, 0.277210538472},
3466  {0.102548734728, 0.375384938493, 0.273736453855},
3467  {0.105943610786, 0.38097390116, 0.270151112829},
3468  {0.109629933667, 0.386432823959, 0.266468405649},
3469  {0.11361146455, 0.391757152016, 0.262702505373},
3470  {0.117891347787, 0.396942597077, 0.258867837239},
3471  {0.122472103407, 0.401985147129, 0.254979047533},
3472  {0.127355620966, 0.406881075409, 0.251050972013},
3473  {0.132543154762, 0.4116269488, 0.247098603966},
3474  {0.138035320404, 0.416219635584, 0.243137061952},
3475  {0.143832092765, 0.420656312539, 0.239181557311},
3476  {0.149932805298, 0.424934471382, 0.235247361512},
3477  {0.156336150725, 0.42905192452, 0.231349773382},
3478  {0.163040183098, 0.433006810119, 0.227504086323},
3479  {0.170042321211, 0.436797596475, 0.223725555556},
3480  {0.177339353375, 0.440423085673, 0.220029365468},
3481  {0.184927443524, 0.443882416536, 0.216430597145},
3482  {0.192802138645, 0.447175066858, 0.212944196136},
3483  {0.200958377521, 0.450300854911, 0.209584940527},
3484  {0.20939050075, 0.453259940227, 0.206367409399},
3485  {0.218092262041, 0.456052823661, 0.203305951713},
3486  {0.227056840733, 0.458680346727, 0.200414655713},
3487  {0.236276855536, 0.461143690212, 0.19770731889},
3488  {0.245744379446, 0.463444372072, 0.195197418574},
3489  {0.255450955812, 0.46558424462, 0.192898083227},
3490  {0.265387615506, 0.467565491005, 0.190822064476},
3491  {0.275544895181, 0.469390620993, 0.188981709958},
3492  {0.285912856552, 0.471062466063, 0.187388937028},
3493  {0.296481106683, 0.472584173827, 0.186055207386},
3494  {0.307238819216, 0.473959201781, 0.184991502667},
3495  {0.318174756508, 0.47519131041, 0.184208301057},
3496  {0.329277292634, 0.476284555658, 0.183715554976},
3497  {0.340534437186, 0.477243280773, 0.183522669863},
3498  {0.351933859847, 0.478072107557, 0.18363848413},
3499  {0.363462915657, 0.478775927027, 0.184071250307},
3500  {0.375108670951, 0.479359889521, 0.184828617416},
3501  {0.38685792988, 0.479829394252, 0.185917614623},
3502  {0.398697261487, 0.480190078354, 0.187344636195},
3503  {0.410613027267, 0.480447805417, 0.189115427778},
3504  {0.42259140916, 0.480608653564, 0.191235074051},
3505  {0.434618437905, 0.480678903073, 0.193707987761},
3506  {0.446680021722, 0.480665023577, 0.196537900158},
3507  {0.458761975232, 0.480573660876, 0.199727852875},
3508  {0.470850048576, 0.480411623372, 0.203280191233},
3509  {0.482929956665, 0.48018586818, 0.207196559012},
3510  {0.494987408495, 0.479903486916, 0.21147789469},
3511  {0.507008136481, 0.479571691213, 0.21612442915},
3512  {0.518977925728, 0.479197797987, 0.221135684871},
3513  {0.530882643198, 0.478789214482, 0.226510476591},
3514  {0.542708266701, 0.478353423131, 0.232246913456},
3515  {0.554440913651, 0.477897966257, 0.238342402631},
3516  {0.566066869532, 0.477430430654, 0.244793654388},
3517  {0.577572616009, 0.476958432074, 0.251596688635},
3518  {0.588944858632, 0.476489599655, 0.25874684289},
3519  {0.600170554068, 0.476031560318, 0.26623878168},
3520  {0.611236936814, 0.475591923177, 0.274066507341},
3521  {0.622131545323, 0.475178263981, 0.282223372193},
3522  {0.632842247502, 0.474798109622, 0.29070209208},
3523  {0.64335726552, 0.474458922757, 0.299494761228},
3524  {0.653665199878, 0.474168086552, 0.308592868402},
3525  {0.663755052694, 0.473932889595, 0.317987314327},
3526  {0.673616250142, 0.473760511013, 0.327668430332},
3527  {0.683238664015, 0.473658005805, 0.33762599818},
3528  {0.692612632363, 0.473632290445, 0.347849271052},
3529  {0.701728979144, 0.473690128764, 0.358326995624},
3530  {0.71057903288, 0.473838118157, 0.369047435208},
3531  {0.719154644252, 0.474082676129, 0.379998393896},
3532  {0.727448202608, 0.474430027226, 0.391167241672},
3533  {0.735452651347, 0.474886190357, 0.402540940424},
3534  {0.743161502155, 0.475456966551, 0.414106070811},
3535  {0.750568848042, 0.476147927164, 0.425848859928},
3536  {0.757669375182, 0.476964402571, 0.437755209714},
3537  {0.764458373506, 0.477911471348, 0.44981072604},
3538  {0.770931746032, 0.478993949994, 0.462000748416},
3539  {0.777086016926, 0.48021638319, 0.474310380264},
3540  {0.782918338253, 0.481583034625, 0.486724519684},
3541  {0.788426495423, 0.483097878412, 0.499227890651},
3542  {0.793608911311, 0.484764591111, 0.511805074592},
3543  {0.798464649043, 0.486586544363, 0.524440542252},
3544  {0.802993413437, 0.488566798177, 0.537118685808},
3545  {0.807195551109, 0.490708094854, 0.54982385115},
3546  {0.811072049227, 0.493012853586, 0.56254037026},
3547  {0.81462453292, 0.495483165723, 0.575252593642},
3548  {0.81785526135, 0.49812079074, 0.587944922699},
3549  {0.820767122455, 0.500927152884, 0.600601842031},
3550  {0.823363626361, 0.503903338536, 0.613207951556},
3551  {0.825648897493, 0.50705009428, 0.625747998397},
3552  {0.827627665382, 0.510367825682, 0.638206908472},
3553  {0.829305254207, 0.513856596792, 0.650569817719},
3554  {0.830687571068, 0.517516130366, 0.662822102883},
3555  {0.831781093035, 0.521345808798, 0.674949411812},
3556  {0.832592852985, 0.525344675784, 0.686937693187},
3557  {0.833130424265, 0.529511438692, 0.698773225634},
3558  {0.833401904199, 0.533844471645, 0.710442646149},
3559  {0.833415896488, 0.538341819315, 0.721932977774},
3560  {0.833181492522, 0.543001201409, 0.733231656478},
3561  {0.83270825166, 0.547820017853, 0.744326557164},
3562  {0.832006180496, 0.55279535465, 0.755206018774},
3563  {0.831085711176, 0.557923990406, 0.765858868411},
3564  {0.829957678789, 0.563202403525, 0.776274444444},
3565  {0.828633297898, 0.568626780028, 0.786442618546},
3566  {0.827124138238, 0.574193022015, 0.796353816597},
3567  {0.825442099651, 0.579896756726, 0.80599903844},
3568  {0.823599386294, 0.585733346201, 0.815369876411},
3569  {0.82160848018, 0.591697897509, 0.824458532633},
3570  {0.819482114107, 0.597785273531, 0.833257835013},
3571  {0.817233244027, 0.603990104273, 0.841761251921},
3572  {0.814875020914, 0.610306798687, 0.849962905506},
3573  {0.812420762188, 0.616729556976, 0.85785758363},
3574  {0.80988392276, 0.623252383358, 0.865440750385},
3575  {0.807278065747, 0.629869099261, 0.872708555166},
3576  {0.804616832928, 0.63657335693, 0.879657840293},
3577  {0.801913915, 0.643358653404, 0.886286147136},
3578  {0.799183021691, 0.650218344848, 0.89259172076},
3579  {0.796437851801, 0.657145661207, 0.898573513047},
3580  {0.793692063228, 0.664133721143, 0.904231184306},
3581  {0.790959243039, 0.671175547241, 0.909565103353},
3582  {0.788252877665, 0.678264081433, 0.914576346062},
3583  {0.785586323262, 0.685392200622, 0.919266692384},
3584  {0.782972776313, 0.692552732477, 0.923638621841},
3585  {0.780425244534, 0.699738471342, 0.927695307496},
3586  {0.777956518146, 0.70694219426, 0.931440608404},
3587  {0.77557914156, 0.714156677045, 0.934879060572},
3588  {0.773305385567, 0.721374710399, 0.938015866424},
3589  {0.771147220056, 0.72858911601, 0.9408568828},
3590  {0.76911628735, 0.735792762625, 0.943408607512},
3591  {0.7672238762, 0.742978582044, 0.945678164473},
3592  {0.765480896496, 0.750139585006, 0.94767328743},
3593  {0.763897854765, 0.757268876942, 0.949402302335},
3594  {0.762484830485, 0.764359673549, 0.950874108384},
3595  {0.761251453293, 0.771405316157, 0.952098157761},
3596  {0.760206881122, 0.77839928686, 0.953084434119},
3597  {0.75935977932, 0.785335223365, 0.953843429851},
3598  {0.758718300801, 0.792206933547, 0.954386122191},
3599  {0.758290067274, 0.799008409657, 0.954723948186},
3600  {0.758082151588, 0.805733842164, 0.954868778591},
3601  {0.758101061237, 0.812377633201, 0.954832890749},
3602  {0.758352723071, 0.818934409579, 0.95462894049},
3603  {0.758842469237, 0.825399035342, 0.954269933122},
3604  {0.759575024394, 0.831766623837, 0.953769193568},
3605  {0.760554494229, 0.838032549269, 0.953140335698},
3606  {0.761784355308, 0.844192457715, 0.952397230939},
3607  {0.763267446284, 0.850242277575, 0.951553976205},
3608  {0.765005960486, 0.856178229429, 0.950624861228},
3609  {0.76700143992, 0.86199683528, 0.949624335347},
3610  {0.76925477068, 0.867694927165, 0.948566973832},
3611  {0.771766179813, 0.873269655106, 0.947467443804},
3612  {0.774535233622, 0.878718494384, 0.946340469825},
3613  {0.777560837438, 0.884039252121, 0.945200799235},
3614  {0.780841236856, 0.889230073147, 0.944063167294},
3615  {0.784374020449, 0.894289445142, 0.942942262225},
3616  {0.788156123948, 0.899216203032, 0.941852690205},
3617  {0.792183835899, 0.904009532637, 0.940808940398},
3618  {0.796452804784, 0.908668973546, 0.939825350098},
3619  {0.800958047599, 0.913194421221, 0.938916070056},
3620  {0.80569395988, 0.917586128315, 0.938095030062},
3621  {0.810654327165, 0.921844705198, 0.937375904862},
3622  {0.815832337867, 0.925971119691, 0.936772080487},
3623  {0.821220597546, 0.929966695996, 0.936296621058},
3624  {0.826811144553, 0.933833112827, 0.935962236139},
3625  {0.832595467019, 0.937572400745, 0.93578124873},
3626  {0.838564521168, 0.941186938677, 0.935765563941},
3627  {0.844708750912, 0.944679449658, 0.935926638448},
3628  {0.851018108695, 0.948052995765, 0.936275450772},
3629  {0.857482077559, 0.951310972271, 0.93682247247},
3630  {0.864089694383, 0.954457101021, 0.937577640296},
3631  {0.870829574251, 0.957495423037, 0.938550329391},
3632  {0.87768993591, 0.960430290368, 0.939749327574},
3633  {0.884658628271, 0.96326635719, 0.941182810797},
3634  {0.891723157897, 0.966008570184, 0.942858319801},
3635  {0.898870717428, 0.968662158189, 0.944782738069},
3636  {0.906088214895, 0.971232621167, 0.946962271086},
3637  {0.913362303858, 0.973725718484, 0.949402426992},
3638  {0.920679414312, 0.976147456536, 0.952107998663},
3639  {0.928025784307, 0.978504075736, 0.955083047271},
3640  {0.935387492208, 0.980802036896, 0.95833088736},
3641  {0.942750489542, 0.983048007009, 0.96185407349},
3642  {0.950100634362, 0.985248844481, 0.965654388484},
3643  {0.957423725059, 0.987411583825, 0.969732833309},
3644  {0.96470553456, 0.989543419844, 0.974089618627},
3645  {0.971931844837, 0.991651691343, 0.978724158049},
3646  {0.979088481658, 0.993743864399, 0.983635063112},
3647  {0.98616134951, 0.99582751521, 0.988820140002},
3648  {0.993136466618, 0.997910312571, 0.994276388048},
3649  {1.0, 1.0, 1.0}
3650  };
3651 
3652 const colourMapType HSV_ARRAY[][3] = {
3653  {1.0, 0.0, 0.0},
3654  {1.0, 0.0231617878677, 0.0},
3655  {1.0, 0.0463235757353, 0.0},
3656  {1.0, 0.069485363603, 0.0},
3657  {1.0, 0.0926471514707, 0.0},
3658  {1.0, 0.115808939338, 0.0},
3659  {1.0, 0.138970727206, 0.0},
3660  {1.0, 0.162132515074, 0.0},
3661  {1.0, 0.185294302941, 0.0},
3662  {1.0, 0.208456090809, 0.0},
3663  {1.0, 0.231617878677, 0.0},
3664  {1.0, 0.254779666544, 0.0},
3665  {1.0, 0.277941454412, 0.0},
3666  {1.0, 0.30110324228, 0.0},
3667  {1.0, 0.324265030147, 0.0},
3668  {1.0, 0.347426818015, 0.0},
3669  {1.0, 0.370588605883, 0.0},
3670  {1.0, 0.39375039375, 0.0},
3671  {1.0, 0.416912181618, 0.0},
3672  {1.0, 0.440073969486, 0.0},
3673  {1.0, 0.463235757353, 0.0},
3674  {1.0, 0.486397545221, 0.0},
3675  {1.0, 0.509559333089, 0.0},
3676  {1.0, 0.532721120956, 0.0},
3677  {1.0, 0.555882908824, 0.0},
3678  {1.0, 0.579044696692, 0.0},
3679  {1.0, 0.602206484559, 0.0},
3680  {1.0, 0.625368272427, 0.0},
3681  {1.0, 0.648530060295, 0.0},
3682  {1.0, 0.671691848162, 0.0},
3683  {1.0, 0.69485363603, 0.0},
3684  {1.0, 0.718015423898, 0.0},
3685  {1.0, 0.741177211765, 0.0},
3686  {1.0, 0.764338999633, 0.0},
3687  {1.0, 0.787500787501, 0.0},
3688  {1.0, 0.810662575368, 0.0},
3689  {1.0, 0.833824363236, 0.0},
3690  {1.0, 0.856986151104, 0.0},
3691  {1.0, 0.880147938971, 0.0},
3692  {1.0, 0.903309726839, 0.0},
3693  {1.0, 0.926471514707, 0.0},
3694  {0.995955565809, 0.945588868383, 0.0},
3695  {0.988234969853, 0.961030060295, 0.0},
3696  {0.980514373897, 0.976471252207, 0.0},
3697  {0.972793777941, 0.991912444118, 0.0},
3698  {0.957719545955, 1.0, 0.0},
3699  {0.934557758087, 1.0, 0.0},
3700  {0.911395970219, 1.0, 0.0},
3701  {0.888234182352, 1.0, 0.0},
3702  {0.865072394484, 1.0, 0.0},
3703  {0.841910606616, 1.0, 0.0},
3704  {0.818748818749, 1.0, 0.0},
3705  {0.795587030881, 1.0, 0.0},
3706  {0.772425243013, 1.0, 0.0},
3707  {0.749263455146, 1.0, 0.0},
3708  {0.726101667278, 1.0, 0.0},
3709  {0.70293987941, 1.0, 0.0},
3710  {0.679778091543, 1.0, 0.0},
3711  {0.656616303675, 1.0, 0.0},
3712  {0.633454515807, 1.0, 0.0},
3713  {0.61029272794, 1.0, 0.0},
3714  {0.587130940072, 1.0, 0.0},
3715  {0.563969152204, 1.0, 0.0},
3716  {0.540807364337, 1.0, 0.0},
3717  {0.517645576469, 1.0, 0.0},
3718  {0.494483788601, 1.0, 0.0},
3719  {0.471322000734, 1.0, 0.0},
3720  {0.448160212866, 1.0, 0.0},
3721  {0.424998424998, 1.0, 0.0},
3722  {0.401836637131, 1.0, 0.0},
3723  {0.378674849263, 1.0, 0.0},
3724  {0.355513061395, 1.0, 0.0},
3725  {0.332351273528, 1.0, 0.0},
3726  {0.30918948566, 1.0, 0.0},
3727  {0.286027697792, 1.0, 0.0},
3728  {0.262865909925, 1.0, 0.0},
3729  {0.239704122057, 1.0, 0.0},
3730  {0.216542334189, 1.0, 0.0},
3731  {0.193380546322, 1.0, 0.0},
3732  {0.170218758454, 1.0, 0.0},
3733  {0.147056970586, 1.0, 0.0},
3734  {0.123895182719, 1.0, 0.0},
3735  {0.100733394851, 1.0, 0.0},
3736  {0.0775716069834, 1.0, 0.0},
3737  {0.0544098191157, 1.0, 0.0},
3738  {0.0312493437493, 1.0, 1.31250131248e-06},
3739  {0.0235287477935, 1.0, 0.0154425044131},
3740  {0.0158081518376, 1.0, 0.0308836963249},
3741  {0.00808755588167, 1.0, 0.0463248882367},
3742  {0.000366959925784, 1.0, 0.0617660801484},
3743  {0.0, 1.0, 0.0845607691073},
3744  {0.0, 1.0, 0.107722411057},
3745  {0.0, 1.0, 0.130884053006},
3746  {0.0, 1.0, 0.154045694955},
3747  {0.0, 1.0, 0.177207336904},
3748  {0.0, 1.0, 0.200368978853},
3749  {0.0, 1.0, 0.223530620802},
3750  {0.0, 1.0, 0.246692262752},
3751  {0.0, 1.0, 0.269853904701},
3752  {0.0, 1.0, 0.29301554665},
3753  {0.0, 1.0, 0.316177188599},
3754  {0.0, 1.0, 0.339338830548},
3755  {0.0, 1.0, 0.362500472497},
3756  {0.0, 1.0, 0.385662114447},
3757  {0.0, 1.0, 0.408823756396},
3758  {0.0, 1.0, 0.431985398345},
3759  {0.0, 1.0, 0.455147040294},
3760  {0.0, 1.0, 0.478308682243},
3761  {0.0, 1.0, 0.501470324193},
3762  {0.0, 1.0, 0.524631966142},
3763  {0.0, 1.0, 0.547793608091},
3764  {0.0, 1.0, 0.57095525004},
3765  {0.0, 1.0, 0.594116891989},
3766  {0.0, 1.0, 0.617278533938},
3767  {0.0, 1.0, 0.640440175888},
3768  {0.0, 1.0, 0.663601817837},
3769  {0.0, 1.0, 0.686763459786},
3770  {0.0, 1.0, 0.709925101735},
3771  {0.0, 1.0, 0.733086743684},
3772  {0.0, 1.0, 0.756248385634},
3773  {0.0, 1.0, 0.779410027583},
3774  {0.0, 1.0, 0.802571669532},
3775  {0.0, 1.0, 0.825733311481},
3776  {0.0, 1.0, 0.84889495343},
3777  {0.0, 1.0, 0.872056595379},
3778  {0.0, 1.0, 0.895218237329},
3779  {0.0, 1.0, 0.918379879278},
3780  {0.0, 1.0, 0.941541521227},
3781  {0.0, 1.0, 0.964703163176},
3782  {0.0, 1.0, 0.987864805125},
3783  {0.0, 0.988973483459, 1.0},
3784  {0.0, 0.965811695591, 1.0},
3785  {0.0, 0.942649907723, 1.0},
3786  {0.0, 0.919488119856, 1.0},
3787  {0.0, 0.896326331988, 1.0},
3788  {0.0, 0.87316454412, 1.0},
3789  {0.0, 0.850002756253, 1.0},
3790  {0.0, 0.826840968385, 1.0},
3791  {0.0, 0.803679180517, 1.0},
3792  {0.0, 0.78051739265, 1.0},
3793  {0.0, 0.757355604782, 1.0},
3794  {0.0, 0.734193816914, 1.0},
3795  {0.0, 0.711032029047, 1.0},
3796  {0.0, 0.687870241179, 1.0},
3797  {0.0, 0.664708453311, 1.0},
3798  {0.0, 0.641546665444, 1.0},
3799  {0.0, 0.618384877576, 1.0},
3800  {0.0, 0.595223089708, 1.0},
3801  {0.0, 0.572061301841, 1.0},
3802  {0.0, 0.548899513973, 1.0},
3803  {0.0, 0.525737726105, 1.0},
3804  {0.0, 0.502575938238, 1.0},
3805  {0.0, 0.47941415037, 1.0},
3806  {0.0, 0.456252362502, 1.0},
3807  {0.0, 0.433090574635, 1.0},
3808  {0.0, 0.409928786767, 1.0},
3809  {0.0, 0.386766998899, 1.0},
3810  {0.0, 0.363605211032, 1.0},
3811  {0.0, 0.340443423164, 1.0},
3812  {0.0, 0.317281635296, 1.0},
3813  {0.0, 0.294119847429, 1.0},
3814  {0.0, 0.270958059561, 1.0},
3815  {0.0, 0.247796271693, 1.0},
3816  {0.0, 0.224634483826, 1.0},
3817  {0.0, 0.201472695958, 1.0},
3818  {0.0, 0.17831090809, 1.0},
3819  {0.0, 0.155149120223, 1.0},
3820  {0.0, 0.131987332355, 1.0},
3821  {0.0, 0.108825544487, 1.0},
3822  {0.0, 0.0856637566196, 1.0},
3823  {0.0, 0.062501968752, 1.0},
3824  {0.00771993970523, 0.0470601205895, 1.0},
3825  {0.0154405356611, 0.0316189286778, 1.0},
3826  {0.023161131617, 0.016177736766, 1.0},
3827  {0.0308817275729, 0.000736544854192, 1.0},
3828  {0.0533069705864, 0.0, 1.0},
3829  {0.0764687584541, 0.0, 1.0},
3830  {0.0996305463217, 0.0, 1.0},
3831  {0.122792334189, 0.0, 1.0},
3832  {0.145954122057, 0.0, 1.0},
3833  {0.169115909925, 0.0, 1.0},
3834  {0.192277697792, 0.0, 1.0},
3835  {0.21543948566, 0.0, 1.0},
3836  {0.238601273528, 0.0, 1.0},
3837  {0.261763061395, 0.0, 1.0},
3838  {0.284924849263, 0.0, 1.0},
3839  {0.308086637131, 0.0, 1.0},
3840  {0.331248424998, 0.0, 1.0},
3841  {0.354410212866, 0.0, 1.0},
3842  {0.377572000734, 0.0, 1.0},
3843  {0.400733788601, 0.0, 1.0},
3844  {0.423895576469, 0.0, 1.0},
3845  {0.447057364337, 0.0, 1.0},
3846  {0.470219152204, 0.0, 1.0},
3847  {0.493380940072, 0.0, 1.0},
3848  {0.51654272794, 0.0, 1.0},
3849  {0.539704515807, 0.0, 1.0},
3850  {0.562866303675, 0.0, 1.0},
3851  {0.586028091543, 0.0, 1.0},
3852  {0.60918987941, 0.0, 1.0},
3853  {0.632351667278, 0.0, 1.0},
3854  {0.655513455146, 0.0, 1.0},
3855  {0.678675243013, 0.0, 1.0},
3856  {0.701837030881, 0.0, 1.0},
3857  {0.724998818749, 0.0, 1.0},
3858  {0.748160606616, 0.0, 1.0},
3859  {0.771322394484, 0.0, 1.0},
3860  {0.794484182352, 0.0, 1.0},
3861  {0.817645970219, 0.0, 1.0},
3862  {0.840807758087, 0.0, 1.0},
3863  {0.863969545955, 0.0, 1.0},
3864  {0.887131333823, 0.0, 1.0},
3865  {0.91029312169, 0.0, 1.0},
3866  {0.933454909558, 0.0, 1.0},
3867  {0.956616697426, 0.0, 1.0},
3868  {0.972426161764, 0.0, 0.992647676471},
3869  {0.98014675772, 0.0, 0.977206484559},
3870  {0.987867353676, 0.0, 0.961765292648},
3871  {0.995587949632, 0.0, 0.946324100736},
3872  {1.0, 0.0, 0.927574363236},
3873  {1.0, 0.0, 0.904412575368},
3874  {1.0, 0.0, 0.881250787501},
3875  {1.0, 0.0, 0.858088999633},
3876  {1.0, 0.0, 0.834927211765},
3877  {1.0, 0.0, 0.811765423898},
3878  {1.0, 0.0, 0.78860363603},
3879  {1.0, 0.0, 0.765441848162},
3880  {1.0, 0.0, 0.742280060295},
3881  {1.0, 0.0, 0.719118272427},
3882  {1.0, 0.0, 0.695956484559},
3883  {1.0, 0.0, 0.672794696692},
3884  {1.0, 0.0, 0.649632908824},
3885  {1.0, 0.0, 0.626471120956},
3886  {1.0, 0.0, 0.603309333089},
3887  {1.0, 0.0, 0.580147545221},
3888  {1.0, 0.0, 0.556985757353},
3889  {1.0, 0.0, 0.533823969486},
3890  {1.0, 0.0, 0.510662181618},
3891  {1.0, 0.0, 0.48750039375},
3892  {1.0, 0.0, 0.464338605883},
3893  {1.0, 0.0, 0.441176818015},
3894  {1.0, 0.0, 0.418015030147},
3895  {1.0, 0.0, 0.39485324228},
3896  {1.0, 0.0, 0.371691454412},
3897  {1.0, 0.0, 0.348529666544},
3898  {1.0, 0.0, 0.325367878677},
3899  {1.0, 0.0, 0.302206090809},
3900  {1.0, 0.0, 0.279044302941},
3901  {1.0, 0.0, 0.255882515074},
3902  {1.0, 0.0, 0.232720727206},
3903  {1.0, 0.0, 0.209558939338},
3904  {1.0, 0.0, 0.186397151471},
3905  {1.0, 0.0, 0.163235363603},
3906  {1.0, 0.0, 0.140073575735},
3907  {1.0, 0.0, 0.116911787868},
3908  {1.0, 0.0, 0.09375}
3909 };
3910 
3911 const colourMapType SEISMIC_ARRAY[][3] = {
3912  {0.0, 0.0, 0.3},
3913  {0.0, 0.0, 0.310980392157},
3914  {0.0, 0.0, 0.321960784314},
3915  {0.0, 0.0, 0.332941176471},
3916  {0.0, 0.0, 0.343921568627},
3917  {0.0, 0.0, 0.354901960784},
3918  {0.0, 0.0, 0.365882352941},
3919  {0.0, 0.0, 0.376862745098},
3920  {0.0, 0.0, 0.387843137255},
3921  {0.0, 0.0, 0.398823529412},
3922  {0.0, 0.0, 0.409803921569},
3923  {0.0, 0.0, 0.420784313725},
3924  {0.0, 0.0, 0.431764705882},
3925  {0.0, 0.0, 0.442745098039},
3926  {0.0, 0.0, 0.453725490196},
3927  {0.0, 0.0, 0.464705882353},
3928  {0.0, 0.0, 0.47568627451},
3929  {0.0, 0.0, 0.486666666667},
3930  {0.0, 0.0, 0.497647058824},
3931  {0.0, 0.0, 0.50862745098},
3932  {0.0, 0.0, 0.519607843137},
3933  {0.0, 0.0, 0.530588235294},
3934  {0.0, 0.0, 0.541568627451},
3935  {0.0, 0.0, 0.552549019608},
3936  {0.0, 0.0, 0.563529411765},
3937  {0.0, 0.0, 0.574509803922},
3938  {0.0, 0.0, 0.585490196078},
3939  {0.0, 0.0, 0.596470588235},
3940  {0.0, 0.0, 0.607450980392},
3941  {0.0, 0.0, 0.618431372549},
3942  {0.0, 0.0, 0.629411764706},
3943  {0.0, 0.0, 0.640392156863},
3944  {0.0, 0.0, 0.65137254902},
3945  {0.0, 0.0, 0.662352941176},
3946  {0.0, 0.0, 0.673333333333},
3947  {0.0, 0.0, 0.68431372549},
3948  {0.0, 0.0, 0.695294117647},
3949  {0.0, 0.0, 0.706274509804},
3950  {0.0, 0.0, 0.717254901961},
3951  {0.0, 0.0, 0.728235294118},
3952  {0.0, 0.0, 0.739215686275},
3953  {0.0, 0.0, 0.750196078431},
3954  {0.0, 0.0, 0.761176470588},
3955  {0.0, 0.0, 0.772156862745},
3956  {0.0, 0.0, 0.783137254902},
3957  {0.0, 0.0, 0.794117647059},
3958  {0.0, 0.0, 0.805098039216},
3959  {0.0, 0.0, 0.816078431373},
3960  {0.0, 0.0, 0.827058823529},
3961  {0.0, 0.0, 0.838039215686},
3962  {0.0, 0.0, 0.849019607843},
3963  {0.0, 0.0, 0.86},
3964  {0.0, 0.0, 0.870980392157},
3965  {0.0, 0.0, 0.881960784314},
3966  {0.0, 0.0, 0.892941176471},
3967  {0.0, 0.0, 0.903921568627},
3968  {0.0, 0.0, 0.914901960784},
3969  {0.0, 0.0, 0.925882352941},
3970  {0.0, 0.0, 0.936862745098},
3971  {0.0, 0.0, 0.947843137255},
3972  {0.0, 0.0, 0.958823529412},
3973  {0.0, 0.0, 0.969803921569},
3974  {0.0, 0.0, 0.980784313725},
3975  {0.0, 0.0, 0.991764705882},
3976  {0.00392156862745, 0.00392156862745, 1.0},
3977  {0.0196078431373, 0.0196078431373, 1.0},
3978  {0.0352941176471, 0.0352941176471, 1.0},
3979  {0.0509803921569, 0.0509803921569, 1.0},
3980  {0.0666666666667, 0.0666666666667, 1.0},
3981  {0.0823529411765, 0.0823529411765, 1.0},
3982  {0.0980392156863, 0.0980392156863, 1.0},
3983  {0.113725490196, 0.113725490196, 1.0},
3984  {0.129411764706, 0.129411764706, 1.0},
3985  {0.145098039216, 0.145098039216, 1.0},
3986  {0.160784313725, 0.160784313725, 1.0},
3987  {0.176470588235, 0.176470588235, 1.0},
3988  {0.192156862745, 0.192156862745, 1.0},
3989  {0.207843137255, 0.207843137255, 1.0},
3990  {0.223529411765, 0.223529411765, 1.0},
3991  {0.239215686275, 0.239215686275, 1.0},
3992  {0.254901960784, 0.254901960784, 1.0},
3993  {0.270588235294, 0.270588235294, 1.0},
3994  {0.286274509804, 0.286274509804, 1.0},
3995  {0.301960784314, 0.301960784314, 1.0},
3996  {0.317647058824, 0.317647058824, 1.0},
3997  {0.333333333333, 0.333333333333, 1.0},
3998  {0.349019607843, 0.349019607843, 1.0},
3999  {0.364705882353, 0.364705882353, 1.0},
4000  {0.380392156863, 0.380392156863, 1.0},
4001  {0.396078431373, 0.396078431373, 1.0},
4002  {0.411764705882, 0.411764705882, 1.0},
4003  {0.427450980392, 0.427450980392, 1.0},
4004  {0.443137254902, 0.443137254902, 1.0},
4005  {0.458823529412, 0.458823529412, 1.0},
4006  {0.474509803922, 0.474509803922, 1.0},
4007  {0.490196078431, 0.490196078431, 1.0},
4008  {0.505882352941, 0.505882352941, 1.0},
4009  {0.521568627451, 0.521568627451, 1.0},
4010  {0.537254901961, 0.537254901961, 1.0},
4011  {0.552941176471, 0.552941176471, 1.0},
4012  {0.56862745098, 0.56862745098, 1.0},
4013  {0.58431372549, 0.58431372549, 1.0},
4014  {0.6, 0.6, 1.0},
4015  {0.61568627451, 0.61568627451, 1.0},
4016  {0.63137254902, 0.63137254902, 1.0},
4017  {0.647058823529, 0.647058823529, 1.0},
4018  {0.662745098039, 0.662745098039, 1.0},
4019  {0.678431372549, 0.678431372549, 1.0},
4020  {0.694117647059, 0.694117647059, 1.0},
4021  {0.709803921569, 0.709803921569, 1.0},
4022  {0.725490196078, 0.725490196078, 1.0},
4023  {0.741176470588, 0.741176470588, 1.0},
4024  {0.756862745098, 0.756862745098, 1.0},
4025  {0.772549019608, 0.772549019608, 1.0},
4026  {0.788235294118, 0.788235294118, 1.0},
4027  {0.803921568627, 0.803921568627, 1.0},
4028  {0.819607843137, 0.819607843137, 1.0},
4029  {0.835294117647, 0.835294117647, 1.0},
4030  {0.850980392157, 0.850980392157, 1.0},
4031  {0.866666666667, 0.866666666667, 1.0},
4032  {0.882352941176, 0.882352941176, 1.0},
4033  {0.898039215686, 0.898039215686, 1.0},
4034  {0.913725490196, 0.913725490196, 1.0},
4035  {0.929411764706, 0.929411764706, 1.0},
4036  {0.945098039216, 0.945098039216, 1.0},
4037  {0.960784313725, 0.960784313725, 1.0},
4038  {0.976470588235, 0.976470588235, 1.0},
4039  {0.992156862745, 0.992156862745, 1.0},
4040  {1.0, 0.992156862745, 0.992156862745},
4041  {1.0, 0.976470588235, 0.976470588235},
4042  {1.0, 0.960784313725, 0.960784313725},
4043  {1.0, 0.945098039216, 0.945098039216},
4044  {1.0, 0.929411764706, 0.929411764706},
4045  {1.0, 0.913725490196, 0.913725490196},
4046  {1.0, 0.898039215686, 0.898039215686},
4047  {1.0, 0.882352941176, 0.882352941176},
4048  {1.0, 0.866666666667, 0.866666666667},
4049  {1.0, 0.850980392157, 0.850980392157},
4050  {1.0, 0.835294117647, 0.835294117647},
4051  {1.0, 0.819607843137, 0.819607843137},
4052  {1.0, 0.803921568627, 0.803921568627},
4053  {1.0, 0.788235294118, 0.788235294118},
4054  {1.0, 0.772549019608, 0.772549019608},
4055  {1.0, 0.756862745098, 0.756862745098},
4056  {1.0, 0.741176470588, 0.741176470588},
4057  {1.0, 0.725490196078, 0.725490196078},
4058  {1.0, 0.709803921569, 0.709803921569},
4059  {1.0, 0.694117647059, 0.694117647059},
4060  {1.0, 0.678431372549, 0.678431372549},
4061  {1.0, 0.662745098039, 0.662745098039},
4062  {1.0, 0.647058823529, 0.647058823529},
4063  {1.0, 0.63137254902, 0.63137254902},
4064  {1.0, 0.61568627451, 0.61568627451},
4065  {1.0, 0.6, 0.6},
4066  {1.0, 0.58431372549, 0.58431372549},
4067  {1.0, 0.56862745098, 0.56862745098},
4068  {1.0, 0.552941176471, 0.552941176471},
4069  {1.0, 0.537254901961, 0.537254901961},
4070  {1.0, 0.521568627451, 0.521568627451},
4071  {1.0, 0.505882352941, 0.505882352941},
4072  {1.0, 0.490196078431, 0.490196078431},
4073  {1.0, 0.474509803922, 0.474509803922},
4074  {1.0, 0.458823529412, 0.458823529412},
4075  {1.0, 0.443137254902, 0.443137254902},
4076  {1.0, 0.427450980392, 0.427450980392},
4077  {1.0, 0.411764705882, 0.411764705882},
4078  {1.0, 0.396078431373, 0.396078431373},
4079  {1.0, 0.380392156863, 0.380392156863},
4080  {1.0, 0.364705882353, 0.364705882353},
4081  {1.0, 0.349019607843, 0.349019607843},
4082  {1.0, 0.333333333333, 0.333333333333},
4083  {1.0, 0.317647058824, 0.317647058824},
4084  {1.0, 0.301960784314, 0.301960784314},
4085  {1.0, 0.286274509804, 0.286274509804},
4086  {1.0, 0.270588235294, 0.270588235294},
4087  {1.0, 0.254901960784, 0.254901960784},
4088  {1.0, 0.239215686275, 0.239215686275},
4089  {1.0, 0.223529411765, 0.223529411765},
4090  {1.0, 0.207843137255, 0.207843137255},
4091  {1.0, 0.192156862745, 0.192156862745},
4092  {1.0, 0.176470588235, 0.176470588235},
4093  {1.0, 0.160784313725, 0.160784313725},
4094  {1.0, 0.145098039216, 0.145098039216},
4095  {1.0, 0.129411764706, 0.129411764706},
4096  {1.0, 0.113725490196, 0.113725490196},
4097  {1.0, 0.0980392156863, 0.0980392156863},
4098  {1.0, 0.0823529411765, 0.0823529411765},
4099  {1.0, 0.0666666666667, 0.0666666666667},
4100  {1.0, 0.0509803921569, 0.0509803921569},
4101  {1.0, 0.0352941176471, 0.0352941176471},
4102  {1.0, 0.0196078431373, 0.0196078431373},
4103  {1.0, 0.00392156862745, 0.00392156862745},
4104  {0.994117647059, 0.0, 0.0},
4105  {0.986274509804, 0.0, 0.0},
4106  {0.978431372549, 0.0, 0.0},
4107  {0.970588235294, 0.0, 0.0},
4108  {0.962745098039, 0.0, 0.0},
4109  {0.954901960784, 0.0, 0.0},
4110  {0.947058823529, 0.0, 0.0},
4111  {0.939215686275, 0.0, 0.0},
4112  {0.93137254902, 0.0, 0.0},
4113  {0.923529411765, 0.0, 0.0},
4114  {0.91568627451, 0.0, 0.0},
4115  {0.907843137255, 0.0, 0.0},
4116  {0.9, 0.0, 0.0},
4117  {0.892156862745, 0.0, 0.0},
4118  {0.88431372549, 0.0, 0.0},
4119  {0.876470588235, 0.0, 0.0},
4120  {0.86862745098, 0.0, 0.0},
4121  {0.860784313725, 0.0, 0.0},
4122  {0.852941176471, 0.0, 0.0},
4123  {0.845098039216, 0.0, 0.0},
4124  {0.837254901961, 0.0, 0.0},
4125  {0.829411764706, 0.0, 0.0},
4126  {0.821568627451, 0.0, 0.0},
4127  {0.813725490196, 0.0, 0.0},
4128  {0.805882352941, 0.0, 0.0},
4129  {0.798039215686, 0.0, 0.0},
4130  {0.790196078431, 0.0, 0.0},
4131  {0.782352941176, 0.0, 0.0},
4132  {0.774509803922, 0.0, 0.0},
4133  {0.766666666667, 0.0, 0.0},
4134  {0.758823529412, 0.0, 0.0},
4135  {0.750980392157, 0.0, 0.0},
4136  {0.743137254902, 0.0, 0.0},
4137  {0.735294117647, 0.0, 0.0},
4138  {0.727450980392, 0.0, 0.0},
4139  {0.719607843137, 0.0, 0.0},
4140  {0.711764705882, 0.0, 0.0},
4141  {0.703921568627, 0.0, 0.0},
4142  {0.696078431373, 0.0, 0.0},
4143  {0.688235294118, 0.0, 0.0},
4144  {0.680392156863, 0.0, 0.0},
4145  {0.672549019608, 0.0, 0.0},
4146  {0.664705882353, 0.0, 0.0},
4147  {0.656862745098, 0.0, 0.0},
4148  {0.649019607843, 0.0, 0.0},
4149  {0.641176470588, 0.0, 0.0},
4150  {0.633333333333, 0.0, 0.0},
4151  {0.625490196078, 0.0, 0.0},
4152  {0.617647058824, 0.0, 0.0},
4153  {0.609803921569, 0.0, 0.0},
4154  {0.601960784314, 0.0, 0.0},
4155  {0.594117647059, 0.0, 0.0},
4156  {0.586274509804, 0.0, 0.0},
4157  {0.578431372549, 0.0, 0.0},
4158  {0.570588235294, 0.0, 0.0},
4159  {0.562745098039, 0.0, 0.0},
4160  {0.554901960784, 0.0, 0.0},
4161  {0.547058823529, 0.0, 0.0},
4162  {0.539215686275, 0.0, 0.0},
4163  {0.53137254902, 0.0, 0.0},
4164  {0.523529411765, 0.0, 0.0},
4165  {0.51568627451, 0.0, 0.0},
4166  {0.507843137255, 0.0, 0.0},
4167  {0.5, 0.0, 0.0}
4168 };