ialdev-vis 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
iad/vis/__init__.py ADDED
@@ -0,0 +1,6 @@
1
+ """Flow analysis package
2
+ Evaluation scripts, Data Transfromation & Analysis
3
+ Visualization, Metrics, Reports
4
+ """
5
+
6
+ from .insight import imgrid, imhist
File without changes
@@ -0,0 +1,18 @@
1
+ _hex_colors = [0x2c5d86, 0x2d6088, 0x2d6389, 0x2e668b, 0x2f688c, 0x2f6b8e, 0x306d8f, 0x317090, 0x327291,
2
+ 0x337592, 0x347793, 0x357a94, 0x367c95, 0x387e96, 0x398197, 0x3b8398, 0x3c8598, 0x3e8799,
3
+ 0x408999, 0x418b9a, 0x438d9a, 0x458f9a, 0x47919a, 0x49939b, 0x4b959b, 0x4d969b, 0x4f989b,
4
+ 0x519a9a, 0x539c9a, 0x559d9a, 0x579f99, 0x5aa099, 0x5ca299, 0x5ea398, 0x60a497, 0x63a696,
5
+ 0x65a796, 0x67a895, 0x69a994, 0x6cab93, 0x6eac92, 0x70ad90, 0x72ae8f, 0x75af8e, 0x77af8c,
6
+ 0x79b08b, 0x7bb189, 0x7eb288, 0x80b286, 0x82b384, 0x84b482, 0x87b480, 0x89b57e, 0x8bb57c,
7
+ 0x8db67a, 0x8fb678, 0x91b676, 0x93b673, 0x95b771, 0x97b76e, 0x99b76b, 0x9bb768, 0x9db766,
8
+ 0x9fb763, 0xa1b760, 0xa4b75f, 0xa6b75d, 0xa8b75c, 0xabb75a, 0xadb759, 0xafb758, 0xb1b756,
9
+ 0xb4b755, 0xb6b653, 0xb8b652, 0xbab650, 0xbcb54f, 0xbeb54d, 0xc0b54c, 0xc2b44a, 0xc4b449,
10
+ 0xc6b347, 0xc8b246, 0xc9b244, 0xcbb143, 0xcdb041, 0xcfaf40, 0xd1af3e, 0xd2ae3d, 0xd4ad3b,
11
+ 0xd6ac3a, 0xd7ab38, 0xd9aa37, 0xdaa835, 0xdca734, 0xdea633, 0xdfa531, 0xe1a330, 0xe2a22e,
12
+ 0xe3a02d, 0xe59f2b, 0xe69d2a, 0xe79c28, 0xe99a27, 0xea9825, 0xeb9724, 0xec9523, 0xee9321,
13
+ 0xef9120, 0xf08f1e, 0xf18d1d, 0xf28a1c, 0xf3881a, 0xf48619, 0xf58318, 0xf68116, 0xf77e15,
14
+ 0xf87c14, 0xf97913, 0xfa7611, 0xfa7310, 0xfb700f, 0xfc6d0e, 0xfd690d, 0xfd660c, 0xfe620b,
15
+ 0xfe501a, 0xff4b29]
16
+
17
+ cm_data = [*map(lambda x: [((x >> sh) & 0xff)/0xff for sh in (16, 8, 0)],
18
+ _hex_colors)]
@@ -0,0 +1,280 @@
1
+ from matplotlib.colors import ListedColormap
2
+
3
+ # Used to reconstruct the colormap in viscm
4
+ parameters = {'xp': [-16.253504798878453, -21.443303138142994, -12.880135878356498, 22.18399130749728, 22.18399130749728, 63.43565133405767, 43.10032596885182, 2.6892591394370697, -3.380417723047202, 49.137954275854639, -19.107893885473942, -51.02515367195079, -42.202496495201103, -12.101666127466842, 9.9549768144074164],
5
+ 'yp': [-13.812277580071168, -21.337485172004733, -38.204329774614465, -38.74501992031871, -22.767264276228417, 25.74701195219123, 25.456507304116855, 6.9469157769869696, 61.18857901726426, -13.552787663107949, 71.040925266903912, 33.933867141162523, -9.1414590747330919, 25.111209964412808, 12.655693950177948],
6
+ 'min_Jp': 57.5,
7
+ 'max_Jp': 80.3125}
8
+
9
+ cm_data = [[ 0.26416192, 0.56519848, 0.65345367],
10
+ [ 0.24702777, 0.56781828, 0.66297905],
11
+ [ 0.23008782, 0.57012064, 0.6730557 ],
12
+ [ 0.21380132, 0.57207798, 0.68354781],
13
+ [ 0.19869516, 0.57367423, 0.69431641],
14
+ [ 0.18533134, 0.5749048 , 0.70523844],
15
+ [ 0.17433945, 0.57577423, 0.71616419],
16
+ [ 0.16623584, 0.57629598, 0.72700658],
17
+ [ 0.16143655, 0.57648758, 0.73767881],
18
+ [ 0.16014921, 0.57637282, 0.74808254],
19
+ [ 0.1622909 , 0.57597464, 0.75817083],
20
+ [ 0.16755163, 0.57531543, 0.7679058 ],
21
+ [ 0.17546303, 0.57441838, 0.77724978],
22
+ [ 0.18549281, 0.57330638, 0.78617259],
23
+ [ 0.19710922, 0.57200518, 0.79463971],
24
+ [ 0.20988767, 0.57053074, 0.80265333],
25
+ [ 0.22346653, 0.56890212, 0.81020225],
26
+ [ 0.23756147, 0.56713731, 0.81727925],
27
+ [ 0.2519545 , 0.56525317, 0.8238806 ],
28
+ [ 0.26648103, 0.56326556, 0.83000549],
29
+ [ 0.28101798, 0.56118929, 0.83565577],
30
+ [ 0.29547395, 0.55903818, 0.84083559],
31
+ [ 0.30978147, 0.55682512, 0.84555118],
32
+ [ 0.32389118, 0.55456202, 0.84981067],
33
+ [ 0.33776738, 0.55225991, 0.85362382],
34
+ [ 0.35138483, 0.54992885, 0.85700192],
35
+ [ 0.36472624, 0.54757804, 0.85995753],
36
+ [ 0.37778051, 0.54521578, 0.86250431],
37
+ [ 0.39054131, 0.54284949, 0.86465688],
38
+ [ 0.40300608, 0.54048574, 0.86643056],
39
+ [ 0.41517518, 0.5381303 , 0.86784124],
40
+ [ 0.42705132, 0.53578813, 0.86890519],
41
+ [ 0.43863899, 0.53346345, 0.86963892],
42
+ [ 0.44994413, 0.53115977, 0.87005896],
43
+ [ 0.46096238, 0.52888354, 0.87018292],
44
+ [ 0.47170869, 0.52663492, 0.87002723],
45
+ [ 0.48219641, 0.52441403, 0.86960747],
46
+ [ 0.49243477, 0.52222193, 0.86893913],
47
+ [ 0.50243329, 0.52005918, 0.86803716],
48
+ [ 0.51220168, 0.51792595, 0.86691594],
49
+ [ 0.52174971, 0.51582199, 0.86558921],
50
+ [ 0.53107179, 0.51375222, 0.86407476],
51
+ [ 0.54019353, 0.5117103 , 0.86238094],
52
+ [ 0.54912577, 0.50969466, 0.86051883],
53
+ [ 0.55787809, 0.50770392, 0.85849909],
54
+ [ 0.56645981, 0.50573651, 0.85633158],
55
+ [ 0.57487135, 0.50379403, 0.85402928],
56
+ [ 0.58312689, 0.50187275, 0.85159866],
57
+ [ 0.59124058, 0.49996861, 0.84904469],
58
+ [ 0.5992207 , 0.4980796 , 0.84637393],
59
+ [ 0.60707517, 0.49620369, 0.84359218],
60
+ [ 0.61480285, 0.49434243, 0.84070954],
61
+ [ 0.62242153, 0.49248957, 0.83772465],
62
+ [ 0.6299389 , 0.49064276, 0.83464049],
63
+ [ 0.63736148, 0.48880006, 0.83145981],
64
+ [ 0.64469241, 0.48696087, 0.82818671],
65
+ [ 0.65193996, 0.48512236, 0.82482109],
66
+ [ 0.65911271, 0.48328146, 0.82136153],
67
+ [ 0.66621564, 0.48143659, 0.81780809],
68
+ [ 0.67325283, 0.47958653, 0.81416065],
69
+ [ 0.68022961, 0.47772949, 0.81041734],
70
+ [ 0.68715174, 0.47586344, 0.80657503],
71
+ [ 0.69402257, 0.47398743, 0.8026316 ],
72
+ [ 0.7008453 , 0.47210057, 0.79858433],
73
+ [ 0.70762567, 0.47020078, 0.79442746],
74
+ [ 0.71436483, 0.46828816, 0.79015844],
75
+ [ 0.72106446, 0.4663626 , 0.78577362],
76
+ [ 0.72772586, 0.46442422, 0.78126913],
77
+ [ 0.734356 , 0.4624703 , 0.77663477],
78
+ [ 0.74095225, 0.46050299, 0.77186905],
79
+ [ 0.74751395, 0.45852353, 0.76696817],
80
+ [ 0.75404083, 0.45653303, 0.76192754],
81
+ [ 0.76053668, 0.45453057, 0.75673755],
82
+ [ 0.76700232, 0.45251677, 0.75139099],
83
+ [ 0.77343183, 0.45049597, 0.7458882 ],
84
+ [ 0.77982344, 0.44847043, 0.74022461],
85
+ [ 0.78617515, 0.44644267, 0.73439574],
86
+ [ 0.79249264, 0.44441105, 0.72838655],
87
+ [ 0.79876913, 0.44238088, 0.72219752],
88
+ [ 0.80499858, 0.44035729, 0.71582865],
89
+ [ 0.81117762, 0.43834407, 0.70927631],
90
+ [ 0.81730267, 0.43634531, 0.70253714],
91
+ [ 0.82337269, 0.43436379, 0.69560357],
92
+ [ 0.82938841, 0.43240142, 0.68846432],
93
+ [ 0.83533757, 0.43046779, 0.68112912],
94
+ [ 0.84121532, 0.42856845, 0.67359631],
95
+ [ 0.84701652, 0.42670932, 0.66586474],
96
+ [ 0.8527358 , 0.42489669, 0.65793374],
97
+ [ 0.85836748, 0.42313723, 0.64980322],
98
+ [ 0.86390563, 0.42143799, 0.6414737 ],
99
+ [ 0.86934866, 0.41980373, 0.632936 ],
100
+ [ 0.87468576, 0.41824482, 0.62420053],
101
+ [ 0.87990867, 0.41677035, 0.61527316],
102
+ [ 0.8850102 , 0.415389 , 0.60615785],
103
+ [ 0.8899829 , 0.41410979, 0.59685944],
104
+ [ 0.89481906, 0.41294206, 0.58738376],
105
+ [ 0.89951073, 0.41189543, 0.5777377 ],
106
+ [ 0.90404977, 0.4109797 , 0.56792923],
107
+ [ 0.90842789, 0.41020482, 0.55796748],
108
+ [ 0.91263669, 0.40958078, 0.54786271],
109
+ [ 0.91666774, 0.4091175 , 0.53762639],
110
+ [ 0.92051264, 0.40882469, 0.52727113],
111
+ [ 0.92416313, 0.40871173, 0.51681068],
112
+ [ 0.92761116, 0.40878753, 0.5062598 ],
113
+ [ 0.93084904, 0.4090603 , 0.49563425],
114
+ [ 0.93387046, 0.40953733, 0.48494415],
115
+ [ 0.93666851, 0.41022541, 0.47420532],
116
+ [ 0.93923579, 0.41113026, 0.46344315],
117
+ [ 0.94156694, 0.41225598, 0.45267597],
118
+ [ 0.94365747, 0.41360531, 0.44192211],
119
+ [ 0.94550385, 0.41517951, 0.4311997 ],
120
+ [ 0.94710354, 0.41697839, 0.42052599],
121
+ [ 0.94845506, 0.41900186, 0.40990329],
122
+ [ 0.94955721, 0.42124548, 0.39936434],
123
+ [ 0.95041058, 0.42370456, 0.38892417],
124
+ [ 0.95101675, 0.42637313, 0.37859651],
125
+ [ 0.95137764, 0.42924536, 0.36838695],
126
+ [ 0.95149637, 0.43231295, 0.35830909],
127
+ [ 0.95137745, 0.43556588, 0.34837797],
128
+ [ 0.95102559, 0.43899453, 0.33860117],
129
+ [ 0.95044498, 0.44259039, 0.32897897],
130
+ [ 0.94964181, 0.44634197, 0.31952112],
131
+ [ 0.94862239, 0.45023819, 0.31023309],
132
+ [ 0.94739247, 0.45426898, 0.30111564],
133
+ [ 0.94595754, 0.4584248 , 0.29216768],
134
+ [ 0.94432471, 0.46269429, 0.28339327],
135
+ [ 0.94249991, 0.46706787, 0.27479128],
136
+ [ 0.9404884 , 0.47153692, 0.26635853],
137
+ [ 0.93829641, 0.47609192, 0.25809501],
138
+ [ 0.93592926, 0.4807246 , 0.2499983 ],
139
+ [ 0.93339202, 0.48542716, 0.24206588],
140
+ [ 0.9306896 , 0.49019216, 0.23429551],
141
+ [ 0.92782621, 0.49501307, 0.22668416],
142
+ [ 0.92480607, 0.49988345, 0.21922975],
143
+ [ 0.92163384, 0.50479671, 0.21193178],
144
+ [ 0.91831186, 0.50974853, 0.20478637],
145
+ [ 0.91484297, 0.51473422, 0.19779187],
146
+ [ 0.91123259, 0.519747 , 0.19095178],
147
+ [ 0.90748135, 0.5247844 , 0.18426274],
148
+ [ 0.90359086, 0.52984313, 0.17772446],
149
+ [ 0.89956415, 0.53491882, 0.17133997],
150
+ [ 0.89540575, 0.54000606, 0.1651152 ],
151
+ [ 0.8911137 , 0.54510473, 0.15904857],
152
+ [ 0.88668917, 0.55021215, 0.15314441],
153
+ [ 0.88213497, 0.55532452, 0.14741036],
154
+ [ 0.87745572, 0.56043688, 0.1418571 ],
155
+ [ 0.87264749, 0.56555057, 0.1364872 ],
156
+ [ 0.86771091, 0.57066354, 0.13131024],
157
+ [ 0.86264647, 0.57577386, 0.12633733],
158
+ [ 0.85745826, 0.58087727, 0.12158439],
159
+ [ 0.8521472 , 0.58597179, 0.11706552],
160
+ [ 0.8467094 , 0.59105852, 0.11279244],
161
+ [ 0.84114477, 0.59613601, 0.10878193],
162
+ [ 0.83545305, 0.60120293, 0.10505191],
163
+ [ 0.8296338 , 0.60625805, 0.1016212 ],
164
+ [ 0.82368637, 0.61130025, 0.09850911],
165
+ [ 0.81761338, 0.61632654, 0.09573692],
166
+ [ 0.8114123 , 0.62133694, 0.09332224],
167
+ [ 0.80507912, 0.62633215, 0.09128143],
168
+ [ 0.798612 , 0.63131157, 0.08963048],
169
+ [ 0.79200875, 0.6362747 , 0.08838298],
170
+ [ 0.78526681, 0.64122114, 0.08754948],
171
+ [ 0.77838323, 0.64615062, 0.08713702],
172
+ [ 0.7713546 , 0.65106297, 0.08714877],
173
+ [ 0.76417708, 0.6559581 , 0.08758399],
174
+ [ 0.75684629, 0.66083604, 0.08843809],
175
+ [ 0.74935737, 0.66569688, 0.08970298],
176
+ [ 0.74170487, 0.67054078, 0.0913676 ],
177
+ [ 0.73388276, 0.67536797, 0.09341855],
178
+ [ 0.72588437, 0.68017875, 0.09584081],
179
+ [ 0.71770236, 0.68497341, 0.09861845],
180
+ [ 0.70932869, 0.68975231, 0.10173534],
181
+ [ 0.70075457, 0.6945158 , 0.10517576],
182
+ [ 0.69197038, 0.69926421, 0.10892491],
183
+ [ 0.68296567, 0.70399787, 0.11296936],
184
+ [ 0.67372905, 0.70871707, 0.11729734],
185
+ [ 0.66424819, 0.71342201, 0.12189902],
186
+ [ 0.65450966, 0.71811282, 0.12676664],
187
+ [ 0.64449896, 0.72278954, 0.13189469],
188
+ [ 0.63420038, 0.72745204, 0.13727991],
189
+ [ 0.62359693, 0.73210001, 0.14292145],
190
+ [ 0.61267034, 0.73673292, 0.14882085],
191
+ [ 0.60140092, 0.74134997, 0.15498213],
192
+ [ 0.58976762, 0.74595 , 0.1614119 ],
193
+ [ 0.57774806, 0.75053141, 0.1681194 ],
194
+ [ 0.5653186 , 0.75509202, 0.17511671],
195
+ [ 0.55245472, 0.759629 , 0.18241885],
196
+ [ 0.53913143, 0.76413856, 0.19004406],
197
+ [ 0.52532418, 0.7686158 , 0.19801402],
198
+ [ 0.51099732, 0.77305715, 0.20636044],
199
+ [ 0.49611186, 0.7774581 , 0.21512338],
200
+ [ 0.48067184, 0.78180377, 0.22433017],
201
+ [ 0.46467587, 0.78608012, 0.23402213],
202
+ [ 0.44814485, 0.79026854, 0.2442458 ],
203
+ [ 0.43107446, 0.7943545 , 0.25508744],
204
+ [ 0.41354117, 0.79830927, 0.26663104],
205
+ [ 0.3958256 , 0.80207595, 0.27890191],
206
+ [ 0.37809514, 0.80561975, 0.29209357],
207
+ [ 0.36109178, 0.80883683, 0.30618484],
208
+ [ 0.34559944, 0.81163462, 0.32136001],
209
+ [ 0.33317888, 0.81385174, 0.33750258],
210
+ [ 0.32569459, 0.8153205 , 0.35436957],
211
+ [ 0.32483652, 0.8159077 , 0.37139886],
212
+ [ 0.33105845, 0.81560091, 0.38780411],
213
+ [ 0.34317709, 0.81453069, 0.40293234],
214
+ [ 0.35910534, 0.81291342, 0.41641254],
215
+ [ 0.37708636, 0.81092595, 0.42831625],
216
+ [ 0.39585101, 0.80871209, 0.43877739],
217
+ [ 0.4147635 , 0.80634577, 0.4480356 ],
218
+ [ 0.43325163, 0.80392001, 0.45619216],
219
+ [ 0.45117894, 0.80146229, 0.46343571],
220
+ [ 0.46849334, 0.79899057, 0.46990609],
221
+ [ 0.48515608, 0.79652394, 0.47570041],
222
+ [ 0.50117159, 0.79407394, 0.48090054],
223
+ [ 0.51656733, 0.79164709, 0.4855746 ],
224
+ [ 0.5313285 , 0.78926 , 0.48976677],
225
+ [ 0.54548205, 0.78691906, 0.49352366],
226
+ [ 0.55913683, 0.78460796, 0.49689986],
227
+ [ 0.572339 , 0.78232422, 0.49992779],
228
+ [ 0.58513026, 0.78006521, 0.50263393],
229
+ [ 0.59742227, 0.77786452, 0.50502515],
230
+ [ 0.60935688, 0.77569009, 0.50713862],
231
+ [ 0.62099847, 0.77352921, 0.50899416],
232
+ [ 0.63229911, 0.77140195, 0.51060087],
233
+ [ 0.64329368, 0.76930343, 0.51197622],
234
+ [ 0.65409054, 0.76720409, 0.51313748],
235
+ [ 0.664623 , 0.76512875, 0.51409599],
236
+ [ 0.67495644, 0.7630597 , 0.51486731],
237
+ [ 0.6851651 , 0.76097437, 0.51546379],
238
+ [ 0.6951461 , 0.75890943, 0.51590594],
239
+ [ 0.70504283, 0.75681717, 0.51620464],
240
+ [ 0.71481733, 0.75471111, 0.51638105],
241
+ [ 0.72448373, 0.75258649, 0.5164558 ],
242
+ [ 0.73410277, 0.75042063, 0.51644598],
243
+ [ 0.74360211, 0.74823951, 0.516385 ],
244
+ [ 0.75307844, 0.74600553, 0.51628923],
245
+ [ 0.76247525, 0.74373861, 0.51619463],
246
+ [ 0.77183314, 0.74142105, 0.51612729],
247
+ [ 0.78113723, 0.73905659, 0.51612147],
248
+ [ 0.79038148, 0.73664558, 0.51621145],
249
+ [ 0.79957674, 0.73418117, 0.51643087],
250
+ [ 0.80868843, 0.731676 , 0.51681788],
251
+ [ 0.81773714, 0.72911902, 0.51740695],
252
+ [ 0.82667802, 0.72652836, 0.51823588],
253
+ [ 0.83552438, 0.72389641, 0.51934042],
254
+ [ 0.84424002, 0.72123868, 0.5207559 ],
255
+ [ 0.85281922, 0.71855699, 0.52251752],
256
+ [ 0.86123717, 0.71586282, 0.52465808],
257
+ [ 0.86947152, 0.71316731, 0.52720817],
258
+ [ 0.87751183, 0.71047596, 0.53019957],
259
+ [ 0.88531421, 0.70781291, 0.53365053],
260
+ [ 0.89289294, 0.70517135, 0.53759748],
261
+ [ 0.9001721 , 0.70259592, 0.54203027],
262
+ [ 0.90720584, 0.70005729, 0.54700442],
263
+ [ 0.91387569, 0.69762949, 0.55245368],
264
+ [ 0.92028844, 0.69524994, 0.55847851]]
265
+
266
+ test_cm = ListedColormap(cm_data, name=__file__)
267
+
268
+
269
+ if __name__ == "__main__":
270
+ import matplotlib.pyplot as plt
271
+ import numpy as np
272
+
273
+ try:
274
+ from viscm import viscm
275
+ viscm(test_cm)
276
+ except ImportError:
277
+ print("viscm not found, falling back on simple display")
278
+ plt.imshow(np.linspace(0, 100, 256)[None, :], aspect='auto',
279
+ cmap=test_cm)
280
+ plt.show()
@@ -0,0 +1,62 @@
1
+ {
2
+ "content-type": "application/vnd.matplotlib.colormap-v1+json",
3
+ "name": "new cm",
4
+ "license": "http://creativecommons.org/publicdomain/zero/1.0/",
5
+ "usage-hints": [
6
+ "red-green-colorblind-safe",
7
+ "greyscale-safe",
8
+ "sequential"
9
+ ],
10
+ "colorspace": "sRGB",
11
+ "domain": "continuous",
12
+ "colors": "10204b14204c18204d1b204e1e204f212050232051261f52281f542b1f562d1e592f1d5d311c61321b6534196a34186f35177436157936147f37138437118937108e360e93360d98350c9d340ba1330aa6320aab300aaf2e0ab32c0bb8290dbb2510be2015c01a1bbf1222bc0928b6042eaf0232a90435a306389e0a3a990d3c94103e90133f8c1541881743851944821a457f1a477c1a487a194a78194b76184c75184d73174f7216507115516f14526e13536d13546c14556a1556691757681958661b59651d5a641f5b62215b61235c60255d5f265e5d285e5c2a5f5b2b605a2d61592f62573062563263553464543764533a64513d655141655044655048654f4b65504e65505165505465515765525a66525c66535f66546166556466566666576866586b66596d665a70665b72665c74655e77655f7965617b65627d656480656582656684656787646989646a8c646b8e636c91636d93626e96626f9961709c60719f6072a25f72a55e73a85d73ab5c73ae5b73b15a72b45971b75870ba576ebd566cbf566ac15667c35665c55662c7565fc9565cca575acc5757cd5854cf5951d05a4ed15b4bd25c48d25d46d35e43d36040d4613ed4633bd46539d56637d56834d56a32d46c30d46e2ed4702cd3722bd37429d27628d27827d17a27d07c27cf7f27ce8127cc8328cb8529ca872ac88a2cc78c2dc58e2fc49031c29233c19436bf9638bd993abb9b3dba9d3fb89f42b6a145b4a347b2a54ab0a64daea850acaa52aaac55a8ae57a5b059a3b25ba1b45d9eb65f9cb7609ab96297bb6394bd6491bf658ec1668bc36688c56684c76681c9657dcb6479cd6375cf6172d05e6ed25b6bd45768d65365d84f62d94a61db4462dc3d66dc376bdd3072dd2b79dd2680dd2287dd1f8ddc1b93dc1799dc149fdc11a5db0daadb0bafdb09b4da08b9da08beda09c3d90bc8d90dccd910d0d813d5d816d9d819ddd81ce1d720e5d724e8d728ecd62cefd631f2d637f4d63df6d744f8d74bf9d852fad959fad960fbda66fcdb6cfcdc73fcdd79fdde7ffddf85fde08bfee190fee296fee39cffe4a2",
13
+ "extensions": {
14
+ "https://matplotlib.org/viscm": {
15
+ "min_Jp": 16,
16
+ "max_Jp": 93,
17
+ "xp": [
18
+ -3.5551119583642787,
19
+ 7.31888559498627,
20
+ 5.341795130740721,
21
+ -6.644315808747962,
22
+ -6.520747654732602,
23
+ -9.362815197085595,
24
+ -15.417654743837602,
25
+ -14.799813973760877,
26
+ 24.00058638705815,
27
+ 27.584062853503212,
28
+ 11.520202831508072,
29
+ -17.641881516113855,
30
+ -28.268742761433714,
31
+ -18.753994902251975,
32
+ -8.003565502916771,
33
+ -1.2073170320726803,
34
+ 1.1404778942189182
35
+ ],
36
+ "yp": [
37
+ -18.936201762081865,
38
+ -19.801178840189294,
39
+ -29.81019931543242,
40
+ -36.730015940291864,
41
+ -24.249632384741794,
42
+ -19.67761068617395,
43
+ -11.645680675176386,
44
+ 10.225882585540063,
45
+ -3.119478048117429,
46
+ 15.16860874615395,
47
+ 27.772560455719358,
48
+ 16.774994748353464,
49
+ 26.536878915565893,
50
+ 32.09744584625652,
51
+ 32.715286616333245,
52
+ 30.367491690041646,
53
+ 16.89856290236881
54
+ ],
55
+ "fixed": -1,
56
+ "filter_k": 100,
57
+ "cmtype": "linear",
58
+ "uniform_colorspace": "CAM02-UCS",
59
+ "spline_method": "CatmulClark"
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,262 @@
1
+
2
+ from matplotlib.colors import ListedColormap
3
+
4
+ cm_type = "linear"
5
+
6
+ cm_data = [[0.06260013,0.12729578,0.2928503 ],
7
+ [0.07909777,0.12691503,0.29640196],
8
+ [0.09286324,0.12664559,0.30018143],
9
+ [0.1053731 ,0.12627776,0.30421303],
10
+ [0.11706383,0.125766 ,0.30850136],
11
+ [0.12808493,0.12512411,0.31302714],
12
+ [0.13871732,0.12427723,0.3178086 ],
13
+ [0.14870157,0.12328055,0.32319889],
14
+ [0.15831512,0.12182033,0.32998228],
15
+ [0.16762912,0.11973493,0.33853397],
16
+ [0.17650479,0.11689341,0.34937939],
17
+ [0.18470068,0.11322904,0.36291262],
18
+ [0.1918085 ,0.10890708,0.37909273],
19
+ [0.19760603,0.10425549,0.39718372],
20
+ [0.20221944,0.09948911,0.41629548],
21
+ [0.2058299 ,0.09460537,0.43607375],
22
+ [0.20880771,0.08945103,0.45612937],
23
+ [0.21113066,0.08418068,0.4761691 ],
24
+ [0.21289515,0.07853171,0.49645097],
25
+ [0.21399445,0.07269604,0.51676994],
26
+ [0.21433997,0.06690525,0.53694123],
27
+ [0.21399323,0.06114806,0.5569296 ],
28
+ [0.21289645,0.05565133,0.57661959],
29
+ [0.21093418,0.05081808,0.59587748],
30
+ [0.20818198,0.04661362,0.61476709],
31
+ [0.20459621,0.04323659,0.63327771],
32
+ [0.20012417,0.04087126,0.65141132],
33
+ [0.19469435,0.03964241,0.6691929 ],
34
+ [0.18821822,0.0396438 ,0.68664576],
35
+ [0.18054546,0.04083198,0.70385533],
36
+ [0.17159977,0.0445475 ,0.71984258],
37
+ [0.16053584,0.05205802,0.73404552],
38
+ [0.14636144,0.06406638,0.74558449],
39
+ [0.12743596,0.08146911,0.75256109],
40
+ [0.10158951,0.10537374,0.75075223],
41
+ [0.06891752,0.13325239,0.73645406],
42
+ [0.03543304,0.15856408,0.71343885],
43
+ [0.0149807 ,0.17872851,0.68798668],
44
+ [0.00937784,0.19455167,0.66321593],
45
+ [0.01448917,0.20727278,0.63982112],
46
+ [0.02511285,0.21773658,0.61868192],
47
+ [0.03770486,0.22685946,0.59915297],
48
+ [0.05076952,0.23497458,0.58097075],
49
+ [0.0623862 ,0.24228346,0.56417863],
50
+ [0.07284078,0.24898052,0.54851346],
51
+ [0.08208803,0.25519772,0.53394207],
52
+ [0.08999384,0.26104869,0.52047794],
53
+ [0.09634804,0.2666406 ,0.50815225],
54
+ [0.10081244,0.27208703,0.4969936 ],
55
+ [0.10260039,0.27750806,0.48725824],
56
+ [0.10139142,0.28296835,0.4790206 ],
57
+ [0.0998057 ,0.28827105,0.47141347],
58
+ [0.09795478,0.29341931,0.4644083 ],
59
+ [0.0958292 ,0.29843693,0.45793624],
60
+ [0.09339832,0.30334388,0.45194831],
61
+ [0.09060807,0.30815822,0.44640715],
62
+ [0.08732063,0.31290986,0.4412352 ],
63
+ [0.08352031,0.31759671,0.43645837],
64
+ [0.07895629,0.32225529,0.4319764 ],
65
+ [0.07539831,0.32676831,0.42744004],
66
+ [0.07512032,0.33100236,0.42249387],
67
+ [0.07807692,0.33496892,0.41718736],
68
+ [0.0830875 ,0.33872598,0.4118068 ],
69
+ [0.08951279,0.34230659,0.40642515],
70
+ [0.09681338,0.34574083,0.40109844],
71
+ [0.10458385,0.34905663,0.39585525],
72
+ [0.11253184,0.35227818,0.39072065],
73
+ [0.12045629,0.35542708,0.38570822],
74
+ [0.12832406,0.35851432,0.38077735],
75
+ [0.13607193,0.36155341,0.37590555],
76
+ [0.14352493,0.36456822,0.37113404],
77
+ [0.15064797,0.36757151,0.36645451],
78
+ [0.15747206,0.37056911,0.36183081],
79
+ [0.16416299,0.37355327,0.35713614],
80
+ [0.17050533,0.37655183,0.35246813],
81
+ [0.17653633,0.37956805,0.34778838],
82
+ [0.18250781,0.38258025,0.34291779],
83
+ [0.18895366,0.38547798,0.33805978],
84
+ [0.19634609,0.38818499,0.33304602],
85
+ [0.20553081,0.39048818,0.32832564],
86
+ [0.21590719,0.39247939,0.32373918],
87
+ [0.22749829,0.3941001 ,0.31955151],
88
+ [0.24009856,0.39533513,0.31604252],
89
+ [0.2533119 ,0.39622435,0.31342478],
90
+ [0.26700592,0.39674869,0.31204925],
91
+ [0.28049653,0.39708594,0.31166356],
92
+ [0.29349892,0.39733432,0.31209987],
93
+ [0.30587343,0.39756734,0.31316577],
94
+ [0.31805491,0.3976492 ,0.31520174],
95
+ [0.32953396,0.39780003,0.31752929],
96
+ [0.34056583,0.39795097,0.32027505],
97
+ [0.35123438,0.39809183,0.323395 ],
98
+ [0.36144087,0.39829179,0.32661258],
99
+ [0.37145307,0.39845139,0.330136 ],
100
+ [0.381145 ,0.39865143,0.3336339 ],
101
+ [0.3907491 ,0.39879872,0.33727057],
102
+ [0.40025984,0.39890657,0.34094361],
103
+ [0.40972143,0.39896432,0.34460087],
104
+ [0.41934454,0.39885083,0.34862053],
105
+ [0.42884449,0.39870496,0.35273935],
106
+ [0.43834944,0.39842635,0.3574583 ],
107
+ [0.44761542,0.39814173,0.36256934],
108
+ [0.4565083 ,0.39794401,0.36781744],
109
+ [0.46533276,0.3976607 ,0.37359956],
110
+ [0.47397179,0.3974077 ,0.37932228],
111
+ [0.4826475 ,0.39708198,0.38497417],
112
+ [0.49131525,0.39674218,0.39019953],
113
+ [0.50021214,0.39622005,0.39543894],
114
+ [0.50928712,0.39554799,0.40056134],
115
+ [0.51849197,0.39476205,0.40541623],
116
+ [0.52799284,0.39372639,0.41034467],
117
+ [0.53760346,0.392576 ,0.4149787 ],
118
+ [0.547456 ,0.3911997 ,0.41956639],
119
+ [0.55755208,0.38959016,0.42405497],
120
+ [0.56777534,0.38782818,0.42826464],
121
+ [0.57833107,0.38574102,0.43247253],
122
+ [0.58896724,0.383531 ,0.43622265],
123
+ [0.59998285,0.38093437,0.43994941],
124
+ [0.61106461,0.37821528,0.44310284],
125
+ [0.62249277,0.37511677,0.44605136],
126
+ [0.6340721 ,0.37180941,0.44840632],
127
+ [0.64585869,0.36823762,0.45015836],
128
+ [0.65798518,0.36426911,0.45135078],
129
+ [0.6700922 ,0.36025583,0.45138026],
130
+ [0.68233846,0.35604322,0.45036576],
131
+ [0.69461715,0.35173718,0.44812089],
132
+ [0.70674001,0.34753701,0.44442724],
133
+ [0.71845756,0.34371171,0.43915421],
134
+ [0.72944024,0.34063269,0.43221201],
135
+ [0.7396351 ,0.33834778,0.42401538],
136
+ [0.74897719,0.33692802,0.41488955],
137
+ [0.75751921,0.33631883,0.40515233],
138
+ [0.76546997,0.33632762,0.39483639],
139
+ [0.77298465,0.33675492,0.38432163],
140
+ [0.78015892,0.33751896,0.37353779],
141
+ [0.78698835,0.3386286 ,0.36251125],
142
+ [0.79343251,0.34012817,0.35129117],
143
+ [0.79945547,0.34205571,0.33993202],
144
+ [0.80491158,0.34456004,0.32856707],
145
+ [0.80987612,0.34755865,0.31720319],
146
+ [0.81435722,0.35103512,0.30588832],
147
+ [0.81834973,0.35498394,0.29468163],
148
+ [0.82185876,0.35938694,0.2836357 ],
149
+ [0.82489881,0.36421532,0.27279065],
150
+ [0.82735481,0.36956767,0.26227697],
151
+ [0.82936748,0.37528597,0.25203852],
152
+ [0.83098474,0.38130858,0.2420704 ],
153
+ [0.83224143,0.38758907,0.2323664 ],
154
+ [0.83311545,0.39413603,0.22295824],
155
+ [0.83354356,0.40099351,0.2139149 ],
156
+ [0.833707 ,0.4079838 ,0.20509491],
157
+ [0.83364098,0.41506951,0.19646563],
158
+ [0.83315851,0.4224093 ,0.18812176],
159
+ [0.83228131,0.42995141,0.18040448],
160
+ [0.83104883,0.43765731,0.17318312],
161
+ [0.82929957,0.44562735,0.1670203 ],
162
+ [0.82709094,0.45379965,0.16188988],
163
+ [0.82455273,0.46206729,0.15754605],
164
+ [0.82158082,0.4704871 ,0.15441665],
165
+ [0.81815504,0.47905474,0.15269769],
166
+ [0.81446562,0.48763577,0.15187481],
167
+ [0.8104055 ,0.49628739,0.15237023],
168
+ [0.80596275,0.50500571,0.15424269],
169
+ [0.80134905,0.51365866,0.15685528],
170
+ [0.79633955,0.52236942,0.16090263],
171
+ [0.79111311,0.53103198,0.16578146],
172
+ [0.78571149,0.53962266,0.17133621],
173
+ [0.77994149,0.5482383 ,0.17808065],
174
+ [0.77414317,0.55670437,0.18500845],
175
+ [0.76794424,0.56520339,0.19309257],
176
+ [0.76171718,0.57355588,0.2012717 ],
177
+ [0.75519094,0.58188791,0.21022317],
178
+ [0.74859181,0.59009797,0.21932425],
179
+ [0.74175189,0.59825936,0.2289692 ],
180
+ [0.73483992,0.60630237,0.23871725],
181
+ [0.72769263,0.61429425,0.24892002],
182
+ [0.72051152,0.62215756,0.25909925],
183
+ [0.71307395,0.62997701,0.26974158],
184
+ [0.70567082,0.63765005,0.2801703 ],
185
+ [0.6979317 ,0.64530709,0.29117083],
186
+ [0.68994041,0.65293705,0.30207831],
187
+ [0.68207986,0.66041532,0.31220031],
188
+ [0.67388902,0.66790224,0.32221651],
189
+ [0.66571844,0.67528642,0.33155673],
190
+ [0.65723266,0.68267672,0.34067678],
191
+ [0.64873276,0.689984 ,0.34910049],
192
+ [0.63984854,0.69732037,0.35727361],
193
+ [0.63094434,0.70458454,0.3646324 ],
194
+ [0.62152015,0.71191526,0.37176285],
195
+ [0.61209701,0.71917537,0.37790686],
196
+ [0.60213617,0.72650535,0.38364972],
197
+ [0.59180799,0.73386144,0.38864054],
198
+ [0.58111822,0.74124146,0.39276996],
199
+ [0.56977461,0.74870904,0.39624704],
200
+ [0.55796948,0.75621701,0.39870168],
201
+ [0.54566918,0.76376891,0.40004419],
202
+ [0.53264274,0.77140671,0.40034294],
203
+ [0.51891943,0.77911424,0.39941507],
204
+ [0.50459249,0.7868631 ,0.39704666],
205
+ [0.4900088 ,0.79458173,0.39286504],
206
+ [0.4751139 ,0.80227314,0.38689878],
207
+ [0.46023906,0.80987314,0.37896628],
208
+ [0.44583247,0.81730499,0.36894174],
209
+ [0.43234887,0.82450473,0.35670265],
210
+ [0.41925025,0.83156228,0.34266506],
211
+ [0.40654266,0.83847285,0.32703599],
212
+ [0.39484002,0.84516279,0.30940796],
213
+ [0.38617714,0.85135746,0.2895544 ],
214
+ [0.38156764,0.85697334,0.26667518],
215
+ [0.3850859 ,0.86144252,0.24112678],
216
+ [0.39839853,0.86445168,0.21419818],
217
+ [0.42023646,0.86596919,0.18886691],
218
+ [0.44623957,0.86646769,0.16698668],
219
+ [0.47406318,0.86623568,0.1491998 ],
220
+ [0.50137087,0.8656933 ,0.13435927],
221
+ [0.52792019,0.86495209,0.12009981],
222
+ [0.55333078,0.86412697,0.10608034],
223
+ [0.57774118,0.86322804,0.09205327],
224
+ [0.60126014,0.86226077,0.07811934],
225
+ [0.62396877,0.86122898,0.06483833],
226
+ [0.64593181,0.86014112,0.05256979],
227
+ [0.66720477,0.85900649,0.04165454],
228
+ [0.68782822,0.85783178,0.03358037],
229
+ [0.70783476,0.85662467,0.02985186],
230
+ [0.72726012,0.85539567,0.02992151],
231
+ [0.74613103,0.85415242,0.0338872 ],
232
+ [0.76446606,0.8529001 ,0.04241967],
233
+ [0.78241765,0.85161088,0.05275861],
234
+ [0.79999487,0.85029904,0.06328737],
235
+ [0.81710204,0.84900434,0.07452319],
236
+ [0.83386755,0.84769236,0.08609162],
237
+ [0.850207 ,0.84639911,0.09836514],
238
+ [0.86617944,0.84511107,0.11122012],
239
+ [0.88167735,0.8438743 ,0.12499175],
240
+ [0.8967492 ,0.84267873,0.13955074],
241
+ [0.91131933,0.84156088,0.15505713],
242
+ [0.92528693,0.84056863,0.17170702],
243
+ [0.93823395,0.83987255,0.19058873],
244
+ [0.94914013,0.8398782 ,0.21432629],
245
+ [0.95802699,0.84063913,0.24073604],
246
+ [0.96519558,0.84207852,0.26805492],
247
+ [0.97089541,0.84411488,0.29558488],
248
+ [0.97549618,0.84661027,0.3226526 ],
249
+ [0.9791535 ,0.84949895,0.34930818],
250
+ [0.982142 ,0.85267189,0.37525166],
251
+ [0.98457441,0.85607946,0.40055943],
252
+ [0.9865434 ,0.8596801 ,0.42529856],
253
+ [0.98811137,0.86344334,0.4495692 ],
254
+ [0.98927955,0.86733154,0.474074 ],
255
+ [0.99050888,0.87118178,0.49792399],
256
+ [0.99179314,0.8749957 ,0.52123859],
257
+ [0.99311911,0.87877444,0.54417129],
258
+ [0.99450229,0.88251928,0.56665139],
259
+ [0.99591933,0.88623067,0.58888533],
260
+ [0.9973917 ,0.88991055,0.61074356],
261
+ [0.99872609,0.89354459,0.63365505]]
262
+ test_cm = ListedColormap(cm_data, name="new cm")