diff --git a/colormaps/CET-C1.csv b/colormaps/CET-C1.csv new file mode 100644 index 0000000..86f9b4c --- /dev/null +++ b/colormaps/CET-C1.csv @@ -0,0 +1,256 @@ +249,133,248 +250,132,246 +251,131,243 +252,130,241 +252,129,238 +253,127,235 +253,126,232 +253,124,229 +253,122,226 +253,120,222 +253,118,219 +252,116,215 +252,114,212 +251,112,208 +251,109,204 +250,107,200 +250,105,197 +249,103,193 +248,100,189 +247,98,185 +247,95,181 +246,93,178 +245,91,174 +244,88,170 +243,86,166 +242,84,163 +241,81,159 +240,79,155 +239,76,151 +238,74,148 +237,72,144 +236,70,140 +234,67,136 +233,65,132 +232,63,129 +230,61,125 +229,59,121 +227,57,117 +225,55,113 +224,53,109 +222,51,106 +220,49,102 +218,47,98 +217,45,94 +215,44,90 +213,42,86 +211,40,83 +209,38,79 +207,36,75 +205,35,71 +203,33,68 +201,31,64 +199,30,60 +198,28,57 +196,27,53 +194,25,50 +192,24,46 +190,23,43 +189,23,39 +187,23,36 +186,23,33 +185,23,30 +184,24,27 +183,25,25 +182,27,22 +181,29,20 +181,31,17 +181,33,15 +181,35,13 +181,38,12 +181,41,10 +182,43,8 +182,46,7 +183,49,6 +184,51,6 +184,54,5 +185,57,5 +186,59,5 +187,62,4 +188,65,4 +189,67,4 +190,70,4 +191,72,4 +192,75,4 +193,77,4 +194,80,4 +195,82,4 +196,84,4 +197,87,4 +198,89,5 +199,92,5 +200,94,5 +201,96,5 +202,99,5 +202,101,5 +203,103,5 +204,106,5 +205,108,5 +206,111,5 +206,113,5 +207,115,5 +208,118,5 +208,120,5 +209,122,5 +209,125,5 +210,127,4 +210,129,4 +211,132,4 +211,134,4 +212,137,4 +212,139,4 +213,141,4 +213,143,4 +214,146,4 +214,148,5 +214,150,5 +214,152,6 +215,155,7 +215,157,8 +215,159,10 +215,160,13 +214,162,15 +214,164,18 +213,165,21 +213,167,24 +212,168,28 +210,169,31 +209,170,35 +208,170,39 +206,170,43 +204,171,47 +202,171,51 +199,170,55 +197,170,59 +194,169,63 +191,169,67 +188,168,70 +185,167,74 +182,166,78 +179,165,82 +175,164,85 +172,163,89 +169,161,92 +165,160,96 +161,159,99 +157,158,102 +154,157,105 +150,155,109 +146,154,112 +142,153,115 +137,152,118 +133,150,121 +129,149,124 +124,148,127 +119,147,130 +115,145,133 +110,144,136 +105,143,139 +99,141,142 +94,140,145 +89,139,148 +83,137,151 +78,136,154 +72,134,157 +67,132,160 +62,131,163 +57,129,166 +52,127,169 +47,125,172 +43,123,175 +40,121,178 +37,118,181 +35,116,184 +34,113,187 +34,111,190 +34,108,193 +34,105,197 +36,102,200 +37,99,203 +38,96,206 +40,93,209 +41,90,212 +43,87,215 +45,84,218 +46,81,221 +48,78,224 +49,75,227 +51,73,229 +53,70,232 +55,68,234 +57,66,236 +60,64,238 +62,63,240 +65,62,242 +68,61,243 +71,61,244 +73,61,245 +76,61,246 +79,62,247 +82,63,247 +85,64,248 +88,65,248 +91,67,249 +94,69,249 +97,71,249 +99,73,249 +102,75,249 +105,77,249 +107,79,249 +110,81,249 +112,83,249 +115,85,249 +117,87,249 +119,89,249 +122,91,250 +124,93,250 +127,94,250 +130,96,250 +132,98,250 +135,100,250 +138,101,250 +141,103,250 +144,105,250 +147,106,250 +150,107,251 +153,109,251 +156,110,251 +160,111,251 +163,113,251 +167,114,252 +170,115,252 +174,116,252 +177,117,252 +181,118,253 +185,119,253 +188,120,253 +192,121,254 +195,122,254 +199,123,254 +202,124,255 +206,125,255 +209,126,255 +213,127,255 +216,128,255 +219,129,255 +223,130,255 +226,131,255 +229,132,255 +232,132,255 +234,133,255 +237,133,255 +240,134,254 +242,134,253 +244,134,252 +246,134,251 +247,133,249 diff --git a/colormaps/CET-C1s.csv b/colormaps/CET-C1s.csv new file mode 100644 index 0000000..6c95b4f --- /dev/null +++ b/colormaps/CET-C1s.csv @@ -0,0 +1,256 @@ +62,63,240 +65,62,242 +68,61,243 +71,61,244 +73,61,245 +76,61,246 +79,62,247 +82,63,247 +85,64,248 +88,65,248 +91,67,249 +94,69,249 +97,71,249 +99,73,249 +102,75,249 +105,77,249 +107,79,249 +110,81,249 +112,83,249 +115,85,249 +117,87,249 +119,89,249 +122,91,250 +124,93,250 +127,94,250 +130,96,250 +132,98,250 +135,100,250 +138,101,250 +141,103,250 +144,105,250 +147,106,250 +150,107,251 +153,109,251 +156,110,251 +160,111,251 +163,113,251 +167,114,252 +170,115,252 +174,116,252 +177,117,252 +181,118,253 +185,119,253 +188,120,253 +192,121,254 +195,122,254 +199,123,254 +202,124,255 +206,125,255 +209,126,255 +213,127,255 +216,128,255 +219,129,255 +223,130,255 +226,131,255 +229,132,255 +232,132,255 +234,133,255 +237,133,255 +240,134,254 +242,134,253 +244,134,252 +246,134,251 +247,133,249 +249,133,248 +250,132,246 +251,131,243 +252,130,241 +252,129,238 +253,127,235 +253,126,232 +253,124,229 +253,122,226 +253,120,222 +253,118,219 +252,116,215 +252,114,212 +251,112,208 +251,109,204 +250,107,200 +250,105,197 +249,103,193 +248,100,189 +247,98,185 +247,95,181 +246,93,178 +245,91,174 +244,88,170 +243,86,166 +242,84,163 +241,81,159 +240,79,155 +239,76,151 +238,74,148 +237,72,144 +236,70,140 +234,67,136 +233,65,132 +232,63,129 +230,61,125 +229,59,121 +227,57,117 +225,55,113 +224,53,109 +222,51,106 +220,49,102 +218,47,98 +217,45,94 +215,44,90 +213,42,86 +211,40,83 +209,38,79 +207,36,75 +205,35,71 +203,33,68 +201,31,64 +199,30,60 +198,28,57 +196,27,53 +194,25,50 +192,24,46 +190,23,43 +189,23,39 +187,23,36 +186,23,33 +185,23,30 +184,24,27 +183,25,25 +182,27,22 +181,29,20 +181,31,17 +181,33,15 +181,35,13 +181,38,12 +181,41,10 +182,43,8 +182,46,7 +183,49,6 +184,51,6 +184,54,5 +185,57,5 +186,59,5 +187,62,4 +188,65,4 +189,67,4 +190,70,4 +191,72,4 +192,75,4 +193,77,4 +194,80,4 +195,82,4 +196,84,4 +197,87,4 +198,89,5 +199,92,5 +200,94,5 +201,96,5 +202,99,5 +202,101,5 +203,103,5 +204,106,5 +205,108,5 +206,111,5 +206,113,5 +207,115,5 +208,118,5 +208,120,5 +209,122,5 +209,125,5 +210,127,4 +210,129,4 +211,132,4 +211,134,4 +212,137,4 +212,139,4 +213,141,4 +213,143,4 +214,146,4 +214,148,5 +214,150,5 +214,152,6 +215,155,7 +215,157,8 +215,159,10 +215,160,13 +214,162,15 +214,164,18 +213,165,21 +213,167,24 +212,168,28 +210,169,31 +209,170,35 +208,170,39 +206,170,43 +204,171,47 +202,171,51 +199,170,55 +197,170,59 +194,169,63 +191,169,67 +188,168,70 +185,167,74 +182,166,78 +179,165,82 +175,164,85 +172,163,89 +169,161,92 +165,160,96 +161,159,99 +157,158,102 +154,157,105 +150,155,109 +146,154,112 +142,153,115 +137,152,118 +133,150,121 +129,149,124 +124,148,127 +119,147,130 +115,145,133 +110,144,136 +105,143,139 +99,141,142 +94,140,145 +89,139,148 +83,137,151 +78,136,154 +72,134,157 +67,132,160 +62,131,163 +57,129,166 +52,127,169 +47,125,172 +43,123,175 +40,121,178 +37,118,181 +35,116,184 +34,113,187 +34,111,190 +34,108,193 +34,105,197 +36,102,200 +37,99,203 +38,96,206 +40,93,209 +41,90,212 +43,87,215 +45,84,218 +46,81,221 +48,78,224 +49,75,227 +51,73,229 +53,70,232 +55,68,234 +57,66,236 +60,64,238 diff --git a/colormaps/CET-C2.csv b/colormaps/CET-C2.csv new file mode 100644 index 0000000..504ac89 --- /dev/null +++ b/colormaps/CET-C2.csv @@ -0,0 +1,256 @@ +239,85,242 +241,87,240 +242,90,239 +243,93,237 +245,95,235 +246,98,233 +246,101,231 +247,104,229 +248,107,226 +249,111,224 +249,114,222 +250,117,219 +250,120,217 +250,123,214 +251,126,211 +251,129,209 +251,132,206 +251,135,203 +251,138,201 +252,141,198 +252,144,195 +252,147,192 +252,149,190 +252,152,187 +252,155,184 +252,158,181 +252,160,179 +252,163,176 +252,166,173 +252,168,170 +252,171,167 +252,173,165 +252,176,162 +251,178,159 +251,181,156 +251,183,153 +251,185,150 +252,188,147 +252,190,144 +252,192,141 +252,195,138 +252,197,135 +252,199,132 +252,201,129 +252,204,126 +252,206,123 +252,208,120 +252,210,117 +252,212,113 +252,214,110 +252,216,107 +252,218,103 +252,221,100 +251,223,96 +251,224,92 +251,226,88 +250,228,85 +250,230,81 +249,231,77 +248,233,73 +247,234,69 +245,235,65 +244,236,61 +242,237,57 +241,238,53 +239,238,50 +237,238,46 +234,239,43 +232,238,40 +230,238,37 +227,238,35 +225,237,33 +222,237,31 +219,236,29 +216,235,27 +214,234,26 +211,233,25 +208,232,24 +205,231,24 +202,230,23 +199,229,22 +196,228,22 +193,227,21 +190,226,21 +187,225,21 +184,224,20 +181,223,20 +178,222,19 +175,221,19 +172,220,19 +169,218,18 +166,217,18 +163,216,18 +160,215,17 +157,214,17 +154,213,17 +151,212,16 +148,211,16 +145,210,16 +141,208,15 +138,207,15 +135,206,15 +132,205,14 +129,204,14 +125,203,14 +122,202,13 +119,200,13 +115,199,13 +112,198,13 +108,197,12 +105,196,12 +101,195,12 +98,194,12 +94,192,12 +90,191,12 +86,190,12 +83,189,13 +79,188,14 +75,186,15 +72,185,16 +68,184,18 +65,183,20 +62,181,22 +59,180,25 +56,179,27 +54,177,30 +52,176,33 +51,174,37 +50,173,40 +50,171,44 +50,169,47 +50,168,51 +51,166,55 +53,164,59 +54,163,63 +56,161,66 +57,159,70 +59,157,74 +60,155,78 +62,153,82 +63,152,86 +64,150,89 +65,148,93 +66,146,97 +67,144,100 +68,142,104 +68,140,107 +69,138,111 +69,137,114 +69,135,118 +69,133,121 +69,131,125 +69,129,128 +68,127,132 +68,125,135 +67,123,138 +66,121,142 +65,120,145 +64,118,148 +63,116,151 +62,114,155 +60,112,158 +59,110,161 +57,108,164 +56,106,167 +54,104,170 +52,102,173 +51,100,176 +49,97,179 +48,95,182 +47,93,185 +45,91,187 +44,88,190 +43,86,193 +42,83,195 +42,81,198 +41,78,200 +40,76,203 +39,73,205 +39,70,208 +38,67,210 +38,64,213 +37,62,215 +37,59,217 +36,56,219 +36,53,222 +37,50,224 +37,47,226 +38,44,228 +40,41,229 +41,39,231 +44,36,233 +46,34,234 +49,32,236 +52,30,237 +55,29,238 +59,28,239 +62,27,240 +66,27,241 +69,27,242 +73,27,242 +77,28,243 +80,28,243 +84,29,244 +87,31,244 +90,32,245 +94,33,245 +97,35,246 +100,36,246 +103,38,246 +106,39,247 +109,41,247 +112,42,247 +115,44,248 +117,45,248 +120,46,248 +123,48,249 +126,49,249 +128,50,249 +131,52,250 +134,53,250 +137,54,250 +140,55,250 +143,56,251 +145,57,251 +148,58,251 +152,59,251 +155,60,251 +158,61,251 +161,62,251 +164,62,251 +167,63,251 +171,64,251 +174,64,251 +177,65,251 +181,65,251 +184,66,251 +187,66,251 +191,67,251 +194,67,251 +197,68,251 +200,68,250 +203,69,250 +207,69,250 +210,70,250 +213,70,250 +216,71,249 +219,72,249 +221,72,249 +224,73,248 +227,75,248 +229,76,247 +231,77,246 +233,79,245 +236,81,244 +237,83,243 diff --git a/colormaps/CET-C2s.csv b/colormaps/CET-C2s.csv new file mode 100644 index 0000000..21edef8 --- /dev/null +++ b/colormaps/CET-C2s.csv @@ -0,0 +1,256 @@ +46,34,234 +49,32,236 +52,30,237 +55,29,238 +59,28,239 +62,27,240 +66,27,241 +69,27,242 +73,27,242 +77,28,243 +80,28,243 +84,29,244 +87,31,244 +90,32,245 +94,33,245 +97,35,246 +100,36,246 +103,38,246 +106,39,247 +109,41,247 +112,42,247 +115,44,248 +117,45,248 +120,46,248 +123,48,249 +126,49,249 +128,50,249 +131,52,250 +134,53,250 +137,54,250 +140,55,250 +143,56,251 +145,57,251 +148,58,251 +152,59,251 +155,60,251 +158,61,251 +161,62,251 +164,62,251 +167,63,251 +171,64,251 +174,64,251 +177,65,251 +181,65,251 +184,66,251 +187,66,251 +191,67,251 +194,67,251 +197,68,251 +200,68,250 +203,69,250 +207,69,250 +210,70,250 +213,70,250 +216,71,249 +219,72,249 +221,72,249 +224,73,248 +227,75,248 +229,76,247 +231,77,246 +233,79,245 +236,81,244 +237,83,243 +239,85,242 +241,87,240 +242,90,239 +243,93,237 +245,95,235 +246,98,233 +246,101,231 +247,104,229 +248,107,226 +249,111,224 +249,114,222 +250,117,219 +250,120,217 +250,123,214 +251,126,211 +251,129,209 +251,132,206 +251,135,203 +251,138,201 +252,141,198 +252,144,195 +252,147,192 +252,149,190 +252,152,187 +252,155,184 +252,158,181 +252,160,179 +252,163,176 +252,166,173 +252,168,170 +252,171,167 +252,173,165 +252,176,162 +251,178,159 +251,181,156 +251,183,153 +251,185,150 +252,188,147 +252,190,144 +252,192,141 +252,195,138 +252,197,135 +252,199,132 +252,201,129 +252,204,126 +252,206,123 +252,208,120 +252,210,117 +252,212,113 +252,214,110 +252,216,107 +252,218,103 +252,221,100 +251,223,96 +251,224,92 +251,226,88 +250,228,85 +250,230,81 +249,231,77 +248,233,73 +247,234,69 +245,235,65 +244,236,61 +242,237,57 +241,238,53 +239,238,50 +237,238,46 +234,239,43 +232,238,40 +230,238,37 +227,238,35 +225,237,33 +222,237,31 +219,236,29 +216,235,27 +214,234,26 +211,233,25 +208,232,24 +205,231,24 +202,230,23 +199,229,22 +196,228,22 +193,227,21 +190,226,21 +187,225,21 +184,224,20 +181,223,20 +178,222,19 +175,221,19 +172,220,19 +169,218,18 +166,217,18 +163,216,18 +160,215,17 +157,214,17 +154,213,17 +151,212,16 +148,211,16 +145,210,16 +141,208,15 +138,207,15 +135,206,15 +132,205,14 +129,204,14 +125,203,14 +122,202,13 +119,200,13 +115,199,13 +112,198,13 +108,197,12 +105,196,12 +101,195,12 +98,194,12 +94,192,12 +90,191,12 +86,190,12 +83,189,13 +79,188,14 +75,186,15 +72,185,16 +68,184,18 +65,183,20 +62,181,22 +59,180,25 +56,179,27 +54,177,30 +52,176,33 +51,174,37 +50,173,40 +50,171,44 +50,169,47 +50,168,51 +51,166,55 +53,164,59 +54,163,63 +56,161,66 +57,159,70 +59,157,74 +60,155,78 +62,153,82 +63,152,86 +64,150,89 +65,148,93 +66,146,97 +67,144,100 +68,142,104 +68,140,107 +69,138,111 +69,137,114 +69,135,118 +69,133,121 +69,131,125 +69,129,128 +68,127,132 +68,125,135 +67,123,138 +66,121,142 +65,120,145 +64,118,148 +63,116,151 +62,114,155 +60,112,158 +59,110,161 +57,108,164 +56,106,167 +54,104,170 +52,102,173 +51,100,176 +49,97,179 +48,95,182 +47,93,185 +45,91,187 +44,88,190 +43,86,193 +42,83,195 +42,81,198 +41,78,200 +40,76,203 +39,73,205 +39,70,208 +38,67,210 +38,64,213 +37,62,215 +37,59,217 +36,56,219 +36,53,222 +37,50,224 +37,47,226 +38,44,228 +40,41,229 +41,39,231 +44,36,233 diff --git a/colormaps/CET-C3.csv b/colormaps/CET-C3.csv new file mode 100644 index 0000000..28b92e0 --- /dev/null +++ b/colormaps/CET-C3.csv @@ -0,0 +1,256 @@ +225,215,218 +226,215,216 +227,214,214 +228,213,212 +229,212,209 +230,210,207 +231,209,204 +232,207,201 +233,205,198 +234,203,195 +234,201,192 +235,199,189 +236,197,186 +236,194,183 +237,192,180 +237,189,176 +238,187,173 +238,185,170 +238,182,167 +239,180,164 +239,177,160 +239,175,157 +239,172,154 +240,170,151 +240,167,148 +240,165,144 +240,162,141 +240,160,138 +240,157,135 +240,155,132 +240,152,129 +240,150,126 +240,147,122 +240,145,119 +240,142,116 +240,139,113 +239,137,110 +239,134,107 +239,132,104 +239,129,101 +238,126,98 +238,124,95 +238,121,92 +237,118,89 +237,116,86 +237,113,83 +236,110,80 +236,107,77 +235,105,74 +235,102,71 +234,99,68 +234,96,65 +233,93,62 +232,90,59 +232,87,56 +231,85,53 +230,82,51 +229,79,48 +228,76,45 +227,73,43 +225,71,41 +224,68,38 +222,66,36 +220,64,35 +218,62,33 +216,60,32 +214,58,30 +212,57,29 +209,56,28 +207,55,28 +204,54,27 +201,53,27 +198,52,26 +195,52,26 +192,52,26 +189,51,26 +186,51,26 +183,51,26 +180,51,26 +177,50,27 +174,50,27 +171,50,27 +167,50,27 +164,50,27 +161,49,27 +158,49,27 +155,49,28 +152,49,28 +148,49,28 +145,48,28 +142,48,28 +139,48,28 +136,47,28 +133,47,28 +130,47,28 +127,46,28 +124,46,28 +121,46,29 +118,45,29 +115,45,29 +112,44,29 +109,44,29 +106,44,29 +103,43,29 +100,43,29 +97,42,29 +94,42,29 +91,41,29 +88,41,29 +85,40,29 +82,40,29 +79,39,29 +76,38,29 +73,38,29 +71,37,29 +68,37,29 +65,36,29 +62,36,29 +60,35,29 +57,35,30 +55,34,30 +52,34,31 +50,34,31 +48,33,32 +46,33,33 +45,33,34 +43,33,35 +42,33,37 +41,34,38 +40,34,40 +39,34,42 +39,35,44 +39,35,46 +39,36,49 +39,37,51 +39,38,54 +39,39,57 +39,40,60 +40,41,63 +40,42,66 +41,43,69 +41,44,72 +42,45,75 +42,46,79 +43,48,82 +43,49,85 +44,50,89 +44,51,92 +45,53,96 +45,54,99 +46,55,102 +46,56,106 +47,58,109 +47,59,113 +47,60,116 +47,61,120 +48,63,124 +48,64,127 +48,65,131 +48,66,134 +48,68,138 +48,69,142 +48,70,145 +48,72,149 +48,73,153 +48,74,156 +47,76,160 +47,77,164 +47,78,168 +46,80,171 +46,81,175 +45,82,179 +44,84,183 +44,85,187 +43,86,191 +42,88,194 +41,89,198 +40,90,202 +39,92,206 +38,93,210 +37,95,213 +36,96,217 +36,97,221 +35,99,224 +35,100,227 +35,102,231 +36,103,234 +37,105,236 +39,106,239 +41,108,241 +44,109,244 +47,111,245 +51,112,247 +55,114,249 +59,115,250 +63,117,251 +68,118,251 +72,120,252 +76,122,252 +81,123,252 +85,125,252 +89,127,252 +93,128,252 +97,130,252 +101,132,252 +104,133,252 +108,135,251 +111,137,251 +115,139,250 +118,140,250 +121,142,250 +125,144,249 +128,146,249 +131,147,248 +134,149,248 +136,151,247 +139,153,247 +142,155,246 +145,156,246 +147,158,245 +150,160,245 +153,162,245 +155,164,244 +158,165,244 +160,167,243 +163,169,243 +165,171,242 +168,173,242 +170,175,241 +172,177,241 +175,178,240 +177,180,240 +179,182,239 +181,184,239 +184,186,238 +186,188,238 +188,190,237 +190,192,237 +192,193,236 +194,195,235 +196,197,235 +198,199,234 +201,201,234 +203,203,233 +205,204,232 +206,206,232 +208,208,231 +210,209,230 +212,211,229 +214,212,228 +216,213,227 +217,214,226 +219,215,225 +220,215,224 +222,215,222 +223,215,220 diff --git a/colormaps/CET-C3s.csv b/colormaps/CET-C3s.csv new file mode 100644 index 0000000..28a6948 --- /dev/null +++ b/colormaps/CET-C3s.csv @@ -0,0 +1,256 @@ +51,112,247 +55,114,249 +59,115,250 +63,117,251 +68,118,251 +72,120,252 +76,122,252 +81,123,252 +85,125,252 +89,127,252 +93,128,252 +97,130,252 +101,132,252 +104,133,252 +108,135,251 +111,137,251 +115,139,250 +118,140,250 +121,142,250 +125,144,249 +128,146,249 +131,147,248 +134,149,248 +136,151,247 +139,153,247 +142,155,246 +145,156,246 +147,158,245 +150,160,245 +153,162,245 +155,164,244 +158,165,244 +160,167,243 +163,169,243 +165,171,242 +168,173,242 +170,175,241 +172,177,241 +175,178,240 +177,180,240 +179,182,239 +181,184,239 +184,186,238 +186,188,238 +188,190,237 +190,192,237 +192,193,236 +194,195,235 +196,197,235 +198,199,234 +201,201,234 +203,203,233 +205,204,232 +206,206,232 +208,208,231 +210,209,230 +212,211,229 +214,212,228 +216,213,227 +217,214,226 +219,215,225 +220,215,224 +222,215,222 +223,215,220 +225,215,218 +226,215,216 +227,214,214 +228,213,212 +229,212,209 +230,210,207 +231,209,204 +232,207,201 +233,205,198 +234,203,195 +234,201,192 +235,199,189 +236,197,186 +236,194,183 +237,192,180 +237,189,176 +238,187,173 +238,185,170 +238,182,167 +239,180,164 +239,177,160 +239,175,157 +239,172,154 +240,170,151 +240,167,148 +240,165,144 +240,162,141 +240,160,138 +240,157,135 +240,155,132 +240,152,129 +240,150,126 +240,147,122 +240,145,119 +240,142,116 +240,139,113 +239,137,110 +239,134,107 +239,132,104 +239,129,101 +238,126,98 +238,124,95 +238,121,92 +237,118,89 +237,116,86 +237,113,83 +236,110,80 +236,107,77 +235,105,74 +235,102,71 +234,99,68 +234,96,65 +233,93,62 +232,90,59 +232,87,56 +231,85,53 +230,82,51 +229,79,48 +228,76,45 +227,73,43 +225,71,41 +224,68,38 +222,66,36 +220,64,35 +218,62,33 +216,60,32 +214,58,30 +212,57,29 +209,56,28 +207,55,28 +204,54,27 +201,53,27 +198,52,26 +195,52,26 +192,52,26 +189,51,26 +186,51,26 +183,51,26 +180,51,26 +177,50,27 +174,50,27 +171,50,27 +167,50,27 +164,50,27 +161,49,27 +158,49,27 +155,49,28 +152,49,28 +148,49,28 +145,48,28 +142,48,28 +139,48,28 +136,47,28 +133,47,28 +130,47,28 +127,46,28 +124,46,28 +121,46,29 +118,45,29 +115,45,29 +112,44,29 +109,44,29 +106,44,29 +103,43,29 +100,43,29 +97,42,29 +94,42,29 +91,41,29 +88,41,29 +85,40,29 +82,40,29 +79,39,29 +76,38,29 +73,38,29 +71,37,29 +68,37,29 +65,36,29 +62,36,29 +60,35,29 +57,35,30 +55,34,30 +52,34,31 +50,34,31 +48,33,32 +46,33,33 +45,33,34 +43,33,35 +42,33,37 +41,34,38 +40,34,40 +39,34,42 +39,35,44 +39,35,46 +39,36,49 +39,37,51 +39,38,54 +39,39,57 +39,40,60 +40,41,63 +40,42,66 +41,43,69 +41,44,72 +42,45,75 +42,46,79 +43,48,82 +43,49,85 +44,50,89 +44,51,92 +45,53,96 +45,54,99 +46,55,102 +46,56,106 +47,58,109 +47,59,113 +47,60,116 +47,61,120 +48,63,124 +48,64,127 +48,65,131 +48,66,134 +48,68,138 +48,69,142 +48,70,145 +48,72,149 +48,73,153 +48,74,156 +47,76,160 +47,77,164 +47,78,168 +46,80,171 +46,81,175 +45,82,179 +44,84,183 +44,85,187 +43,86,191 +42,88,194 +41,89,198 +40,90,202 +39,92,206 +38,93,210 +37,95,213 +36,96,217 +36,97,221 +35,99,224 +35,100,227 +35,102,231 +36,103,234 +37,105,236 +39,106,239 +41,108,241 +44,109,244 +47,111,245 diff --git a/colormaps/CET-C4.csv b/colormaps/CET-C4.csv new file mode 100644 index 0000000..7d6eb2b --- /dev/null +++ b/colormaps/CET-C4.csv @@ -0,0 +1,256 @@ +223,213,216 +224,213,214 +225,212,212 +226,211,210 +227,209,207 +227,208,204 +228,206,201 +229,204,198 +229,202,195 +229,200,192 +230,197,189 +230,195,185 +230,192,182 +230,189,178 +230,187,175 +230,184,171 +230,181,168 +230,178,164 +230,176,161 +230,173,157 +230,170,154 +230,167,150 +229,164,147 +229,162,143 +229,159,140 +229,156,136 +228,153,133 +228,150,129 +227,147,126 +227,145,123 +226,142,119 +226,139,116 +225,136,112 +225,133,109 +224,130,106 +224,127,102 +223,124,99 +222,122,96 +221,119,92 +221,116,89 +220,113,86 +219,110,82 +218,107,79 +218,104,76 +217,101,72 +216,98,69 +215,94,66 +214,91,63 +213,88,60 +212,85,56 +211,82,53 +210,79,50 +209,76,47 +208,72,44 +207,69,41 +206,66,38 +205,63,36 +205,60,33 +204,58,31 +203,55,29 +202,53,27 +202,51,25 +202,50,24 +201,49,23 +201,49,23 +201,49,23 +201,49,24 +202,50,24 +202,52,26 +203,54,27 +203,56,29 +204,58,31 +205,61,34 +206,64,36 +207,67,39 +207,70,42 +208,73,45 +209,76,48 +210,80,51 +211,83,54 +212,86,57 +213,89,60 +214,92,64 +215,95,67 +216,98,70 +217,101,73 +218,105,77 +219,108,80 +219,111,83 +220,114,86 +221,116,90 +222,119,93 +222,122,96 +223,125,100 +224,128,103 +224,131,106 +225,134,110 +225,137,113 +226,140,117 +227,143,120 +227,145,123 +227,148,127 +228,151,130 +228,154,134 +229,157,137 +229,160,141 +229,162,144 +230,165,148 +230,168,151 +230,171,155 +230,174,158 +230,176,162 +230,179,165 +230,182,169 +230,185,172 +230,187,176 +230,190,179 +230,192,183 +230,195,186 +229,197,190 +229,199,193 +228,202,196 +227,203,199 +226,205,203 +225,207,205 +224,208,208 +223,209,211 +222,209,213 +220,210,215 +219,210,217 +217,209,219 +215,209,221 +213,208,222 +211,207,223 +209,206,224 +207,204,225 +205,203,226 +202,201,226 +200,199,227 +198,197,227 +195,195,228 +193,193,228 +190,191,228 +188,189,228 +185,187,228 +183,184,228 +180,182,229 +178,180,229 +175,178,229 +173,175,229 +170,173,229 +167,171,229 +165,169,229 +162,167,229 +159,164,229 +157,162,229 +154,160,229 +151,158,229 +148,156,229 +145,153,229 +143,151,229 +140,149,229 +137,147,229 +134,145,229 +131,143,229 +127,141,229 +124,138,229 +121,136,229 +118,134,229 +114,132,229 +111,130,229 +107,128,229 +104,126,229 +100,124,229 +96,122,229 +92,120,229 +88,118,229 +84,116,229 +79,114,229 +75,112,229 +70,110,229 +65,109,229 +60,107,229 +55,106,229 +50,104,229 +45,103,229 +40,102,229 +35,101,229 +31,100,229 +28,100,229 +26,99,229 +25,99,229 +26,99,229 +29,100,229 +32,100,229 +36,101,229 +41,102,229 +46,103,229 +51,104,229 +56,106,229 +61,107,229 +66,109,229 +71,111,229 +76,113,229 +80,114,229 +85,116,229 +89,118,229 +93,120,229 +97,122,229 +101,124,229 +104,126,229 +108,128,229 +112,131,229 +115,133,229 +118,135,229 +122,137,229 +125,139,229 +128,141,229 +131,143,229 +134,145,229 +137,147,229 +140,150,229 +143,152,229 +146,154,229 +149,156,229 +152,158,229 +155,160,229 +157,163,229 +160,165,229 +163,167,229 +165,169,229 +168,171,229 +171,174,229 +173,176,229 +176,178,229 +178,180,229 +181,183,229 +183,185,228 +186,187,228 +188,189,228 +191,192,228 +193,194,228 +196,196,228 +198,198,228 +200,200,227 +203,202,227 +205,204,227 +207,206,226 +209,208,226 +211,209,225 +213,210,224 +215,211,224 +217,212,223 +218,213,221 +220,213,220 +221,213,218 diff --git a/colormaps/CET-C4s.csv b/colormaps/CET-C4s.csv new file mode 100644 index 0000000..66deb4c --- /dev/null +++ b/colormaps/CET-C4s.csv @@ -0,0 +1,256 @@ +26,99,229 +29,100,229 +32,100,229 +36,101,229 +41,102,229 +46,103,229 +51,104,229 +56,106,229 +61,107,229 +66,109,229 +71,111,229 +76,113,229 +80,114,229 +85,116,229 +89,118,229 +93,120,229 +97,122,229 +101,124,229 +104,126,229 +108,128,229 +112,131,229 +115,133,229 +118,135,229 +122,137,229 +125,139,229 +128,141,229 +131,143,229 +134,145,229 +137,147,229 +140,150,229 +143,152,229 +146,154,229 +149,156,229 +152,158,229 +155,160,229 +157,163,229 +160,165,229 +163,167,229 +165,169,229 +168,171,229 +171,174,229 +173,176,229 +176,178,229 +178,180,229 +181,183,229 +183,185,228 +186,187,228 +188,189,228 +191,192,228 +193,194,228 +196,196,228 +198,198,228 +200,200,227 +203,202,227 +205,204,227 +207,206,226 +209,208,226 +211,209,225 +213,210,224 +215,211,224 +217,212,223 +218,213,221 +220,213,220 +221,213,218 +223,213,216 +224,213,214 +225,212,212 +226,211,210 +227,209,207 +227,208,204 +228,206,201 +229,204,198 +229,202,195 +229,200,192 +230,197,189 +230,195,185 +230,192,182 +230,189,178 +230,187,175 +230,184,171 +230,181,168 +230,178,164 +230,176,161 +230,173,157 +230,170,154 +230,167,150 +229,164,147 +229,162,143 +229,159,140 +229,156,136 +228,153,133 +228,150,129 +227,147,126 +227,145,123 +226,142,119 +226,139,116 +225,136,112 +225,133,109 +224,130,106 +224,127,102 +223,124,99 +222,122,96 +221,119,92 +221,116,89 +220,113,86 +219,110,82 +218,107,79 +218,104,76 +217,101,72 +216,98,69 +215,94,66 +214,91,63 +213,88,60 +212,85,56 +211,82,53 +210,79,50 +209,76,47 +208,72,44 +207,69,41 +206,66,38 +205,63,36 +205,60,33 +204,58,31 +203,55,29 +202,53,27 +202,51,25 +202,50,24 +201,49,23 +201,49,23 +201,49,23 +201,49,24 +202,50,24 +202,52,26 +203,54,27 +203,56,29 +204,58,31 +205,61,34 +206,64,36 +207,67,39 +207,70,42 +208,73,45 +209,76,48 +210,80,51 +211,83,54 +212,86,57 +213,89,60 +214,92,64 +215,95,67 +216,98,70 +217,101,73 +218,105,77 +219,108,80 +219,111,83 +220,114,86 +221,116,90 +222,119,93 +222,122,96 +223,125,100 +224,128,103 +224,131,106 +225,134,110 +225,137,113 +226,140,117 +227,143,120 +227,145,123 +227,148,127 +228,151,130 +228,154,134 +229,157,137 +229,160,141 +229,162,144 +230,165,148 +230,168,151 +230,171,155 +230,174,158 +230,176,162 +230,179,165 +230,182,169 +230,185,172 +230,187,176 +230,190,179 +230,192,183 +230,195,186 +229,197,190 +229,199,193 +228,202,196 +227,203,199 +226,205,203 +225,207,205 +224,208,208 +223,209,211 +222,209,213 +220,210,215 +219,210,217 +217,209,219 +215,209,221 +213,208,222 +211,207,223 +209,206,224 +207,204,225 +205,203,226 +202,201,226 +200,199,227 +198,197,227 +195,195,228 +193,193,228 +190,191,228 +188,189,228 +185,187,228 +183,184,228 +180,182,229 +178,180,229 +175,178,229 +173,175,229 +170,173,229 +167,171,229 +165,169,229 +162,167,229 +159,164,229 +157,162,229 +154,160,229 +151,158,229 +148,156,229 +145,153,229 +143,151,229 +140,149,229 +137,147,229 +134,145,229 +131,143,229 +127,141,229 +124,138,229 +121,136,229 +118,134,229 +114,132,229 +111,130,229 +107,128,229 +104,126,229 +100,124,229 +96,122,229 +92,120,229 +88,118,229 +84,116,229 +79,114,229 +75,112,229 +70,110,229 +65,109,229 +60,107,229 +55,106,229 +50,104,229 +45,103,229 +40,102,229 +35,101,229 +31,100,229 +28,100,229 +26,99,229 +25,99,229 diff --git a/colormaps/CET-C5.csv b/colormaps/CET-C5.csv new file mode 100644 index 0000000..1d83496 --- /dev/null +++ b/colormaps/CET-C5.csv @@ -0,0 +1,256 @@ +120,120,120 +121,121,121 +122,122,122 +123,123,123 +125,125,125 +126,126,126 +127,127,127 +129,129,129 +130,130,130 +131,131,131 +133,133,133 +134,134,134 +135,135,135 +137,137,137 +138,138,138 +140,140,140 +141,141,141 +142,142,142 +144,144,144 +145,145,145 +147,147,147 +148,148,148 +149,149,149 +151,151,151 +152,152,152 +154,154,154 +155,155,155 +157,157,157 +158,158,158 +159,159,159 +161,161,161 +162,162,162 +164,164,164 +165,165,165 +167,167,167 +168,168,168 +170,170,170 +171,171,171 +172,172,172 +174,174,174 +175,175,175 +177,177,177 +178,178,178 +180,180,180 +181,181,181 +183,183,183 +184,184,184 +186,186,186 +187,187,187 +188,189,189 +190,190,190 +191,191,191 +193,193,193 +194,194,194 +195,195,195 +196,196,196 +198,198,198 +199,199,199 +200,200,200 +200,200,200 +201,201,201 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +201,201,201 +201,201,201 +200,200,200 +199,199,199 +198,198,198 +197,197,197 +196,196,196 +194,194,194 +193,193,193 +192,192,192 +190,190,190 +189,189,189 +187,187,187 +186,186,186 +184,185,185 +183,183,183 +182,182,182 +180,180,180 +179,179,179 +177,177,177 +176,176,176 +174,174,174 +173,173,173 +171,171,171 +170,170,170 +168,168,168 +167,167,167 +166,166,166 +164,164,164 +163,163,163 +161,161,161 +160,160,160 +158,158,158 +157,157,157 +155,156,156 +154,154,154 +153,153,153 +151,151,151 +150,150,150 +148,148,148 +147,147,147 +146,146,146 +144,144,144 +143,143,143 +141,141,141 +140,140,140 +139,139,139 +137,137,137 +136,136,136 +134,134,134 +133,133,133 +132,132,132 +130,130,130 +129,129,129 +127,127,127 +126,126,126 +125,125,125 +123,123,123 +122,122,122 +121,121,121 +119,119,119 +118,118,118 +117,117,117 +115,115,115 +114,114,114 +112,112,112 +111,111,111 +110,110,110 +108,108,108 +107,107,107 +106,106,106 +104,104,104 +103,103,103 +102,102,102 +100,100,100 +99,99,99 +98,98,98 +97,97,97 +95,95,95 +94,94,94 +93,93,93 +91,91,91 +90,90,90 +89,89,89 +87,87,87 +86,86,86 +85,85,85 +84,84,84 +82,82,82 +81,81,81 +80,80,80 +78,78,78 +77,77,77 +76,76,76 +75,75,75 +73,73,73 +72,72,72 +71,71,71 +70,70,70 +68,68,68 +67,67,67 +66,66,66 +65,65,65 +64,64,64 +62,62,62 +61,61,61 +60,60,60 +59,59,59 +58,58,58 +56,56,56 +55,55,55 +54,54,54 +53,53,53 +52,52,52 +51,51,51 +50,50,50 +49,49,49 +48,48,48 +47,47,47 +47,47,47 +46,46,46 +46,46,46 +45,45,45 +45,45,45 +45,45,45 +45,45,45 +45,45,45 +46,46,46 +46,46,46 +47,47,47 +47,47,47 +48,48,48 +49,49,49 +50,50,50 +51,51,51 +52,52,52 +53,53,53 +54,54,54 +55,55,55 +56,56,56 +57,57,57 +58,58,58 +60,60,60 +61,61,61 +62,62,62 +63,63,63 +64,65,64 +66,66,66 +67,67,67 +68,68,68 +69,69,69 +71,71,71 +72,72,72 +73,73,73 +74,74,74 +76,76,76 +77,77,77 +78,78,78 +79,79,79 +81,81,81 +82,82,82 +83,83,83 +85,85,85 +86,86,86 +87,87,87 +88,88,88 +90,90,90 +91,91,91 +92,92,92 +94,94,94 +95,95,95 +96,96,96 +97,98,98 +99,99,99 +100,100,100 +101,101,101 +103,103,103 +104,104,104 +105,105,105 +107,107,107 +108,108,108 +109,109,109 +111,111,111 +112,112,112 +113,113,113 +114,114,114 +116,116,116 +117,117,117 +118,118,118 diff --git a/colormaps/CET-C5s.csv b/colormaps/CET-C5s.csv new file mode 100644 index 0000000..f9e7425 --- /dev/null +++ b/colormaps/CET-C5s.csv @@ -0,0 +1,256 @@ +45,45,45 +45,45,45 +46,46,46 +46,46,46 +47,47,47 +47,47,47 +48,48,48 +49,49,49 +50,50,50 +51,51,51 +52,52,52 +53,53,53 +54,54,54 +55,55,55 +56,56,56 +57,57,57 +58,58,58 +60,60,60 +61,61,61 +62,62,62 +63,63,63 +64,65,64 +66,66,66 +67,67,67 +68,68,68 +69,69,69 +71,71,71 +72,72,72 +73,73,73 +74,74,74 +76,76,76 +77,77,77 +78,78,78 +79,79,79 +81,81,81 +82,82,82 +83,83,83 +85,85,85 +86,86,86 +87,87,87 +88,88,88 +90,90,90 +91,91,91 +92,92,92 +94,94,94 +95,95,95 +96,96,96 +97,98,98 +99,99,99 +100,100,100 +101,101,101 +103,103,103 +104,104,104 +105,105,105 +107,107,107 +108,108,108 +109,109,109 +111,111,111 +112,112,112 +113,113,113 +114,114,114 +116,116,116 +117,117,117 +118,118,118 +120,120,120 +121,121,121 +122,122,122 +123,123,123 +125,125,125 +126,126,126 +127,127,127 +129,129,129 +130,130,130 +131,131,131 +133,133,133 +134,134,134 +135,135,135 +137,137,137 +138,138,138 +140,140,140 +141,141,141 +142,142,142 +144,144,144 +145,145,145 +147,147,147 +148,148,148 +149,149,149 +151,151,151 +152,152,152 +154,154,154 +155,155,155 +157,157,157 +158,158,158 +159,159,159 +161,161,161 +162,162,162 +164,164,164 +165,165,165 +167,167,167 +168,168,168 +170,170,170 +171,171,171 +172,172,172 +174,174,174 +175,175,175 +177,177,177 +178,178,178 +180,180,180 +181,181,181 +183,183,183 +184,184,184 +186,186,186 +187,187,187 +188,189,189 +190,190,190 +191,191,191 +193,193,193 +194,194,194 +195,195,195 +196,196,196 +198,198,198 +199,199,199 +200,200,200 +200,200,200 +201,201,201 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +202,202,202 +201,201,201 +201,201,201 +200,200,200 +199,199,199 +198,198,198 +197,197,197 +196,196,196 +194,194,194 +193,193,193 +192,192,192 +190,190,190 +189,189,189 +187,187,187 +186,186,186 +184,185,185 +183,183,183 +182,182,182 +180,180,180 +179,179,179 +177,177,177 +176,176,176 +174,174,174 +173,173,173 +171,171,171 +170,170,170 +168,168,168 +167,167,167 +166,166,166 +164,164,164 +163,163,163 +161,161,161 +160,160,160 +158,158,158 +157,157,157 +155,156,156 +154,154,154 +153,153,153 +151,151,151 +150,150,150 +148,148,148 +147,147,147 +146,146,146 +144,144,144 +143,143,143 +141,141,141 +140,140,140 +139,139,139 +137,137,137 +136,136,136 +134,134,134 +133,133,133 +132,132,132 +130,130,130 +129,129,129 +127,127,127 +126,126,126 +125,125,125 +123,123,123 +122,122,122 +121,121,121 +119,119,119 +118,118,118 +117,117,117 +115,115,115 +114,114,114 +112,112,112 +111,111,111 +110,110,110 +108,108,108 +107,107,107 +106,106,106 +104,104,104 +103,103,103 +102,102,102 +100,100,100 +99,99,99 +98,98,98 +97,97,97 +95,95,95 +94,94,94 +93,93,93 +91,91,91 +90,90,90 +89,89,89 +87,87,87 +86,86,86 +85,85,85 +84,84,84 +82,82,82 +81,81,81 +80,80,80 +78,78,78 +77,77,77 +76,76,76 +75,75,75 +73,73,73 +72,72,72 +71,71,71 +70,70,70 +68,68,68 +67,67,67 +66,66,66 +65,65,65 +64,64,64 +62,62,62 +61,61,61 +60,60,60 +59,59,59 +58,58,58 +56,56,56 +55,55,55 +54,54,54 +53,53,53 +52,52,52 +51,51,51 +50,50,50 +49,49,49 +48,48,48 +47,47,47 +47,47,47 +46,46,46 +46,46,46 +45,45,45 +45,45,45 +45,45,45 diff --git a/colormaps/CET-C6.csv b/colormaps/CET-C6.csv new file mode 100644 index 0000000..72ab297 --- /dev/null +++ b/colormaps/CET-C6.csv @@ -0,0 +1,256 @@ +247,55,26 +246,56,23 +246,58,21 +246,61,18 +247,64,16 +247,68,14 +247,72,12 +248,76,10 +248,80,8 +248,85,7 +249,89,6 +249,94,5 +250,98,4 +251,103,3 +251,107,2 +252,112,2 +252,116,1 +253,120,1 +253,125,0 +254,129,0 +254,133,0 +254,137,0 +255,141,0 +255,145,0 +255,149,0 +255,153,0 +255,157,0 +255,161,0 +255,165,0 +255,168,0 +255,172,0 +255,176,0 +255,179,0 +255,183,0 +255,186,0 +255,189,0 +254,193,0 +253,195,0 +252,198,0 +251,201,0 +249,203,0 +247,205,0 +245,206,0 +242,208,0 +239,208,0 +236,209,0 +233,209,0 +229,209,0 +225,209,0 +221,208,0 +217,208,0 +213,207,0 +209,205,0 +204,204,0 +200,203,0 +195,201,0 +191,199,0 +186,197,0 +181,196,0 +177,194,0 +172,192,0 +167,190,0 +162,188,0 +158,186,0 +153,184,0 +148,182,0 +143,180,0 +138,178,1 +134,176,1 +129,174,2 +124,172,2 +119,170,3 +114,169,3 +109,167,4 +104,165,6 +100,163,7 +95,161,9 +90,160,11 +85,158,13 +81,157,16 +76,156,18 +72,155,21 +68,154,24 +64,154,27 +60,153,30 +57,153,34 +54,153,38 +51,154,41 +49,155,45 +47,155,49 +45,157,54 +44,158,58 +43,160,62 +43,161,67 +43,163,72 +43,165,76 +44,167,81 +44,170,86 +45,172,91 +46,174,96 +46,177,101 +47,179,106 +48,181,111 +48,184,116 +49,186,121 +49,189,126 +50,191,131 +50,194,136 +50,196,141 +50,199,146 +50,202,151 +50,204,156 +50,207,161 +50,209,166 +49,212,171 +48,214,177 +48,216,182 +47,219,187 +46,221,192 +45,223,197 +44,225,202 +43,227,206 +42,228,211 +40,230,215 +39,231,220 +39,232,224 +38,232,228 +37,232,231 +37,232,235 +37,232,238 +38,231,240 +38,230,243 +39,228,245 +40,227,247 +41,225,249 +42,223,250 +43,220,251 +44,218,252 +45,215,253 +46,212,254 +47,209,254 +47,206,255 +48,203,255 +49,200,255 +49,197,255 +49,194,255 +49,191,255 +49,188,255 +49,184,255 +49,181,255 +48,178,255 +48,175,255 +47,172,255 +46,169,255 +45,166,255 +44,163,255 +43,160,255 +42,157,255 +41,154,255 +40,151,255 +40,148,255 +39,145,255 +40,143,255 +40,140,255 +41,138,255 +43,136,255 +46,134,255 +49,132,255 +53,131,255 +57,130,255 +62,129,255 +67,128,255 +72,128,255 +77,128,255 +83,129,255 +89,129,255 +94,130,255 +100,131,255 +105,132,255 +111,134,255 +116,136,255 +122,137,255 +127,139,255 +132,141,255 +137,143,255 +142,145,255 +147,147,255 +152,150,255 +157,152,255 +161,154,255 +166,156,255 +170,159,255 +174,161,255 +179,163,255 +183,165,255 +187,168,255 +191,170,255 +196,172,255 +200,174,255 +204,177,255 +208,179,255 +212,181,255 +216,183,255 +219,184,255 +223,186,255 +227,188,255 +231,189,253 +234,190,252 +238,191,250 +241,191,247 +244,191,245 +247,191,242 +250,190,238 +252,189,234 +255,188,231 +255,187,226 +255,185,222 +255,183,217 +255,180,212 +255,178,207 +255,175,202 +255,172,197 +255,169,191 +255,165,186 +255,162,180 +255,158,175 +255,155,169 +255,151,164 +255,148,158 +255,144,153 +255,140,147 +255,136,142 +255,133,137 +255,129,131 +255,125,126 +255,121,121 +255,117,115 +255,113,110 +255,109,105 +255,105,100 +255,101,94 +255,97,89 +255,92,84 +255,88,79 +255,84,74 +255,80,69 +254,76,65 +253,72,60 +252,68,56 +251,65,51 +250,61,47 +249,59,43 +248,56,39 +248,55,36 +247,54,32 +247,54,29 diff --git a/colormaps/CET-C6s.csv b/colormaps/CET-C6s.csv new file mode 100644 index 0000000..8f00991 --- /dev/null +++ b/colormaps/CET-C6s.csv @@ -0,0 +1,256 @@ +174,161,255 +179,163,255 +183,165,255 +187,168,255 +191,170,255 +196,172,255 +200,174,255 +204,177,255 +208,179,255 +212,181,255 +216,183,255 +219,184,255 +223,186,255 +227,188,255 +231,189,253 +234,190,252 +238,191,250 +241,191,247 +244,191,245 +247,191,242 +250,190,238 +252,189,234 +255,188,231 +255,187,226 +255,185,222 +255,183,217 +255,180,212 +255,178,207 +255,175,202 +255,172,197 +255,169,191 +255,165,186 +255,162,180 +255,158,175 +255,155,169 +255,151,164 +255,148,158 +255,144,153 +255,140,147 +255,136,142 +255,133,137 +255,129,131 +255,125,126 +255,121,121 +255,117,115 +255,113,110 +255,109,105 +255,105,100 +255,101,94 +255,97,89 +255,92,84 +255,88,79 +255,84,74 +255,80,69 +254,76,65 +253,72,60 +252,68,56 +251,65,51 +250,61,47 +249,59,43 +248,56,39 +248,55,36 +247,54,32 +247,54,29 +247,55,26 +246,56,23 +246,58,21 +246,61,18 +247,64,16 +247,68,14 +247,72,12 +248,76,10 +248,80,8 +248,85,7 +249,89,6 +249,94,5 +250,98,4 +251,103,3 +251,107,2 +252,112,2 +252,116,1 +253,120,1 +253,125,0 +254,129,0 +254,133,0 +254,137,0 +255,141,0 +255,145,0 +255,149,0 +255,153,0 +255,157,0 +255,161,0 +255,165,0 +255,168,0 +255,172,0 +255,176,0 +255,179,0 +255,183,0 +255,186,0 +255,189,0 +254,193,0 +253,195,0 +252,198,0 +251,201,0 +249,203,0 +247,205,0 +245,206,0 +242,208,0 +239,208,0 +236,209,0 +233,209,0 +229,209,0 +225,209,0 +221,208,0 +217,208,0 +213,207,0 +209,205,0 +204,204,0 +200,203,0 +195,201,0 +191,199,0 +186,197,0 +181,196,0 +177,194,0 +172,192,0 +167,190,0 +162,188,0 +158,186,0 +153,184,0 +148,182,0 +143,180,0 +138,178,1 +134,176,1 +129,174,2 +124,172,2 +119,170,3 +114,169,3 +109,167,4 +104,165,6 +100,163,7 +95,161,9 +90,160,11 +85,158,13 +81,157,16 +76,156,18 +72,155,21 +68,154,24 +64,154,27 +60,153,30 +57,153,34 +54,153,38 +51,154,41 +49,155,45 +47,155,49 +45,157,54 +44,158,58 +43,160,62 +43,161,67 +43,163,72 +43,165,76 +44,167,81 +44,170,86 +45,172,91 +46,174,96 +46,177,101 +47,179,106 +48,181,111 +48,184,116 +49,186,121 +49,189,126 +50,191,131 +50,194,136 +50,196,141 +50,199,146 +50,202,151 +50,204,156 +50,207,161 +50,209,166 +49,212,171 +48,214,177 +48,216,182 +47,219,187 +46,221,192 +45,223,197 +44,225,202 +43,227,206 +42,228,211 +40,230,215 +39,231,220 +39,232,224 +38,232,228 +37,232,231 +37,232,235 +37,232,238 +38,231,240 +38,230,243 +39,228,245 +40,227,247 +41,225,249 +42,223,250 +43,220,251 +44,218,252 +45,215,253 +46,212,254 +47,209,254 +47,206,255 +48,203,255 +49,200,255 +49,197,255 +49,194,255 +49,191,255 +49,188,255 +49,184,255 +49,181,255 +48,178,255 +48,175,255 +47,172,255 +46,169,255 +45,166,255 +44,163,255 +43,160,255 +42,157,255 +41,154,255 +40,151,255 +40,148,255 +39,145,255 +40,143,255 +40,140,255 +41,138,255 +43,136,255 +46,134,255 +49,132,255 +53,131,255 +57,130,255 +62,129,255 +67,128,255 +72,128,255 +77,128,255 +83,129,255 +89,129,255 +94,130,255 +100,131,255 +105,132,255 +111,134,255 +116,136,255 +122,137,255 +127,139,255 +132,141,255 +137,143,255 +142,145,255 +147,147,255 +152,150,255 +157,152,255 +161,154,255 +166,156,255 +170,159,255 diff --git a/colormaps/CET-C7.csv b/colormaps/CET-C7.csv new file mode 100644 index 0000000..1714779 --- /dev/null +++ b/colormaps/CET-C7.csv @@ -0,0 +1,256 @@ +233,228,25 +235,227,31 +236,226,38 +238,225,43 +239,223,49 +240,222,55 +241,220,60 +242,218,65 +244,216,70 +245,213,75 +246,211,80 +246,209,84 +247,207,88 +248,204,92 +249,202,97 +250,200,100 +251,197,104 +251,195,108 +252,193,112 +253,190,115 +253,188,119 +254,186,122 +255,183,126 +255,181,129 +255,178,132 +255,176,135 +255,173,139 +255,171,142 +255,168,145 +255,166,148 +255,163,151 +255,161,154 +255,158,157 +255,155,160 +255,153,163 +255,150,166 +255,147,169 +255,144,172 +255,142,175 +255,139,178 +255,136,181 +255,133,184 +255,130,187 +255,127,190 +255,124,193 +255,121,196 +255,118,199 +255,114,201 +255,111,204 +255,108,207 +255,104,210 +255,101,213 +255,97,216 +255,93,219 +255,90,221 +255,86,224 +255,82,227 +255,78,230 +255,74,233 +255,71,235 +255,68,238 +255,65,240 +254,63,243 +253,63,245 +252,63,247 +251,64,248 +249,66,250 +248,69,251 +247,72,252 +245,76,253 +244,81,253 +242,85,254 +241,90,254 +239,94,254 +238,98,254 +236,103,254 +235,107,254 +233,111,254 +231,115,254 +230,119,254 +228,122,254 +226,126,254 +224,129,254 +222,133,254 +221,136,254 +219,139,254 +217,143,254 +215,146,254 +213,149,254 +211,152,254 +209,155,254 +207,158,254 +204,161,254 +202,164,254 +200,167,254 +198,169,254 +195,172,254 +193,175,254 +190,178,254 +188,180,254 +185,183,254 +183,186,254 +180,188,254 +177,191,253 +174,193,253 +171,196,253 +168,198,253 +165,201,253 +162,203,253 +158,206,253 +155,208,253 +151,211,253 +147,213,253 +143,216,253 +139,218,253 +135,220,253 +130,223,253 +126,225,252 +121,227,252 +115,229,252 +110,232,252 +104,234,251 +98,236,251 +92,237,250 +85,239,249 +79,240,248 +72,242,246 +65,243,245 +59,243,243 +53,243,240 +48,243,238 +44,243,235 +41,243,232 +39,242,229 +38,241,226 +38,240,223 +38,239,219 +39,238,216 +40,237,213 +41,236,209 +43,234,206 +44,233,202 +45,232,199 +46,230,195 +47,229,192 +48,228,189 +49,227,185 +49,225,182 +50,224,178 +50,223,175 +51,221,172 +51,220,168 +51,219,165 +52,218,162 +52,216,158 +52,215,155 +52,214,151 +52,213,148 +52,211,145 +51,210,141 +51,209,138 +51,207,135 +50,206,131 +50,205,128 +49,204,124 +49,202,121 +48,201,118 +48,200,114 +47,199,111 +46,197,108 +45,196,104 +44,195,101 +43,194,97 +42,192,94 +41,191,90 +40,190,87 +39,189,83 +37,187,80 +36,186,76 +34,185,72 +33,184,69 +31,183,65 +30,181,61 +28,180,57 +27,179,53 +26,178,49 +26,177,45 +27,177,41 +28,176,37 +30,175,33 +32,175,28 +35,175,24 +39,175,20 +43,175,16 +47,175,12 +51,176,8 +55,177,5 +59,177,2 +63,178,0 +68,179,0 +72,180,0 +76,181,0 +79,182,0 +83,183,0 +87,184,0 +90,185,0 +94,186,0 +97,187,0 +101,188,0 +104,189,0 +107,190,0 +110,191,0 +114,192,0 +117,193,0 +120,194,0 +123,195,0 +126,196,0 +129,197,0 +132,198,0 +135,199,0 +138,200,0 +141,201,0 +144,202,0 +147,203,0 +149,204,0 +152,205,0 +155,206,0 +158,207,0 +161,208,0 +164,209,0 +166,210,0 +169,211,0 +172,212,0 +175,213,0 +178,214,0 +180,215,0 +183,216,0 +186,217,0 +189,218,0 +191,219,0 +194,220,0 +197,221,0 +199,222,0 +202,222,0 +205,223,0 +208,224,0 +210,225,0 +213,226,0 +215,227,0 +218,228,0 +220,228,0 +223,229,0 +225,229,0 +227,229,3 +229,229,11 +231,229,18 diff --git a/colormaps/CET-C7s.csv b/colormaps/CET-C7s.csv new file mode 100644 index 0000000..779861e --- /dev/null +++ b/colormaps/CET-C7s.csv @@ -0,0 +1,256 @@ +39,175,20 +43,175,16 +47,175,12 +51,176,8 +55,177,5 +59,177,2 +63,178,0 +68,179,0 +72,180,0 +76,181,0 +79,182,0 +83,183,0 +87,184,0 +90,185,0 +94,186,0 +97,187,0 +101,188,0 +104,189,0 +107,190,0 +110,191,0 +114,192,0 +117,193,0 +120,194,0 +123,195,0 +126,196,0 +129,197,0 +132,198,0 +135,199,0 +138,200,0 +141,201,0 +144,202,0 +147,203,0 +149,204,0 +152,205,0 +155,206,0 +158,207,0 +161,208,0 +164,209,0 +166,210,0 +169,211,0 +172,212,0 +175,213,0 +178,214,0 +180,215,0 +183,216,0 +186,217,0 +189,218,0 +191,219,0 +194,220,0 +197,221,0 +199,222,0 +202,222,0 +205,223,0 +208,224,0 +210,225,0 +213,226,0 +215,227,0 +218,228,0 +220,228,0 +223,229,0 +225,229,0 +227,229,3 +229,229,11 +231,229,18 +233,228,25 +235,227,31 +236,226,38 +238,225,43 +239,223,49 +240,222,55 +241,220,60 +242,218,65 +244,216,70 +245,213,75 +246,211,80 +246,209,84 +247,207,88 +248,204,92 +249,202,97 +250,200,100 +251,197,104 +251,195,108 +252,193,112 +253,190,115 +253,188,119 +254,186,122 +255,183,126 +255,181,129 +255,178,132 +255,176,135 +255,173,139 +255,171,142 +255,168,145 +255,166,148 +255,163,151 +255,161,154 +255,158,157 +255,155,160 +255,153,163 +255,150,166 +255,147,169 +255,144,172 +255,142,175 +255,139,178 +255,136,181 +255,133,184 +255,130,187 +255,127,190 +255,124,193 +255,121,196 +255,118,199 +255,114,201 +255,111,204 +255,108,207 +255,104,210 +255,101,213 +255,97,216 +255,93,219 +255,90,221 +255,86,224 +255,82,227 +255,78,230 +255,74,233 +255,71,235 +255,68,238 +255,65,240 +254,63,243 +253,63,245 +252,63,247 +251,64,248 +249,66,250 +248,69,251 +247,72,252 +245,76,253 +244,81,253 +242,85,254 +241,90,254 +239,94,254 +238,98,254 +236,103,254 +235,107,254 +233,111,254 +231,115,254 +230,119,254 +228,122,254 +226,126,254 +224,129,254 +222,133,254 +221,136,254 +219,139,254 +217,143,254 +215,146,254 +213,149,254 +211,152,254 +209,155,254 +207,158,254 +204,161,254 +202,164,254 +200,167,254 +198,169,254 +195,172,254 +193,175,254 +190,178,254 +188,180,254 +185,183,254 +183,186,254 +180,188,254 +177,191,253 +174,193,253 +171,196,253 +168,198,253 +165,201,253 +162,203,253 +158,206,253 +155,208,253 +151,211,253 +147,213,253 +143,216,253 +139,218,253 +135,220,253 +130,223,253 +126,225,252 +121,227,252 +115,229,252 +110,232,252 +104,234,251 +98,236,251 +92,237,250 +85,239,249 +79,240,248 +72,242,246 +65,243,245 +59,243,243 +53,243,240 +48,243,238 +44,243,235 +41,243,232 +39,242,229 +38,241,226 +38,240,223 +38,239,219 +39,238,216 +40,237,213 +41,236,209 +43,234,206 +44,233,202 +45,232,199 +46,230,195 +47,229,192 +48,228,189 +49,227,185 +49,225,182 +50,224,178 +50,223,175 +51,221,172 +51,220,168 +51,219,165 +52,218,162 +52,216,158 +52,215,155 +52,214,151 +52,213,148 +52,211,145 +51,210,141 +51,209,138 +51,207,135 +50,206,131 +50,205,128 +49,204,124 +49,202,121 +48,201,118 +48,200,114 +47,199,111 +46,197,108 +45,196,104 +44,195,101 +43,194,97 +42,192,94 +41,191,90 +40,190,87 +39,189,83 +37,187,80 +36,186,76 +34,185,72 +33,184,69 +31,183,65 +30,181,61 +28,180,57 +27,179,53 +26,178,49 +26,177,45 +27,177,41 +28,176,37 +30,175,33 +32,175,28 +35,175,24 diff --git a/colormaps/CET-CBC1.csv b/colormaps/CET-CBC1.csv new file mode 100644 index 0000000..0993161 --- /dev/null +++ b/colormaps/CET-CBC1.csv @@ -0,0 +1,256 @@ +62,135,234 +65,136,235 +68,138,237 +71,139,237 +75,140,238 +79,142,239 +83,143,239 +87,145,240 +90,147,240 +94,148,240 +98,150,240 +102,151,240 +105,153,240 +109,154,241 +112,156,241 +116,158,241 +119,159,241 +122,161,241 +125,162,241 +128,164,241 +131,166,241 +134,167,241 +137,169,241 +140,171,242 +143,172,242 +146,174,242 +149,176,242 +151,177,242 +154,179,242 +157,181,242 +159,182,242 +162,184,242 +165,186,242 +167,187,242 +170,189,242 +172,191,243 +175,193,243 +178,194,243 +180,196,243 +183,198,243 +185,199,243 +187,201,243 +190,203,243 +192,205,243 +195,206,243 +197,208,243 +200,210,243 +202,211,243 +204,213,243 +207,215,243 +209,217,243 +211,218,243 +214,220,243 +216,222,243 +218,224,243 +221,225,243 +223,227,243 +225,228,242 +227,230,242 +229,231,241 +230,232,240 +232,233,239 +233,234,237 +234,234,235 +235,234,233 +236,234,231 +236,233,228 +236,232,225 +236,231,222 +235,230,219 +235,229,216 +234,227,213 +233,226,209 +232,224,206 +231,222,202 +230,221,199 +229,219,195 +227,217,192 +226,216,188 +225,214,185 +224,212,182 +223,210,178 +222,208,175 +220,207,171 +219,205,168 +218,203,164 +217,202,161 +215,200,158 +214,198,154 +213,196,151 +211,195,147 +210,193,144 +209,191,141 +207,190,137 +206,188,134 +205,186,131 +203,184,127 +202,183,124 +201,181,120 +199,179,117 +198,178,114 +197,176,110 +195,174,107 +194,173,104 +192,171,100 +191,169,97 +189,168,93 +188,166,90 +186,164,87 +185,163,83 +183,161,80 +182,159,76 +180,158,73 +179,156,69 +177,155,66 +176,153,62 +174,151,59 +173,150,55 +171,148,51 +169,146,48 +168,145,44 +166,143,40 +165,142,36 +163,140,33 +161,139,29 +160,137,26 +158,135,23 +156,134,20 +154,132,18 +153,131,16 +151,129,15 +149,128,15 +147,126,15 +145,124,15 +144,123,16 +142,121,16 +140,120,17 +138,118,19 +136,117,20 +134,115,21 +133,114,22 +131,112,23 +129,111,24 +127,109,24 +125,108,25 +124,106,26 +122,105,27 +120,103,28 +118,101,28 +116,100,29 +115,99,29 +113,97,30 +111,96,31 +109,94,31 +107,93,32 +106,91,32 +104,90,33 +102,88,33 +100,87,33 +99,85,34 +97,84,34 +95,82,35 +93,81,35 +92,79,35 +90,78,36 +88,77,36 +86,75,36 +84,74,36 +83,72,37 +81,71,37 +79,70,37 +78,68,37 +76,67,38 +74,65,38 +72,64,38 +71,63,38 +69,61,38 +67,60,39 +65,59,39 +64,57,39 +62,56,39 +60,55,39 +58,53,39 +57,52,40 +55,51,40 +54,50,40 +52,49,41 +51,48,42 +50,47,43 +49,47,44 +48,46,45 +47,46,46 +47,46,48 +46,47,50 +46,47,52 +46,48,54 +46,49,56 +47,50,59 +47,51,61 +48,52,64 +48,53,67 +49,54,69 +50,55,72 +50,57,75 +51,58,78 +52,60,81 +52,61,83 +53,62,86 +53,64,89 +54,65,92 +55,66,95 +55,68,98 +56,69,101 +56,71,104 +57,72,107 +57,73,110 +57,75,113 +58,76,116 +58,78,119 +58,79,122 +59,81,125 +59,82,128 +59,84,131 +60,85,134 +60,86,137 +60,88,140 +60,89,143 +60,91,147 +60,92,150 +60,94,153 +60,95,156 +60,97,159 +60,98,163 +60,100,166 +60,101,169 +60,103,172 +60,104,175 +60,106,179 +60,107,182 +59,109,185 +59,111,188 +59,112,192 +58,114,195 +58,115,198 +57,117,202 +57,118,205 +56,120,208 +56,121,211 +56,123,215 +55,124,218 +55,126,221 +55,127,223 +56,129,226 +57,130,228 +58,132,230 +60,133,232 diff --git a/colormaps/CET-CBC2.csv b/colormaps/CET-CBC2.csv new file mode 100644 index 0000000..54a93b9 --- /dev/null +++ b/colormaps/CET-CBC2.csv @@ -0,0 +1,256 @@ +238,237,236 +238,237,234 +238,236,232 +238,235,229 +238,234,226 +237,233,223 +237,232,220 +236,230,217 +235,229,213 +234,227,210 +233,225,206 +232,223,202 +231,222,199 +230,220,195 +229,218,191 +228,216,188 +226,214,184 +225,213,180 +224,211,177 +223,209,173 +222,207,169 +220,206,166 +219,204,162 +218,202,158 +217,200,155 +215,199,151 +214,197,148 +213,195,144 +212,193,140 +210,192,137 +209,190,133 +208,188,130 +206,186,126 +205,185,123 +203,183,119 +202,181,115 +201,180,112 +199,178,108 +198,176,105 +196,174,101 +195,173,97 +193,171,94 +192,169,90 +190,168,86 +189,166,83 +187,164,79 +186,163,75 +184,161,72 +183,159,68 +181,158,64 +180,156,60 +178,154,56 +176,153,52 +175,151,48 +173,150,44 +172,148,39 +170,147,35 +169,145,30 +167,144,25 +166,142,20 +165,141,15 +164,141,10 +163,140,6 +163,139,3 +163,139,2 +163,139,2 +163,139,4 +164,140,7 +164,141,12 +165,142,17 +166,143,22 +168,144,27 +169,145,31 +171,147,36 +172,148,40 +174,150,45 +175,152,49 +177,153,53 +178,155,57 +180,156,61 +182,158,65 +183,160,69 +185,161,73 +186,163,76 +188,165,80 +189,166,84 +191,168,87 +192,170,91 +194,171,95 +195,173,98 +197,175,102 +198,177,106 +200,178,109 +201,180,113 +202,182,116 +204,183,120 +205,185,124 +207,187,127 +208,189,131 +209,190,134 +211,192,138 +212,194,141 +213,195,145 +214,197,149 +216,199,152 +217,201,156 +218,203,159 +220,204,163 +221,206,167 +222,208,170 +223,210,174 +224,211,178 +226,213,181 +227,215,185 +228,217,189 +229,218,192 +230,220,196 +231,222,200 +232,224,203 +233,225,207 +234,227,211 +235,229,214 +236,230,218 +236,231,221 +236,232,224 +236,233,227 +236,234,230 +236,234,233 +235,234,235 +234,234,237 +233,234,239 +231,233,240 +230,232,242 +228,231,243 +226,229,243 +224,228,244 +221,226,244 +219,225,245 +217,223,245 +214,221,245 +212,219,245 +210,218,245 +207,216,246 +205,214,246 +202,212,246 +200,211,246 +197,209,246 +195,207,246 +192,205,246 +190,204,246 +187,202,246 +184,200,247 +182,198,247 +179,197,247 +177,195,247 +174,193,247 +171,191,247 +168,190,247 +166,188,247 +163,186,247 +160,185,247 +157,183,247 +154,181,247 +151,179,247 +148,178,248 +145,176,248 +142,174,248 +139,173,248 +136,171,248 +133,169,248 +130,168,248 +126,166,248 +123,164,248 +120,163,248 +116,161,248 +112,159,248 +109,158,248 +105,156,248 +101,155,248 +97,153,248 +93,151,248 +88,150,248 +84,148,248 +79,147,248 +75,146,248 +70,144,248 +66,143,248 +62,142,248 +59,141,248 +56,141,248 +55,140,248 +54,140,248 +55,140,248 +57,141,248 +59,141,248 +63,142,248 +67,143,248 +71,145,248 +76,146,248 +80,147,248 +85,149,248 +89,150,248 +94,152,248 +98,153,248 +102,155,248 +106,157,248 +110,158,248 +113,160,248 +117,161,248 +120,163,248 +124,165,248 +127,166,248 +130,168,248 +134,170,248 +137,171,248 +140,173,248 +143,175,248 +146,176,248 +149,178,248 +152,180,247 +155,181,247 +158,183,247 +161,185,247 +163,187,247 +166,188,247 +169,190,247 +172,192,247 +174,193,247 +177,195,247 +180,197,247 +182,199,247 +185,200,247 +188,202,246 +190,204,246 +193,206,246 +195,207,246 +198,209,246 +200,211,246 +203,213,246 +205,215,246 +208,216,246 +210,218,245 +213,220,245 +215,222,245 +217,223,245 +220,225,245 +222,227,245 +224,229,244 +227,230,244 +229,232,244 +231,233,243 +232,234,243 +234,235,242 +235,236,241 +237,237,240 +237,237,238 diff --git a/colormaps/CET-CBD1.csv b/colormaps/CET-CBD1.csv new file mode 100644 index 0000000..30e73f1 --- /dev/null +++ b/colormaps/CET-CBD1.csv @@ -0,0 +1,256 @@ +58,144,254 +62,145,254 +65,146,254 +68,146,254 +70,147,254 +73,148,254 +76,148,254 +78,149,254 +80,150,254 +83,151,253 +85,151,253 +87,152,253 +89,153,253 +91,153,253 +94,154,253 +96,155,253 +97,155,253 +99,156,253 +101,157,253 +103,158,253 +105,158,253 +107,159,253 +109,160,252 +110,160,252 +112,161,252 +114,162,252 +115,163,252 +117,163,252 +119,164,252 +120,165,252 +122,165,252 +124,166,252 +125,167,252 +127,168,251 +128,168,251 +130,169,251 +131,170,251 +133,171,251 +134,171,251 +136,172,251 +137,173,251 +139,173,251 +140,174,251 +141,175,251 +143,176,250 +144,176,250 +146,177,250 +147,178,250 +148,179,250 +150,179,250 +151,180,250 +152,181,250 +154,182,250 +155,182,250 +156,183,250 +158,184,249 +159,185,249 +160,185,249 +161,186,249 +163,187,249 +164,187,249 +165,188,249 +166,189,249 +168,190,249 +169,190,249 +170,191,248 +171,192,248 +173,193,248 +174,194,248 +175,194,248 +176,195,248 +177,196,248 +179,197,248 +180,197,248 +181,198,247 +182,199,247 +183,200,247 +185,200,247 +186,201,247 +187,202,247 +188,203,247 +189,203,247 +190,204,247 +192,205,246 +193,206,246 +194,206,246 +195,207,246 +196,208,246 +197,209,246 +198,210,246 +199,210,246 +201,211,246 +202,212,245 +203,213,245 +204,213,245 +205,214,245 +206,215,245 +207,216,245 +208,217,245 +209,217,245 +211,218,244 +212,219,244 +213,220,244 +214,220,244 +215,221,244 +216,222,244 +217,223,244 +218,224,244 +219,224,243 +220,225,243 +221,226,243 +222,227,243 +223,228,243 +224,228,243 +226,229,243 +227,230,242 +228,231,242 +229,231,242 +230,232,242 +231,233,242 +232,234,241 +233,234,241 +234,235,241 +234,236,240 +235,236,240 +236,236,239 +236,237,238 +237,237,237 +237,237,236 +238,237,235 +238,236,234 +238,236,232 +238,236,231 +238,235,229 +237,234,228 +237,234,226 +237,233,224 +236,232,223 +236,231,221 +236,231,219 +235,230,218 +235,229,216 +234,228,214 +234,228,213 +233,227,211 +233,226,209 +233,225,208 +232,224,206 +232,224,204 +231,223,202 +231,222,201 +230,221,199 +230,220,197 +229,220,196 +229,219,194 +228,218,192 +228,217,191 +227,216,189 +227,216,187 +226,215,186 +226,214,184 +226,213,182 +225,213,181 +225,212,179 +224,211,177 +224,210,176 +223,209,174 +223,209,172 +222,208,171 +222,207,169 +221,206,167 +220,206,166 +220,205,164 +219,204,162 +219,203,161 +218,203,159 +218,202,157 +217,201,156 +217,200,154 +216,199,152 +216,199,151 +215,198,149 +215,197,148 +214,196,146 +214,196,144 +213,195,143 +212,194,141 +212,193,139 +211,193,138 +211,192,136 +210,191,134 +210,190,133 +209,190,131 +208,189,129 +208,188,128 +207,187,126 +207,187,125 +206,186,123 +206,185,121 +205,184,120 +204,184,118 +204,183,116 +203,182,115 +203,181,113 +202,181,111 +201,180,110 +201,179,108 +200,178,106 +199,178,105 +199,177,103 +198,176,102 +198,175,100 +197,175,98 +196,174,97 +196,173,95 +195,172,93 +194,172,92 +194,171,90 +193,170,88 +193,169,87 +192,169,85 +191,168,83 +191,167,81 +190,166,80 +189,166,78 +189,165,76 +188,164,75 +187,164,73 +187,163,71 +186,162,69 +185,161,68 +185,161,66 +184,160,64 +183,159,62 +183,159,60 +182,158,59 +181,157,57 +180,156,55 +180,156,53 +179,155,51 +178,154,49 +178,153,47 +177,153,45 +176,152,43 +176,151,41 +175,151,39 +174,150,36 +173,149,34 +173,149,32 +172,148,29 +171,147,26 +171,146,23 +170,146,20 +169,145,17 +168,144,13 +168,144,8 diff --git a/colormaps/CET-CBL1.csv b/colormaps/CET-CBL1.csv new file mode 100644 index 0000000..54f2694 --- /dev/null +++ b/colormaps/CET-CBL1.csv @@ -0,0 +1,256 @@ +17,17,17 +17,18,19 +18,19,21 +18,19,23 +19,20,25 +19,21,27 +19,22,29 +20,22,31 +20,23,32 +20,24,34 +20,24,36 +20,25,38 +20,26,40 +20,26,42 +20,27,44 +20,28,46 +20,29,47 +20,29,49 +19,30,51 +19,31,53 +19,31,55 +19,32,57 +18,33,58 +18,34,60 +18,34,62 +17,35,64 +17,36,66 +17,37,68 +16,37,69 +16,38,71 +15,39,73 +14,40,75 +14,40,77 +13,41,78 +12,42,80 +12,43,82 +11,43,84 +10,44,85 +9,45,87 +8,46,89 +7,46,90 +6,47,92 +6,48,94 +5,49,95 +4,49,97 +3,50,99 +2,51,100 +2,52,102 +1,53,103 +0,53,105 +0,54,107 +0,55,108 +0,56,110 +0,56,111 +0,57,113 +0,58,114 +0,59,115 +0,60,117 +0,60,118 +0,61,119 +0,62,121 +0,63,122 +0,64,123 +0,64,125 +1,65,126 +3,66,127 +4,67,128 +5,68,129 +7,68,130 +9,69,131 +11,70,132 +13,71,133 +15,72,134 +17,72,135 +19,73,136 +21,74,137 +24,75,138 +26,76,138 +28,76,139 +30,77,140 +32,78,140 +34,79,141 +36,80,141 +38,80,142 +40,81,142 +42,82,142 +45,83,142 +47,84,143 +49,84,143 +51,85,143 +53,86,143 +55,87,143 +58,88,142 +60,89,142 +62,89,142 +64,90,141 +67,91,141 +69,92,140 +71,93,139 +73,94,139 +75,94,138 +77,95,137 +79,96,137 +81,97,136 +83,98,135 +85,99,135 +87,100,134 +89,100,133 +90,101,133 +92,102,132 +94,103,131 +95,104,131 +97,105,130 +99,106,129 +100,106,128 +102,107,128 +104,108,127 +105,109,126 +107,110,126 +108,111,125 +110,112,124 +111,113,123 +113,113,123 +114,114,122 +116,115,121 +117,116,121 +119,117,120 +120,118,119 +122,119,118 +123,120,118 +124,121,117 +126,121,116 +127,122,115 +129,123,115 +130,124,114 +131,125,113 +133,126,112 +134,127,111 +136,128,111 +137,129,110 +138,129,109 +140,130,108 +141,131,107 +142,132,107 +144,133,106 +145,134,105 +146,135,104 +148,136,103 +149,137,103 +150,138,102 +152,138,101 +153,139,100 +154,140,99 +156,141,98 +157,142,97 +158,143,96 +160,144,96 +161,145,95 +162,146,94 +164,147,93 +165,148,92 +166,148,91 +167,149,91 +169,150,90 +170,151,90 +171,152,89 +172,153,89 +173,154,89 +175,155,89 +176,156,89 +177,157,89 +178,158,89 +179,159,89 +180,159,89 +181,160,90 +182,161,90 +183,162,90 +184,163,91 +185,164,91 +186,165,92 +187,166,93 +188,167,94 +189,168,94 +191,169,95 +192,170,96 +193,171,97 +193,172,98 +194,173,99 +195,174,100 +196,175,101 +197,176,103 +198,176,104 +199,177,105 +200,178,106 +201,179,108 +202,180,109 +203,181,110 +204,182,112 +205,183,113 +206,184,115 +207,185,117 +207,186,118 +208,187,120 +209,188,121 +210,189,123 +211,190,125 +212,191,127 +213,192,128 +213,193,130 +214,194,132 +215,195,134 +216,196,136 +217,197,138 +217,198,140 +218,199,141 +219,200,143 +220,201,145 +221,202,148 +221,203,150 +222,204,152 +223,205,154 +223,206,156 +224,207,158 +225,208,160 +226,209,162 +226,210,165 +227,211,167 +228,212,169 +228,213,171 +229,214,174 +229,215,176 +230,216,178 +231,217,181 +231,218,183 +232,219,186 +232,220,188 +233,221,191 +233,222,193 +234,223,195 +234,224,198 +235,225,201 +235,226,203 +236,227,206 +236,228,208 +237,229,211 +237,230,213 +238,231,216 +238,232,219 +238,233,221 +239,234,224 +239,235,227 +239,236,230 +240,237,232 +240,238,235 +240,240,238 +241,241,241 diff --git a/colormaps/CET-CBL2.csv b/colormaps/CET-CBL2.csv new file mode 100644 index 0000000..48273e2 --- /dev/null +++ b/colormaps/CET-CBL2.csv @@ -0,0 +1,256 @@ +17,17,17 +17,18,19 +18,19,21 +19,19,23 +19,20,24 +20,21,26 +20,22,28 +20,23,29 +21,23,31 +21,24,33 +21,25,34 +22,25,36 +22,26,38 +22,27,39 +22,27,41 +22,28,43 +22,29,45 +22,30,46 +23,30,48 +23,31,50 +23,32,52 +23,33,54 +23,33,55 +23,34,57 +23,35,59 +22,36,61 +22,36,63 +22,37,64 +22,38,66 +22,39,68 +22,39,70 +21,40,72 +21,41,74 +21,42,75 +20,43,77 +20,43,79 +20,44,81 +19,45,83 +19,46,84 +19,46,86 +18,47,88 +18,48,90 +18,49,91 +17,50,93 +17,50,95 +17,51,96 +16,52,98 +16,53,99 +16,54,101 +16,54,103 +16,55,104 +16,56,106 +16,57,107 +15,58,109 +15,59,110 +15,59,112 +15,60,113 +15,61,115 +15,62,116 +15,63,118 +15,63,119 +15,64,121 +15,65,122 +15,66,124 +15,67,126 +15,68,127 +15,68,129 +15,69,130 +15,70,132 +15,71,133 +15,72,135 +15,73,136 +15,73,138 +15,74,139 +15,75,141 +15,76,142 +15,77,144 +15,78,146 +15,79,147 +15,79,149 +14,80,150 +14,81,152 +14,82,153 +14,83,155 +14,84,157 +14,85,158 +14,86,160 +14,86,161 +13,87,163 +13,88,165 +13,89,166 +13,90,168 +13,91,169 +13,92,171 +12,92,173 +12,93,174 +12,94,176 +12,95,178 +11,96,179 +11,97,181 +11,98,182 +10,99,184 +10,100,186 +10,100,187 +9,101,189 +9,102,191 +9,103,192 +8,104,194 +8,105,196 +7,106,197 +7,107,199 +7,108,201 +6,109,202 +6,109,204 +5,110,206 +5,111,207 +4,112,209 +4,113,211 +3,114,212 +3,115,214 +2,116,216 +2,117,217 +1,118,219 +1,119,221 +0,120,222 +0,120,224 +0,121,226 +1,122,227 +1,123,229 +2,124,230 +3,125,232 +5,126,233 +7,127,235 +11,128,236 +14,129,237 +18,130,238 +22,131,239 +26,132,240 +31,132,241 +35,133,242 +40,134,242 +45,135,242 +49,136,242 +54,137,242 +59,138,242 +64,139,241 +69,140,240 +74,141,239 +79,141,238 +84,142,236 +89,143,234 +93,144,232 +98,145,230 +103,146,228 +107,147,226 +111,148,223 +115,149,220 +119,150,217 +123,151,214 +127,152,212 +131,153,208 +134,154,205 +137,155,202 +141,155,199 +144,156,196 +147,157,193 +150,158,189 +152,159,186 +155,160,183 +158,161,180 +160,162,177 +163,163,174 +165,164,170 +168,165,167 +170,166,164 +172,167,161 +175,168,158 +177,169,155 +179,170,152 +181,171,149 +183,172,146 +185,173,143 +187,174,140 +189,175,137 +191,176,134 +193,177,131 +195,178,128 +197,179,125 +199,180,122 +201,181,119 +202,182,116 +204,183,113 +206,184,109 +208,184,106 +209,185,103 +211,186,100 +213,187,96 +214,188,93 +216,189,90 +218,190,86 +219,191,82 +221,192,79 +222,193,75 +224,194,72 +225,195,68 +227,196,64 +228,197,60 +229,198,57 +231,199,53 +232,200,49 +233,201,46 +235,202,42 +236,203,39 +237,204,37 +239,205,35 +240,206,34 +241,207,34 +242,208,35 +243,209,37 +244,210,39 +245,211,43 +246,212,47 +247,214,52 +248,215,57 +249,216,62 +250,217,68 +251,218,74 +251,219,80 +252,220,86 +253,221,93 +253,222,99 +254,223,106 +254,224,112 +255,225,119 +255,226,126 +255,227,132 +255,228,139 +255,229,146 +255,230,152 +255,231,159 +255,232,165 +255,233,171 +255,235,177 +255,236,183 +254,237,189 +254,238,195 +254,239,201 +253,240,206 +253,241,211 +253,242,216 +253,243,221 +252,245,226 +252,246,231 +252,247,235 +252,248,239 +252,249,243 diff --git a/colormaps/CET-D01.csv b/colormaps/CET-D01.csv new file mode 100644 index 0000000..7d89265 --- /dev/null +++ b/colormaps/CET-D01.csv @@ -0,0 +1,256 @@ +33,81,219 +37,82,219 +42,83,219 +46,84,220 +49,85,220 +53,86,220 +56,87,220 +59,88,220 +62,89,221 +65,91,221 +67,92,221 +70,93,221 +72,94,221 +75,95,222 +77,96,222 +80,97,222 +82,99,222 +84,100,223 +86,101,223 +88,102,223 +90,103,223 +92,104,223 +94,105,224 +96,107,224 +98,108,224 +100,109,224 +102,110,224 +104,111,225 +105,112,225 +107,114,225 +109,115,225 +111,116,225 +112,117,226 +114,118,226 +116,120,226 +117,121,226 +119,122,226 +121,123,227 +122,124,227 +124,126,227 +125,127,227 +127,128,227 +129,129,228 +130,130,228 +132,132,228 +133,133,228 +135,134,228 +136,135,229 +138,136,229 +139,138,229 +141,139,229 +142,140,229 +143,141,229 +145,143,230 +146,144,230 +148,145,230 +149,146,230 +151,148,230 +152,149,231 +153,150,231 +155,151,231 +156,153,231 +158,154,231 +159,155,231 +160,156,232 +162,158,232 +163,159,232 +164,160,232 +166,161,232 +167,163,232 +168,164,233 +170,165,233 +171,166,233 +172,168,233 +174,169,233 +175,170,233 +176,172,234 +178,173,234 +179,174,234 +180,175,234 +181,177,234 +183,178,234 +184,179,235 +185,180,235 +187,182,235 +188,183,235 +189,184,235 +190,186,235 +192,187,235 +193,188,236 +194,190,236 +195,191,236 +197,192,236 +198,193,236 +199,195,236 +200,196,236 +202,197,237 +203,199,237 +204,200,237 +205,201,237 +207,203,237 +208,204,237 +209,205,237 +210,207,238 +211,208,238 +213,209,238 +214,211,238 +215,212,238 +216,213,238 +218,215,238 +219,216,238 +220,217,239 +221,218,239 +222,220,239 +224,221,239 +225,222,239 +226,224,239 +227,225,239 +228,226,239 +229,227,239 +230,228,238 +231,229,238 +232,229,238 +233,230,237 +234,231,237 +235,231,236 +236,231,235 +237,231,234 +238,231,233 +238,231,232 +239,230,231 +239,230,230 +240,229,228 +240,228,227 +241,227,225 +241,226,223 +241,225,221 +241,224,220 +241,222,218 +242,221,216 +242,219,214 +242,218,212 +242,216,210 +242,215,208 +242,213,206 +242,212,204 +242,210,203 +242,209,201 +242,207,199 +242,206,197 +242,204,195 +241,203,193 +241,201,191 +241,199,189 +241,198,187 +241,196,185 +241,195,183 +241,193,181 +241,192,180 +240,190,178 +240,189,176 +240,187,174 +240,185,172 +240,184,170 +240,182,168 +239,181,166 +239,179,165 +239,178,163 +239,176,161 +238,175,159 +238,173,157 +238,172,155 +238,170,153 +237,168,152 +237,167,150 +237,165,148 +237,164,146 +236,162,144 +236,161,142 +236,159,140 +235,157,139 +235,156,137 +235,154,135 +234,153,133 +234,151,131 +234,150,130 +233,148,128 +233,147,126 +232,145,124 +232,143,122 +232,142,121 +231,140,119 +231,139,117 +230,137,115 +230,136,113 +230,134,112 +229,132,110 +229,131,108 +228,129,106 +228,128,105 +227,126,103 +227,124,101 +226,123,99 +226,121,98 +225,120,96 +225,118,94 +224,116,92 +224,115,91 +223,113,89 +223,111,87 +222,110,85 +222,108,84 +221,106,82 +221,105,80 +220,103,79 +219,102,77 +219,100,75 +218,98,73 +218,96,72 +217,95,70 +216,93,68 +216,91,67 +215,90,65 +215,88,63 +214,86,62 +213,84,60 +213,82,58 +212,81,56 +211,79,55 +211,77,53 +210,75,51 +209,73,50 +209,71,48 +208,69,46 +207,68,45 +207,66,43 +206,64,41 +205,61,40 +205,59,38 +204,57,36 +203,55,34 +202,53,33 +202,51,31 +201,48,29 +200,46,27 +200,43,26 +199,41,24 +198,38,22 +197,35,20 +197,32,18 +196,28,16 +195,25,14 +194,20,12 +193,15,10 +193,9,8 +192,2,6 diff --git a/colormaps/CET-D01A.csv b/colormaps/CET-D01A.csv new file mode 100644 index 0000000..150e9ca --- /dev/null +++ b/colormaps/CET-D01A.csv @@ -0,0 +1,256 @@ +23,41,114 +24,42,117 +24,43,120 +25,44,123 +25,45,126 +25,47,128 +26,48,131 +26,49,134 +26,50,137 +27,51,140 +27,52,143 +27,53,146 +28,54,149 +28,56,152 +28,57,155 +28,58,158 +29,59,161 +29,60,164 +29,61,167 +30,62,171 +30,64,174 +30,65,177 +31,66,180 +31,67,183 +32,68,186 +32,70,189 +33,71,191 +34,72,194 +35,73,197 +36,74,200 +37,76,202 +39,77,205 +41,78,207 +43,80,210 +45,81,212 +47,82,214 +49,84,216 +52,85,217 +55,86,219 +57,88,220 +60,89,222 +63,91,223 +66,92,224 +68,93,225 +71,95,226 +74,96,227 +77,98,228 +79,99,229 +82,101,230 +85,102,231 +87,104,232 +90,105,233 +92,107,234 +95,108,235 +97,110,235 +99,111,236 +102,113,237 +104,115,238 +106,116,239 +109,118,240 +111,119,240 +113,121,241 +115,122,242 +117,124,243 +119,126,244 +122,127,244 +124,129,245 +126,130,246 +128,132,247 +130,133,247 +132,135,248 +134,137,249 +136,138,249 +138,140,250 +141,142,251 +143,143,251 +145,145,251 +147,147,252 +149,148,252 +151,150,252 +153,152,252 +155,153,253 +157,155,253 +159,157,253 +161,159,253 +163,160,252 +165,162,252 +167,164,252 +169,166,252 +171,167,252 +173,169,252 +175,171,252 +177,173,251 +179,175,251 +181,176,251 +183,178,251 +185,180,250 +187,182,250 +189,184,250 +191,185,250 +192,187,249 +194,189,249 +196,191,249 +198,193,249 +200,195,248 +201,196,248 +203,198,248 +205,200,247 +207,202,247 +208,204,247 +210,206,247 +212,207,246 +214,209,246 +215,211,245 +217,213,245 +219,215,245 +220,216,244 +222,218,244 +224,219,243 +225,221,242 +227,222,242 +229,223,241 +230,225,240 +232,225,239 +233,226,237 +235,227,236 +236,227,234 +237,227,233 +239,227,231 +240,226,229 +241,225,227 +242,225,225 +243,223,222 +244,222,220 +245,221,217 +246,219,214 +247,217,212 +247,215,209 +248,213,206 +249,211,203 +249,209,201 +250,207,198 +250,205,195 +250,202,192 +251,200,189 +251,198,186 +251,195,183 +252,193,181 +252,191,178 +252,189,175 +252,186,172 +252,184,169 +252,182,166 +253,179,164 +253,177,161 +253,175,158 +253,172,155 +253,170,152 +253,167,150 +253,165,147 +253,163,144 +253,160,141 +253,158,139 +252,156,136 +252,153,133 +252,151,130 +252,148,128 +252,146,125 +251,144,122 +251,141,120 +251,139,117 +250,136,115 +250,134,112 +249,132,109 +249,129,107 +248,127,105 +248,125,102 +247,122,100 +246,120,97 +245,118,95 +245,115,93 +244,113,91 +243,111,88 +242,109,86 +241,107,84 +240,104,82 +239,102,80 +237,100,78 +236,98,76 +235,96,74 +234,94,72 +233,91,70 +231,89,68 +230,87,66 +229,85,64 +228,83,63 +226,80,61 +225,78,59 +224,76,57 +223,73,55 +221,71,53 +220,69,51 +219,66,49 +217,64,47 +216,61,45 +215,59,44 +214,56,42 +212,54,40 +211,51,38 +209,48,36 +208,46,34 +207,43,33 +205,40,31 +204,37,29 +202,34,27 +200,31,26 +199,28,24 +197,25,23 +195,22,21 +193,19,20 +191,16,19 +189,13,18 +187,10,17 +185,7,16 +182,5,15 +180,3,14 +178,2,13 +175,1,13 +173,0,12 +170,0,12 +167,0,12 +165,0,11 +162,0,11 +159,1,11 +157,1,10 +154,2,10 +151,2,10 +149,2,10 +146,3,9 +143,3,9 +141,4,9 +138,4,8 +135,4,8 +133,5,8 +130,5,7 +128,5,7 +125,6,7 +122,6,6 +120,6,6 +117,6,5 +115,7,5 +112,7,4 +110,7,4 +107,7,3 +105,7,3 +102,7,2 diff --git a/colormaps/CET-D02.csv b/colormaps/CET-D02.csv new file mode 100644 index 0000000..e40ac59 --- /dev/null +++ b/colormaps/CET-D02.csv @@ -0,0 +1,256 @@ +57,151,14 +59,151,18 +61,152,21 +63,153,24 +64,154,26 +66,154,29 +68,155,31 +70,156,34 +72,156,36 +74,157,38 +75,158,40 +77,159,42 +79,159,44 +81,160,46 +82,161,48 +84,161,50 +86,162,52 +87,163,54 +89,164,56 +90,164,57 +92,165,59 +94,166,61 +95,166,63 +97,167,65 +98,168,66 +100,169,68 +101,169,70 +103,170,71 +104,171,73 +106,171,75 +107,172,77 +109,173,78 +110,174,80 +112,174,82 +113,175,83 +115,176,85 +116,176,87 +118,177,88 +119,178,90 +121,178,92 +122,179,93 +124,180,95 +125,181,97 +126,181,98 +128,182,100 +129,183,102 +131,183,103 +132,184,105 +133,185,106 +135,186,108 +136,186,110 +138,187,111 +139,188,113 +140,188,115 +142,189,116 +143,190,118 +145,190,120 +146,191,121 +147,192,123 +149,193,124 +150,193,126 +151,194,128 +153,195,129 +154,195,131 +155,196,133 +157,197,134 +158,197,136 +160,198,138 +161,199,139 +162,200,141 +164,200,142 +165,201,144 +166,202,146 +168,202,147 +169,203,149 +170,204,151 +172,204,152 +173,205,154 +174,206,156 +176,206,157 +177,207,159 +178,208,161 +180,209,162 +181,209,164 +182,210,166 +184,211,167 +185,211,169 +186,212,171 +188,213,172 +189,213,174 +190,214,176 +192,215,177 +193,216,179 +194,216,181 +196,217,182 +197,218,184 +198,218,186 +199,219,187 +201,220,189 +202,220,191 +203,221,192 +205,222,194 +206,222,196 +207,223,197 +209,224,199 +210,224,201 +211,225,202 +213,226,204 +214,227,206 +215,227,207 +217,228,209 +218,229,211 +219,229,213 +220,230,214 +222,231,216 +223,231,218 +224,232,219 +225,232,221 +227,233,222 +228,233,224 +229,234,226 +230,234,227 +231,235,228 +232,235,230 +233,235,231 +234,235,232 +234,235,233 +235,235,234 +236,235,235 +236,234,236 +236,234,237 +237,233,237 +237,233,238 +237,232,238 +237,231,239 +237,230,239 +237,229,239 +237,228,239 +236,227,239 +236,226,240 +236,225,240 +236,224,240 +235,223,240 +235,222,240 +235,221,239 +234,220,239 +234,218,239 +234,217,239 +233,216,239 +233,215,239 +233,214,239 +232,213,239 +232,212,239 +231,210,239 +231,209,239 +231,208,239 +230,207,239 +230,206,239 +230,205,238 +229,204,238 +229,202,238 +228,201,238 +228,200,238 +228,199,238 +227,198,238 +227,197,238 +226,196,238 +226,194,238 +226,193,238 +225,192,238 +225,191,237 +224,190,237 +224,189,237 +224,187,237 +223,186,237 +223,185,237 +222,184,237 +222,183,237 +222,182,237 +221,181,237 +221,179,237 +220,178,237 +220,177,236 +219,176,236 +219,175,236 +219,174,236 +218,173,236 +218,171,236 +217,170,236 +217,169,236 +216,168,236 +216,167,236 +216,166,235 +215,164,235 +215,163,235 +214,162,235 +214,161,235 +213,160,235 +213,159,235 +212,158,235 +212,156,235 +211,155,235 +211,154,234 +211,153,234 +210,152,234 +210,151,234 +209,149,234 +209,148,234 +208,147,234 +208,146,234 +207,145,234 +207,144,234 +206,142,233 +206,141,233 +205,140,233 +205,139,233 +204,138,233 +204,136,233 +203,135,233 +203,134,233 +202,133,233 +202,132,232 +201,130,232 +201,129,232 +200,128,232 +200,127,232 +199,126,232 +199,124,232 +198,123,232 +198,122,231 +197,121,231 +197,120,231 +196,118,231 +196,117,231 +195,116,231 +195,115,231 +194,114,231 +194,112,231 +193,111,230 +193,110,230 +192,109,230 +191,107,230 +191,106,230 +190,105,230 +190,104,230 +189,102,230 +189,101,229 +188,100,229 +188,98,229 +187,97,229 +186,96,229 +186,94,229 +185,93,229 +185,92,228 +184,91,228 +184,89,228 diff --git a/colormaps/CET-D03.csv b/colormaps/CET-D03.csv new file mode 100644 index 0000000..9612ceb --- /dev/null +++ b/colormaps/CET-D03.csv @@ -0,0 +1,256 @@ +57,151,14 +59,151,18 +61,152,21 +63,153,24 +64,154,26 +66,154,29 +68,155,31 +70,156,34 +72,156,36 +74,157,38 +75,158,40 +77,159,42 +79,159,44 +81,160,46 +82,161,48 +84,161,50 +86,162,52 +87,163,54 +89,164,56 +90,164,57 +92,165,59 +94,166,61 +95,166,63 +97,167,65 +98,168,66 +100,169,68 +101,169,70 +103,170,71 +104,171,73 +106,171,75 +107,172,77 +109,173,78 +110,174,80 +112,174,82 +113,175,83 +115,176,85 +116,176,87 +118,177,88 +119,178,90 +121,178,92 +122,179,93 +124,180,95 +125,181,97 +126,181,98 +128,182,100 +129,183,102 +131,183,103 +132,184,105 +133,185,106 +135,186,108 +136,186,110 +138,187,111 +139,188,113 +140,188,115 +142,189,116 +143,190,118 +145,190,120 +146,191,121 +147,192,123 +149,193,124 +150,193,126 +151,194,128 +153,195,129 +154,195,131 +155,196,133 +157,197,134 +158,197,136 +160,198,138 +161,199,139 +162,200,141 +164,200,142 +165,201,144 +166,202,146 +168,202,147 +169,203,149 +170,204,151 +172,204,152 +173,205,154 +174,206,156 +176,206,157 +177,207,159 +178,208,161 +180,209,162 +181,209,164 +182,210,166 +184,211,167 +185,211,169 +186,212,171 +188,213,172 +189,213,174 +190,214,176 +192,215,177 +193,216,179 +194,216,181 +196,217,182 +197,218,184 +198,218,186 +199,219,187 +201,220,189 +202,220,191 +203,221,192 +205,222,194 +206,222,196 +207,223,197 +209,224,199 +210,224,201 +211,225,202 +213,226,204 +214,227,206 +215,227,207 +217,228,209 +218,229,211 +219,229,212 +220,230,214 +222,231,216 +223,231,217 +224,232,219 +226,232,220 +227,233,222 +228,233,223 +229,234,225 +231,234,226 +232,235,227 +233,235,228 +234,235,229 +235,235,230 +236,235,230 +237,235,230 +238,234,230 +239,234,230 +240,233,230 +240,233,230 +241,232,229 +242,231,229 +242,230,228 +243,230,227 +243,229,226 +244,228,225 +244,226,223 +244,225,222 +245,224,221 +245,223,220 +245,222,218 +246,221,217 +246,219,215 +246,218,214 +246,217,213 +247,216,211 +247,215,210 +247,213,208 +247,212,207 +248,211,206 +248,210,204 +248,208,203 +248,207,201 +248,206,200 +248,205,198 +249,204,197 +249,202,196 +249,201,194 +249,200,193 +249,199,191 +249,197,190 +249,196,189 +249,195,187 +250,194,186 +250,193,184 +250,191,183 +250,190,182 +250,189,180 +250,188,179 +250,186,177 +250,185,176 +250,184,175 +250,183,173 +250,181,172 +250,180,171 +250,179,169 +250,178,168 +250,176,166 +250,175,165 +250,174,164 +250,173,162 +250,171,161 +250,170,160 +250,169,158 +250,168,157 +250,166,156 +250,165,154 +250,164,153 +250,163,152 +250,161,150 +250,160,149 +250,159,147 +250,158,146 +250,156,145 +250,155,143 +250,154,142 +250,153,141 +249,151,139 +249,150,138 +249,149,137 +249,147,135 +249,146,134 +249,145,133 +249,144,132 +249,142,130 +249,141,129 +248,140,128 +248,138,126 +248,137,125 +248,136,124 +248,134,122 +248,133,121 +247,132,120 +247,130,118 +247,129,117 +247,128,116 +247,126,115 +247,125,113 +246,124,112 +246,122,111 +246,121,109 +246,120,108 +246,118,107 +245,117,106 +245,116,104 +245,114,103 +245,113,102 +244,111,100 +244,110,99 +244,109,98 +244,107,97 +243,106,95 +243,104,94 +243,103,93 +243,101,92 +242,100,90 +242,98,89 +242,97,88 +242,95,87 +241,94,85 +241,92,84 +241,91,83 +240,89,82 +240,88,80 +240,86,79 +240,85,78 +239,83,77 +239,81,75 +239,80,74 +238,78,73 +238,76,72 +238,75,71 +237,73,69 +237,71,68 diff --git a/colormaps/CET-D04.csv b/colormaps/CET-D04.csv new file mode 100644 index 0000000..78b7eef --- /dev/null +++ b/colormaps/CET-D04.csv @@ -0,0 +1,256 @@ +25,129,250 +26,128,248 +28,128,246 +29,127,244 +30,126,243 +31,125,241 +32,124,239 +33,123,237 +34,122,235 +35,121,233 +36,121,231 +37,120,229 +38,119,227 +38,118,225 +39,117,223 +40,116,221 +40,115,219 +41,114,217 +42,114,215 +42,113,213 +43,112,211 +43,111,209 +44,110,208 +44,109,206 +44,108,204 +45,108,202 +45,107,200 +46,106,198 +46,105,196 +46,104,194 +47,103,192 +47,102,191 +47,102,189 +47,101,187 +48,100,185 +48,99,183 +48,98,181 +48,97,179 +48,97,177 +49,96,176 +49,95,174 +49,94,172 +49,93,170 +49,92,168 +49,92,166 +49,91,164 +49,90,163 +50,89,161 +50,88,159 +50,87,157 +50,87,155 +50,86,154 +50,85,152 +50,84,150 +50,83,148 +50,82,146 +50,82,145 +50,81,143 +50,80,141 +50,79,139 +50,78,137 +49,78,136 +49,77,134 +49,76,132 +49,75,130 +49,74,129 +49,74,127 +49,73,125 +49,72,123 +49,71,122 +48,70,120 +48,70,118 +48,69,116 +48,68,115 +48,67,113 +48,66,111 +47,66,110 +47,65,108 +47,64,106 +47,63,104 +47,63,103 +46,62,101 +46,61,99 +46,60,98 +46,60,96 +45,59,94 +45,58,93 +45,57,91 +44,56,89 +44,56,88 +44,55,86 +44,54,85 +43,53,83 +43,53,81 +43,52,80 +42,51,78 +42,50,76 +42,50,75 +41,49,73 +41,48,72 +41,47,70 +40,47,68 +40,46,67 +39,45,65 +39,45,64 +39,44,62 +38,43,61 +38,42,59 +37,42,58 +37,41,56 +37,40,54 +36,40,53 +36,39,51 +35,38,50 +35,37,48 +35,37,47 +34,36,46 +34,35,44 +34,35,43 +33,34,41 +33,34,40 +33,33,39 +33,33,38 +33,32,37 +33,32,36 +33,32,35 +34,31,34 +34,31,33 +34,31,33 +35,31,32 +36,31,32 +37,31,31 +38,31,31 +39,32,31 +40,32,31 +41,32,31 +42,32,31 +43,33,31 +45,33,31 +46,34,31 +48,34,32 +49,34,32 +50,35,32 +52,35,32 +53,36,33 +55,36,33 +56,37,33 +58,37,33 +59,38,34 +61,38,34 +62,39,34 +63,39,35 +65,39,35 +66,40,35 +68,40,35 +69,41,36 +71,41,36 +72,42,36 +74,42,37 +75,43,37 +77,43,37 +78,43,38 +80,44,38 +81,44,38 +83,45,38 +84,45,39 +86,46,39 +87,46,39 +89,46,40 +90,47,40 +92,47,40 +93,48,41 +95,48,41 +96,49,41 +98,49,41 +99,49,42 +101,50,42 +102,50,42 +104,51,43 +106,51,43 +107,52,43 +109,52,43 +110,52,44 +112,53,44 +113,53,44 +115,54,45 +116,54,45 +118,54,45 +120,55,46 +121,55,46 +123,56,46 +124,56,46 +126,56,47 +127,57,47 +129,57,47 +131,58,48 +132,58,48 +134,58,48 +135,59,48 +137,59,49 +138,60,49 +140,60,49 +142,60,50 +143,61,50 +145,61,50 +146,62,51 +148,62,51 +150,62,51 +151,63,51 +153,63,52 +155,64,52 +156,64,52 +158,64,53 +159,65,53 +161,65,53 +163,65,54 +164,66,54 +166,66,54 +168,67,54 +169,67,55 +171,67,55 +173,68,55 +174,68,56 +176,68,56 +178,69,56 +179,69,56 +181,70,57 +183,70,57 +184,70,57 +186,71,58 +188,71,58 +189,71,58 +191,72,59 +193,72,59 +194,72,59 +196,73,59 +198,73,60 +199,74,60 +201,74,60 +203,74,61 +204,75,61 +206,75,61 +208,75,62 +209,76,62 +211,76,62 +213,76,62 +215,77,63 +216,77,63 +218,77,63 +220,78,64 +221,78,64 +223,78,64 +225,79,65 +227,79,65 +228,79,65 +230,80,65 diff --git a/colormaps/CET-D06.csv b/colormaps/CET-D06.csv new file mode 100644 index 0000000..beeed84 --- /dev/null +++ b/colormaps/CET-D06.csv @@ -0,0 +1,256 @@ +14,148,250 +17,147,248 +19,146,246 +21,145,244 +23,144,242 +24,143,240 +26,142,238 +27,140,236 +28,139,234 +29,138,233 +31,137,231 +32,136,229 +33,135,227 +34,134,225 +34,133,223 +35,132,221 +36,131,219 +37,130,217 +38,129,215 +38,128,213 +39,127,211 +39,126,209 +40,125,207 +41,124,205 +41,123,204 +42,122,202 +42,121,200 +43,120,198 +43,119,196 +43,118,194 +44,117,192 +44,116,190 +44,115,188 +45,114,187 +45,113,185 +45,112,183 +46,111,181 +46,110,179 +46,109,177 +46,108,175 +47,107,173 +47,106,172 +47,105,170 +47,104,168 +47,103,166 +47,102,164 +48,101,162 +48,100,161 +48,99,159 +48,98,157 +48,97,155 +48,96,153 +48,95,152 +48,94,150 +48,93,148 +48,92,146 +48,91,144 +48,90,143 +48,89,141 +48,88,139 +48,87,137 +48,87,135 +48,86,134 +48,85,132 +48,84,130 +48,83,128 +48,82,127 +48,81,125 +48,80,123 +48,79,121 +47,78,120 +47,77,118 +47,76,116 +47,75,115 +47,74,113 +47,73,111 +47,72,109 +46,72,108 +46,71,106 +46,70,104 +46,69,103 +46,68,101 +45,67,99 +45,66,98 +45,65,96 +45,64,94 +44,63,93 +44,62,91 +44,62,89 +44,61,88 +43,60,86 +43,59,84 +43,58,83 +42,57,81 +42,56,79 +42,55,78 +42,54,76 +41,54,75 +41,53,73 +41,52,71 +40,51,70 +40,50,68 +39,49,67 +39,48,65 +39,48,64 +38,47,62 +38,46,60 +38,45,59 +37,44,57 +37,43,56 +36,42,54 +36,42,53 +35,41,51 +35,40,50 +35,39,48 +34,38,47 +34,38,45 +34,37,44 +33,36,43 +33,36,41 +33,35,40 +32,34,39 +32,34,38 +32,33,37 +32,33,35 +32,33,35 +32,33,34 +33,32,33 +33,32,32 +33,32,32 +34,33,31 +35,33,31 +35,33,30 +36,34,30 +37,34,30 +38,34,30 +38,35,30 +39,36,30 +40,36,30 +41,37,30 +42,38,30 +44,38,30 +45,39,30 +46,40,30 +47,41,30 +48,41,30 +49,42,30 +50,43,30 +51,44,30 +52,45,31 +53,45,31 +54,46,31 +56,47,31 +57,48,31 +58,49,31 +59,49,31 +60,50,31 +61,51,31 +62,52,31 +63,53,32 +65,53,32 +66,54,32 +67,55,32 +68,56,32 +69,57,32 +70,58,32 +71,58,32 +72,59,32 +74,60,32 +75,61,32 +76,62,32 +77,63,33 +78,63,33 +79,64,33 +80,65,33 +82,66,33 +83,67,33 +84,68,33 +85,69,33 +86,69,33 +87,70,33 +88,71,33 +90,72,33 +91,73,33 +92,74,33 +93,75,33 +94,75,33 +95,76,33 +97,77,33 +98,78,33 +99,79,33 +100,80,33 +101,81,33 +103,82,33 +104,82,33 +105,83,33 +106,84,33 +107,85,33 +108,86,33 +110,87,33 +111,88,33 +112,89,33 +113,90,33 +114,90,33 +116,91,33 +117,92,33 +118,93,33 +119,94,33 +120,95,33 +122,96,33 +123,97,33 +124,98,33 +125,99,33 +127,99,33 +128,100,33 +129,101,33 +130,102,33 +131,103,33 +133,104,32 +134,105,32 +135,106,32 +136,107,32 +138,108,32 +139,109,32 +140,110,32 +141,110,32 +142,111,32 +144,112,32 +145,113,31 +146,114,31 +147,115,31 +149,116,31 +150,117,31 +151,118,31 +152,119,31 +154,120,30 +155,121,30 +156,122,30 +157,123,30 +159,124,30 +160,125,30 +161,126,29 +163,126,29 +164,127,29 +165,128,29 +166,129,29 +168,130,28 +169,131,28 +170,132,28 +171,133,28 +173,134,27 +174,135,27 +175,136,27 +177,137,27 +178,138,26 +179,139,26 diff --git a/colormaps/CET-D07.csv b/colormaps/CET-D07.csv new file mode 100644 index 0000000..a049130 --- /dev/null +++ b/colormaps/CET-D07.csv @@ -0,0 +1,256 @@ +20,49,193 +24,50,193 +28,51,193 +31,51,192 +34,52,192 +37,53,192 +40,54,191 +42,54,191 +45,55,191 +47,56,190 +49,57,190 +51,57,190 +53,58,189 +54,59,189 +56,59,188 +58,60,188 +59,61,188 +61,62,187 +63,62,187 +64,63,187 +66,64,186 +67,65,186 +68,65,186 +70,66,185 +71,67,185 +72,68,185 +74,68,184 +75,69,184 +76,70,183 +77,70,183 +78,71,183 +79,72,182 +81,73,182 +82,73,182 +83,74,181 +84,75,181 +85,76,181 +86,76,180 +87,77,180 +88,78,180 +89,79,179 +90,79,179 +91,80,178 +92,81,178 +93,81,178 +94,82,177 +94,83,177 +95,84,177 +96,84,176 +97,85,176 +98,86,175 +99,87,175 +100,87,175 +100,88,174 +101,89,174 +102,90,174 +103,90,173 +104,91,173 +104,92,173 +105,93,172 +106,93,172 +107,94,171 +107,95,171 +108,96,171 +109,96,170 +110,97,170 +110,98,169 +111,99,169 +112,99,169 +112,100,168 +113,101,168 +114,102,168 +115,102,167 +115,103,167 +116,104,166 +117,105,166 +117,105,166 +118,106,165 +118,107,165 +119,108,165 +120,108,164 +120,109,164 +121,110,163 +122,111,163 +122,111,163 +123,112,162 +123,113,162 +124,114,161 +125,114,161 +125,115,161 +126,116,160 +126,117,160 +127,117,159 +127,118,159 +128,119,159 +129,120,158 +129,120,158 +130,121,157 +130,122,157 +131,123,157 +131,123,156 +132,124,156 +132,125,155 +133,126,155 +133,127,155 +134,127,154 +134,128,154 +135,129,153 +135,130,153 +136,130,152 +136,131,152 +137,132,152 +137,133,151 +138,133,151 +138,134,150 +139,135,150 +139,136,150 +140,136,149 +140,137,149 +141,138,148 +141,139,148 +142,140,147 +142,140,147 +143,141,147 +143,142,146 +143,143,146 +144,143,145 +144,144,145 +145,145,144 +146,145,144 +147,146,143 +148,147,142 +149,147,142 +150,148,141 +151,149,141 +152,149,140 +153,150,139 +154,150,139 +155,151,138 +156,152,138 +157,152,137 +158,153,136 +159,153,136 +160,154,135 +161,155,134 +162,155,134 +163,156,133 +164,157,133 +165,157,132 +166,158,131 +167,158,131 +168,159,130 +169,160,129 +170,160,129 +170,161,128 +171,162,127 +172,162,127 +173,163,126 +174,163,125 +175,164,125 +176,165,124 +177,165,123 +178,166,123 +179,167,122 +179,167,121 +180,168,121 +181,169,120 +182,169,119 +183,170,119 +184,170,118 +185,171,117 +186,172,117 +186,172,116 +187,173,115 +188,174,115 +189,174,114 +190,175,113 +191,176,112 +192,176,112 +192,177,111 +193,178,110 +194,178,109 +195,179,109 +196,180,108 +197,180,107 +198,181,106 +198,181,106 +199,182,105 +200,183,104 +201,183,103 +202,184,103 +203,185,102 +203,185,101 +204,186,100 +205,187,99 +206,187,99 +207,188,98 +207,189,97 +208,189,96 +209,190,95 +210,191,94 +211,191,94 +212,192,93 +212,193,92 +213,193,91 +214,194,90 +215,195,89 +216,195,88 +216,196,87 +217,197,86 +218,197,86 +219,198,85 +220,199,84 +220,199,83 +221,200,82 +222,201,81 +223,201,80 +223,202,79 +224,203,78 +225,203,77 +226,204,76 +227,205,75 +227,205,73 +228,206,72 +229,207,71 +230,207,70 +231,208,69 +231,209,68 +232,209,67 +233,210,65 +234,211,64 +234,211,63 +235,212,62 +236,213,60 +237,214,59 +237,214,57 +238,215,56 +239,216,55 +240,216,53 +241,217,51 +241,218,50 +242,218,48 +243,219,46 +244,220,45 +244,220,43 +245,221,41 +246,222,39 +247,222,37 +247,223,34 +248,224,32 +249,224,29 +250,225,26 +250,226,23 +251,227,19 +252,227,15 +253,228,9 diff --git a/colormaps/CET-D08.csv b/colormaps/CET-D08.csv new file mode 100644 index 0000000..2ebf3f3 --- /dev/null +++ b/colormaps/CET-D08.csv @@ -0,0 +1,256 @@ +0,42,215 +0,43,214 +0,43,213 +0,44,212 +0,44,212 +0,45,211 +0,45,210 +0,46,209 +7,46,208 +13,47,207 +19,47,206 +23,48,205 +27,48,204 +30,49,203 +33,49,202 +35,50,201 +38,50,201 +40,51,200 +42,51,199 +44,52,198 +46,52,197 +47,53,196 +49,53,195 +51,54,194 +52,54,193 +54,55,192 +55,55,191 +56,56,191 +58,56,190 +59,57,189 +60,57,188 +61,57,187 +62,58,186 +64,58,185 +65,59,184 +66,59,183 +67,60,182 +68,60,181 +69,61,181 +69,61,180 +70,62,179 +71,62,178 +72,63,177 +73,63,176 +74,64,175 +74,64,174 +75,64,173 +76,65,172 +77,65,172 +77,66,171 +78,66,170 +79,67,169 +79,67,168 +80,68,167 +81,68,166 +81,69,165 +82,69,164 +82,70,163 +83,70,163 +84,70,162 +84,71,161 +85,71,160 +85,72,159 +86,72,158 +86,73,157 +87,73,156 +87,74,155 +88,74,155 +88,74,154 +88,75,153 +89,75,152 +89,76,151 +90,76,150 +90,77,149 +91,77,148 +91,78,147 +91,78,146 +92,78,146 +92,79,145 +92,79,144 +93,80,143 +93,80,142 +93,81,141 +94,81,140 +94,82,139 +94,82,138 +94,82,138 +95,83,137 +95,83,136 +95,84,135 +96,84,134 +96,85,133 +96,85,132 +96,86,131 +96,86,130 +97,86,130 +97,87,129 +97,87,128 +97,88,127 +98,88,126 +98,89,125 +98,89,124 +98,89,123 +98,90,122 +98,90,122 +99,91,121 +99,91,120 +99,92,119 +99,92,118 +99,92,117 +99,93,116 +99,93,115 +99,94,114 +99,94,113 +100,95,113 +100,95,112 +100,95,111 +100,96,110 +100,96,109 +100,97,108 +100,97,107 +100,98,106 +100,98,105 +100,98,104 +100,99,103 +100,99,103 +100,100,102 +100,100,101 +101,100,100 +103,100,99 +105,100,99 +106,100,98 +108,100,97 +110,100,97 +111,99,96 +113,99,96 +114,99,95 +116,99,94 +117,99,94 +119,99,93 +120,99,92 +122,98,92 +123,98,91 +125,98,91 +126,98,90 +128,98,89 +129,98,89 +131,97,88 +132,97,87 +134,97,87 +135,97,86 +136,97,86 +138,96,85 +139,96,84 +140,96,84 +142,96,83 +143,96,82 +144,95,82 +146,95,81 +147,95,81 +148,95,80 +150,94,79 +151,94,79 +152,94,78 +154,94,77 +155,93,77 +156,93,76 +158,93,75 +159,93,75 +160,92,74 +161,92,73 +163,92,73 +164,91,72 +165,91,72 +166,91,71 +168,91,70 +169,90,70 +170,90,69 +171,90,68 +173,89,68 +174,89,67 +175,89,66 +176,88,66 +177,88,65 +179,88,64 +180,87,64 +181,87,63 +182,86,62 +183,86,62 +185,86,61 +186,85,60 +187,85,60 +188,84,59 +189,84,58 +191,84,58 +192,83,57 +193,83,56 +194,82,56 +195,82,55 +197,81,54 +198,81,53 +199,80,53 +200,80,52 +201,79,51 +202,79,51 +204,78,50 +205,78,49 +206,77,48 +207,77,48 +208,76,47 +209,76,46 +210,75,46 +212,74,45 +213,74,44 +214,73,43 +215,73,43 +216,72,42 +217,71,41 +218,71,40 +220,70,39 +221,69,39 +222,69,38 +223,68,37 +224,67,36 +225,66,35 +226,65,35 +228,65,34 +229,64,33 +230,63,32 +231,62,31 +232,61,30 +233,60,29 +234,59,28 +235,58,27 +237,58,27 +238,56,26 +239,55,25 +240,54,24 +241,53,22 +242,52,21 +243,51,20 +244,50,19 +246,48,18 +247,47,17 +248,46,15 +249,44,14 +250,43,13 +251,41,11 +252,40,9 +253,38,8 +255,36,6 +255,34,5 +255,32,3 +255,30,1 +255,27,0 +255,25,0 diff --git a/colormaps/CET-D09.csv b/colormaps/CET-D09.csv new file mode 100644 index 0000000..f6f5289 --- /dev/null +++ b/colormaps/CET-D09.csv @@ -0,0 +1,256 @@ +36,128,255 +41,129,255 +46,129,255 +50,130,255 +54,131,255 +58,132,255 +62,133,255 +65,134,255 +68,135,255 +71,135,255 +74,136,254 +77,137,254 +79,138,254 +82,139,254 +84,140,254 +87,141,254 +89,142,254 +91,142,254 +94,143,254 +96,144,254 +98,145,254 +100,146,254 +102,147,254 +104,148,254 +106,149,254 +108,150,254 +110,150,254 +112,151,254 +114,152,254 +116,153,254 +118,154,254 +119,155,254 +121,156,254 +123,157,254 +125,158,254 +126,159,254 +128,159,254 +130,160,254 +131,161,254 +133,162,254 +135,163,254 +136,164,254 +138,165,254 +139,166,254 +141,167,254 +143,168,254 +144,169,254 +146,170,254 +147,171,254 +149,171,254 +150,172,254 +152,173,254 +153,174,254 +155,175,254 +156,176,254 +157,177,254 +159,178,254 +160,179,254 +162,180,254 +163,181,254 +165,182,254 +166,183,253 +167,184,253 +169,185,253 +170,186,253 +171,187,253 +173,187,253 +174,188,253 +175,189,253 +177,190,253 +178,191,253 +179,192,253 +181,193,253 +182,194,253 +183,195,253 +185,196,253 +186,197,253 +187,198,253 +189,199,253 +190,200,253 +191,201,253 +192,202,253 +194,203,253 +195,204,252 +196,205,252 +198,206,252 +199,207,252 +200,208,252 +201,209,252 +203,210,252 +204,211,252 +205,212,252 +206,213,252 +207,214,252 +209,215,252 +210,216,252 +211,217,252 +212,218,252 +214,219,252 +215,220,252 +216,221,251 +217,222,251 +218,223,251 +220,224,251 +221,225,251 +222,226,251 +223,227,251 +224,228,251 +226,229,251 +227,230,251 +228,231,251 +229,232,251 +230,233,251 +231,234,251 +233,235,250 +234,236,250 +235,237,250 +236,238,250 +237,239,250 +238,240,250 +240,241,250 +241,242,250 +242,243,250 +243,244,250 +244,245,249 +245,246,249 +247,246,249 +248,247,248 +249,246,247 +249,246,245 +250,245,244 +250,244,242 +250,242,240 +251,241,239 +251,240,237 +251,239,236 +251,237,234 +252,236,232 +252,235,231 +252,234,229 +252,232,227 +252,231,226 +252,230,224 +252,229,223 +253,227,221 +253,226,219 +253,225,218 +253,223,216 +253,222,215 +253,221,213 +253,220,211 +253,218,210 +253,217,208 +253,216,207 +254,215,205 +254,213,203 +254,212,202 +254,211,200 +254,210,199 +254,208,197 +254,207,195 +254,206,194 +254,205,192 +254,203,191 +254,202,189 +254,201,188 +254,199,186 +254,198,185 +254,197,183 +254,196,181 +254,194,180 +254,193,178 +253,192,177 +253,191,175 +253,189,174 +253,188,172 +253,187,171 +253,186,169 +253,184,167 +253,183,166 +253,182,164 +253,180,163 +253,179,161 +252,178,160 +252,177,158 +252,175,157 +252,174,155 +252,173,154 +252,172,152 +252,170,151 +251,169,149 +251,168,148 +251,166,146 +251,165,145 +251,164,143 +251,163,142 +250,161,140 +250,160,139 +250,159,137 +250,158,136 +249,156,134 +249,155,133 +249,154,131 +249,152,130 +249,151,128 +248,150,127 +248,148,125 +248,147,124 +248,146,122 +247,145,121 +247,143,119 +247,142,118 +246,141,116 +246,139,115 +246,138,113 +246,137,112 +245,135,110 +245,134,109 +245,133,107 +244,131,106 +244,130,105 +244,129,103 +243,127,102 +243,126,100 +243,125,99 +242,123,97 +242,122,96 +242,121,94 +241,119,93 +241,118,92 +241,117,90 +240,115,89 +240,114,87 +240,113,86 +239,111,84 +239,110,83 +238,108,82 +238,107,80 +238,106,79 +237,104,77 +237,103,76 +236,101,74 +236,100,73 +236,98,72 +235,97,70 +235,96,69 +234,94,67 +234,93,66 +233,91,65 +233,90,63 +233,88,62 +232,87,60 +232,85,59 +231,83,58 +231,82,56 +230,80,55 diff --git a/colormaps/CET-D10.csv b/colormaps/CET-D10.csv new file mode 100644 index 0000000..5ca0ecf --- /dev/null +++ b/colormaps/CET-D10.csv @@ -0,0 +1,256 @@ +0,217,255 +0,217,255 +14,218,255 +26,218,255 +34,218,255 +40,218,255 +46,219,255 +51,219,255 +55,219,255 +59,220,255 +63,220,255 +67,220,255 +70,221,255 +73,221,255 +77,221,255 +80,222,255 +82,222,255 +85,222,255 +88,223,255 +91,223,255 +93,223,255 +96,223,255 +98,224,255 +100,224,255 +103,224,255 +105,225,255 +107,225,255 +109,225,255 +111,226,255 +114,226,255 +116,226,255 +118,226,255 +120,227,255 +122,227,255 +123,227,255 +125,228,255 +127,228,255 +129,228,255 +131,229,255 +133,229,255 +134,229,255 +136,230,255 +138,230,255 +140,230,255 +141,230,255 +143,231,255 +145,231,255 +146,231,255 +148,232,255 +150,232,255 +151,232,255 +153,233,255 +155,233,255 +156,233,255 +158,233,255 +159,234,255 +161,234,255 +162,234,255 +164,235,255 +165,235,255 +167,235,255 +168,236,255 +170,236,255 +171,236,255 +173,236,255 +174,237,255 +176,237,255 +177,237,255 +179,238,255 +180,238,255 +181,238,255 +183,239,255 +184,239,255 +186,239,255 +187,239,255 +188,240,255 +190,240,255 +191,240,255 +192,241,255 +194,241,255 +195,241,255 +197,241,255 +198,242,255 +199,242,255 +201,242,255 +202,243,255 +203,243,255 +205,243,255 +206,244,255 +207,244,255 +208,244,255 +210,244,255 +211,245,255 +212,245,255 +214,245,255 +215,246,255 +216,246,255 +217,246,255 +219,246,255 +220,247,255 +221,247,255 +222,247,255 +224,248,255 +225,248,255 +226,248,255 +227,248,255 +229,249,255 +230,249,255 +231,249,255 +232,250,255 +234,250,255 +235,250,255 +236,251,255 +237,251,255 +238,251,255 +240,251,255 +241,252,255 +242,252,255 +243,252,255 +245,253,255 +246,253,255 +247,253,255 +248,253,255 +249,254,255 +251,254,255 +252,254,255 +253,254,255 +254,255,255 +255,255,255 +255,254,255 +255,253,255 +255,253,255 +255,252,254 +255,251,254 +255,251,254 +255,250,254 +255,250,254 +255,249,254 +255,248,254 +255,248,254 +255,247,254 +255,246,253 +255,246,253 +255,245,253 +255,245,253 +255,244,253 +255,243,253 +255,243,253 +255,242,253 +255,241,253 +255,241,252 +255,240,252 +255,239,252 +255,239,252 +255,238,252 +255,238,252 +255,237,252 +255,236,252 +255,236,252 +255,235,251 +255,234,251 +255,234,251 +255,233,251 +255,233,251 +255,232,251 +255,231,251 +255,231,251 +255,230,251 +255,229,250 +255,229,250 +255,228,250 +255,228,250 +255,227,250 +254,226,250 +254,226,250 +254,225,250 +254,224,250 +254,224,249 +254,223,249 +254,222,249 +254,222,249 +254,221,249 +254,221,249 +254,220,249 +254,219,249 +254,219,248 +254,218,248 +254,217,248 +254,217,248 +254,216,248 +254,216,248 +254,215,248 +254,214,248 +254,214,248 +254,213,247 +254,212,247 +254,212,247 +254,211,247 +254,210,247 +254,210,247 +253,209,247 +253,209,247 +253,208,246 +253,207,246 +253,207,246 +253,206,246 +253,205,246 +253,205,246 +253,204,246 +253,203,246 +253,203,246 +253,202,245 +253,201,245 +253,201,245 +253,200,245 +253,200,245 +253,199,245 +253,198,245 +253,198,245 +252,197,244 +252,196,244 +252,196,244 +252,195,244 +252,194,244 +252,194,244 +252,193,244 +252,192,244 +252,192,244 +252,191,243 +252,191,243 +252,190,243 +252,189,243 +252,189,243 +252,188,243 +251,187,243 +251,187,243 +251,186,242 +251,185,242 +251,185,242 +251,184,242 +251,183,242 +251,183,242 +251,182,242 +251,181,242 +251,181,241 +251,180,241 +251,179,241 +251,179,241 +250,178,241 +250,177,241 +250,177,241 +250,176,241 +250,175,240 +250,175,240 +250,174,240 +250,174,240 diff --git a/colormaps/CET-D11.csv b/colormaps/CET-D11.csv new file mode 100644 index 0000000..75e0ddb --- /dev/null +++ b/colormaps/CET-D11.csv @@ -0,0 +1,256 @@ +0,182,255 +0,182,255 +0,182,255 +0,182,255 +6,182,255 +17,182,255 +25,182,254 +31,182,253 +36,182,253 +40,182,252 +44,181,251 +47,181,251 +51,181,250 +54,181,249 +57,181,249 +59,181,248 +62,181,247 +64,181,246 +67,181,246 +69,181,245 +71,181,244 +73,180,244 +75,180,243 +77,180,242 +79,180,242 +81,180,241 +82,180,240 +84,180,240 +86,180,239 +87,180,238 +89,180,237 +90,180,237 +92,179,236 +93,179,235 +95,179,235 +96,179,234 +98,179,233 +99,179,233 +100,179,232 +102,179,231 +103,179,231 +104,179,230 +105,179,229 +107,178,229 +108,178,228 +109,178,227 +110,178,227 +111,178,226 +112,178,225 +113,178,224 +115,178,224 +116,178,223 +117,178,222 +118,178,222 +119,177,221 +120,177,220 +121,177,220 +122,177,219 +123,177,218 +124,177,218 +125,177,217 +126,177,216 +126,177,216 +127,177,215 +128,177,214 +129,176,214 +130,176,213 +131,176,212 +132,176,211 +133,176,211 +133,176,210 +134,176,209 +135,176,209 +136,176,208 +137,176,207 +138,176,207 +138,176,206 +139,175,205 +140,175,205 +141,175,204 +141,175,203 +142,175,203 +143,175,202 +144,175,201 +144,175,201 +145,175,200 +146,175,199 +147,175,199 +147,174,198 +148,174,197 +149,174,196 +149,174,196 +150,174,195 +151,174,194 +151,174,194 +152,174,193 +153,174,192 +153,174,192 +154,174,191 +155,174,190 +155,173,190 +156,173,189 +157,173,188 +157,173,188 +158,173,187 +158,173,186 +159,173,186 +160,173,185 +160,173,184 +161,173,184 +161,173,183 +162,172,182 +163,172,182 +163,172,181 +164,172,180 +164,172,180 +165,172,179 +165,172,178 +166,172,178 +167,172,177 +167,172,176 +168,172,176 +168,171,175 +169,171,174 +170,171,174 +170,171,173 +171,171,172 +171,171,172 +172,171,171 +173,171,171 +173,170,170 +174,170,170 +175,170,169 +175,170,169 +176,170,168 +177,170,167 +178,169,167 +178,169,166 +179,169,166 +180,169,165 +180,169,165 +181,169,164 +182,168,164 +182,168,163 +183,168,163 +184,168,162 +185,168,162 +185,167,162 +186,167,161 +187,167,161 +187,167,160 +188,167,160 +189,167,159 +189,166,159 +190,166,158 +191,166,158 +191,166,157 +192,166,157 +193,165,156 +193,165,156 +194,165,155 +195,165,155 +195,165,154 +196,164,154 +197,164,153 +197,164,153 +198,164,152 +198,164,152 +199,163,151 +200,163,151 +200,163,150 +201,163,150 +202,163,149 +202,162,149 +203,162,148 +203,162,148 +204,162,147 +205,162,147 +205,161,146 +206,161,146 +206,161,145 +207,161,145 +208,161,144 +208,160,144 +209,160,144 +209,160,143 +210,160,143 +211,160,142 +211,159,142 +212,159,141 +212,159,141 +213,159,140 +213,159,140 +214,158,139 +215,158,139 +215,158,138 +216,158,138 +216,158,137 +217,157,137 +217,157,136 +218,157,136 +219,157,135 +219,156,135 +220,156,134 +220,156,134 +221,156,133 +221,156,133 +222,155,132 +222,155,132 +223,155,131 +224,155,131 +224,154,130 +225,154,130 +225,154,129 +226,154,129 +226,154,128 +227,153,128 +227,153,127 +228,153,127 +228,153,126 +229,152,126 +229,152,125 +230,152,125 +230,152,125 +231,152,124 +231,151,124 +232,151,123 +233,151,123 +233,151,122 +234,150,122 +234,150,121 +235,150,121 +235,150,120 +236,149,120 +236,149,119 +237,149,119 +237,149,118 +238,149,118 +238,148,117 +239,148,117 +239,148,116 +240,148,116 +240,147,115 +241,147,115 +241,147,114 +242,147,114 +242,146,113 +243,146,113 +243,146,112 +244,146,112 +244,145,111 +245,145,111 +245,145,110 +245,145,110 +246,144,109 +246,144,109 diff --git a/colormaps/CET-D12.csv b/colormaps/CET-D12.csv new file mode 100644 index 0000000..eabfaa4 --- /dev/null +++ b/colormaps/CET-D12.csv @@ -0,0 +1,256 @@ +0,201,255 +0,200,255 +0,200,254 +0,200,254 +0,200,253 +0,200,253 +0,200,252 +13,200,252 +23,200,251 +29,200,250 +35,199,250 +40,199,249 +44,199,249 +48,199,248 +51,199,248 +55,199,247 +58,199,247 +61,199,246 +64,198,245 +66,198,245 +69,198,244 +71,198,244 +73,198,243 +76,198,243 +78,198,242 +80,198,241 +82,197,241 +84,197,240 +86,197,240 +87,197,239 +89,197,239 +91,197,238 +93,197,238 +94,197,237 +96,197,236 +98,196,236 +99,196,235 +101,196,235 +102,196,234 +104,196,234 +105,196,233 +107,196,233 +108,196,232 +109,195,231 +111,195,231 +112,195,230 +113,195,230 +115,195,229 +116,195,229 +117,195,228 +118,195,228 +120,194,227 +121,194,226 +122,194,226 +123,194,225 +124,194,225 +125,194,224 +126,194,224 +128,194,223 +129,193,223 +130,193,222 +131,193,221 +132,193,221 +133,193,220 +134,193,220 +135,193,219 +136,193,219 +137,192,218 +138,192,218 +139,192,217 +140,192,216 +141,192,216 +142,192,215 +143,192,215 +144,192,214 +145,191,214 +146,191,213 +146,191,213 +147,191,212 +148,191,211 +149,191,211 +150,191,210 +151,191,210 +152,190,209 +153,190,209 +153,190,208 +154,190,208 +155,190,207 +156,190,207 +157,190,206 +158,190,205 +158,189,205 +159,189,204 +160,189,204 +161,189,203 +162,189,203 +162,189,202 +163,189,202 +164,189,201 +165,188,200 +165,188,200 +166,188,199 +167,188,199 +168,188,198 +168,188,198 +169,188,197 +170,187,197 +171,187,196 +171,187,195 +172,187,195 +173,187,194 +173,187,194 +174,187,193 +175,187,193 +175,186,192 +176,186,192 +177,186,191 +178,186,191 +178,186,190 +179,186,190 +179,186,189 +180,185,189 +181,185,189 +181,185,188 +182,185,188 +183,185,188 +183,185,187 +184,185,187 +184,184,187 +185,184,187 +185,184,187 +186,184,187 +186,184,187 +187,184,187 +187,183,187 +188,183,188 +188,183,188 +189,183,188 +189,183,188 +190,183,189 +190,182,189 +191,182,189 +191,182,190 +192,182,190 +192,182,190 +192,182,191 +193,181,191 +193,181,191 +194,181,192 +194,181,192 +195,181,192 +195,180,193 +196,180,193 +196,180,193 +196,180,194 +197,180,194 +197,180,194 +198,179,195 +198,179,195 +199,179,195 +199,179,196 +199,179,196 +200,178,196 +200,178,197 +201,178,197 +201,178,197 +202,178,198 +202,178,198 +202,177,198 +203,177,199 +203,177,199 +204,177,199 +204,177,200 +205,176,200 +205,176,200 +205,176,201 +206,176,201 +206,176,201 +207,175,202 +207,175,202 +207,175,202 +208,175,203 +208,175,203 +209,174,203 +209,174,204 +210,174,204 +210,174,204 +210,174,205 +211,173,205 +211,173,205 +212,173,206 +212,173,206 +212,173,206 +213,172,207 +213,172,207 +214,172,207 +214,172,208 +214,172,208 +215,171,208 +215,171,209 +216,171,209 +216,171,209 +217,171,210 +217,170,210 +217,170,210 +218,170,211 +218,170,211 +219,169,212 +219,169,212 +219,169,212 +220,169,213 +220,169,213 +221,168,213 +221,168,214 +221,168,214 +222,168,214 +222,168,215 +223,167,215 +223,167,215 +223,167,216 +224,167,216 +224,166,216 +225,166,217 +225,166,217 +225,166,217 +226,166,218 +226,165,218 +227,165,218 +227,165,219 +227,165,219 +228,164,219 +228,164,220 +228,164,220 +229,164,220 +229,164,221 +230,163,221 +230,163,221 +230,163,222 +231,163,222 +231,162,222 +232,162,223 +232,162,223 +232,162,223 +233,161,224 +233,161,224 +234,161,224 +234,161,225 +234,160,225 +235,160,225 +235,160,226 +235,160,226 +236,159,226 +236,159,227 +237,159,227 +237,159,227 +237,158,228 diff --git a/colormaps/CET-D13.csv b/colormaps/CET-D13.csv new file mode 100644 index 0000000..a159dac --- /dev/null +++ b/colormaps/CET-D13.csv @@ -0,0 +1,256 @@ +17,45,104 +18,46,106 +19,47,108 +20,49,110 +21,50,112 +22,51,115 +23,52,117 +24,54,119 +25,55,121 +26,56,123 +27,57,125 +28,59,127 +29,60,130 +30,61,132 +31,63,134 +32,64,136 +33,65,138 +34,67,140 +35,68,142 +36,69,144 +37,71,147 +37,72,149 +38,73,151 +39,75,153 +40,76,155 +41,78,157 +42,79,159 +42,81,161 +43,82,163 +44,83,165 +45,85,168 +45,86,170 +46,88,172 +47,89,174 +47,91,176 +48,92,178 +49,94,180 +49,95,182 +50,97,184 +50,98,186 +51,100,188 +51,101,190 +52,103,192 +52,105,194 +53,106,195 +53,108,197 +54,109,199 +54,111,201 +54,113,203 +54,114,205 +54,116,207 +54,118,208 +55,119,210 +55,121,212 +54,123,214 +54,125,215 +54,126,217 +54,128,219 +53,130,220 +53,132,222 +53,134,223 +52,135,225 +52,137,226 +51,139,228 +51,141,229 +50,143,230 +50,145,231 +50,146,233 +50,148,234 +50,150,235 +50,152,236 +51,154,237 +51,155,238 +52,157,239 +54,159,240 +55,161,241 +57,163,242 +59,164,243 +61,166,244 +64,168,245 +66,169,245 +69,171,246 +72,173,247 +75,175,247 +78,176,248 +81,178,248 +84,179,249 +87,181,249 +91,183,250 +94,184,250 +98,186,250 +101,187,251 +105,189,251 +109,191,251 +113,192,251 +116,194,251 +120,195,251 +124,197,252 +128,198,251 +132,200,251 +136,201,251 +140,202,251 +144,204,251 +148,205,251 +152,207,251 +156,208,250 +160,210,250 +164,211,250 +167,212,249 +171,214,249 +175,215,249 +179,217,248 +183,218,248 +187,219,247 +190,221,247 +194,222,247 +198,223,246 +201,225,246 +205,226,245 +208,227,245 +211,229,244 +214,230,243 +217,231,243 +219,232,242 +221,233,241 +222,234,240 +223,234,239 +223,235,238 +223,235,236 +222,235,235 +221,235,233 +219,235,231 +216,234,230 +213,234,228 +210,233,226 +207,232,224 +203,231,222 +199,230,220 +195,229,218 +191,228,216 +187,227,214 +183,226,212 +179,225,210 +175,224,209 +171,223,207 +166,222,205 +162,221,203 +158,220,201 +154,218,199 +150,217,197 +145,216,195 +141,215,193 +137,214,191 +133,213,189 +129,211,187 +125,210,185 +121,209,182 +117,208,180 +113,206,178 +109,205,176 +105,204,174 +101,202,172 +98,201,169 +94,200,167 +90,198,165 +87,197,163 +83,196,160 +80,194,158 +77,193,156 +73,191,153 +70,190,151 +67,188,148 +64,187,146 +62,185,143 +59,184,141 +56,182,138 +54,181,136 +51,179,133 +49,178,131 +47,176,128 +45,175,125 +44,173,123 +42,172,120 +41,170,117 +40,168,115 +39,167,112 +38,165,109 +37,164,107 +37,162,104 +37,160,101 +36,159,98 +36,157,96 +36,155,93 +36,154,90 +36,152,88 +36,150,85 +36,149,83 +35,147,80 +35,146,78 +35,144,76 +35,142,73 +34,141,71 +34,139,69 +34,137,67 +33,136,65 +33,134,63 +32,133,61 +32,131,59 +31,129,57 +31,128,55 +30,126,54 +30,125,52 +29,123,50 +28,121,49 +28,120,47 +27,118,45 +26,117,44 +26,115,42 +25,113,41 +24,112,39 +24,110,38 +23,109,37 +22,107,35 +22,106,34 +21,104,32 +20,102,31 +19,101,30 +18,99,29 +18,98,27 +17,96,26 +16,95,25 +15,93,24 +14,92,23 +14,90,22 +13,89,21 +12,87,19 +11,86,18 +10,84,17 +9,83,16 +8,81,15 +8,80,14 +7,78,13 +6,77,13 +5,75,12 +5,74,11 +4,72,10 +3,71,9 +3,69,8 +2,68,7 +2,66,7 +1,65,6 +1,63,5 +1,62,4 +0,60,3 +0,59,2 +0,58,2 diff --git a/colormaps/CET-I1.csv b/colormaps/CET-I1.csv new file mode 100644 index 0000000..0b958ef --- /dev/null +++ b/colormaps/CET-I1.csv @@ -0,0 +1,256 @@ +55,183,236 +56,183,235 +56,183,234 +57,183,234 +57,183,233 +58,183,232 +59,184,231 +59,184,230 +60,184,229 +60,184,228 +61,184,227 +61,184,227 +62,184,226 +62,184,225 +63,184,224 +63,184,223 +64,184,222 +64,184,221 +65,184,220 +66,184,220 +66,185,219 +67,185,218 +67,185,217 +68,185,216 +68,185,215 +69,185,214 +69,185,213 +69,185,212 +70,185,212 +70,185,211 +71,185,210 +71,185,209 +72,185,208 +72,185,207 +73,185,206 +73,185,205 +74,186,204 +74,186,203 +75,186,203 +75,186,202 +76,186,201 +76,186,200 +77,186,199 +77,186,198 +78,186,197 +78,186,196 +79,186,195 +79,186,194 +80,186,193 +80,186,193 +80,186,192 +81,186,191 +81,186,190 +82,186,189 +82,186,188 +83,187,187 +83,187,186 +84,187,185 +84,187,184 +85,187,183 +85,187,182 +86,187,181 +86,187,180 +87,187,179 +87,187,179 +88,187,178 +88,187,177 +89,187,176 +89,187,175 +90,187,174 +91,187,173 +91,187,172 +92,187,171 +92,187,170 +93,187,169 +93,187,168 +94,187,167 +94,187,166 +95,187,165 +96,187,164 +96,187,163 +97,187,162 +97,187,161 +98,187,160 +98,187,159 +99,187,158 +100,187,157 +100,187,156 +101,187,155 +102,187,154 +102,187,153 +103,187,152 +104,187,151 +104,187,151 +105,187,150 +106,187,149 +106,187,148 +107,187,147 +108,187,146 +109,187,145 +109,187,144 +110,187,143 +111,187,142 +112,187,141 +113,187,140 +113,187,139 +114,187,138 +115,186,137 +116,186,136 +117,186,135 +118,186,134 +118,186,133 +119,186,132 +120,186,131 +121,186,130 +122,186,129 +123,186,128 +124,186,127 +125,185,126 +126,185,125 +127,185,124 +128,185,124 +129,185,123 +130,185,122 +131,185,121 +132,184,120 +133,184,119 +134,184,119 +135,184,118 +136,184,117 +137,184,116 +138,184,115 +139,183,115 +140,183,114 +142,183,113 +143,183,113 +144,183,112 +145,182,111 +146,182,111 +147,182,110 +148,182,109 +149,182,109 +150,181,108 +151,181,108 +152,181,107 +153,181,107 +154,180,106 +155,180,106 +157,180,105 +158,180,105 +159,179,104 +160,179,104 +161,179,103 +162,179,103 +163,178,102 +164,178,102 +165,178,101 +166,178,101 +167,177,100 +168,177,100 +169,177,100 +170,177,99 +171,176,99 +172,176,99 +173,176,98 +174,176,98 +175,175,98 +176,175,97 +177,175,97 +178,175,97 +179,174,96 +180,174,96 +181,174,96 +181,173,96 +182,173,95 +183,173,95 +184,172,95 +185,172,95 +186,172,95 +187,172,95 +188,171,94 +189,171,94 +190,171,94 +191,170,94 +192,170,94 +193,170,94 +194,169,94 +194,169,94 +195,169,94 +196,168,94 +197,168,93 +198,168,93 +199,168,93 +200,167,93 +201,167,93 +201,167,93 +202,166,94 +203,166,94 +204,166,94 +205,165,94 +206,165,94 +207,165,94 +207,164,94 +208,164,94 +209,164,94 +210,163,94 +211,163,94 +211,162,94 +212,162,95 +213,162,95 +214,161,95 +215,161,95 +216,161,95 +216,160,95 +217,160,96 +218,160,96 +219,159,96 +219,159,96 +220,159,96 +221,158,97 +222,158,97 +223,157,97 +223,157,97 +224,157,98 +225,156,98 +226,156,98 +226,156,99 +227,155,99 +228,155,99 +228,154,99 +229,154,100 +230,154,100 +231,153,100 +231,153,101 +232,153,101 +233,152,101 +234,152,102 +234,151,102 +235,151,102 +236,151,103 +236,150,103 +237,150,103 +238,149,104 +238,149,104 +239,149,104 +240,148,105 +240,148,105 +241,147,106 +242,147,106 +242,147,106 +243,146,107 +244,146,107 +244,145,108 +245,145,108 +246,145,108 +246,144,109 diff --git a/colormaps/CET-I2.csv b/colormaps/CET-I2.csv new file mode 100644 index 0000000..6dc18c2 --- /dev/null +++ b/colormaps/CET-I2.csv @@ -0,0 +1,256 @@ +112,209,255 +112,210,255 +112,210,255 +112,210,255 +112,210,255 +112,210,254 +112,210,254 +112,210,253 +112,210,252 +112,210,251 +112,210,250 +112,210,250 +113,211,249 +113,211,248 +113,211,247 +113,211,247 +113,211,246 +113,211,245 +113,211,244 +113,211,243 +113,211,243 +113,211,242 +113,211,241 +114,212,240 +114,212,239 +114,212,238 +114,212,238 +114,212,237 +114,212,236 +114,212,235 +114,212,234 +115,212,234 +115,212,233 +115,212,232 +115,212,231 +115,212,230 +115,213,229 +115,213,229 +116,213,228 +116,213,227 +116,213,226 +116,213,225 +116,213,225 +116,213,224 +116,213,223 +117,213,222 +117,213,221 +117,213,220 +117,213,219 +117,213,219 +118,213,218 +118,214,217 +118,214,216 +118,214,215 +118,214,214 +119,214,214 +119,214,213 +119,214,212 +119,214,211 +119,214,210 +120,214,209 +120,214,208 +120,214,208 +120,214,207 +121,214,206 +121,214,205 +121,214,204 +122,214,203 +122,214,202 +122,214,201 +122,214,201 +123,214,200 +123,215,199 +123,215,198 +124,215,197 +124,215,196 +124,215,195 +125,215,194 +125,215,193 +125,215,193 +126,215,192 +126,215,191 +126,215,190 +127,215,189 +127,215,188 +128,215,187 +128,215,186 +129,215,185 +129,215,184 +129,215,184 +130,215,183 +130,215,182 +131,215,181 +131,215,180 +132,215,179 +132,215,178 +133,215,177 +133,215,176 +134,215,175 +134,215,174 +135,215,173 +136,215,172 +136,215,172 +137,215,171 +137,215,170 +138,215,169 +139,215,168 +139,215,167 +140,215,166 +141,214,165 +141,214,164 +142,214,163 +143,214,162 +144,214,161 +144,214,160 +145,214,160 +146,214,159 +147,214,158 +147,214,157 +148,214,156 +149,214,155 +150,214,154 +151,213,153 +152,213,153 +153,213,152 +154,213,151 +154,213,150 +155,213,149 +156,213,148 +157,213,148 +158,212,147 +159,212,146 +160,212,145 +161,212,144 +162,212,144 +163,212,143 +164,211,142 +165,211,142 +166,211,141 +167,211,140 +168,211,140 +169,211,139 +170,210,138 +171,210,138 +172,210,137 +173,210,136 +174,210,136 +175,209,135 +176,209,135 +177,209,134 +178,209,134 +179,209,133 +180,208,133 +181,208,132 +182,208,132 +183,208,131 +184,207,131 +185,207,130 +186,207,130 +187,207,129 +188,207,129 +189,206,128 +190,206,128 +191,206,127 +192,206,127 +193,205,127 +194,205,126 +195,205,126 +196,205,125 +197,204,125 +197,204,125 +198,204,124 +199,204,124 +200,203,124 +201,203,123 +202,203,123 +203,203,123 +204,202,122 +205,202,122 +206,202,122 +207,202,121 +208,201,121 +209,201,121 +209,201,121 +210,201,120 +211,200,120 +212,200,120 +213,200,120 +214,199,119 +215,199,119 +216,199,119 +217,199,119 +217,198,119 +218,198,119 +219,198,118 +220,197,118 +221,197,118 +222,197,118 +223,197,118 +224,196,118 +224,196,118 +225,196,118 +226,195,118 +227,195,118 +228,195,118 +229,194,118 +229,194,118 +230,194,118 +231,194,118 +232,193,118 +233,193,118 +233,193,118 +234,192,118 +235,192,118 +236,192,118 +237,191,118 +237,191,118 +238,191,118 +239,190,118 +240,190,119 +241,190,119 +241,189,119 +242,189,119 +243,189,119 +244,188,119 +244,188,120 +245,188,120 +246,188,120 +247,187,120 +247,187,121 +248,187,121 +249,186,121 +249,186,121 +250,186,122 +251,185,122 +252,185,122 +252,185,122 +253,184,123 +254,184,123 +254,184,123 +255,183,124 +255,183,124 +255,183,124 +255,182,125 +255,182,125 +255,182,125 +255,181,126 +255,181,126 +255,181,127 +255,180,127 +255,180,127 +255,180,128 +255,179,128 +255,179,129 +255,179,129 +255,178,129 diff --git a/colormaps/CET-I3.csv b/colormaps/CET-I3.csv new file mode 100644 index 0000000..e53dd4a --- /dev/null +++ b/colormaps/CET-I3.csv @@ -0,0 +1,256 @@ +20,186,230 +25,185,230 +29,185,230 +32,185,230 +35,185,230 +38,185,230 +41,185,230 +44,184,231 +46,184,231 +48,184,231 +51,184,231 +53,184,231 +55,184,231 +57,184,231 +59,183,232 +60,183,232 +62,183,232 +64,183,232 +66,183,232 +67,183,232 +69,182,232 +70,182,232 +72,182,233 +74,182,233 +75,182,233 +76,182,233 +78,182,233 +79,181,233 +81,181,233 +82,181,233 +83,181,233 +85,181,233 +86,181,234 +87,180,234 +89,180,234 +90,180,234 +91,180,234 +92,180,234 +93,180,234 +95,179,234 +96,179,234 +97,179,234 +98,179,235 +99,179,235 +100,178,235 +102,178,235 +103,178,235 +104,178,235 +105,178,235 +106,178,235 +107,177,235 +108,177,235 +109,177,235 +110,177,235 +111,177,235 +112,177,235 +113,176,236 +114,176,236 +115,176,236 +116,176,236 +117,176,236 +118,175,236 +119,175,236 +120,175,236 +121,175,236 +122,175,236 +123,174,236 +124,174,236 +125,174,236 +126,174,236 +127,174,236 +128,174,236 +129,173,236 +130,173,236 +131,173,236 +132,173,236 +133,173,236 +134,172,236 +135,172,236 +136,172,236 +137,172,236 +138,172,236 +139,171,236 +139,171,236 +140,171,236 +141,171,236 +142,170,236 +143,170,236 +144,170,236 +145,170,236 +146,170,236 +147,169,236 +148,169,236 +149,169,236 +149,169,235 +150,169,235 +151,168,235 +152,168,235 +153,168,235 +154,168,235 +155,167,235 +156,167,235 +156,167,235 +157,167,235 +158,167,234 +159,166,234 +160,166,234 +161,166,234 +162,166,234 +163,165,234 +163,165,233 +164,165,233 +165,165,233 +166,165,233 +167,164,233 +168,164,232 +169,164,232 +169,164,232 +170,163,232 +171,163,231 +172,163,231 +173,163,231 +174,163,231 +175,162,230 +175,162,230 +176,162,230 +177,162,229 +178,161,229 +179,161,229 +179,161,228 +180,161,228 +181,161,228 +182,160,227 +183,160,227 +183,160,227 +184,160,226 +185,159,226 +186,159,226 +186,159,225 +187,159,225 +188,159,224 +189,158,224 +189,158,224 +190,158,223 +191,158,223 +192,158,223 +192,157,222 +193,157,222 +194,157,221 +195,157,221 +195,156,221 +196,156,220 +197,156,220 +197,156,219 +198,156,219 +199,155,219 +199,155,218 +200,155,218 +201,155,217 +201,154,217 +202,154,216 +203,154,216 +203,154,216 +204,154,215 +205,153,215 +205,153,214 +206,153,214 +207,153,213 +207,153,213 +208,152,213 +209,152,212 +209,152,212 +210,152,211 +211,151,211 +211,151,210 +212,151,210 +212,151,210 +213,151,209 +214,150,209 +214,150,208 +215,150,208 +215,150,207 +216,149,207 +217,149,206 +217,149,206 +218,149,206 +218,149,205 +219,148,205 +220,148,204 +220,148,204 +221,148,203 +221,148,203 +222,147,202 +222,147,202 +223,147,202 +224,147,201 +224,146,201 +225,146,200 +225,146,200 +226,146,199 +226,146,199 +227,145,198 +227,145,198 +228,145,197 +229,145,197 +229,144,196 +230,144,196 +230,144,196 +231,144,195 +231,144,195 +232,143,194 +232,143,194 +233,143,193 +233,143,193 +234,142,192 +234,142,192 +235,142,191 +235,142,191 +236,142,190 +236,141,190 +237,141,190 +237,141,189 +238,141,189 +238,140,188 +239,140,188 +239,140,187 +240,140,187 +240,139,186 +241,139,186 +241,139,185 +242,139,185 +242,139,184 +243,138,184 +243,138,183 +244,138,183 +244,138,182 +245,137,182 +245,137,181 +246,137,181 +246,137,181 +247,136,180 +247,136,180 +248,136,179 +248,136,179 +249,136,178 +249,135,178 +249,135,177 +250,135,177 +250,135,176 +251,134,176 +251,134,175 +252,134,175 +252,134,174 +253,133,174 +253,133,173 +254,133,173 diff --git a/colormaps/CET-L01.csv b/colormaps/CET-L01.csv new file mode 100644 index 0000000..ea0dc9f --- /dev/null +++ b/colormaps/CET-L01.csv @@ -0,0 +1,256 @@ +0,0,0 +1,1,1 +3,3,3 +4,4,4 +6,6,6 +7,7,7 +9,9,9 +10,10,10 +11,11,11 +13,13,13 +14,14,14 +15,15,15 +16,16,16 +17,17,17 +18,18,18 +19,19,19 +20,20,20 +21,21,21 +22,22,22 +22,22,22 +23,23,23 +24,24,24 +25,25,25 +26,26,26 +26,26,26 +27,27,27 +28,28,28 +29,29,29 +29,29,29 +30,30,30 +31,31,31 +32,32,32 +33,33,33 +33,33,33 +34,34,34 +35,35,35 +36,36,36 +37,37,37 +37,37,37 +38,38,38 +39,39,39 +40,40,40 +41,41,41 +42,42,42 +42,42,42 +43,43,43 +44,44,44 +45,45,45 +46,46,46 +47,47,47 +47,47,47 +48,48,48 +49,49,49 +50,50,50 +51,51,51 +52,52,52 +53,53,53 +53,53,53 +54,54,54 +55,55,55 +56,56,56 +57,57,57 +58,58,58 +59,59,59 +59,60,60 +60,60,60 +61,61,61 +62,62,62 +63,63,63 +64,64,64 +65,65,65 +66,66,66 +67,67,67 +67,67,67 +68,68,68 +69,69,69 +70,70,70 +71,71,71 +72,72,72 +73,73,73 +74,74,74 +75,75,75 +76,76,76 +77,77,77 +77,77,77 +78,78,78 +79,79,79 +80,80,80 +81,81,81 +82,82,82 +83,83,83 +84,84,84 +85,85,85 +86,86,86 +87,87,87 +88,88,88 +89,89,89 +90,90,90 +90,90,90 +91,91,91 +92,92,92 +93,93,93 +94,94,94 +95,95,95 +96,96,96 +97,97,97 +98,98,98 +99,99,99 +100,100,100 +101,101,101 +102,102,102 +103,103,103 +104,104,104 +105,105,105 +106,106,106 +107,107,107 +108,108,108 +109,109,109 +110,110,110 +111,111,111 +112,112,112 +113,113,113 +113,114,114 +114,114,114 +115,115,115 +116,116,116 +117,117,117 +118,118,118 +119,119,119 +120,120,120 +121,121,121 +122,122,122 +123,123,123 +124,124,124 +125,125,125 +126,126,126 +127,127,127 +128,128,128 +129,129,129 +130,130,130 +131,131,131 +132,132,132 +133,133,133 +134,134,134 +135,135,135 +136,136,136 +137,137,137 +138,138,138 +139,139,139 +140,140,140 +141,141,141 +142,143,143 +144,144,144 +145,145,145 +146,146,146 +147,147,147 +148,148,148 +149,149,149 +150,150,150 +151,151,151 +152,152,152 +153,153,153 +154,154,154 +155,155,155 +156,156,156 +157,157,157 +158,158,158 +159,159,159 +160,160,160 +161,161,161 +162,162,162 +163,163,163 +164,164,164 +165,165,165 +166,166,166 +167,167,167 +168,168,168 +169,169,169 +170,171,171 +172,172,172 +173,173,173 +174,174,174 +175,175,175 +176,176,176 +177,177,177 +178,178,178 +179,179,179 +180,180,180 +181,181,181 +182,182,182 +183,183,183 +184,184,184 +185,185,185 +186,186,186 +188,188,188 +189,189,189 +190,190,190 +191,191,191 +192,192,192 +193,193,193 +194,194,194 +195,195,195 +196,196,196 +197,197,197 +198,198,198 +199,199,199 +200,201,201 +202,202,202 +203,203,203 +204,204,204 +205,205,205 +206,206,206 +207,207,207 +208,208,208 +209,209,209 +210,210,210 +211,211,211 +212,213,213 +214,214,214 +215,215,215 +216,216,216 +217,217,217 +218,218,218 +219,219,219 +220,220,220 +221,221,221 +222,222,222 +224,224,224 +225,225,225 +226,226,226 +227,227,227 +228,228,228 +229,229,229 +230,230,230 +231,231,231 +232,232,232 +234,234,234 +235,235,235 +236,236,236 +237,237,237 +238,238,238 +239,239,239 +240,240,240 +241,241,241 +243,243,243 +244,244,244 +245,245,245 +246,246,246 +247,247,247 +248,248,248 +249,249,249 +250,250,250 +252,252,252 +253,253,253 +254,254,254 +255,255,255 diff --git a/colormaps/CET-L02.csv b/colormaps/CET-L02.csv new file mode 100644 index 0000000..3a69d13 --- /dev/null +++ b/colormaps/CET-L02.csv @@ -0,0 +1,256 @@ +27,27,27 +28,28,28 +29,29,29 +29,29,29 +30,30,30 +31,31,31 +31,31,31 +32,32,32 +33,33,33 +34,34,34 +34,34,34 +35,35,35 +36,36,36 +36,36,36 +37,37,37 +38,38,38 +38,38,38 +39,39,39 +40,40,40 +40,40,40 +41,41,41 +42,42,42 +43,43,43 +43,43,43 +44,44,44 +45,45,45 +45,45,45 +46,46,46 +47,47,47 +48,48,48 +48,48,48 +49,49,49 +50,50,50 +50,50,50 +51,51,51 +52,52,52 +53,53,53 +53,53,53 +54,54,54 +55,55,55 +56,56,56 +56,56,56 +57,57,57 +58,58,58 +59,59,59 +59,59,59 +60,60,60 +61,61,61 +62,62,62 +62,62,62 +63,63,63 +64,64,64 +65,65,65 +65,65,65 +66,66,66 +67,67,67 +68,68,68 +68,68,68 +69,69,69 +70,70,70 +71,71,71 +71,71,71 +72,72,72 +73,73,73 +74,74,74 +74,74,74 +75,75,75 +76,76,76 +77,77,77 +78,78,78 +78,78,78 +79,79,79 +80,80,80 +81,81,81 +81,82,82 +82,82,82 +83,83,83 +84,84,84 +85,85,85 +85,85,85 +86,86,86 +87,87,87 +88,88,88 +89,89,89 +89,89,89 +90,90,90 +91,91,91 +92,92,92 +93,93,93 +93,93,93 +94,94,94 +95,95,95 +96,96,96 +97,97,97 +97,97,97 +98,98,98 +99,99,99 +100,100,100 +101,101,101 +102,102,102 +102,102,102 +103,103,103 +104,104,104 +105,105,105 +106,106,106 +106,106,106 +107,107,107 +108,108,108 +109,109,109 +110,110,110 +111,111,111 +111,111,111 +112,112,112 +113,113,113 +114,114,114 +115,115,115 +116,116,116 +116,116,116 +117,117,117 +118,118,118 +119,119,119 +120,120,120 +121,121,121 +121,121,121 +122,122,122 +123,123,123 +124,124,124 +125,125,125 +126,126,126 +126,127,127 +127,127,127 +128,128,128 +129,129,129 +130,130,130 +131,131,131 +132,132,132 +132,132,132 +133,133,133 +134,134,134 +135,135,135 +136,136,136 +137,137,137 +138,138,138 +138,138,138 +139,139,139 +140,140,140 +141,141,141 +142,142,142 +143,143,143 +144,144,144 +145,145,145 +145,145,145 +146,146,146 +147,147,147 +148,148,148 +149,149,149 +150,150,150 +151,151,151 +152,152,152 +152,152,152 +153,153,153 +154,154,154 +155,155,155 +156,156,156 +157,157,157 +158,158,158 +159,159,159 +159,159,159 +160,160,160 +161,161,161 +162,162,162 +163,163,163 +164,164,164 +165,165,165 +166,166,166 +167,167,167 +167,167,167 +168,168,168 +169,169,169 +170,170,170 +171,171,171 +172,172,172 +173,173,173 +174,174,174 +175,175,175 +176,176,176 +176,176,176 +177,177,177 +178,178,178 +179,179,179 +180,180,180 +181,181,181 +182,182,182 +183,183,183 +184,184,184 +185,185,185 +185,186,186 +186,186,186 +187,187,187 +188,188,188 +189,189,189 +190,190,190 +191,191,191 +192,192,192 +193,193,193 +194,194,194 +195,195,195 +196,196,196 +196,196,196 +197,197,197 +198,198,198 +199,199,199 +200,200,200 +201,201,201 +202,202,202 +203,203,203 +204,204,204 +205,205,205 +206,206,206 +207,207,207 +208,208,208 +208,209,209 +209,209,209 +210,210,210 +211,211,211 +212,212,212 +213,213,213 +214,214,214 +215,215,215 +216,216,216 +217,217,217 +218,218,218 +219,219,219 +220,220,220 +221,221,221 +222,222,222 +223,223,223 +223,224,224 +224,224,224 +225,225,225 +226,226,226 +227,227,227 +228,228,228 +229,229,229 +230,230,230 +231,231,231 +232,232,232 +233,233,233 +234,234,234 +235,235,235 +236,236,236 +237,237,237 +238,238,238 +239,239,239 +240,240,240 +241,241,241 diff --git a/colormaps/CET-L03.csv b/colormaps/CET-L03.csv new file mode 100644 index 0000000..d60509d --- /dev/null +++ b/colormaps/CET-L03.csv @@ -0,0 +1,256 @@ +0,0,0 +7,0,0 +13,0,0 +18,0,0 +22,0,0 +26,0,0 +29,0,0 +32,0,0 +34,0,0 +37,0,0 +39,0,0 +41,0,0 +43,0,0 +45,0,0 +47,0,0 +49,0,0 +50,0,0 +52,0,0 +54,1,0 +55,1,0 +57,0,0 +58,0,0 +60,0,0 +61,0,0 +63,0,0 +64,0,0 +66,1,0 +67,1,0 +69,1,0 +70,1,0 +72,1,0 +73,1,0 +75,1,0 +76,1,0 +78,1,0 +79,1,0 +81,1,0 +82,1,0 +84,1,0 +85,1,0 +87,1,0 +88,1,0 +90,1,0 +92,1,0 +93,1,0 +95,1,0 +96,1,0 +98,1,0 +99,1,0 +101,1,0 +103,1,0 +104,1,0 +106,1,0 +107,2,0 +109,2,0 +111,2,0 +112,2,0 +114,2,0 +116,2,0 +117,2,0 +119,2,0 +121,2,0 +122,2,0 +124,2,0 +126,2,0 +127,2,0 +129,2,0 +131,2,0 +132,3,0 +134,3,0 +136,3,0 +137,3,0 +139,3,0 +141,3,0 +142,3,0 +144,3,0 +146,3,0 +147,3,0 +149,3,0 +151,4,0 +153,4,0 +154,4,0 +156,4,0 +158,4,0 +159,4,0 +161,4,0 +163,4,0 +165,5,0 +166,5,0 +168,5,0 +170,5,0 +172,5,0 +173,5,0 +175,5,0 +177,6,0 +179,6,0 +181,6,0 +182,6,0 +184,6,0 +186,7,0 +188,7,0 +189,7,0 +191,7,0 +193,7,0 +195,8,0 +197,8,0 +198,8,0 +200,8,0 +202,9,0 +204,9,0 +206,9,0 +207,9,0 +209,10,0 +211,10,0 +213,11,0 +215,11,0 +216,11,0 +218,12,0 +220,12,0 +222,13,0 +224,13,0 +225,14,0 +227,14,0 +229,15,0 +231,16,0 +232,17,0 +234,18,0 +236,19,0 +237,21,0 +239,23,0 +240,25,0 +242,27,0 +243,30,0 +244,32,0 +245,35,0 +246,38,0 +247,41,0 +248,44,0 +248,47,0 +249,50,0 +250,53,0 +250,56,0 +251,59,0 +251,62,0 +252,65,0 +252,68,0 +252,70,0 +253,73,0 +253,76,0 +253,78,0 +253,81,0 +254,84,0 +254,86,0 +254,89,0 +254,91,0 +254,93,0 +254,96,0 +254,98,0 +254,100,0 +255,103,0 +255,105,0 +255,107,0 +255,109,0 +255,111,0 +255,114,0 +255,116,0 +255,118,0 +255,120,0 +255,122,0 +255,124,0 +255,126,0 +255,128,0 +255,130,0 +255,132,0 +255,134,0 +255,136,0 +255,138,0 +255,140,0 +255,142,0 +255,143,0 +255,145,0 +255,147,0 +255,149,0 +255,151,0 +255,153,0 +255,154,0 +255,156,1 +255,158,1 +255,160,1 +255,161,1 +255,163,1 +255,165,1 +255,167,1 +255,168,1 +255,170,1 +255,172,1 +255,173,2 +255,175,2 +255,177,2 +255,178,2 +255,180,2 +255,182,2 +255,183,3 +255,185,3 +255,187,3 +255,188,3 +255,190,3 +255,192,4 +255,193,4 +255,195,4 +255,196,4 +255,198,5 +255,200,5 +255,201,5 +255,203,5 +255,204,6 +255,206,6 +255,208,6 +255,209,7 +255,211,7 +255,212,8 +255,214,8 +255,215,9 +255,217,9 +255,219,10 +255,220,10 +255,222,11 +255,223,11 +255,225,12 +255,226,13 +255,228,13 +255,229,14 +255,231,15 +255,233,16 +255,234,17 +255,236,19 +255,237,21 +255,239,23 +255,240,26 +255,242,31 +255,243,36 +255,245,43 +255,246,51 +255,247,60 +255,249,71 +255,250,84 +255,251,98 +255,252,114 +255,253,132 +255,254,150 +255,254,168 +255,254,187 +255,255,205 +255,255,222 +255,255,239 +255,255,255 diff --git a/colormaps/CET-L04.csv b/colormaps/CET-L04.csv new file mode 100644 index 0000000..6866f91 --- /dev/null +++ b/colormaps/CET-L04.csv @@ -0,0 +1,256 @@ +0,0,0 +7,0,0 +13,0,0 +18,0,0 +22,0,0 +25,0,0 +28,0,0 +31,0,0 +34,0,0 +36,0,0 +38,0,0 +40,0,0 +42,0,0 +44,0,0 +46,0,0 +48,0,0 +50,0,0 +51,0,0 +53,0,0 +54,0,0 +56,0,0 +57,0,0 +59,0,0 +60,0,0 +62,0,0 +63,0,0 +64,0,0 +66,1,0 +67,1,0 +69,1,0 +70,1,0 +72,1,0 +73,1,0 +75,1,0 +76,1,0 +78,1,0 +79,1,0 +81,1,0 +82,1,0 +84,1,0 +85,1,0 +87,1,0 +88,1,0 +90,1,0 +91,1,0 +93,1,0 +94,1,0 +96,1,0 +97,1,0 +99,1,0 +100,1,0 +102,1,0 +103,1,0 +105,1,0 +107,2,0 +108,2,0 +110,2,0 +111,2,0 +113,2,0 +114,2,0 +116,2,0 +118,2,0 +119,2,0 +121,2,0 +122,2,0 +124,2,0 +126,2,0 +127,2,0 +129,2,0 +131,2,0 +132,3,0 +134,3,0 +135,3,0 +137,3,0 +139,3,0 +140,3,0 +142,3,0 +144,3,0 +145,3,0 +147,3,0 +149,3,0 +150,4,0 +152,4,0 +154,4,0 +155,4,0 +157,4,0 +159,4,0 +160,4,0 +162,4,0 +164,4,0 +165,5,0 +167,5,0 +169,5,0 +171,5,0 +172,5,0 +174,5,0 +176,6,0 +177,6,0 +179,6,0 +181,6,0 +183,6,0 +184,6,0 +186,7,0 +188,7,0 +189,7,0 +191,7,0 +193,7,0 +195,8,0 +196,8,0 +198,8,0 +200,8,0 +202,9,0 +203,9,0 +205,9,0 +207,9,0 +209,10,0 +210,10,0 +212,10,0 +214,11,0 +216,11,0 +217,12,0 +219,12,0 +221,12,0 +223,13,0 +224,13,0 +226,14,0 +228,15,0 +230,15,0 +231,16,0 +233,17,0 +235,18,0 +236,19,0 +238,21,0 +239,24,0 +240,26,0 +241,29,0 +242,33,0 +243,36,0 +244,39,0 +244,42,0 +245,46,0 +246,49,0 +246,52,0 +247,55,0 +247,58,0 +247,61,0 +248,63,0 +248,66,0 +248,69,0 +249,72,0 +249,74,0 +249,77,0 +249,79,0 +250,82,0 +250,84,0 +250,86,0 +250,89,0 +250,91,0 +251,93,0 +251,96,0 +251,98,0 +251,100,0 +251,102,0 +251,104,0 +252,106,0 +252,108,0 +252,110,0 +252,112,0 +252,114,0 +252,116,0 +252,118,0 +252,120,0 +252,122,0 +252,124,0 +253,126,0 +253,128,0 +253,130,0 +253,131,0 +253,133,0 +253,135,0 +253,137,0 +253,139,0 +253,140,0 +253,142,0 +253,144,0 +253,146,0 +253,147,0 +254,149,0 +254,151,0 +254,153,0 +254,154,0 +254,156,0 +254,158,0 +254,159,0 +254,161,0 +254,163,0 +254,164,0 +254,166,0 +254,168,0 +254,169,0 +254,171,0 +254,173,0 +254,174,0 +254,176,0 +254,177,0 +254,179,0 +254,181,0 +254,182,0 +254,184,0 +254,185,0 +254,187,0 +254,189,0 +255,190,0 +255,192,0 +255,193,0 +255,195,0 +255,196,0 +255,198,0 +255,199,0 +255,201,0 +255,203,0 +255,204,0 +255,206,0 +255,207,0 +255,209,0 +255,210,0 +255,212,0 +255,213,0 +255,215,0 +255,216,0 +255,218,0 +255,219,0 +255,221,0 +255,222,0 +255,224,0 +255,225,0 +255,227,0 +255,228,0 +255,230,0 +255,231,0 +255,233,0 +255,234,0 +255,236,0 +255,237,0 +255,239,0 +255,240,0 +255,242,0 +255,243,0 +255,245,0 +255,246,0 +255,248,0 +255,249,0 +255,251,0 +255,252,0 +255,254,0 +255,255,0 diff --git a/colormaps/CET-L05.csv b/colormaps/CET-L05.csv new file mode 100644 index 0000000..fde872b --- /dev/null +++ b/colormaps/CET-L05.csv @@ -0,0 +1,256 @@ +1,21,6 +1,22,6 +2,23,6 +2,24,6 +3,25,6 +4,25,6 +4,26,6 +5,27,6 +5,28,6 +6,28,6 +7,29,6 +7,30,6 +8,31,6 +8,32,6 +8,32,6 +9,33,6 +9,34,6 +9,35,5 +9,36,5 +9,36,5 +9,37,5 +9,38,5 +9,39,5 +9,40,5 +9,41,5 +9,42,5 +9,42,5 +9,43,5 +9,44,5 +9,45,5 +9,46,5 +9,47,5 +9,48,5 +8,49,5 +8,49,5 +8,50,5 +8,51,5 +8,52,5 +9,53,5 +9,54,5 +9,55,5 +9,56,5 +9,56,5 +9,57,5 +10,58,5 +10,59,5 +10,60,5 +10,61,5 +11,62,5 +11,63,5 +11,64,5 +11,64,5 +12,65,5 +12,66,5 +12,67,5 +13,68,5 +13,69,5 +13,70,5 +13,71,5 +14,72,5 +14,73,5 +14,73,5 +14,74,5 +15,75,5 +15,76,5 +15,77,5 +15,78,5 +16,79,5 +16,80,5 +16,81,5 +16,82,5 +17,83,5 +17,84,6 +17,85,6 +17,85,6 +18,86,6 +18,87,6 +18,88,6 +18,89,6 +19,90,6 +19,91,6 +19,92,6 +19,93,6 +20,94,6 +20,95,7 +20,96,7 +20,97,7 +21,98,7 +21,99,7 +21,100,7 +21,101,7 +22,102,7 +22,103,7 +22,104,7 +22,104,8 +23,105,8 +23,106,8 +23,107,8 +23,108,8 +24,109,8 +24,110,8 +24,111,8 +24,112,8 +25,113,8 +25,114,9 +25,115,9 +25,116,9 +26,117,9 +26,118,9 +26,119,9 +26,120,9 +27,121,9 +27,122,9 +27,123,10 +27,124,10 +28,125,10 +28,126,10 +28,127,10 +28,128,10 +29,129,10 +29,130,10 +29,131,11 +30,132,11 +30,133,11 +30,134,11 +30,135,11 +31,136,11 +31,137,11 +31,138,11 +31,139,11 +32,140,12 +32,141,12 +32,142,12 +32,143,12 +33,144,12 +33,145,12 +33,146,12 +33,147,12 +34,149,13 +34,150,13 +34,151,13 +34,152,13 +35,153,13 +35,154,13 +35,155,13 +35,156,13 +36,157,13 +36,158,14 +36,159,14 +37,160,14 +37,161,14 +37,162,14 +37,163,14 +38,164,14 +38,165,14 +38,166,14 +38,167,15 +39,168,15 +39,169,15 +39,170,15 +39,172,15 +40,173,15 +40,174,15 +40,175,15 +40,176,16 +41,177,16 +41,178,16 +41,179,16 +42,180,16 +42,181,16 +42,182,16 +42,183,16 +43,184,16 +43,185,17 +43,186,17 +43,188,17 +44,189,17 +44,190,17 +44,191,17 +44,192,17 +45,193,17 +45,194,17 +45,195,18 +46,196,18 +46,197,18 +46,198,18 +46,199,18 +47,201,18 +47,202,18 +47,203,18 +47,204,19 +48,205,19 +48,206,19 +48,207,19 +49,208,19 +49,209,19 +49,210,19 +49,211,19 +50,213,19 +50,214,20 +50,215,20 +50,216,20 +51,217,20 +51,218,20 +51,219,20 +52,220,20 +52,221,20 +52,223,20 +52,224,21 +53,225,21 +53,226,21 +53,227,21 +53,228,21 +54,229,21 +55,230,21 +57,231,21 +59,232,21 +62,233,21 +65,234,22 +68,235,22 +72,236,22 +75,237,22 +79,238,22 +83,239,22 +87,240,22 +92,240,22 +96,241,22 +100,242,22 +104,243,22 +108,243,22 +113,244,21 +117,245,21 +121,246,21 +125,246,21 +129,247,21 +134,248,21 +138,248,21 +142,249,21 +146,249,21 +150,250,21 +154,251,21 +159,251,21 +163,252,21 +167,252,21 +171,253,21 +175,253,21 +179,254,21 +183,254,21 +187,255,21 +192,255,21 +196,255,21 +200,255,21 +204,255,21 +208,255,21 +212,255,21 +216,255,21 diff --git a/colormaps/CET-L06.csv b/colormaps/CET-L06.csv new file mode 100644 index 0000000..571ba59 --- /dev/null +++ b/colormaps/CET-L06.csv @@ -0,0 +1,256 @@ +0,1,78 +0,1,80 +0,2,82 +0,2,84 +0,2,86 +0,3,88 +0,3,90 +0,3,92 +0,3,94 +0,3,96 +1,3,98 +2,3,100 +2,3,102 +3,3,104 +4,2,106 +5,2,108 +5,2,110 +6,2,112 +7,2,114 +8,2,116 +8,2,118 +9,2,120 +10,2,123 +11,2,125 +11,2,127 +12,2,129 +13,2,131 +13,2,133 +14,2,136 +14,1,138 +15,1,140 +15,1,142 +15,1,144 +16,1,147 +16,1,149 +16,1,151 +16,1,153 +16,2,156 +16,2,158 +16,2,160 +16,2,162 +15,2,165 +15,2,167 +14,3,170 +13,3,172 +13,3,174 +12,4,177 +11,4,179 +10,4,181 +10,5,183 +9,5,185 +9,6,188 +8,7,190 +8,7,192 +8,8,194 +8,9,196 +8,10,198 +8,10,200 +8,11,202 +8,12,204 +9,13,206 +9,14,208 +10,15,210 +11,16,212 +12,17,214 +13,18,216 +14,18,217 +16,19,219 +17,20,221 +18,21,223 +19,22,224 +21,23,226 +22,24,227 +24,25,229 +25,26,231 +26,28,232 +27,29,233 +28,30,235 +29,31,236 +31,33,237 +32,34,238 +33,36,240 +34,37,241 +35,38,242 +35,40,243 +36,41,244 +37,43,244 +38,45,245 +39,46,246 +40,48,247 +40,49,247 +41,51,248 +42,53,248 +42,54,249 +43,56,249 +43,58,250 +44,59,250 +44,61,250 +45,63,250 +45,65,251 +45,66,251 +46,68,251 +46,70,251 +46,71,251 +47,73,251 +47,75,251 +47,76,251 +47,78,251 +47,79,251 +47,81,251 +47,82,252 +48,84,252 +48,86,252 +48,87,252 +48,89,252 +48,90,252 +48,92,252 +48,93,252 +47,94,252 +47,96,252 +47,97,252 +47,99,253 +47,100,253 +47,102,253 +46,103,253 +46,105,253 +46,106,253 +46,107,253 +45,109,253 +45,110,253 +45,112,253 +44,113,253 +44,114,253 +44,116,253 +44,117,254 +44,118,254 +43,120,254 +43,121,254 +43,123,254 +43,124,254 +43,125,254 +44,126,254 +44,128,254 +44,129,254 +44,130,254 +44,132,254 +45,133,254 +45,134,254 +45,135,254 +46,137,254 +46,138,254 +47,139,254 +47,141,254 +48,142,254 +48,143,254 +49,144,253 +50,146,253 +50,147,253 +51,148,253 +51,149,253 +52,150,253 +52,152,253 +53,153,253 +53,154,253 +53,155,253 +53,157,253 +54,158,253 +54,159,253 +54,160,253 +54,162,253 +54,163,253 +54,164,253 +54,166,253 +54,167,253 +53,168,253 +53,169,252 +53,171,252 +53,172,252 +52,173,252 +52,174,252 +51,176,252 +51,177,252 +50,178,252 +49,180,252 +49,181,252 +48,182,252 +47,183,252 +46,185,252 +46,186,252 +45,187,252 +44,188,252 +44,190,252 +43,191,252 +43,192,252 +42,194,252 +42,195,252 +42,196,252 +41,197,252 +41,199,252 +41,200,252 +41,201,251 +41,202,251 +41,203,251 +41,205,251 +41,206,251 +41,207,251 +41,208,251 +42,210,251 +42,211,251 +43,212,251 +43,213,251 +44,214,251 +44,216,250 +45,217,250 +47,218,250 +48,219,250 +51,220,250 +53,221,250 +56,222,250 +60,223,250 +63,225,250 +66,226,249 +70,227,249 +73,228,249 +77,229,249 +80,229,249 +84,230,249 +87,231,249 +91,232,249 +94,233,249 +98,234,248 +101,235,248 +105,236,248 +108,237,248 +112,238,248 +115,239,248 +118,240,248 +122,240,248 +125,241,248 +128,242,247 +132,243,247 +135,244,247 +138,245,247 +142,245,247 +145,246,247 +148,247,247 +151,248,247 +154,249,246 +157,249,246 +161,250,246 +164,251,246 +167,252,246 +170,253,246 +173,253,246 +176,254,246 +179,255,246 diff --git a/colormaps/CET-L07.csv b/colormaps/CET-L07.csv new file mode 100644 index 0000000..379199c --- /dev/null +++ b/colormaps/CET-L07.csv @@ -0,0 +1,256 @@ +0,2,75 +0,3,77 +0,3,79 +0,4,81 +0,4,83 +0,4,85 +0,5,88 +0,5,90 +0,5,92 +0,5,94 +0,5,96 +0,5,98 +0,5,100 +0,5,102 +0,5,104 +1,5,106 +1,5,109 +1,5,111 +1,5,113 +2,5,115 +2,5,117 +2,5,119 +3,5,121 +3,5,124 +3,5,126 +4,5,128 +4,5,130 +4,5,132 +4,6,135 +5,6,137 +5,6,139 +5,6,141 +5,6,144 +6,6,146 +6,6,148 +6,6,150 +6,6,153 +6,6,155 +6,6,157 +6,6,159 +6,6,162 +6,7,164 +5,7,166 +5,7,169 +5,7,171 +5,7,173 +5,8,175 +5,8,178 +5,8,180 +5,8,182 +5,9,184 +6,9,186 +6,10,189 +7,10,191 +8,10,193 +9,11,195 +11,11,197 +12,12,199 +13,12,201 +15,13,203 +16,13,205 +18,14,207 +19,14,209 +21,15,211 +22,15,213 +24,16,214 +25,17,216 +27,17,218 +29,18,220 +30,18,222 +32,19,223 +34,20,225 +36,20,227 +38,21,228 +40,21,230 +42,22,231 +44,22,233 +47,23,234 +49,23,236 +52,24,237 +55,24,238 +57,25,239 +60,25,240 +63,25,242 +66,26,243 +69,26,244 +72,26,245 +75,27,245 +77,27,246 +80,27,247 +83,27,248 +86,27,248 +89,28,249 +93,28,250 +96,28,250 +99,28,250 +102,28,251 +105,28,251 +108,28,251 +111,28,252 +114,28,252 +117,28,252 +120,28,252 +123,28,252 +126,28,252 +128,28,253 +131,28,253 +134,28,253 +137,28,253 +139,28,253 +142,28,253 +145,28,253 +147,29,253 +150,29,254 +153,29,254 +155,29,254 +158,29,254 +160,29,254 +163,29,254 +165,29,254 +168,29,254 +170,29,254 +173,29,254 +175,29,254 +177,29,254 +180,29,254 +182,28,254 +185,28,254 +187,28,254 +189,29,254 +192,29,254 +194,29,254 +196,29,254 +198,30,254 +200,30,254 +202,31,254 +204,32,254 +206,33,254 +208,34,254 +210,35,254 +212,36,254 +214,37,254 +215,38,254 +217,39,254 +219,41,254 +220,42,254 +222,44,254 +224,45,254 +225,46,254 +227,48,254 +228,50,254 +229,51,254 +231,53,254 +232,55,254 +233,56,254 +235,58,254 +236,60,254 +237,62,254 +238,63,254 +239,65,254 +240,67,254 +241,69,254 +242,71,254 +243,73,254 +244,75,254 +245,77,254 +246,79,254 +247,81,254 +248,83,254 +248,85,254 +249,87,254 +250,89,254 +250,91,254 +251,93,254 +251,95,254 +252,97,254 +252,99,254 +252,101,254 +253,103,254 +253,106,254 +253,108,253 +253,110,253 +254,112,253 +254,114,253 +254,116,253 +254,118,253 +254,120,253 +254,123,253 +254,125,253 +254,127,253 +254,129,253 +254,131,253 +254,133,253 +254,135,253 +254,136,253 +254,138,253 +254,140,253 +254,142,253 +254,144,253 +254,146,253 +254,148,253 +254,149,253 +254,151,253 +254,153,253 +254,155,253 +254,156,253 +254,158,253 +254,160,253 +254,162,253 +254,163,253 +254,165,253 +254,167,253 +254,168,253 +254,170,253 +254,172,253 +254,173,253 +254,175,253 +254,177,254 +254,178,254 +254,180,254 +254,181,254 +254,183,254 +254,185,254 +254,186,254 +254,188,254 +254,189,254 +254,191,254 +254,193,254 +254,194,254 +255,196,254 +255,197,254 +255,199,254 +255,200,254 +255,202,254 +255,203,254 +255,205,254 +255,206,254 +255,208,254 +255,209,254 +255,211,254 +255,212,254 +255,214,254 +255,215,254 +255,217,254 +255,218,254 +255,220,254 +255,221,254 +255,223,254 +255,224,254 +255,226,254 +255,227,254 +255,229,254 +254,230,254 +254,232,254 +254,233,254 +254,235,254 diff --git a/colormaps/CET-L08.csv b/colormaps/CET-L08.csv new file mode 100644 index 0000000..236abd0 --- /dev/null +++ b/colormaps/CET-L08.csv @@ -0,0 +1,256 @@ +0,15,93 +1,15,94 +1,16,96 +1,16,98 +1,17,99 +2,17,101 +2,18,103 +3,18,104 +4,18,106 +5,19,107 +6,19,109 +7,20,111 +8,20,112 +10,21,114 +12,21,115 +13,21,117 +15,22,118 +17,22,119 +18,22,121 +20,23,122 +22,23,124 +24,23,125 +25,24,126 +27,24,128 +29,24,129 +31,25,130 +33,25,131 +35,25,133 +37,25,134 +39,26,135 +41,26,136 +43,26,137 +46,26,138 +48,26,139 +50,27,140 +52,27,141 +55,27,142 +57,27,143 +59,27,143 +62,27,144 +64,27,144 +67,26,145 +70,26,145 +72,26,146 +75,26,146 +78,25,146 +81,25,146 +84,25,146 +86,24,146 +89,24,146 +92,23,146 +94,23,146 +97,23,146 +99,22,146 +102,22,146 +104,21,146 +107,21,146 +109,20,146 +111,20,146 +114,19,146 +116,19,146 +118,18,145 +121,18,145 +123,17,145 +125,17,145 +127,16,145 +129,16,145 +131,15,144 +134,15,144 +136,14,144 +138,14,144 +140,13,143 +142,13,143 +144,13,143 +146,12,142 +148,12,142 +150,11,142 +152,11,141 +154,11,141 +156,10,140 +158,10,140 +160,10,140 +162,10,139 +163,10,139 +165,9,138 +167,9,138 +169,9,138 +171,9,137 +173,9,137 +174,10,136 +176,10,136 +178,10,136 +180,10,135 +182,10,135 +183,11,134 +185,11,134 +187,12,133 +189,12,133 +190,13,133 +192,13,132 +194,14,132 +195,14,131 +197,15,131 +199,16,130 +200,16,130 +202,17,129 +204,18,129 +205,19,128 +207,20,128 +208,21,127 +210,22,127 +211,23,126 +213,25,125 +214,26,125 +216,28,124 +217,29,123 +218,31,123 +220,32,122 +221,34,121 +222,35,120 +223,37,120 +224,39,119 +226,41,118 +227,42,117 +228,44,116 +229,46,115 +230,48,114 +231,49,114 +232,51,113 +233,53,112 +234,55,111 +235,57,110 +236,59,108 +237,61,107 +237,62,106 +238,64,105 +239,66,104 +240,68,103 +240,70,102 +241,72,101 +242,74,100 +242,76,98 +243,77,97 +243,79,96 +244,81,95 +244,83,94 +245,85,93 +245,87,92 +246,88,92 +246,90,91 +247,92,90 +247,94,89 +247,96,88 +248,98,87 +248,100,86 +248,101,85 +248,103,85 +248,105,84 +249,107,83 +249,109,82 +249,111,82 +249,112,81 +249,114,80 +249,116,79 +249,118,79 +249,120,78 +249,122,77 +249,123,77 +249,125,76 +249,127,76 +249,129,75 +249,130,74 +249,132,74 +249,134,73 +249,135,72 +249,137,72 +249,138,71 +249,140,70 +249,142,70 +249,143,69 +249,145,68 +249,146,68 +249,148,67 +249,149,66 +249,151,66 +250,152,65 +250,154,65 +250,155,64 +250,157,63 +250,158,63 +250,159,62 +250,161,61 +251,162,61 +251,164,60 +251,165,59 +251,166,59 +251,168,58 +252,169,57 +252,171,57 +252,172,57 +252,173,56 +252,175,56 +252,176,56 +252,177,56 +252,179,56 +252,180,56 +252,182,56 +253,183,56 +253,184,56 +253,186,56 +253,187,56 +253,189,56 +253,190,56 +253,191,56 +253,193,57 +253,194,57 +252,195,57 +252,197,57 +252,198,58 +252,200,58 +252,201,58 +252,202,59 +252,204,59 +252,205,59 +252,206,60 +252,208,60 +252,209,61 +252,211,61 +251,212,62 +251,213,62 +251,215,63 +251,216,63 +251,217,64 +251,219,64 +251,220,65 +250,222,65 +250,223,66 +250,224,66 +250,226,67 +250,227,67 +249,228,68 +249,230,69 +249,231,69 +249,232,70 +248,234,70 +248,235,71 +248,237,72 +248,238,72 +247,239,73 +247,241,74 +247,242,74 +247,243,75 +246,245,76 +246,246,76 +246,247,77 +245,249,78 diff --git a/colormaps/CET-L09.csv b/colormaps/CET-L09.csv new file mode 100644 index 0000000..6aaebcc --- /dev/null +++ b/colormaps/CET-L09.csv @@ -0,0 +1,256 @@ +5,0,172 +6,2,172 +6,5,172 +7,8,173 +7,11,173 +8,14,173 +8,16,174 +8,18,174 +9,20,174 +9,22,175 +10,24,175 +10,26,175 +10,28,176 +11,29,176 +11,31,176 +11,32,177 +12,34,177 +12,35,177 +12,37,177 +12,38,178 +13,40,178 +13,41,178 +13,42,178 +13,44,179 +13,45,179 +13,46,179 +13,48,179 +14,49,180 +14,50,180 +14,51,180 +14,53,180 +14,54,180 +14,55,180 +14,56,180 +14,58,181 +14,59,181 +14,60,181 +14,61,181 +14,62,181 +14,64,181 +13,65,181 +13,66,181 +13,67,181 +13,68,181 +13,70,181 +13,71,181 +13,72,181 +12,73,181 +12,74,181 +12,76,180 +12,77,180 +11,78,180 +11,79,180 +11,80,180 +10,81,179 +10,83,179 +10,84,179 +9,85,178 +9,86,178 +8,87,177 +8,89,177 +8,90,176 +7,91,175 +7,92,174 +6,94,174 +6,95,173 +6,96,172 +6,97,170 +6,99,169 +7,100,168 +8,101,167 +10,102,165 +12,103,164 +13,104,163 +15,106,161 +17,107,160 +19,108,158 +20,109,156 +22,110,155 +24,111,153 +25,113,152 +27,114,150 +29,115,148 +30,116,146 +31,117,145 +33,118,143 +34,119,141 +35,120,139 +36,121,137 +37,122,135 +38,124,133 +39,125,131 +40,126,129 +41,127,127 +42,128,125 +43,129,123 +44,130,121 +44,131,119 +45,132,117 +46,133,114 +46,134,112 +46,135,110 +47,137,108 +47,138,105 +48,139,103 +48,140,100 +48,141,98 +48,142,96 +48,143,93 +49,144,91 +49,145,89 +49,146,86 +50,147,84 +50,148,82 +51,149,80 +52,150,78 +52,151,76 +53,152,74 +54,153,72 +55,154,71 +56,155,69 +57,156,67 +58,157,65 +59,157,64 +60,158,62 +61,159,60 +62,160,59 +64,161,57 +65,162,55 +66,163,54 +68,164,52 +69,164,51 +71,165,49 +72,166,48 +74,167,46 +76,168,45 +77,168,44 +79,169,42 +81,170,41 +82,171,39 +84,172,38 +86,172,36 +88,173,35 +89,174,34 +91,175,32 +93,175,31 +95,176,30 +97,177,28 +99,178,27 +101,178,26 +103,179,24 +105,180,23 +107,180,22 +109,181,20 +111,182,19 +113,182,18 +115,183,16 +117,184,15 +119,184,14 +121,185,12 +123,186,11 +125,186,10 +127,187,8 +130,188,7 +132,188,6 +134,189,6 +136,190,5 +138,190,4 +140,191,4 +143,191,3 +145,192,3 +147,192,3 +149,193,2 +152,194,2 +154,194,2 +156,195,2 +158,195,2 +160,196,3 +162,196,3 +165,197,3 +167,198,3 +169,198,3 +171,199,4 +173,199,4 +175,200,4 +177,200,5 +179,201,5 +181,202,6 +183,202,6 +185,203,7 +187,203,8 +189,204,9 +191,204,10 +193,205,11 +194,206,12 +196,206,13 +198,207,14 +200,207,15 +202,208,16 +204,209,17 +205,209,18 +207,210,19 +209,210,20 +211,211,21 +212,212,23 +214,212,24 +216,213,25 +217,214,26 +219,214,28 +221,215,29 +222,215,30 +224,216,32 +225,217,33 +227,218,34 +228,218,36 +230,219,37 +231,220,39 +233,220,40 +234,221,42 +235,222,44 +236,223,45 +238,223,47 +239,224,49 +240,225,51 +241,226,52 +242,227,54 +243,227,56 +243,228,59 +244,229,61 +245,230,63 +245,231,66 +246,232,69 +246,233,72 +247,234,75 +248,235,79 +248,236,83 +249,237,88 +250,237,93 +250,238,98 +251,239,103 +252,240,109 +252,241,115 +253,241,121 +253,242,128 +254,243,135 +254,243,142 +255,244,150 +255,245,159 +255,245,168 +255,246,177 +255,247,187 +255,247,198 +254,248,210 +253,248,222 +251,249,235 +249,249,249 diff --git a/colormaps/CET-L10.csv b/colormaps/CET-L10.csv new file mode 100644 index 0000000..1183c3b --- /dev/null +++ b/colormaps/CET-L10.csv @@ -0,0 +1,256 @@ +102,155,144 +102,155,143 +103,155,143 +104,155,143 +105,156,142 +105,156,142 +106,156,141 +107,156,141 +107,157,140 +108,157,140 +109,157,139 +110,157,139 +110,157,138 +111,158,138 +112,158,137 +113,158,137 +113,158,137 +114,159,136 +115,159,136 +116,159,135 +116,159,135 +117,159,134 +118,160,134 +119,160,133 +119,160,133 +120,160,133 +121,161,132 +122,161,132 +123,161,131 +123,161,131 +124,161,130 +125,162,130 +126,162,129 +127,162,129 +127,162,129 +128,162,128 +129,162,128 +130,163,127 +131,163,127 +132,163,127 +132,163,126 +133,163,126 +134,164,125 +135,164,125 +136,164,125 +137,164,124 +138,164,124 +139,164,123 +140,164,123 +140,165,123 +141,165,122 +142,165,122 +143,165,122 +144,165,121 +145,165,121 +146,165,120 +147,165,120 +148,166,120 +149,166,119 +150,166,119 +151,166,119 +153,166,118 +154,166,118 +155,166,118 +156,166,118 +157,166,117 +158,166,117 +159,166,117 +161,166,116 +162,166,116 +163,166,116 +164,166,116 +166,166,115 +167,166,115 +168,166,115 +170,166,115 +171,166,115 +172,166,114 +174,166,114 +175,166,114 +177,166,114 +178,166,114 +179,166,114 +180,166,113 +182,166,113 +183,166,113 +184,166,113 +185,166,113 +186,166,113 +187,166,112 +188,166,112 +189,166,112 +191,166,112 +192,166,112 +192,166,111 +193,166,111 +194,166,111 +195,166,111 +196,166,111 +197,166,111 +198,166,110 +199,166,110 +199,166,110 +200,167,110 +201,167,110 +202,167,110 +202,167,109 +203,167,109 +204,167,109 +204,167,109 +205,167,109 +205,168,109 +206,168,108 +207,168,108 +207,168,108 +208,168,108 +208,169,108 +208,169,108 +209,169,107 +209,169,107 +210,170,107 +210,170,107 +210,170,107 +211,170,106 +211,171,106 +211,171,106 +212,171,106 +212,172,106 +212,172,106 +212,172,105 +212,173,105 +213,173,105 +213,173,105 +213,173,105 +213,174,105 +213,174,105 +213,174,105 +214,175,105 +214,175,105 +214,175,105 +214,176,105 +214,176,106 +214,176,106 +215,177,106 +215,177,106 +215,177,106 +215,178,107 +215,178,107 +215,178,107 +215,179,108 +215,179,108 +216,179,109 +216,180,109 +216,180,109 +216,180,110 +216,181,110 +216,181,111 +216,181,112 +216,182,112 +216,182,113 +216,182,113 +216,183,114 +216,183,115 +216,183,115 +217,184,116 +217,184,117 +217,184,118 +217,184,118 +217,185,119 +217,185,120 +217,185,121 +217,186,122 +217,186,123 +217,186,124 +217,187,125 +217,187,126 +217,187,127 +217,188,128 +216,188,129 +216,188,130 +216,189,131 +216,189,132 +216,189,133 +216,190,135 +216,190,136 +216,190,137 +216,191,138 +216,191,139 +216,191,140 +216,192,141 +216,192,142 +216,192,143 +216,193,144 +216,193,145 +216,193,146 +216,194,148 +216,194,149 +216,194,150 +216,195,151 +216,195,152 +216,195,153 +216,196,154 +216,196,155 +216,196,156 +215,197,157 +215,197,158 +215,197,159 +215,197,161 +215,198,162 +215,198,163 +215,198,164 +215,199,165 +215,199,166 +215,199,167 +215,200,168 +215,200,169 +215,200,170 +215,201,171 +215,201,172 +215,201,173 +215,202,175 +215,202,176 +215,202,177 +215,202,178 +215,203,179 +215,203,180 +215,203,181 +214,204,182 +214,204,183 +214,204,184 +214,205,185 +214,205,186 +214,205,187 +214,206,189 +214,206,190 +214,206,191 +214,206,192 +214,207,193 +214,207,194 +214,207,195 +214,208,196 +214,208,197 +213,208,198 +213,209,199 +213,209,200 +213,209,201 +213,209,203 +213,210,204 +213,210,205 +213,210,206 +213,211,207 +213,211,208 +213,211,209 +212,212,210 +212,212,211 +212,212,212 diff --git a/colormaps/CET-L11.csv b/colormaps/CET-L11.csv new file mode 100644 index 0000000..8cbb23a --- /dev/null +++ b/colormaps/CET-L11.csv @@ -0,0 +1,256 @@ +112,173,92 +113,173,92 +114,173,92 +116,173,92 +117,173,92 +118,173,93 +120,173,93 +121,173,93 +122,174,93 +124,174,93 +125,174,93 +126,174,93 +128,174,93 +129,174,93 +130,174,94 +131,174,94 +133,174,94 +134,174,94 +135,174,94 +136,174,94 +138,174,94 +139,174,94 +140,174,95 +141,175,95 +142,175,95 +144,175,95 +145,175,95 +146,175,95 +147,175,95 +148,175,95 +149,175,95 +150,175,96 +152,175,96 +153,175,96 +154,175,96 +155,175,96 +156,175,96 +157,175,96 +158,175,96 +159,175,97 +160,176,97 +161,176,97 +163,176,97 +164,176,97 +165,176,97 +166,176,97 +167,176,97 +168,176,98 +169,176,98 +170,176,98 +171,176,98 +172,176,98 +173,176,98 +174,176,98 +175,176,98 +176,176,99 +177,176,99 +178,176,99 +179,176,99 +180,177,99 +181,177,99 +182,177,99 +183,177,100 +184,177,100 +185,177,100 +186,177,100 +187,177,100 +188,177,100 +189,177,100 +190,177,100 +191,177,101 +192,177,101 +193,177,101 +193,177,101 +194,177,101 +195,177,101 +196,177,101 +197,178,102 +198,178,102 +199,178,102 +200,178,102 +201,178,102 +202,178,102 +202,178,102 +203,178,102 +204,178,103 +205,178,103 +206,178,103 +207,178,103 +207,178,103 +208,178,103 +209,178,103 +210,179,104 +211,179,104 +212,179,104 +212,179,104 +213,179,104 +214,179,104 +215,179,104 +215,179,105 +216,179,105 +217,179,105 +218,179,105 +218,180,105 +219,180,105 +220,180,105 +220,180,106 +221,180,106 +222,180,106 +222,180,106 +223,180,106 +224,181,106 +224,181,107 +225,181,107 +225,181,107 +226,181,107 +226,181,107 +227,182,107 +227,182,107 +228,182,108 +228,182,108 +229,182,108 +229,183,108 +229,183,108 +230,183,108 +230,183,109 +230,184,109 +230,184,109 +230,184,109 +230,185,109 +231,185,110 +231,185,110 +231,186,110 +231,186,110 +231,187,111 +231,187,111 +231,187,111 +231,188,112 +231,188,112 +231,188,113 +231,189,113 +231,189,113 +231,189,114 +231,190,114 +231,190,115 +231,190,115 +231,191,116 +231,191,116 +231,192,117 +231,192,117 +231,192,118 +231,193,119 +231,193,119 +231,193,120 +231,194,121 +231,194,121 +231,194,122 +231,195,123 +231,195,124 +231,195,124 +231,196,125 +231,196,126 +231,196,127 +231,197,127 +231,197,128 +231,197,129 +231,198,130 +231,198,131 +231,198,132 +231,199,133 +231,199,134 +231,200,135 +231,200,136 +231,200,137 +231,201,138 +231,201,139 +231,201,140 +231,202,141 +231,202,142 +231,202,143 +231,203,144 +231,203,145 +231,203,147 +231,204,148 +231,204,149 +231,204,150 +231,205,151 +230,205,152 +230,205,153 +230,206,154 +230,206,155 +230,206,156 +230,207,158 +230,207,159 +230,207,160 +230,208,161 +230,208,162 +230,208,163 +230,208,164 +230,209,165 +230,209,166 +230,209,167 +230,210,169 +230,210,170 +230,210,171 +230,211,172 +230,211,173 +230,211,174 +230,212,175 +230,212,176 +229,212,177 +229,213,178 +229,213,179 +229,213,181 +229,214,182 +229,214,183 +229,214,184 +229,215,185 +229,215,186 +229,215,187 +229,215,188 +229,216,189 +229,216,190 +229,216,191 +229,217,193 +229,217,194 +229,217,195 +229,218,196 +229,218,197 +228,218,198 +228,219,199 +228,219,200 +228,219,201 +228,220,202 +228,220,203 +228,220,204 +228,220,206 +228,221,207 +228,221,208 +228,221,209 +228,222,210 +228,222,211 +228,222,212 +227,223,213 +227,223,214 +227,223,215 +227,224,216 +227,224,218 +227,224,219 +227,224,220 +227,225,221 +227,225,222 +227,225,223 +227,226,224 +226,226,225 +226,226,226 diff --git a/colormaps/CET-L12.csv b/colormaps/CET-L12.csv new file mode 100644 index 0000000..e3e26cc --- /dev/null +++ b/colormaps/CET-L12.csv @@ -0,0 +1,256 @@ +241,241,241 +240,240,241 +239,240,240 +238,239,240 +238,239,240 +237,238,240 +236,238,240 +235,237,240 +234,237,240 +234,236,240 +233,236,240 +232,235,240 +231,235,240 +231,234,240 +230,234,240 +229,233,240 +228,233,240 +228,233,239 +227,232,239 +226,232,239 +225,231,239 +225,231,239 +224,230,239 +223,230,239 +222,229,239 +222,229,239 +221,228,239 +220,228,239 +219,227,239 +218,227,239 +218,226,238 +217,226,238 +216,225,238 +215,225,238 +215,225,238 +214,224,238 +213,224,238 +212,223,238 +212,223,238 +211,222,238 +210,222,238 +209,221,238 +209,221,237 +208,220,237 +207,220,237 +206,219,237 +205,219,237 +205,218,237 +204,218,237 +203,217,237 +202,217,237 +202,217,237 +201,216,236 +200,216,236 +199,215,236 +199,215,236 +198,214,236 +197,214,236 +196,213,236 +196,213,236 +195,212,236 +194,212,235 +193,211,235 +192,211,235 +192,210,235 +191,210,235 +190,210,235 +189,209,235 +189,209,235 +188,208,234 +187,208,234 +186,207,234 +186,207,234 +185,206,234 +184,206,234 +183,205,234 +183,205,233 +182,204,233 +181,204,233 +180,204,233 +180,203,233 +179,203,233 +178,202,233 +177,202,232 +177,201,232 +176,201,232 +175,200,232 +174,200,232 +174,199,231 +173,199,231 +172,198,231 +171,198,231 +171,197,231 +170,197,231 +169,197,230 +168,196,230 +168,196,230 +167,195,230 +166,195,230 +166,194,229 +165,194,229 +164,193,229 +163,193,229 +163,192,228 +162,192,228 +161,191,228 +161,191,228 +160,191,227 +159,190,227 +159,190,227 +158,189,226 +157,189,226 +157,188,226 +156,188,226 +155,187,225 +155,187,225 +154,186,225 +153,186,224 +153,185,224 +152,185,223 +152,184,223 +151,184,223 +150,183,222 +150,183,222 +149,183,222 +149,182,221 +148,182,221 +147,181,221 +147,181,220 +146,180,220 +146,180,219 +145,179,219 +145,179,219 +144,178,218 +143,178,218 +143,177,217 +142,177,217 +142,176,217 +141,176,216 +141,175,216 +140,175,215 +139,175,215 +139,174,215 +138,174,214 +138,173,214 +137,173,213 +137,172,213 +136,172,212 +136,171,212 +135,171,212 +135,170,211 +134,170,211 +133,169,210 +133,169,210 +132,168,209 +132,168,209 +131,168,208 +131,167,208 +130,167,208 +130,166,207 +129,166,207 +129,165,206 +128,165,206 +128,164,205 +127,164,205 +127,163,204 +126,163,204 +126,162,203 +125,162,203 +125,161,202 +124,161,202 +124,160,201 +124,160,201 +123,160,200 +123,159,200 +122,159,199 +121,158,199 +121,158,199 +120,157,198 +120,157,198 +119,156,197 +119,156,197 +118,155,197 +118,155,196 +117,154,196 +116,154,195 +116,154,195 +115,153,195 +115,153,194 +114,152,194 +113,152,194 +113,151,193 +112,151,193 +111,150,193 +111,150,192 +110,150,192 +109,149,192 +109,149,191 +108,148,191 +107,148,191 +107,147,190 +106,147,190 +105,146,190 +105,146,190 +104,145,189 +103,145,189 +103,145,189 +102,144,188 +101,144,188 +100,143,188 +100,143,188 +99,142,187 +98,142,187 +97,142,187 +97,141,187 +96,141,186 +95,140,186 +94,140,186 +94,139,186 +93,139,185 +92,138,185 +91,138,185 +90,138,185 +90,137,184 +89,137,184 +88,136,184 +87,136,184 +86,135,184 +85,135,183 +84,135,183 +84,134,183 +83,134,183 +82,133,182 +81,133,182 +80,132,182 +79,132,182 +78,132,182 +77,131,181 +76,131,181 +75,130,181 +74,130,181 +74,129,181 +73,129,180 +72,129,180 +71,128,180 +70,128,180 +69,127,180 +67,127,179 +66,126,179 +65,126,179 +64,126,179 +63,125,179 +62,125,178 +61,124,178 +60,124,178 +59,124,178 diff --git a/colormaps/CET-L13.csv b/colormaps/CET-L13.csv new file mode 100644 index 0000000..d9d4502 --- /dev/null +++ b/colormaps/CET-L13.csv @@ -0,0 +1,256 @@ +0,0,0 +2,0,0 +4,1,0 +6,1,0 +8,2,0 +10,2,0 +12,2,0 +14,3,0 +16,3,0 +18,3,0 +19,4,0 +21,4,0 +22,4,0 +23,4,0 +25,5,0 +26,5,0 +27,5,0 +28,5,0 +30,6,0 +31,6,0 +32,6,0 +33,6,0 +34,6,0 +35,7,0 +36,7,0 +37,7,0 +38,7,0 +39,7,0 +40,8,0 +41,8,0 +41,8,0 +42,8,0 +43,8,0 +44,8,0 +45,8,0 +46,9,0 +46,9,0 +47,9,0 +48,9,0 +49,9,0 +50,9,0 +50,10,0 +51,10,0 +52,10,0 +53,10,0 +53,10,0 +54,10,0 +55,10,0 +55,10,0 +56,11,0 +57,11,0 +58,11,0 +58,11,0 +59,11,0 +60,11,0 +61,11,0 +61,12,0 +62,12,0 +63,12,0 +64,12,0 +64,12,0 +65,12,0 +66,12,0 +67,13,0 +68,13,0 +68,13,0 +69,13,0 +70,13,0 +71,13,0 +71,13,0 +72,14,0 +73,14,0 +74,14,0 +74,14,0 +75,14,0 +76,14,0 +77,15,0 +78,15,0 +78,15,0 +79,15,0 +80,15,0 +81,15,0 +81,15,0 +82,16,0 +83,16,0 +84,16,0 +85,16,0 +85,16,0 +86,16,0 +87,16,0 +88,17,0 +88,17,0 +89,17,0 +90,17,0 +91,17,0 +92,17,0 +92,17,0 +93,18,0 +94,18,0 +95,18,0 +96,18,0 +96,18,0 +97,18,0 +98,19,0 +99,19,0 +100,19,0 +100,19,0 +101,19,0 +102,19,0 +103,19,0 +104,20,0 +104,20,0 +105,20,0 +106,20,0 +107,20,0 +108,20,0 +109,20,0 +109,21,0 +110,21,0 +111,21,0 +112,21,0 +113,21,0 +113,21,0 +114,22,0 +115,22,0 +116,22,0 +117,22,0 +118,22,0 +118,22,0 +119,23,0 +120,23,0 +121,23,0 +122,23,0 +122,23,0 +123,23,0 +124,23,0 +125,24,0 +126,24,0 +127,24,0 +127,24,0 +128,24,0 +129,24,0 +130,25,0 +131,25,0 +132,25,0 +132,25,0 +133,25,0 +134,25,0 +135,25,0 +136,26,0 +137,26,0 +138,26,0 +138,26,0 +139,26,0 +140,26,0 +141,27,0 +142,27,0 +143,27,0 +143,27,0 +144,27,0 +145,27,0 +146,28,0 +147,28,0 +148,28,0 +149,28,0 +149,28,0 +150,28,0 +151,29,0 +152,29,0 +153,29,0 +154,29,0 +155,29,0 +155,29,0 +156,30,0 +157,30,0 +158,30,0 +159,30,0 +160,30,0 +161,30,0 +161,30,0 +162,31,0 +163,31,0 +164,31,0 +165,31,0 +166,31,0 +167,31,0 +168,32,0 +168,32,0 +169,32,0 +170,32,0 +171,32,0 +172,32,0 +173,33,0 +174,33,0 +175,33,0 +175,33,0 +176,33,0 +177,33,0 +178,34,0 +179,34,0 +180,34,0 +181,34,0 +182,34,0 +182,34,0 +183,35,0 +184,35,0 +185,35,0 +186,35,0 +187,35,0 +188,35,0 +189,36,0 +190,36,0 +190,36,0 +191,36,0 +192,36,0 +193,36,0 +194,37,0 +195,37,0 +196,37,0 +197,37,0 +198,37,0 +199,38,0 +199,38,0 +200,38,0 +201,38,0 +202,38,0 +203,38,0 +204,39,0 +205,39,0 +206,39,0 +207,39,0 +208,39,0 +208,39,0 +209,40,0 +210,40,0 +211,40,0 +212,40,0 +213,40,0 +214,40,0 +215,41,0 +216,41,0 +217,41,0 +218,41,0 +218,41,0 +219,41,0 +220,42,0 +221,42,0 +222,42,0 +223,42,0 +224,42,0 +225,42,0 +226,43,0 +227,43,0 +228,43,0 +229,43,0 +230,43,0 diff --git a/colormaps/CET-L14.csv b/colormaps/CET-L14.csv new file mode 100644 index 0000000..ca76b97 --- /dev/null +++ b/colormaps/CET-L14.csv @@ -0,0 +1,256 @@ +0,0,0 +0,1,0 +0,2,0 +0,3,0 +0,4,0 +0,5,0 +0,6,0 +0,6,0 +0,7,0 +0,8,0 +0,9,0 +0,10,0 +0,11,0 +0,12,0 +0,13,0 +0,13,0 +0,14,0 +0,15,0 +0,16,0 +0,16,0 +0,17,0 +0,18,0 +0,18,0 +0,19,0 +0,19,0 +0,20,0 +0,21,0 +0,21,0 +0,22,0 +0,22,0 +0,23,0 +0,23,0 +0,24,0 +0,24,0 +0,25,0 +0,25,0 +0,26,0 +0,26,0 +0,26,0 +0,27,0 +0,27,0 +0,28,0 +0,28,0 +0,29,0 +0,29,0 +0,29,0 +0,30,0 +0,30,0 +0,31,0 +0,31,0 +0,31,0 +0,32,0 +0,32,0 +0,33,0 +0,33,0 +0,34,0 +0,34,0 +0,34,0 +0,35,0 +0,35,0 +0,36,0 +0,36,0 +0,36,0 +0,37,0 +0,37,0 +0,38,0 +0,38,0 +0,39,0 +0,39,0 +0,39,0 +0,40,0 +0,40,0 +0,41,0 +0,41,0 +0,42,0 +0,42,0 +0,42,0 +0,43,0 +0,43,0 +0,44,0 +0,44,0 +0,45,0 +0,45,0 +0,45,0 +0,46,0 +0,46,0 +0,47,0 +0,47,0 +0,48,0 +0,48,0 +0,48,0 +0,49,0 +0,49,0 +0,50,0 +0,50,0 +0,51,0 +0,51,0 +0,52,0 +0,52,0 +0,52,0 +0,53,0 +0,53,0 +0,54,0 +0,54,0 +0,55,0 +0,55,0 +0,56,0 +0,56,0 +0,56,0 +0,57,0 +0,57,0 +0,58,0 +0,58,0 +0,59,0 +0,59,0 +0,60,0 +0,60,0 +0,60,0 +0,61,0 +0,61,0 +0,62,0 +0,62,0 +0,63,0 +0,63,0 +0,64,0 +0,64,0 +0,65,0 +0,65,0 +0,65,0 +0,66,0 +0,66,0 +0,67,0 +0,67,0 +0,68,0 +0,68,0 +0,69,0 +0,69,0 +0,70,0 +0,70,0 +0,71,0 +0,71,0 +0,71,0 +0,72,0 +0,72,0 +0,73,0 +0,73,0 +0,74,0 +0,74,0 +0,75,0 +0,75,0 +0,76,0 +0,76,0 +0,77,0 +0,77,0 +0,78,0 +0,78,0 +0,79,0 +0,79,0 +0,79,0 +0,80,0 +0,80,0 +0,81,0 +0,81,0 +0,82,0 +0,82,0 +0,83,0 +0,83,0 +0,84,0 +0,84,0 +0,85,0 +0,85,0 +0,86,0 +0,86,0 +0,87,0 +0,87,0 +0,88,0 +0,88,0 +0,89,0 +0,89,0 +0,90,0 +0,90,0 +0,90,0 +0,91,0 +0,91,0 +0,92,0 +0,92,0 +0,93,0 +0,93,0 +0,94,0 +0,94,0 +0,95,0 +0,95,0 +0,96,0 +0,96,0 +0,97,0 +0,97,0 +0,98,0 +0,98,0 +0,99,0 +0,99,0 +0,100,0 +0,100,0 +0,101,0 +0,101,0 +0,102,0 +0,102,0 +0,103,0 +0,103,0 +0,104,0 +0,104,0 +0,105,0 +0,105,0 +0,106,0 +0,106,0 +0,107,0 +0,107,0 +0,108,0 +0,108,0 +0,109,0 +0,109,0 +0,110,0 +0,110,0 +0,111,0 +0,111,0 +0,112,0 +0,112,0 +0,113,0 +0,113,0 +0,114,0 +0,114,0 +0,115,0 +0,115,0 +0,116,0 +0,116,0 +0,117,0 +0,117,0 +0,118,0 +0,118,0 +0,119,0 +0,119,0 +0,120,0 +0,120,0 +0,121,0 +0,121,0 +0,122,0 +0,122,0 +0,123,0 +0,123,0 +0,124,0 +0,124,0 +0,125,0 +0,125,0 +0,126,0 +0,126,0 +0,127,0 +0,128,0 diff --git a/colormaps/CET-L15.csv b/colormaps/CET-L15.csv new file mode 100644 index 0000000..13213c7 --- /dev/null +++ b/colormaps/CET-L15.csv @@ -0,0 +1,256 @@ +0,0,0 +0,1,2 +0,1,4 +1,2,6 +1,3,8 +1,3,10 +1,4,11 +1,4,13 +2,5,15 +2,6,17 +2,6,19 +2,7,20 +2,7,22 +2,8,24 +3,8,25 +3,9,27 +3,9,28 +3,10,30 +3,10,31 +3,11,33 +3,11,34 +4,12,35 +4,12,37 +4,13,38 +4,13,39 +4,13,40 +4,14,41 +4,14,43 +4,14,44 +4,15,45 +5,15,46 +5,15,47 +5,16,48 +5,16,49 +5,17,50 +5,17,51 +5,17,52 +5,17,53 +5,18,54 +5,18,55 +6,18,56 +6,19,57 +6,19,57 +6,19,58 +6,20,59 +6,20,60 +6,20,61 +6,20,62 +6,21,62 +6,21,63 +6,21,64 +6,21,65 +7,22,66 +7,22,67 +7,22,67 +7,23,68 +7,23,69 +7,23,70 +7,23,71 +7,24,72 +7,24,72 +7,24,73 +7,24,74 +7,25,75 +8,25,76 +8,25,77 +8,26,78 +8,26,78 +8,26,79 +8,26,80 +8,27,81 +8,27,82 +8,27,83 +8,28,83 +8,28,84 +9,28,85 +9,28,86 +9,29,87 +9,29,88 +9,29,89 +9,30,90 +9,30,90 +9,30,91 +9,30,92 +9,31,93 +9,31,94 +9,31,95 +10,32,96 +10,32,96 +10,32,97 +10,32,98 +10,33,99 +10,33,100 +10,33,101 +10,34,102 +10,34,103 +10,34,103 +10,34,104 +11,35,105 +11,35,106 +11,35,107 +11,36,108 +11,36,109 +11,36,110 +11,36,111 +11,37,111 +11,37,112 +11,37,113 +11,38,114 +12,38,115 +12,38,116 +12,39,117 +12,39,118 +12,39,119 +12,39,119 +12,40,120 +12,40,121 +12,40,122 +12,41,123 +12,41,124 +12,41,125 +13,42,126 +13,42,127 +13,42,128 +13,42,129 +13,43,129 +13,43,130 +13,43,131 +13,44,132 +13,44,133 +13,44,134 +13,45,135 +14,45,136 +14,45,137 +14,45,138 +14,46,139 +14,46,140 +14,46,140 +14,47,141 +14,47,142 +14,47,143 +14,48,144 +15,48,145 +15,48,146 +15,48,147 +15,49,148 +15,49,149 +15,49,150 +15,50,151 +15,50,152 +15,50,152 +15,51,153 +15,51,154 +16,51,155 +16,52,156 +16,52,157 +16,52,158 +16,52,159 +16,53,160 +16,53,161 +16,53,162 +16,54,163 +16,54,164 +16,54,165 +17,55,166 +17,55,167 +17,55,168 +17,56,168 +17,56,169 +17,56,170 +17,57,171 +17,57,172 +17,57,173 +17,57,174 +18,58,175 +18,58,176 +18,58,177 +18,59,178 +18,59,179 +18,59,180 +18,60,181 +18,60,182 +18,60,183 +18,61,184 +18,61,185 +19,61,186 +19,62,187 +19,62,188 +19,62,189 +19,63,190 +19,63,190 +19,63,191 +19,64,192 +19,64,193 +19,64,194 +20,64,195 +20,65,196 +20,65,197 +20,65,198 +20,66,199 +20,66,200 +20,66,201 +20,67,202 +20,67,203 +20,67,204 +21,68,205 +21,68,206 +21,68,207 +21,69,208 +21,69,209 +21,69,210 +21,70,211 +21,70,212 +21,70,213 +21,71,214 +21,71,215 +22,71,216 +22,72,217 +22,72,218 +22,72,219 +22,73,220 +22,73,221 +22,73,222 +22,74,223 +22,74,224 +22,74,225 +23,75,226 +23,75,227 +23,75,228 +23,76,229 +23,76,230 +23,76,231 +23,76,232 +23,77,233 +23,77,234 +23,77,235 +24,78,236 +24,78,237 +24,78,238 +24,79,239 +24,79,240 +24,79,241 +24,80,242 +24,80,243 +24,80,244 +24,81,245 +25,81,246 +25,81,247 +25,82,248 +25,82,249 +25,82,250 +25,83,251 +25,83,252 +25,83,253 +25,84,254 +26,84,255 diff --git a/colormaps/CET-L16.csv b/colormaps/CET-L16.csv new file mode 100644 index 0000000..50702c6 --- /dev/null +++ b/colormaps/CET-L16.csv @@ -0,0 +1,256 @@ +27,27,27 +29,27,32 +31,27,36 +32,27,41 +34,27,45 +35,27,49 +36,27,53 +37,27,58 +38,27,62 +39,27,66 +39,26,70 +40,26,74 +40,26,79 +41,26,83 +41,26,87 +41,26,91 +41,25,95 +41,25,99 +41,25,102 +41,25,106 +41,25,110 +40,25,114 +40,25,117 +39,25,121 +39,25,124 +38,25,128 +37,25,131 +37,25,134 +36,26,137 +35,26,140 +34,26,143 +33,26,146 +32,27,149 +31,27,152 +29,28,154 +28,29,157 +27,29,159 +25,30,162 +24,31,164 +23,32,166 +21,32,168 +20,33,170 +18,34,172 +17,35,173 +15,37,175 +14,38,176 +13,39,177 +12,40,178 +11,41,179 +10,43,180 +9,44,180 +9,46,181 +8,47,181 +8,48,182 +8,50,182 +8,51,182 +7,53,183 +7,54,183 +7,55,183 +7,57,183 +7,58,184 +7,60,184 +7,61,184 +7,62,184 +7,64,184 +7,65,184 +7,66,184 +7,68,184 +7,69,184 +7,70,184 +7,72,183 +7,73,183 +7,75,183 +7,76,183 +7,77,182 +7,79,182 +7,80,181 +7,81,181 +7,83,180 +7,84,180 +7,86,179 +7,87,178 +7,88,177 +7,90,176 +7,91,175 +6,93,174 +6,94,173 +6,95,172 +6,97,171 +6,98,170 +7,100,168 +8,101,167 +10,102,165 +12,104,164 +14,105,162 +16,106,160 +18,108,159 +20,109,157 +22,110,155 +24,111,153 +26,113,151 +27,114,149 +29,115,147 +31,116,145 +32,118,143 +34,119,141 +35,120,139 +36,121,137 +38,123,135 +39,124,133 +40,125,130 +41,126,128 +42,128,126 +43,129,123 +44,130,121 +44,131,119 +45,132,116 +46,134,114 +46,135,111 +47,136,109 +47,137,106 +48,139,103 +48,140,101 +48,141,98 +48,142,95 +49,143,92 +49,145,90 +49,146,87 +50,147,85 +50,148,83 +51,149,80 +52,150,78 +52,151,76 +53,152,74 +54,153,72 +55,154,70 +56,155,68 +58,156,66 +59,157,64 +60,158,62 +61,159,60 +63,160,58 +64,161,56 +66,162,55 +68,163,53 +69,164,51 +71,165,49 +73,166,48 +74,167,46 +76,168,44 +78,169,43 +80,170,41 +82,171,40 +84,172,38 +86,172,36 +88,173,35 +90,174,33 +92,175,32 +94,176,30 +96,177,29 +98,177,27 +101,178,26 +103,179,24 +105,180,23 +107,181,21 +110,181,20 +112,182,18 +114,183,17 +117,184,15 +119,184,14 +121,185,12 +124,186,11 +126,187,9 +128,187,8 +131,188,7 +133,189,6 +136,189,5 +138,190,4 +141,191,4 +143,191,3 +146,192,3 +148,193,3 +151,193,2 +153,194,2 +156,195,2 +158,195,2 +161,196,3 +163,197,3 +165,197,3 +168,198,3 +170,199,3 +172,199,4 +175,200,4 +177,200,5 +179,201,5 +182,202,6 +184,202,7 +186,203,8 +188,204,8 +190,204,9 +192,205,11 +195,206,12 +197,206,13 +199,207,14 +201,208,15 +203,208,16 +205,209,18 +207,210,19 +209,210,20 +211,211,22 +213,212,23 +215,213,24 +217,213,26 +218,214,27 +220,215,29 +222,215,30 +224,216,32 +226,217,33 +227,218,35 +229,218,36 +230,219,38 +232,220,40 +234,221,42 +235,222,43 +236,223,45 +238,223,47 +239,224,49 +240,225,51 +241,226,53 +242,227,56 +243,228,58 +244,229,61 +245,230,63 +245,231,66 +246,232,70 +247,233,73 +247,234,78 +248,235,82 +249,236,87 +250,237,92 +250,238,98 +251,239,104 +252,240,111 +252,241,118 +253,242,125 +254,243,133 +254,243,141 +255,244,150 +255,245,160 +255,246,170 +255,246,181 +255,247,193 +254,248,205 +253,248,219 +252,249,233 +249,249,249 diff --git a/colormaps/CET-L17.csv b/colormaps/CET-L17.csv new file mode 100644 index 0000000..dc9ce8e --- /dev/null +++ b/colormaps/CET-L17.csv @@ -0,0 +1,256 @@ +255,255,255 +255,254,252 +254,253,249 +254,253,247 +253,252,244 +253,251,241 +252,250,238 +252,250,235 +251,249,233 +251,248,230 +250,247,227 +250,247,224 +249,246,221 +248,245,219 +248,244,216 +247,243,213 +247,243,210 +246,242,207 +246,241,205 +245,240,202 +244,240,199 +244,239,196 +243,238,194 +242,237,191 +242,236,189 +242,235,187 +242,234,186 +242,233,184 +243,232,182 +243,231,180 +243,230,179 +243,229,177 +243,228,175 +243,227,174 +243,226,172 +243,225,170 +243,224,169 +242,223,167 +242,222,165 +242,221,164 +242,220,162 +242,219,160 +242,218,159 +242,217,157 +242,215,156 +242,214,154 +242,213,152 +242,212,151 +242,211,150 +242,210,148 +242,209,147 +243,208,146 +243,207,145 +243,205,144 +243,204,142 +243,203,141 +243,202,140 +243,201,139 +243,200,138 +243,198,136 +244,197,135 +244,196,134 +244,195,133 +244,194,132 +244,193,131 +244,191,129 +244,190,128 +244,189,127 +244,188,126 +244,187,125 +244,186,124 +244,184,123 +244,183,122 +244,182,122 +245,181,121 +245,179,120 +245,178,119 +245,177,119 +245,176,118 +245,174,117 +245,173,117 +245,172,116 +245,171,115 +245,170,115 +245,168,114 +245,167,113 +245,166,112 +245,164,112 +245,163,111 +245,162,110 +245,161,110 +245,159,109 +245,158,108 +245,157,108 +245,156,108 +245,154,107 +245,153,107 +245,152,107 +245,151,107 +245,149,106 +245,148,106 +245,147,106 +245,145,106 +245,144,106 +244,143,105 +244,141,105 +244,140,105 +244,139,105 +244,138,105 +244,136,104 +244,135,104 +244,134,104 +244,132,104 +243,131,103 +243,129,103 +243,128,103 +243,127,103 +243,126,103 +242,124,103 +242,123,103 +242,122,104 +242,120,104 +241,119,104 +241,118,104 +241,116,104 +240,115,104 +240,114,105 +240,112,105 +239,111,105 +239,110,105 +239,108,105 +238,107,106 +238,106,106 +238,104,106 +237,103,106 +237,102,106 +237,100,106 +236,99,106 +236,97,107 +236,96,107 +235,95,107 +234,93,108 +234,92,108 +233,91,109 +232,90,109 +232,88,110 +231,87,110 +231,86,110 +230,85,111 +229,83,111 +229,82,112 +228,81,112 +227,79,113 +227,78,113 +226,77,114 +225,75,114 +225,74,114 +224,73,115 +224,71,115 +223,70,116 +222,68,116 +222,67,117 +221,65,117 +220,64,117 +219,63,118 +218,62,119 +217,61,119 +216,60,120 +215,59,121 +214,58,121 +213,56,122 +212,55,122 +211,54,123 +210,53,124 +209,52,124 +208,51,125 +207,50,125 +206,48,126 +205,47,127 +204,46,127 +203,45,128 +202,43,128 +201,42,129 +200,41,130 +199,40,130 +197,38,131 +196,37,131 +195,37,132 +193,36,133 +192,35,133 +190,35,134 +189,34,135 +188,34,135 +186,33,136 +185,32,137 +183,32,137 +182,31,138 +180,31,138 +179,30,139 +177,29,140 +176,29,140 +174,28,141 +173,28,142 +171,27,142 +170,27,143 +168,26,144 +167,25,144 +165,25,145 +163,24,146 +162,24,146 +160,24,147 +158,25,147 +156,25,148 +154,26,148 +152,26,149 +150,26,150 +148,27,150 +146,27,151 +144,27,151 +142,28,152 +140,28,153 +137,28,153 +135,29,154 +133,29,154 +131,29,155 +129,29,155 +127,30,156 +124,30,157 +122,30,157 +120,30,158 +117,31,158 +115,31,159 +112,31,159 +110,32,160 +107,33,160 +104,33,160 +101,34,161 +98,35,161 +95,35,162 +92,36,162 +89,36,162 +85,37,163 +82,37,163 +78,38,163 +75,38,164 +71,39,164 +67,39,164 +62,39,165 +58,40,165 +52,40,166 +47,41,166 +41,41,166 +33,41,167 +24,42,167 +10,42,167 +0,42,168 diff --git a/colormaps/CET-L18.csv b/colormaps/CET-L18.csv new file mode 100644 index 0000000..392013e --- /dev/null +++ b/colormaps/CET-L18.csv @@ -0,0 +1,256 @@ +255,255,255 +254,255,252 +254,254,250 +253,254,247 +253,253,245 +252,253,242 +251,252,239 +251,252,237 +250,251,234 +250,251,232 +249,251,229 +248,250,227 +248,250,224 +247,249,221 +246,249,219 +246,248,216 +245,248,214 +244,247,211 +244,247,208 +243,247,206 +242,246,203 +242,246,201 +241,245,198 +240,245,196 +240,244,194 +240,244,192 +239,243,191 +239,242,189 +239,242,188 +239,241,186 +238,240,185 +238,240,183 +238,239,182 +238,238,180 +237,238,179 +237,237,177 +237,236,175 +236,236,174 +236,235,172 +236,234,171 +236,234,169 +235,233,168 +235,232,166 +235,232,165 +234,231,163 +234,230,162 +234,230,160 +234,229,159 +234,228,157 +233,228,156 +233,227,155 +233,226,153 +233,225,152 +233,225,151 +233,224,150 +233,223,148 +233,223,147 +232,222,146 +232,221,144 +232,220,143 +232,220,142 +232,219,140 +232,218,139 +232,218,138 +231,217,136 +231,216,135 +231,215,134 +231,215,132 +231,214,131 +231,213,130 +230,213,128 +230,212,127 +230,211,126 +230,210,125 +230,209,124 +230,209,123 +230,208,121 +230,207,120 +230,206,119 +230,206,118 +230,205,117 +230,204,116 +230,203,114 +230,203,113 +230,202,112 +230,201,111 +229,200,110 +229,200,109 +229,199,107 +229,198,106 +229,197,105 +229,196,104 +229,196,103 +229,195,102 +229,194,101 +229,193,100 +229,193,99 +229,192,98 +229,191,97 +229,190,96 +229,189,95 +229,189,94 +229,188,92 +228,187,91 +228,186,90 +228,185,89 +228,185,88 +228,184,87 +228,183,86 +228,182,85 +228,181,84 +228,181,83 +228,180,82 +228,179,81 +228,178,80 +228,177,79 +228,176,78 +228,176,77 +228,175,76 +228,174,76 +228,173,75 +228,172,74 +228,171,73 +228,171,72 +228,170,71 +228,169,70 +228,168,69 +227,167,69 +227,166,68 +227,166,67 +227,165,66 +227,164,65 +227,163,64 +227,162,63 +227,161,62 +227,161,62 +227,160,61 +227,159,60 +227,158,59 +227,157,58 +227,156,57 +227,155,57 +227,155,56 +227,154,55 +227,153,55 +227,152,54 +227,151,53 +227,150,52 +227,149,52 +227,148,51 +226,147,50 +226,147,50 +226,146,49 +226,145,48 +226,144,47 +226,143,47 +226,142,46 +226,141,45 +226,140,45 +226,139,44 +226,139,43 +226,138,42 +226,137,42 +226,136,41 +226,135,41 +226,134,40 +226,133,40 +225,132,39 +225,131,39 +225,130,38 +225,129,38 +225,128,37 +225,127,37 +225,127,36 +225,126,36 +225,125,35 +225,124,35 +225,123,34 +225,122,34 +225,121,33 +225,120,33 +224,119,32 +224,118,32 +224,117,31 +224,116,31 +224,115,30 +224,114,30 +224,113,30 +224,112,29 +224,111,29 +224,110,29 +224,109,29 +223,108,28 +223,107,28 +223,106,28 +223,105,28 +223,104,27 +223,103,27 +223,102,27 +223,101,27 +223,100,27 +222,99,26 +222,98,26 +222,97,26 +222,96,26 +222,95,25 +222,93,25 +222,92,25 +222,91,25 +221,90,25 +221,89,25 +221,88,25 +221,87,25 +221,86,25 +221,85,25 +221,83,25 +220,82,25 +220,81,25 +220,80,25 +220,79,25 +220,78,25 +220,76,25 +219,75,25 +219,74,25 +219,73,25 +219,71,25 +219,70,25 +219,69,25 +218,67,25 +218,66,25 +218,65,25 +218,63,25 +218,62,25 +218,61,25 +217,59,26 +217,58,26 +217,56,26 +217,55,26 +217,53,26 +216,52,27 +216,50,27 +216,48,27 +216,47,27 +215,45,27 +215,43,27 +215,41,28 +215,39,28 +215,37,28 +214,35,28 +214,33,28 +214,31,28 +214,28,29 +213,25,29 +213,22,29 +213,19,29 +213,15,29 diff --git a/colormaps/CET-L19.csv b/colormaps/CET-L19.csv new file mode 100644 index 0000000..035abd3 --- /dev/null +++ b/colormaps/CET-L19.csv @@ -0,0 +1,256 @@ +255,255,255 +254,255,255 +252,254,255 +251,254,255 +250,253,255 +249,253,254 +247,252,254 +246,252,254 +245,251,254 +244,251,254 +242,250,254 +241,250,254 +240,249,254 +239,249,254 +237,248,254 +236,248,253 +235,247,253 +233,247,253 +232,246,253 +231,246,253 +230,245,253 +228,245,253 +227,244,253 +226,244,253 +225,243,253 +224,243,253 +223,242,253 +222,241,253 +220,241,253 +219,240,253 +218,240,253 +217,239,253 +216,238,253 +215,238,253 +214,237,253 +213,237,253 +212,236,253 +211,236,253 +210,235,253 +209,234,253 +208,234,253 +207,233,254 +206,233,254 +205,232,254 +204,232,254 +203,231,254 +202,230,254 +201,230,254 +200,229,254 +200,228,254 +199,228,254 +198,227,254 +198,226,254 +197,226,254 +197,225,254 +196,224,254 +195,224,254 +195,223,254 +194,222,254 +193,222,255 +193,221,255 +192,220,255 +191,219,255 +191,219,255 +190,218,255 +189,217,255 +189,217,255 +188,216,255 +188,215,255 +187,215,255 +186,214,255 +186,213,255 +186,212,255 +186,212,255 +186,211,255 +186,210,255 +186,209,255 +186,208,254 +185,208,254 +185,207,254 +185,206,254 +185,205,254 +185,204,254 +185,204,254 +185,203,254 +185,202,254 +184,201,254 +184,201,254 +184,200,253 +184,199,253 +184,198,253 +184,197,253 +184,197,253 +184,196,253 +184,195,253 +184,194,252 +185,193,252 +185,192,251 +186,191,251 +186,190,251 +186,189,250 +187,188,250 +187,188,250 +187,187,249 +188,186,249 +188,185,248 +188,184,248 +189,183,248 +189,182,247 +189,181,247 +190,180,247 +190,179,246 +190,178,246 +191,177,245 +191,177,245 +191,176,245 +192,175,244 +192,174,244 +193,173,243 +194,172,242 +195,171,241 +195,170,241 +196,169,240 +197,168,239 +197,166,238 +198,165,238 +199,164,237 +199,163,236 +200,162,235 +201,161,235 +201,160,234 +202,159,233 +202,158,232 +203,157,232 +204,156,231 +204,155,230 +205,154,229 +205,153,229 +206,152,228 +206,151,227 +207,150,226 +208,149,225 +209,147,224 +209,146,222 +210,145,221 +211,144,220 +212,143,219 +212,142,218 +213,141,216 +214,139,215 +214,138,214 +215,137,213 +216,136,212 +216,135,211 +217,134,209 +218,132,208 +218,131,207 +219,130,206 +220,129,205 +220,128,204 +221,126,202 +221,125,201 +222,124,200 +223,123,199 +223,122,197 +224,120,195 +224,119,194 +225,118,192 +225,117,191 +226,116,189 +226,114,187 +227,113,186 +227,112,184 +228,111,183 +228,110,181 +229,108,180 +229,107,178 +230,106,176 +230,104,175 +231,103,173 +231,102,172 +232,101,170 +232,99,169 +232,98,167 +233,96,166 +233,95,164 +233,94,162 +234,93,160 +234,92,158 +234,90,157 +234,89,155 +234,88,153 +235,87,151 +235,85,149 +235,84,147 +235,83,145 +235,82,143 +235,80,141 +235,79,140 +235,78,138 +236,77,136 +236,75,134 +236,74,132 +236,73,130 +236,71,128 +236,70,126 +236,68,125 +236,67,123 +236,66,121 +236,64,119 +236,63,117 +235,62,115 +235,61,113 +235,60,111 +234,59,108 +234,58,106 +234,57,104 +234,56,102 +233,55,100 +233,54,98 +232,53,96 +232,52,94 +232,51,92 +231,50,90 +231,49,88 +231,48,86 +230,46,84 +230,45,82 +229,44,79 +229,43,77 +229,42,75 +228,40,73 +228,39,71 +227,39,69 +226,39,67 +225,38,65 +224,38,62 +224,38,60 +223,38,58 +222,37,56 +221,37,53 +220,37,51 +219,36,49 +219,36,47 +218,36,44 +217,36,42 +216,35,39 +215,35,37 +214,35,35 +213,34,32 +213,34,29 +212,34,27 +211,34,24 +210,34,21 +209,33,18 +208,33,14 diff --git a/colormaps/CET-L20.csv b/colormaps/CET-L20.csv new file mode 100644 index 0000000..c0e76ff --- /dev/null +++ b/colormaps/CET-L20.csv @@ -0,0 +1,256 @@ +48,48,48 +49,49,51 +50,49,53 +51,49,56 +52,50,59 +53,50,61 +54,50,64 +54,51,66 +55,51,69 +56,51,71 +57,52,74 +57,52,76 +58,52,79 +59,53,81 +59,53,84 +60,54,86 +60,54,89 +61,54,91 +61,55,94 +62,55,96 +62,55,99 +63,56,101 +63,56,104 +64,57,106 +64,57,108 +64,57,111 +65,58,113 +65,58,116 +65,59,118 +66,59,120 +66,60,123 +66,60,125 +66,61,127 +66,61,130 +67,62,132 +67,62,134 +67,63,137 +67,63,139 +67,64,141 +67,64,143 +67,65,145 +67,65,147 +67,66,150 +67,66,152 +67,67,154 +67,67,156 +67,68,158 +67,69,160 +67,69,162 +66,70,164 +66,71,166 +66,71,168 +66,72,169 +66,73,171 +66,73,173 +65,74,175 +65,75,176 +65,75,178 +65,76,180 +64,77,181 +64,78,183 +64,78,184 +63,79,186 +63,80,187 +63,81,188 +62,82,190 +62,83,191 +61,83,192 +61,84,193 +61,85,194 +60,86,195 +60,87,196 +59,88,197 +59,89,198 +58,90,198 +58,91,199 +58,92,200 +57,93,200 +57,94,200 +56,96,201 +55,97,201 +55,98,201 +54,99,201 +54,100,200 +53,101,200 +52,103,200 +52,104,199 +51,105,198 +50,107,197 +49,108,196 +48,110,195 +47,111,193 +46,112,192 +45,114,190 +43,116,187 +42,117,185 +41,119,183 +39,120,181 +38,122,179 +37,123,176 +36,124,174 +36,126,172 +35,127,170 +34,128,168 +34,130,166 +34,131,164 +34,132,161 +34,133,159 +34,134,157 +35,136,155 +36,137,153 +36,138,151 +37,139,149 +38,140,147 +40,141,145 +41,142,143 +42,143,141 +44,144,139 +45,145,137 +47,146,135 +49,147,133 +51,148,131 +53,149,129 +55,150,127 +57,151,125 +59,152,123 +61,152,121 +63,153,120 +66,154,118 +68,155,116 +70,156,114 +73,157,112 +75,157,110 +78,158,108 +80,159,106 +83,159,104 +85,160,103 +88,161,101 +91,162,99 +93,162,97 +96,163,95 +99,163,93 +102,164,91 +105,165,89 +108,165,87 +111,166,86 +113,166,84 +116,167,82 +119,167,80 +122,168,78 +124,168,76 +127,169,74 +130,169,72 +132,170,71 +135,170,69 +137,171,67 +140,171,65 +143,172,63 +145,172,61 +148,173,59 +150,173,58 +152,174,56 +155,174,54 +157,174,52 +160,175,50 +162,175,48 +165,176,46 +167,176,45 +170,176,43 +172,177,41 +175,177,39 +177,178,37 +180,178,36 +182,178,34 +185,179,32 +187,179,30 +190,179,29 +192,179,27 +195,180,25 +197,180,24 +200,180,23 +203,180,21 +205,181,20 +208,181,19 +211,181,19 +213,181,18 +216,181,18 +219,181,18 +221,182,18 +224,182,19 +226,182,19 +228,182,19 +230,183,19 +232,183,19 +233,184,20 +235,184,20 +236,185,20 +238,186,20 +239,186,20 +240,187,20 +241,188,20 +242,188,20 +243,189,20 +244,190,20 +245,191,20 +246,192,20 +247,193,20 +247,193,20 +248,194,20 +249,195,20 +249,196,20 +250,197,20 +250,198,20 +251,199,20 +251,200,20 +252,201,20 +252,202,20 +253,203,19 +253,204,19 +253,205,19 +253,207,19 +254,208,19 +254,209,19 +254,210,19 +254,211,19 +254,212,18 +254,213,18 +255,214,18 +255,216,18 +255,217,18 +255,218,18 +255,219,17 +255,220,17 +255,221,17 +255,223,17 +254,224,16 +254,225,16 +254,226,16 +254,227,16 +254,229,15 +254,230,15 +254,231,15 +253,232,15 +253,234,14 +253,235,14 +253,236,14 +252,237,13 +252,239,13 +252,240,13 +251,241,12 +251,242,12 +250,244,12 +250,245,11 +250,246,11 +249,247,10 +249,249,10 diff --git a/colormaps/CET-R1.csv b/colormaps/CET-R1.csv new file mode 100644 index 0000000..536afe8 --- /dev/null +++ b/colormaps/CET-R1.csv @@ -0,0 +1,256 @@ +0,48,245 +0,52,242 +0,55,238 +0,59,235 +3,62,231 +9,66,228 +14,69,225 +18,72,221 +20,74,218 +22,77,214 +23,80,211 +24,82,207 +25,85,204 +25,87,200 +25,90,197 +25,92,193 +25,94,190 +25,96,187 +24,99,183 +24,101,180 +24,103,177 +23,105,173 +23,106,170 +24,108,167 +24,110,164 +25,112,160 +27,113,157 +28,115,154 +30,117,151 +32,118,148 +34,120,145 +36,121,142 +39,122,139 +41,124,136 +43,125,133 +45,126,130 +47,128,127 +49,129,124 +51,130,121 +53,132,118 +54,133,115 +56,134,112 +57,136,109 +58,137,106 +59,138,103 +60,139,99 +61,141,96 +62,142,93 +62,143,90 +63,145,87 +63,146,83 +64,147,80 +64,149,77 +64,150,74 +65,151,70 +65,153,67 +65,154,63 +65,155,60 +66,156,56 +66,158,53 +67,159,50 +68,160,46 +69,161,43 +70,162,40 +71,163,37 +73,164,34 +75,165,31 +77,166,28 +79,167,26 +82,168,24 +84,169,22 +87,170,20 +90,171,19 +93,172,18 +96,173,17 +99,173,17 +102,174,16 +105,175,16 +108,176,16 +111,176,16 +114,177,17 +117,178,17 +121,179,17 +124,179,18 +127,180,18 +130,181,19 +132,182,19 +135,182,20 +138,183,20 +141,184,20 +144,184,21 +147,185,21 +150,186,22 +153,186,22 +155,187,23 +158,188,23 +161,188,24 +164,189,24 +166,190,25 +169,190,25 +172,191,25 +175,192,26 +177,192,26 +180,193,27 +183,194,27 +186,194,28 +188,195,28 +191,195,29 +194,196,29 +196,197,30 +199,197,30 +202,198,30 +204,199,31 +207,199,31 +210,200,32 +212,200,32 +215,201,33 +217,201,33 +220,202,34 +223,202,34 +225,202,34 +227,203,35 +230,203,35 +232,203,35 +234,203,36 +236,203,36 +238,203,36 +240,203,36 +241,202,36 +243,202,36 +244,201,36 +245,200,36 +246,200,36 +247,199,36 +248,197,36 +248,196,36 +249,195,36 +249,194,35 +249,192,35 +250,191,35 +250,190,35 +250,188,34 +250,187,34 +250,185,34 +250,184,33 +250,182,33 +250,180,33 +250,179,32 +249,177,32 +249,176,32 +249,174,31 +249,173,31 +249,171,31 +249,169,30 +249,168,30 +249,166,30 +248,165,29 +248,163,29 +248,161,29 +248,160,29 +248,158,28 +248,157,28 +248,155,28 +247,153,27 +247,152,27 +247,150,27 +247,148,26 +247,147,26 +246,145,26 +246,143,26 +246,142,25 +246,140,25 +246,138,25 +245,137,24 +245,135,24 +245,133,24 +245,132,24 +244,130,23 +244,128,23 +244,127,23 +244,125,23 +244,123,22 +243,121,22 +243,119,22 +243,118,22 +243,116,21 +242,114,21 +242,112,21 +242,110,21 +241,109,21 +241,107,21 +241,105,21 +241,103,21 +240,101,21 +240,100,22 +240,98,22 +240,96,23 +240,95,24 +240,93,26 +240,92,27 +240,90,29 +240,89,31 +240,88,33 +240,87,36 +240,87,38 +241,86,41 +241,86,44 +242,86,47 +242,86,51 +243,86,54 +243,87,58 +244,88,62 +245,88,65 +245,89,69 +246,90,73 +247,91,77 +247,92,82 +248,94,86 +249,95,90 +249,96,94 +250,97,98 +251,99,102 +251,100,106 +252,101,111 +252,103,115 +253,104,119 +253,105,123 +254,107,128 +254,108,132 +255,109,136 +255,111,140 +255,112,145 +255,114,149 +255,115,153 +255,116,157 +255,118,162 +255,119,166 +255,120,170 +255,122,175 +255,123,179 +255,125,183 +255,126,188 +255,127,192 +255,129,196 +255,130,201 +255,132,205 +255,133,210 +255,134,214 +255,136,219 +255,137,223 +255,139,227 +255,140,232 +255,141,236 +254,143,241 +254,144,245 +253,146,250 diff --git a/colormaps/CET-R2.csv b/colormaps/CET-R2.csv new file mode 100644 index 0000000..27fdcc3 --- /dev/null +++ b/colormaps/CET-R2.csv @@ -0,0 +1,256 @@ +0,52,245 +0,55,243 +0,58,240 +0,60,237 +0,63,234 +0,65,231 +0,68,229 +0,70,226 +0,72,223 +0,74,220 +0,77,217 +0,79,214 +0,81,212 +0,83,209 +0,85,206 +0,87,203 +0,89,201 +0,90,198 +0,92,195 +0,94,192 +0,96,189 +0,98,187 +0,99,184 +0,101,181 +0,103,178 +0,104,176 +0,106,173 +0,108,170 +0,109,167 +0,111,165 +0,112,162 +0,113,160 +0,115,157 +0,116,154 +0,117,152 +1,118,149 +8,119,147 +14,120,145 +20,122,142 +24,123,140 +28,124,137 +32,125,135 +35,126,133 +38,127,130 +41,128,128 +43,129,126 +45,130,123 +47,131,121 +49,132,118 +51,133,116 +52,134,114 +53,135,111 +55,136,109 +56,137,106 +57,138,104 +58,139,101 +59,140,99 +59,141,96 +60,142,94 +61,143,91 +61,144,88 +62,145,86 +62,146,83 +62,147,80 +63,148,78 +63,149,75 +63,150,72 +63,152,69 +63,153,66 +63,154,63 +63,155,60 +63,156,57 +63,157,53 +63,158,50 +63,159,47 +63,160,43 +63,161,40 +64,162,36 +64,163,33 +65,164,30 +66,165,27 +68,166,24 +70,166,22 +72,167,20 +74,168,18 +77,169,16 +79,169,16 +82,170,15 +85,171,15 +87,171,15 +90,172,15 +93,172,15 +96,173,16 +98,174,16 +101,174,17 +104,175,17 +106,175,18 +109,176,18 +111,177,18 +114,177,19 +116,178,19 +119,178,20 +121,179,20 +124,180,21 +126,180,21 +129,181,22 +131,181,22 +133,182,23 +136,182,23 +138,183,24 +140,183,24 +143,184,25 +145,185,25 +147,185,26 +150,186,26 +152,186,26 +154,187,27 +156,187,27 +159,188,28 +161,188,28 +163,189,29 +165,190,29 +168,190,30 +170,191,30 +172,191,31 +174,192,31 +176,192,31 +179,193,32 +181,193,32 +183,194,33 +185,194,33 +187,195,34 +190,195,34 +192,196,35 +194,196,35 +196,197,35 +198,197,36 +200,198,36 +203,198,37 +205,199,37 +207,199,38 +209,200,38 +211,200,39 +213,201,39 +215,201,39 +218,202,40 +220,202,40 +222,203,41 +224,203,41 +226,203,42 +228,204,42 +230,204,43 +232,205,43 +234,205,43 +236,205,44 +238,205,44 +240,205,44 +242,205,44 +244,205,44 +245,205,44 +246,204,44 +248,204,44 +249,203,44 +249,202,44 +250,201,43 +251,200,43 +251,199,42 +252,197,42 +252,196,41 +252,195,41 +252,194,40 +253,192,40 +253,191,39 +253,190,39 +253,188,38 +253,187,38 +253,186,37 +254,184,37 +254,183,36 +254,181,35 +254,180,35 +254,179,34 +254,177,34 +254,176,33 +254,175,33 +255,173,32 +255,172,31 +255,170,31 +255,169,30 +255,168,30 +255,166,29 +255,165,29 +255,163,28 +255,162,28 +255,161,27 +255,159,26 +255,158,26 +255,156,25 +255,155,25 +255,153,24 +255,152,24 +255,150,23 +255,149,22 +255,147,22 +255,146,21 +255,145,21 +255,143,20 +255,142,20 +255,140,19 +255,139,18 +255,137,18 +255,136,17 +255,134,17 +255,132,16 +255,131,16 +255,129,15 +255,128,14 +255,126,14 +255,125,13 +255,123,13 +255,121,12 +255,120,11 +255,118,11 +255,116,10 +255,115,10 +255,113,9 +255,111,8 +255,110,8 +255,108,7 +255,106,7 +255,105,6 +255,103,6 +255,101,5 +255,99,5 +255,97,4 +255,95,4 +255,94,3 +255,92,3 +255,90,3 +255,88,2 +254,86,2 +254,84,2 +254,82,1 +254,79,1 +254,77,1 +254,75,0 +254,73,0 +254,70,0 +254,68,0 +253,65,0 +253,63,0 +253,60,0 +253,57,0 +253,54,0 +253,51,0 +253,48,0 diff --git a/colormaps/CET-R3.csv b/colormaps/CET-R3.csv new file mode 100644 index 0000000..4a14f35 --- /dev/null +++ b/colormaps/CET-R3.csv @@ -0,0 +1,256 @@ +8,92,248 +15,95,244 +19,97,241 +23,99,237 +25,101,233 +27,103,229 +28,106,225 +29,108,222 +29,110,218 +30,112,214 +29,114,210 +29,116,206 +28,117,203 +27,119,199 +25,121,195 +24,123,191 +22,125,187 +20,126,184 +19,128,180 +18,130,176 +18,131,172 +19,133,168 +20,134,164 +23,136,160 +26,137,156 +29,138,152 +32,140,147 +35,141,143 +39,142,139 +42,143,134 +45,144,130 +47,146,126 +49,147,121 +52,148,117 +53,149,112 +55,150,108 +56,151,103 +57,152,98 +58,154,94 +59,155,89 +59,156,84 +59,157,80 +60,158,75 +60,159,70 +60,160,66 +61,161,61 +61,162,57 +62,163,53 +63,164,49 +65,165,46 +66,166,43 +68,167,40 +71,168,38 +73,168,36 +76,169,34 +78,170,33 +81,170,32 +84,171,32 +87,172,31 +90,172,31 +92,173,30 +95,174,30 +98,174,30 +101,175,30 +103,175,29 +106,176,29 +108,177,29 +111,177,29 +114,178,29 +116,178,29 +119,179,28 +121,180,28 +123,180,28 +126,181,28 +128,181,27 +131,182,27 +133,182,27 +135,183,27 +138,184,27 +140,184,26 +142,185,26 +145,185,26 +147,186,26 +149,186,25 +151,187,25 +154,187,25 +156,188,25 +158,189,24 +160,189,24 +163,190,24 +165,190,24 +167,191,23 +169,191,23 +171,192,23 +174,192,22 +176,193,22 +178,193,22 +180,194,21 +182,194,21 +184,195,21 +187,195,20 +189,196,20 +191,197,20 +193,197,19 +195,198,19 +197,198,19 +199,199,18 +202,199,18 +204,200,18 +206,200,17 +208,201,17 +210,201,16 +212,202,16 +214,202,15 +216,203,15 +219,203,14 +221,203,14 +223,204,14 +225,204,14 +227,205,14 +229,205,14 +231,205,15 +233,206,16 +235,206,18 +237,206,20 +239,205,22 +241,205,25 +243,205,28 +244,204,31 +246,203,35 +247,202,38 +248,201,41 +249,200,45 +249,199,48 +250,198,51 +250,197,54 +251,195,57 +251,194,60 +252,192,63 +252,191,65 +252,190,68 +252,188,70 +252,187,72 +253,185,75 +253,184,77 +253,182,79 +253,181,81 +253,179,83 +253,178,85 +254,176,87 +254,175,89 +254,173,91 +254,172,93 +254,170,95 +254,169,97 +254,167,99 +254,166,101 +254,164,102 +254,163,104 +254,161,106 +254,160,108 +255,158,109 +255,157,111 +255,155,113 +255,154,114 +255,152,116 +255,151,117 +255,149,119 +255,147,121 +255,146,122 +255,144,124 +255,143,125 +255,141,127 +254,139,128 +254,138,130 +254,136,132 +254,134,133 +254,133,135 +254,131,136 +254,129,138 +254,128,139 +254,126,140 +254,124,142 +254,122,143 +253,121,145 +253,119,146 +253,117,148 +253,115,149 +253,113,151 +253,112,152 +253,110,153 +252,108,155 +252,106,156 +252,104,158 +252,102,159 +252,100,160 +251,98,162 +251,96,163 +251,94,164 +251,92,165 +250,90,166 +250,88,167 +250,86,168 +250,84,168 +249,82,168 +249,80,168 +249,78,167 +248,76,166 +248,74,165 +248,73,163 +247,71,161 +247,70,158 +247,68,156 +246,67,153 +246,66,150 +246,64,146 +245,63,143 +245,62,140 +244,61,136 +244,60,133 +243,58,130 +243,57,126 +242,56,123 +241,55,120 +241,54,116 +240,52,113 +240,51,109 +239,50,106 +238,49,103 +238,47,99 +237,46,96 +236,45,93 +235,44,89 +235,42,86 +234,41,83 +233,40,79 +232,38,76 +232,37,73 +231,36,69 +230,34,66 +229,33,63 +228,32,59 +227,30,56 +226,29,53 +226,27,49 +225,26,46 +224,24,42 +223,22,38 +222,20,35 +221,19,31 +220,17,27 +219,15,23 +218,12,18 +217,10,12 +216,7,6 +215,5,0 diff --git a/colormaps/CET-R4.csv b/colormaps/CET-R4.csv new file mode 100644 index 0000000..a2e9832 --- /dev/null +++ b/colormaps/CET-R4.csv @@ -0,0 +1,256 @@ +4,0,108 +4,0,111 +4,0,114 +4,0,117 +4,0,120 +4,0,123 +4,0,126 +4,0,129 +4,0,132 +5,0,135 +5,0,138 +5,0,141 +5,0,145 +5,0,148 +5,0,151 +5,1,154 +5,1,156 +5,1,159 +5,2,162 +6,2,165 +6,3,167 +6,4,170 +6,6,172 +7,7,175 +7,9,177 +8,11,179 +8,13,181 +9,15,183 +9,17,185 +10,19,187 +10,21,189 +11,23,191 +11,24,193 +12,26,195 +12,28,197 +12,29,199 +13,31,201 +13,32,203 +14,34,205 +14,36,207 +14,37,209 +15,39,210 +15,40,212 +15,42,214 +16,43,216 +16,44,218 +16,46,220 +16,47,222 +17,49,224 +17,50,226 +17,52,228 +17,53,230 +18,55,232 +18,56,233 +18,58,235 +19,59,237 +20,61,238 +20,63,239 +21,65,240 +23,67,240 +24,69,240 +25,71,239 +27,74,238 +28,77,237 +29,80,235 +30,83,232 +31,86,229 +31,89,226 +32,92,222 +31,95,218 +31,98,214 +29,101,210 +28,104,206 +26,106,202 +23,109,197 +20,112,193 +17,115,188 +13,117,184 +9,120,179 +7,122,174 +5,125,170 +6,127,165 +8,129,160 +12,131,155 +16,133,150 +21,135,144 +25,137,139 +29,139,133 +33,141,128 +36,142,122 +39,144,116 +42,146,110 +43,148,104 +45,149,98 +46,151,92 +47,153,86 +48,155,80 +48,156,74 +48,158,68 +49,160,62 +49,161,56 +50,163,50 +51,164,44 +53,166,39 +55,167,34 +57,169,29 +60,170,25 +63,171,21 +67,173,17 +70,174,14 +74,175,12 +78,176,10 +82,177,8 +86,178,8 +90,179,7 +93,180,6 +97,181,6 +101,182,6 +104,183,6 +108,184,6 +111,186,5 +115,187,5 +118,188,5 +122,189,5 +125,190,5 +128,191,5 +131,192,5 +135,193,5 +138,194,4 +141,195,4 +144,196,4 +147,197,4 +150,198,4 +154,199,4 +157,200,4 +160,201,4 +163,202,4 +166,203,3 +169,204,3 +172,205,3 +175,206,3 +178,207,3 +181,208,3 +184,209,3 +187,210,3 +190,211,2 +193,212,2 +196,213,2 +199,214,2 +202,215,2 +205,216,2 +208,217,2 +211,217,2 +214,218,2 +217,219,2 +220,220,2 +223,221,2 +225,222,2 +228,222,2 +231,223,2 +234,223,2 +236,223,2 +238,223,2 +240,222,3 +242,222,3 +244,221,4 +245,220,5 +247,218,5 +248,217,6 +248,215,7 +249,214,7 +250,212,8 +250,210,9 +250,208,10 +250,206,11 +251,204,11 +251,202,12 +251,200,13 +251,198,13 +251,196,14 +251,194,14 +251,192,15 +251,190,15 +251,188,16 +252,186,16 +252,184,17 +252,182,17 +252,180,18 +252,178,18 +252,176,19 +252,174,19 +252,172,19 +252,169,20 +252,167,20 +252,165,20 +252,163,21 +252,161,21 +252,159,21 +252,157,21 +252,154,21 +252,152,22 +252,150,22 +252,148,22 +252,145,22 +252,143,21 +252,141,21 +252,138,21 +252,136,21 +252,134,20 +252,131,20 +253,128,20 +253,126,19 +253,123,19 +253,121,19 +253,118,18 +254,115,18 +254,112,17 +254,110,17 +254,107,17 +254,104,16 +254,101,16 +254,98,16 +254,95,15 +254,91,15 +254,88,15 +254,85,14 +254,81,14 +254,78,14 +254,74,14 +254,71,14 +254,67,13 +253,63,13 +253,60,13 +252,56,13 +251,53,13 +250,50,13 +249,47,13 +248,44,13 +246,41,13 +245,39,13 +243,36,13 +241,34,13 +240,32,13 +238,31,13 +236,29,13 +234,27,13 +232,25,13 +230,23,13 +228,22,13 +226,20,13 +224,18,13 +222,16,13 +220,13,13 +219,11,13 +217,8,13 +215,5,13 diff --git a/colormaps/rainbow.csv b/colormaps/rainbow.csv new file mode 100644 index 0000000..6a98269 --- /dev/null +++ b/colormaps/rainbow.csv @@ -0,0 +1,256 @@ +237,92,129 +238,93,127 +238,94,126 +239,95,124 +239,96,122 +240,97,120 +240,98,118 +241,99,117 +241,100,115 +241,102,113 +242,103,111 +242,104,109 +242,105,107 +243,106,104 +243,107,102 +243,108,100 +243,109,97 +243,111,95 +244,112,93 +244,113,90 +244,114,87 +244,115,84 +244,116,82 +244,118,78 +244,119,75 +244,120,72 +245,121,69 +245,122,65 +245,124,61 +245,125,57 +245,126,52 +244,127,47 +244,128,41 +244,130,34 +244,131,26 +243,133,28 +241,135,30 +240,136,32 +239,138,34 +237,140,36 +236,141,37 +235,143,39 +234,144,40 +233,146,41 +232,147,43 +231,149,44 +230,150,45 +229,151,46 +228,153,47 +227,154,48 +226,155,49 +225,156,50 +225,158,51 +224,159,52 +223,160,53 +222,161,54 +221,162,55 +221,163,56 +220,164,57 +219,166,58 +219,167,59 +218,168,60 +217,169,60 +216,170,61 +216,171,62 +215,172,63 +214,173,64 +214,174,65 +213,175,65 +212,176,66 +212,177,67 +211,178,68 +211,179,69 +210,180,69 +209,181,70 +209,182,71 +208,183,72 +207,184,73 +207,185,74 +206,186,75 +205,187,75 +205,188,76 +204,189,77 +203,190,78 +203,191,79 +202,192,80 +201,193,81 +200,194,82 +200,195,83 +199,195,84 +198,196,85 +198,197,85 +196,197,85 +194,197,85 +192,197,85 +190,197,85 +188,196,85 +186,196,85 +184,196,84 +182,196,84 +180,196,84 +178,196,84 +176,195,84 +174,195,83 +172,195,83 +170,195,83 +168,194,83 +166,194,83 +164,194,83 +162,194,82 +160,194,82 +158,193,82 +156,193,82 +153,193,82 +151,193,81 +149,193,81 +146,193,81 +144,192,81 +141,192,81 +139,192,81 +136,192,80 +133,192,80 +131,191,80 +128,191,80 +125,191,79 +122,191,79 +119,191,79 +115,191,79 +112,191,78 +108,191,78 +104,190,78 +100,190,78 +96,190,77 +91,190,77 +86,190,77 +81,190,77 +77,190,78 +77,189,84 +77,188,89 +78,187,93 +78,186,97 +79,185,101 +79,185,104 +79,184,107 +80,183,109 +80,182,112 +80,181,114 +81,180,116 +81,180,118 +81,179,120 +82,178,121 +82,177,123 +82,177,124 +82,176,125 +83,175,127 +83,174,128 +83,174,129 +83,173,130 +83,172,131 +84,171,132 +84,171,132 +84,170,133 +84,169,134 +84,168,135 +84,168,135 +84,167,136 +85,166,136 +85,166,137 +85,165,137 +85,164,138 +85,163,138 +85,163,138 +85,162,139 +85,161,139 +85,161,139 +85,160,140 +85,159,140 +86,159,140 +86,158,140 +86,157,140 +86,156,141 +86,156,141 +86,155,141 +86,154,141 +86,154,141 +86,153,141 +86,152,141 +86,152,141 +86,151,141 +86,150,141 +86,150,141 +86,149,141 +86,148,141 +86,148,141 +86,147,141 +86,146,141 +86,146,141 +86,145,141 +86,145,141 +86,144,141 +86,143,141 +86,143,141 +86,142,141 +86,141,140 +86,141,140 +85,140,140 +85,139,140 +85,139,140 +84,138,140 +84,138,140 +84,137,140 +83,136,140 +83,136,140 +83,135,140 +82,135,140 +82,134,139 +82,133,139 +81,133,139 +81,132,139 +81,132,139 +80,131,139 +80,130,139 +80,130,139 +79,129,139 +79,129,139 +79,128,139 +78,127,139 +78,127,139 +78,126,139 +77,126,139 +77,125,139 +77,124,139 +76,124,139 +76,123,139 +76,123,139 +75,122,139 +75,121,139 +75,121,139 +74,120,139 +74,120,139 +74,119,139 +73,118,139 +73,118,139 +72,117,139 +72,116,139 +72,116,139 +71,115,140 +71,115,140 +71,114,140 +70,113,140 +70,113,141 +69,112,141 +69,111,141 +69,111,142 +68,110,142 +68,109,143 \ No newline at end of file diff --git a/colormaps/rainbow2.csv b/colormaps/rainbow2.csv new file mode 100644 index 0000000..16aec6a --- /dev/null +++ b/colormaps/rainbow2.csv @@ -0,0 +1,256 @@ +255,65,130 +255,67,126 +255,68,122 +255,70,118 +255,71,114 +255,72,109 +255,74,104 +255,75,99 +255,76,92 +255,78,85 +255,80,78 +255,87,76 +255,93,74 +255,98,72 +255,102,70 +255,106,68 +255,110,66 +255,113,64 +255,117,61 +255,120,59 +255,122,56 +255,125,53 +255,127,50 +255,130,47 +255,132,43 +255,134,39 +255,136,34 +255,138,28 +255,140,21 +255,142,10 +254,144,2 +253,146,8 +251,149,14 +249,151,18 +248,153,22 +247,155,25 +245,157,28 +244,158,30 +243,160,32 +241,162,34 +240,164,36 +239,165,38 +238,167,40 +237,169,42 +236,170,43 +235,172,45 +234,173,46 +233,175,48 +232,176,49 +231,178,50 +230,179,52 +229,180,53 +228,182,54 +227,183,56 +226,185,57 +225,186,58 +224,187,60 +223,189,61 +223,190,62 +222,191,63 +221,193,65 +220,194,66 +219,195,67 +218,197,69 +217,198,70 +216,199,71 +215,201,72 +214,202,74 +213,203,75 +212,204,77 +211,206,78 +210,207,79 +209,208,81 +207,209,81 +204,208,81 +202,208,81 +199,208,81 +196,208,80 +194,207,80 +191,207,80 +188,207,80 +186,207,80 +183,206,79 +180,206,79 +177,206,79 +175,206,79 +172,205,79 +169,205,79 +166,205,78 +163,205,78 +160,204,78 +156,204,78 +153,204,78 +150,204,77 +146,203,77 +143,203,77 +139,203,77 +135,203,76 +131,203,76 +127,202,76 +122,202,76 +118,202,75 +113,202,75 +107,202,75 +101,202,75 +95,201,74 +88,201,74 +80,201,73 +73,201,75 +74,200,84 +75,199,91 +76,198,97 +76,196,102 +77,195,107 +77,194,111 +78,193,114 +78,192,118 +79,191,121 +79,190,123 +80,189,126 +80,188,128 +81,187,130 +81,186,132 +82,185,133 +82,184,135 +82,183,136 +83,182,137 +83,181,139 +83,180,140 +83,179,141 +84,178,141 +84,177,142 +84,176,143 +84,175,144 +85,174,144 +85,173,145 +85,172,146 +85,171,146 +85,170,146 +86,169,147 +86,168,147 +86,167,147 +86,166,148 +86,166,148 +86,165,148 +86,164,148 +86,163,149 +87,162,149 +87,161,149 +87,160,149 +87,159,149 +87,158,149 +87,157,149 +87,157,149 +87,156,149 +87,155,149 +87,154,149 +87,153,149 +87,152,149 +87,151,149 +87,150,149 +87,149,148 +87,149,148 +87,148,148 +86,147,148 +86,146,148 +85,145,148 +85,145,148 +85,144,148 +84,143,148 +84,142,148 +83,141,148 +83,141,147 +82,140,147 +82,139,147 +82,138,147 +81,137,147 +81,137,147 +80,136,147 +80,135,147 +79,134,147 +79,133,147 +78,132,147 +78,132,147 +78,131,147 +77,130,147 +77,129,147 +76,128,147 +76,128,147 +75,127,147 +75,126,147 +74,125,147 +74,124,147 +73,124,148 +73,123,148 +72,122,148 +72,121,148 +71,120,149 +71,119,149 +70,118,150 +70,118,150 +69,117,151 +69,116,151 +68,115,152 +67,114,153 +67,113,154 +66,112,155 +65,111,156 +64,110,158 +64,109,159 +63,108,161 +62,107,163 +61,106,165 +60,105,168 +58,103,171 +57,102,175 +55,100,180 +53,98,185 +50,96,192 +47,94,200 +42,90,211 +34,86,225 +16,78,245 +22,70,255 +44,64,255 +61,59,255 +75,54,255 +87,49,255 +97,43,255 +107,39,255 +115,35,255 +122,31,255 +128,27,255 +135,22,255 +140,16,255 +145,7,255 +150,2,254 +153,13,249 +156,20,244 +158,24,240 +161,28,236 +163,31,232 +165,34,229 +167,36,226 +169,38,224 +171,40,221 +173,42,219 +175,43,217 +176,45,215 +178,46,213 +180,47,211 +181,48,209 +183,49,207 +185,50,206 +186,51,204 +188,52,203 diff --git a/src/core/ColorMap.cpp b/src/core/ColorMap.cpp new file mode 100644 index 0000000..4bc86f7 --- /dev/null +++ b/src/core/ColorMap.cpp @@ -0,0 +1,147 @@ +/* +* Copyright (c) 2016, UChicago Argonne, LLC. All rights reserved. +* +* Copyright 2016. UChicago Argonne, LLC. This software was produced +* under U.S. Government contract DE-AC02-06CH11357 for Argonne National +* Laboratory (ANL), which is operated by UChicago Argonne, LLC for the +* U.S. Department of Energy. The U.S. Government has rights to use, +* reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR +* UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR +* ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is +* modified to produce derivative works, such modified software should +* be clearly marked, so as not to confuse it with the version available +* from ANL. + +* Additionally, redistribution and use in source and binary forms, with +* or without modification, are permitted provided that the following +* conditions are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* * Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the +* distribution. +* +* * Neither the name of UChicago Argonne, LLC, Argonne National +* Laboratory, ANL, the U.S. Government, nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. + +* THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago +* Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include "core/defines.h" +#include +#include +#include +#include + +/*---------------------------------------------------------------------------*/ + +ColorMap* ColorMap::_inst = nullptr; + +ColorMap::ColorMap() +{ + + +} + +/*---------------------------------------------------------------------------*/ + +ColorMap::~ColorMap() +{ + + +} + +/*---------------------------------------------------------------------------*/ + +ColorMap* ColorMap::inst() +{ + + if (_inst == nullptr) + _inst = new ColorMap(); + + return _inst; + +} + +/*---------------------------------------------------------------------------*/ + +QVector* ColorMap::get_color_map(QString name) +{ + if (_color_maps.count(name) > 0) + { + return &_color_maps[name]; + } + return nullptr; +} + +/*---------------------------------------------------------------------------*/ + +void ColorMap::reload_color_maps() +{ + QString colormapDir = QCoreApplication::applicationDirPath(); + QDir directory(colormapDir); + directory.cd("../colormaps"); + + if (!directory.exists()) + { + QString warn_msg = "Cannot find the "+ colormapDir +" directory"; + qWarning(warn_msg.toStdString().c_str()); + //logW<< "Cannot find the " << directory.path()<<"\n"; + return; + } + directory.setFilter(QDir::Files | QDir::NoSymLinks); + + QFileInfoList list = directory.entryInfoList(); + + for (int i = 0; i < list.size(); ++i) + { + QFileInfo fileInfo = list.at(i); + if (fileInfo.suffix() == "csv") + { + QFile inputFile(fileInfo.absoluteFilePath()); + if (inputFile.open(QIODevice::ReadOnly)) + { + QVector vrgb; + QTextStream in(&inputFile); + while (!in.atEnd()) + { + QString line = in.readLine(); + QStringList values = line.split(','); + if (values.size() == 3) + { + vrgb.append(qRgb(values[0].toInt(), values[1].toInt(), values[2].toInt())); + } + } + inputFile.close(); + _color_maps[fileInfo.baseName()] = vrgb; + } + else + { + QString warn_msg = "Cannot open colormap " + fileInfo.absoluteFilePath(); + qWarning(warn_msg.toStdString().c_str()); + } + + + } + } + +} + +/*---------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/src/core/ColorMap.h b/src/core/ColorMap.h new file mode 100644 index 0000000..374b471 --- /dev/null +++ b/src/core/ColorMap.h @@ -0,0 +1,98 @@ +/* +* Copyright (c) 2016, UChicago Argonne, LLC. All rights reserved. +* +* Copyright 2016. UChicago Argonne, LLC. This software was produced +* under U.S. Government contract DE-AC02-06CH11357 for Argonne National +* Laboratory (ANL), which is operated by UChicago Argonne, LLC for the +* U.S. Department of Energy. The U.S. Government has rights to use, +* reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR +* UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR +* ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is +* modified to produce derivative works, such modified software should +* be clearly marked, so as not to confuse it with the version available +* from ANL. + +* Additionally, redistribution and use in source and binary forms, with +* or without modification, are permitted provided that the following +* conditions are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* * Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the +* distribution. +* +* * Neither the name of UChicago Argonne, LLC, Argonne National +* Laboratory, ANL, the U.S. Government, nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. + +* THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago +* Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _COLOR_MAP_H +#define _COLOR_MAP_H + +#include +#include +#include +#include + +/*---------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ + +/** + * @brief Singleton class to call python scripts. + * + */ +class ColorMap +{ + +public: + /** + * Destructor. + */ + ~ColorMap(); + + /** + * @brief inst + * @return + */ + static ColorMap* inst(); + + void reload_color_maps(); + + const std::map >* color_maps() { return &_color_maps; } + + QVector* get_color_map(QString name); +private: + + /** + * Constructor. + */ + ColorMap(); + + static ColorMap* _inst; + + std::map > _color_maps; + +}; + +/*---------------------------------------------------------------------------*/ + +#endif + +/*---------------------------------------------------------------------------*/ diff --git a/src/core/uProbeX.cpp b/src/core/uProbeX.cpp index 76d472b..322e40e 100644 --- a/src/core/uProbeX.cpp +++ b/src/core/uProbeX.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -102,6 +103,8 @@ uProbeX::uProbeX(QWidget* parent, Qt::WindowFlags flags) : QMainWindow(parent, f m_mdiArea->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding); setCentralWidget(m_mdiArea); + ColorMap::inst()->reload_color_maps(); + show(); } diff --git a/src/gstar/AbstractImageWidget.cpp b/src/gstar/AbstractImageWidget.cpp index b8a6284..10e6aab 100644 --- a/src/gstar/AbstractImageWidget.cpp +++ b/src/gstar/AbstractImageWidget.cpp @@ -72,8 +72,8 @@ AbstractImageWidget::AbstractImageWidget(int rows, int cols, QWidget* parent) SLOT(treeDoubleClicked(const QModelIndex &))); m_imageViewWidget = new ImageViewWidget(rows, cols); - m_imageViewWidget->scene()->setModel(m_treeModel); - m_imageViewWidget->scene()->setSelectionModel(m_selectionModel); + m_imageViewWidget->setSceneModel(m_treeModel); + m_imageViewWidget->setSceneSelectionModel(m_selectionModel); m_imageViewWidget->setContextMenuPolicy(Qt::CustomContextMenu); connect(m_imageViewWidget, SIGNAL(customContextMenuRequested(const QPoint &)), @@ -99,6 +99,8 @@ AbstractImageWidget::AbstractImageWidget(int rows, int cols, QWidget* parent) AbstractImageWidget::~AbstractImageWidget() { + m_imageViewWidget->setSceneSelectionModel(nullptr); + if(m_treeModel != nullptr) { delete m_treeModel; @@ -497,7 +499,7 @@ void AbstractImageWidget::setAnnotationModel(AnnotationTreeModel *model) m_treeModel = model; m_annoTreeView->setModel(m_treeModel); - m_imageViewWidget->scene()->setModel(m_treeModel); + m_imageViewWidget->setSceneModel(m_treeModel); } @@ -545,7 +547,7 @@ void AbstractImageWidget::setAnnotationsEnabled(bool value) { m_annoTreeView->setEnabled(value); - m_imageViewWidget->scene()->enableAnnotations(value); + m_imageViewWidget->sceneEnableAnnotations(value); m_annotationsEnabled = value; } @@ -636,10 +638,10 @@ void AbstractImageWidget::showRulerUnitsDialog() // Update with current settings if (dialog->exec() == QDialog::Accepted) { - m_imageViewWidget->scene()->setUnitsLabel(dialog->getUnitLabel()); - m_imageViewWidget->scene()->setUnitsPerPixelX(dialog->getUnitsPerPixelX()); - m_imageViewWidget->scene()->setUnitsPerPixelY(dialog->getUnitsPerPixelY()); - m_imageViewWidget->scene()->updateModel(); + m_imageViewWidget->setSceneUnitsLabel(dialog->getUnitLabel()); + m_imageViewWidget->setSceneUnitsPerPixelX(dialog->getUnitsPerPixelX()); + m_imageViewWidget->setSceneUnitsPerPixelY(dialog->getUnitsPerPixelY()); + m_imageViewWidget->sceneUpdateModel(); emit rulerUnitsChanged(dialog->getUnitLabel(), dialog->getUnitsPerPixelX(), dialog->getUnitsPerPixelY()); @@ -693,7 +695,7 @@ void AbstractImageWidget::updateFrame(QImage *img) if (img != nullptr) { // Create pixmap from image - m_imageViewWidget->scene()->setPixmap(QPixmap::fromImage(img->convertToFormat(QImage::Format_RGB32))); + m_imageViewWidget->setScenetPixmap(QPixmap::fromImage(img->convertToFormat(QImage::Format_RGB32))); } } @@ -708,3 +710,4 @@ void AbstractImageWidget::viewContextMenu(const QPoint& pos) } /*---------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/src/gstar/Annotation/AbstractGraphicsItem.cpp b/src/gstar/Annotation/AbstractGraphicsItem.cpp index 5c4691a..6aec9af 100644 --- a/src/gstar/Annotation/AbstractGraphicsItem.cpp +++ b/src/gstar/Annotation/AbstractGraphicsItem.cpp @@ -62,17 +62,37 @@ AbstractGraphicsItem::~AbstractGraphicsItem() void AbstractGraphicsItem::appendChild(AbstractGraphicsItem* child) { - m_children.append(child); + if (child != nullptr) + { + m_children.append(child); + } +} + +/*---------------------------------------------------------------------------*/ +void AbstractGraphicsItem::appendLinkedDisplayChild(AbstractGraphicsItem* child) +{ + _linkedDisplayChildren.push_back(child); } /*---------------------------------------------------------------------------*/ -void AbstractGraphicsItem::appendProperty(AnnotationProperty* prop) +void AbstractGraphicsItem::removeLinkedDisplayChild(AbstractGraphicsItem* child) { + if (_linkedDisplayChildren.contains(child)) + { + _linkedDisplayChildren.removeAll(child); + } +} - m_data.push_back(prop); +/*---------------------------------------------------------------------------*/ +void AbstractGraphicsItem::appendProperty(AnnotationProperty* prop) +{ + if (prop != nullptr) + { + m_data.push_back(prop); + } } /*---------------------------------------------------------------------------*/ @@ -126,6 +146,17 @@ void AbstractGraphicsItem::clearProperties() /*---------------------------------------------------------------------------*/ +void AbstractGraphicsItem::linkProperties(QList prop_list) +{ + foreach(AnnotationProperty * prop, prop_list) + { + _linked_props.push_back(prop); + } + connectAllLinkedProperties(); +} + +/*---------------------------------------------------------------------------*/ + int AbstractGraphicsItem::columnCount() const { @@ -141,15 +172,47 @@ void AbstractGraphicsItem::connectAllProperties() foreach (AnnotationProperty* prop, m_data) { connect(prop, - SIGNAL(valueChanged()), + SIGNAL(valueChanged(AnnotationProperty*, QVariant)), this, - SLOT(modelChanged())); + SLOT(modelChanged(AnnotationProperty*, QVariant))); } } /*---------------------------------------------------------------------------*/ +void AbstractGraphicsItem::connectAllLinkedProperties() +{ + + foreach(AnnotationProperty * prop, _linked_props) + { + connect(prop, SIGNAL(valueChanged(AnnotationProperty*, QVariant)), this, SLOT(linkPropChanged(AnnotationProperty*, QVariant))); + } + +} + +/*---------------------------------------------------------------------------*/ + +void AbstractGraphicsItem::disconnectAllLinkedProperties() +{ + + foreach(AnnotationProperty * prop, _linked_props) + { + disconnect(prop, SIGNAL(valueChanged(AnnotationProperty*, QVariant)), this, SLOT(linkPropChanged(AnnotationProperty*, QVariant))); + } + +} + +/*---------------------------------------------------------------------------*/ + +void AbstractGraphicsItem::unlinkAllAnnotations() +{ + disconnectAllLinkedProperties(); + _linked_props.clear(); +} + +/*---------------------------------------------------------------------------*/ + void AbstractGraphicsItem::connectAllViewItems() { @@ -238,9 +301,9 @@ void AbstractGraphicsItem::disconnectAllProperties() foreach (AnnotationProperty* prop, m_data) { disconnect(prop, - SIGNAL(valueChanged()), + SIGNAL(valueChanged(AnnotationProperty*, QVariant)), this, - SLOT(modelChanged())); + SLOT(modelChanged(AnnotationProperty*, QVariant))); } } @@ -452,8 +515,10 @@ QVariant AbstractGraphicsItem::itemChange(GraphicsItemChange change, /*---------------------------------------------------------------------------*/ -void AbstractGraphicsItem::modelChanged() +void AbstractGraphicsItem::modelChanged(AnnotationProperty* prop, QVariant val) { + Q_UNUSED(prop); + Q_UNUSED(val); disconnectAllViewItems(); disconnectAllProperties(); @@ -465,6 +530,22 @@ void AbstractGraphicsItem::modelChanged() /*---------------------------------------------------------------------------*/ +void AbstractGraphicsItem::linkPropChanged(AnnotationProperty* prop, QVariant val) +{ + disconnectAllLinkedProperties(); + foreach(AnnotationProperty * p, m_data) + { + if (p->getName() == prop->getName()) + { + p->setValue(val); + break; + } + } + connectAllLinkedProperties(); +} + +/*---------------------------------------------------------------------------*/ + AbstractGraphicsItem* AbstractGraphicsItem::parent() const { diff --git a/src/gstar/Annotation/AbstractGraphicsItem.h b/src/gstar/Annotation/AbstractGraphicsItem.h index 1bde844..dac3172 100644 --- a/src/gstar/Annotation/AbstractGraphicsItem.h +++ b/src/gstar/Annotation/AbstractGraphicsItem.h @@ -52,6 +52,9 @@ class AbstractGraphicsItem : public QGraphicsObject */ void appendChild(AbstractGraphicsItem* child); + void appendLinkedDisplayChild(AbstractGraphicsItem* child); + + void removeLinkedDisplayChild(AbstractGraphicsItem* child); /** * @brief appendProperty : Add a property. * @param prop : Property to add. @@ -136,6 +139,10 @@ class AbstractGraphicsItem : public QGraphicsObject */ Qt::ItemFlags displayFlags(int row, int column) const; + const QList& getLinkedDisplayChildren() { return _linkedDisplayChildren; } + + void clearLinkedDisplayChildren() { return _linkedDisplayChildren.clear(); } + /** * @brief hasChild : Returns if it contains the specific child in its list. * @param child : Child node to check if exists in list. @@ -223,6 +230,13 @@ class AbstractGraphicsItem : public QGraphicsObject */ void setPropertyValue(QString name, QVariant value); + /** + * Override current properties with new list + */ + void linkProperties(QList prop_list); + + void unlinkAllAnnotations(); + public slots: /** @@ -257,7 +271,9 @@ protected slots: /** * @brief modelChanged : Slot for AnnotationProperty changes. */ - void modelChanged(); + void modelChanged(AnnotationProperty*, QVariant); + + void linkPropChanged(AnnotationProperty*, QVariant); /** * @brief viewChanged : Slot for QGraphicsItem changes. @@ -271,6 +287,9 @@ protected slots: */ void connectAllProperties(); + void connectAllLinkedProperties(); + + void disconnectAllLinkedProperties(); /** * @brief connectAllViewItems : Connects QGraphicsItem signals to * viewChanged() slot. @@ -320,11 +339,16 @@ protected slots: */ QList m_data; + + QList _linked_props; + /** * @brief m_parent : Parent node. */ AbstractGraphicsItem* m_parent; + QList _linkedDisplayChildren; + /** * @brief m_decimalPreci */ diff --git a/src/gstar/Annotation/RoiMaskGraphicsItem.cpp b/src/gstar/Annotation/RoiMaskGraphicsItem.cpp new file mode 100644 index 0000000..68d021c --- /dev/null +++ b/src/gstar/Annotation/RoiMaskGraphicsItem.cpp @@ -0,0 +1,338 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2013, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#include "gstar/Annotation/RoiMaskGraphicsItem.h" + +#include "gstar/AnnotationProperty.h" +#include "gstar/ImageViewScene.h" + +#include +#include + +using namespace gstar; + +/*---------------------------------------------------------------------------*/ + +RoiMaskGraphicsItem::RoiMaskGraphicsItem(int width, int height, AbstractGraphicsItem* parent) + : AbstractGraphicsItem(parent) +{ + + setFlags( ItemIsSelectable ); + + _mouse_down = false; + + _mask = new QImage(width, height, QImage::Format_ARGB32); + for(int w=0; wsetPixelColor(w,h, QColor(0,0,0,0)); + } + } + + _enable_mask = new AnnotationProperty(); + _enable_mask->setName("Enable"); + _enable_mask->setValue(true); + + _display_mask = new AnnotationProperty(); + _display_mask->setName("Visible"); + _display_mask->setValue(true); + /* + _draw_mask = new AnnotationProperty(); + _draw_mask->setName("Draw"); + _draw_mask->setValue(false); + + _erase_mask = new AnnotationProperty(); + _erase_mask->setName("Erase"); + _erase_mask->setValue(false); + */ + _alpha_value = new AnnotationProperty(); + _alpha_value->setName("Alpha %"); + _alpha_value->setValue(70); + + //connect(_draw_mask, SIGNAL(valueChanged()), this ,SLOT(drawmask_changed())); + //connect(_erase_mask, SIGNAL(valueChanged()), this ,SLOT(erasemask_changed())); + + m_data.push_back(_enable_mask); + m_data.push_back(_display_mask); + //m_data.push_back(_draw_mask); + //m_data.push_back(_erase_mask); + m_data.push_back(_alpha_value); + +} + +/*---------------------------------------------------------------------------*/ + +RoiMaskGraphicsItem::~RoiMaskGraphicsItem() +{ + emit (mask_updated(this, false)); +} + +/*---------------------------------------------------------------------------*/ + +QString RoiMaskGraphicsItem::getName() +{ + + for (const auto& itr : m_data) + { + if (itr->getName() == DEF_STR_DISPLAY_NAME) + return itr->getValue().toString(); + } + return ""; + +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::calculate() +{ +/* + QString unitsLabel = ""; + double unitsPerPixelX = 1.0; + double unitsPerPixelY = 1.0; + + //get units per pixel from scene + QGraphicsScene* bScene = scene(); + if (bScene != nullptr) + { + ImageViewScene* iScene = dynamic_cast(bScene); + if (iScene != nullptr) + { + unitsLabel = iScene->getUnitsLabel(); + unitsPerPixelX = iScene->getUnitsPerPixelX(); + unitsPerPixelY = iScene->getUnitsPerPixelY(); + } + } + + double dx = m_line->line().dx(); + double dy = m_line->line().dy(); + dx *= unitsPerPixelX; + dy *= unitsPerPixelY; + + double len = sqrt( (dx * dx) + (dy * dy) ); + m_text = QString("%1%2").arg(len).arg(unitsLabel); + m_length->setValue(m_text); +*/ +} + + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::updateModel() +{ + update(); +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::updateView() +{ + int val = _alpha_value->getValue().toInt(); + + val = std::min(val, 100); + val = std::max(val, 0); + + _alpha_value->setValue(val); + + val = (int)(((float)val / 100.0) * 255.0); + + for(int w=0; w<_mask->width(); w++) + { + for(int h=0; h<_mask->height(); h++) + { + QColor c = _mask->pixelColor(w,h); + if(c.green() > 0) + { + c.setAlpha(val); + _mask->setPixelColor(w,h, c); + } + } + } + update(); + emit(mask_updated(this, false)); +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::drawmask_changed() +{ + /* + bool val = _draw_mask->getValue().toBool(); + if(val == true) + { + _erase_mask->setValue(false); + updateModel(); + } + */ +} + +/*---------------------------------------------------------------------------*/ + +std::vector RoiMaskGraphicsItem::get_mask_list() +{ + std::vector roi_list; + for (int w = 0; w < _mask->width(); w++) + { + for (int h = 0; h < _mask->height(); h++) + { + QColor c = _mask->pixelColor(w, h); + if (c.green() > 0) + { + roi_list.push_back(QPoint(w,h)); + } + } + } + return roi_list; +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::erasemask_changed() +{ + /* + bool val = _erase_mask->getValue().toBool(); + if(val == true) + { + _draw_mask->setValue(false); + updateModel(); + } + */ +} + +/*---------------------------------------------------------------------------*/ + +QRectF RoiMaskGraphicsItem::boundingRect() const +{ + + return _mask->rect(); + +} + +/*---------------------------------------------------------------------------*/ + +QRectF RoiMaskGraphicsItem::boundingRectMarker() const +{ + + return _mask->rect(); + +} + +/*---------------------------------------------------------------------------*/ + +const QString RoiMaskGraphicsItem::displayName() const +{ + + const QString name = QString("ROI Spectra"); + return name; + +} + +/*---------------------------------------------------------------------------*/ + +AbstractGraphicsItem* RoiMaskGraphicsItem::duplicate() +{ + + RoiMaskGraphicsItem* item = new RoiMaskGraphicsItem(_mask->width(), _mask->height()); + + item->setPos(pos()); + //item->setLine(m_line->line()); + //item->setLinkColor(m_lineColor); + item->calculate(); + return item; + +} +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::paint(QPainter* painter, + const QStyleOptionGraphicsItem* option, + QWidget* widget ) +{ + + Q_UNUSED(option); + Q_UNUSED(widget); + setPos(0,0); + //int hw = (_pixmap->width() / 2) * -1; + //int hh = (_pixmap->height() / 2) * -1; + if(_display_mask->getValue().toBool()) + { + //painter->drawPixmap(hw, hh, *_pixmap); + painter->drawPixmap(0, 0, QPixmap::fromImage(*_mask)); + } + + +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event) +{ + /* + _mouse_down = true; + // Mouse click position (in item coordinates) + + int alpha_val = (int)((_alpha_value->getValue().toFloat() / 100.0) * 255.0); + QPointF pt = event -> pos(); + QPoint p(0,0); + p.setX(static_cast(pt.x())); + p.setY(static_cast(pt.y())); + if(_draw_mask->getValue().toBool() == true) + { + _mask->setPixelColor(p, QColor(0,255,0,alpha_val)); + } + if(_erase_mask->getValue().toBool() == true) + { + _mask->setPixelColor(p, QColor(0,0,0,0)); + } + // Queue an update + update(); + + // Pass mouse event + QGraphicsItem::mousePressEvent(event); + */ +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) +{ + /* + if(_mouse_down == true) + { + int alpha_val = (int)((_alpha_value->getValue().toFloat() / 100.0) * 255.0); + QPointF pt = event -> pos(); + QPoint p(0,0); + p.setX(static_cast(pt.x())); + p.setY(static_cast(pt.y())); + if(_draw_mask->getValue().toBool() == true) + { + _mask->setPixelColor(p, QColor(0,255,0,alpha_val)); + } + if(_erase_mask->getValue().toBool() == true) + { + _mask->setPixelColor(p, QColor(0,0,0,0)); + } + // Queue an update + update(); + } + */ +} + +/*---------------------------------------------------------------------------*/ + +void RoiMaskGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) +{ + /* + _mouse_down = false; + + // Queue an update + //update(); + emit(mask_updated(this, true)); + + // Pass mouse event + QGraphicsItem::mouseReleaseEvent(event); + */ +} + +/*---------------------------------------------------------------------------*/ diff --git a/src/gstar/Annotation/RoiMaskGraphicsItem.h b/src/gstar/Annotation/RoiMaskGraphicsItem.h new file mode 100644 index 0000000..1c5ef3f --- /dev/null +++ b/src/gstar/Annotation/RoiMaskGraphicsItem.h @@ -0,0 +1,133 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2022, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#ifndef ROIMASKGI_H +#define ROIMASKGI_H + +/*---------------------------------------------------------------------------*/ + +#include "LineGraphicsItem.h" + +/*---------------------------------------------------------------------------*/ + +namespace gstar +{ + +/** + * @brief The RulerGraphicsItem class + */ +class RoiMaskGraphicsItem : public AbstractGraphicsItem +{ + Q_OBJECT + +public: + + /** + * @brief RulerGraphicsItem + * @param parent + */ + RoiMaskGraphicsItem(int width, int height, AbstractGraphicsItem* parent = 0); + + ~RoiMaskGraphicsItem(); + + /** + * @brief className + * @return + */ + const QString displayName() const; + + /** + * @brief duplicate + * @return + */ + AbstractGraphicsItem* duplicate(); + + /** + * @brief boundingRect + * @return + */ + QRectF boundingRect() const; + + /** + * @brief boundingRectMarker + * @return + */ + virtual QRectF boundingRectMarker() const; + + void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget ); + + bool isEnabled() { return _enable_mask->getValue().toBool(); } + + int alphaValue() { return _alpha_value->getValue().toInt(); } + + QImage* image_mask() { return _mask; } + + std::vector get_mask_list(); + + QString getName(); + +signals: + + void mask_updated(RoiMaskGraphicsItem* ano, bool reload); + +public slots: + /** + * @brief updateModel + */ + void updateModel(); + + /** + * @brief updateView + */ + void updateView(); + + /** + * @brief calculate + */ + void calculate(); + + void drawmask_changed(); + + void erasemask_changed(); + +protected: + + /** + * Reimplemented from QGraphicsItem. See Qt documentation. + */ + void mouseMoveEvent(QGraphicsSceneMouseEvent* event); + + /** + * Reimplemented from QGraphicsItem. See Qt documentation. + */ + void mousePressEvent(QGraphicsSceneMouseEvent* event); + + /** + * Reimplemented from QGraphicsItem. See Qt documentation. + */ + void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); + + AnnotationProperty* _enable_mask; + + AnnotationProperty* _display_mask; + + //AnnotationProperty* _draw_mask; + + //AnnotationProperty* _erase_mask; + + AnnotationProperty* _alpha_value; + + QImage* _mask; + + bool _mouse_down; +}; + +} + +/*---------------------------------------------------------------------------*/ + +#endif // RULERGRAPHICSITEM_H + +/*---------------------------------------------------------------------------*/ diff --git a/src/gstar/AnnotationProperty.cpp b/src/gstar/AnnotationProperty.cpp index fcd6d1d..e7e4e7d 100644 --- a/src/gstar/AnnotationProperty.cpp +++ b/src/gstar/AnnotationProperty.cpp @@ -66,7 +66,7 @@ void AnnotationProperty::setValue(const QVariant value) { m_value = value; - emit valueChanged(); + emit valueChanged(this, value); } diff --git a/src/gstar/AnnotationProperty.h b/src/gstar/AnnotationProperty.h index 8ac91a6..d17f87a 100644 --- a/src/gstar/AnnotationProperty.h +++ b/src/gstar/AnnotationProperty.h @@ -73,7 +73,7 @@ class AnnotationProperty : public QObject /** * @brief valueChanged */ - void valueChanged(); + void valueChanged(AnnotationProperty*, QVariant); protected: diff --git a/src/gstar/ImageViewScene.cpp b/src/gstar/ImageViewScene.cpp index 03901e6..1d0b913 100644 --- a/src/gstar/ImageViewScene.cpp +++ b/src/gstar/ImageViewScene.cpp @@ -11,6 +11,8 @@ #include #include +#include + using namespace gstar; /*---------------------------------------------------------------------------*/ @@ -25,7 +27,7 @@ ImageViewScene::ImageViewScene(QWidget* parent) : QGraphicsScene(parent) m_model = nullptr; m_selectionModel = nullptr; m_zoomSelection = nullptr; - + _is_multi_scene = false; m_unitsLabel = ""; m_unitsPerPixelX = 1.0; m_unitsPerPixelY = 1.0; @@ -149,7 +151,17 @@ void ImageViewScene::modelRowsInserted(const QModelIndex& parent, cItem = item->child(start); if (cItem != nullptr) { - addItem(cItem); + //addItem(cItem); + + AbstractGraphicsItem* clone = cItem->duplicate(); + + clone->linkProperties(cItem->properties()); + + cItem->linkProperties(clone->properties()); + + cItem->appendLinkedDisplayChild(clone); + + addItem(clone); } } } @@ -159,6 +171,50 @@ void ImageViewScene::modelRowsInserted(const QModelIndex& parent, /*---------------------------------------------------------------------------*/ +void ImageViewScene::modelRowsRemoved(const QModelIndex& parent, int start, int end) +{ + + Q_UNUSED(start); + Q_UNUSED(end); + if (parent.isValid()) + { + const QAbstractItemModel* pm = parent.model(); + if (typeid(*pm) == typeid(AnnotationTreeModel)) + { + AbstractGraphicsItem* cItem = nullptr; + AbstractGraphicsItem* item = + static_cast(parent.internalPointer()); + + if (item != nullptr) + { + cItem = item->child(start); + if (cItem != nullptr) + { + cItem->unlinkAllAnnotations(); + QList gitems = this->items(); + AbstractGraphicsItem* toRemove = nullptr; + for (auto itr : cItem->getLinkedDisplayChildren()) + { + if (gitems.contains(itr)) + { + removeItem(itr); + toRemove = itr; + break; + } + } + if (toRemove != nullptr) + { + cItem->removeLinkedDisplayChild(toRemove); + } + } + } + } + } + +} + +/*---------------------------------------------------------------------------*/ + void ImageViewScene::enableAnnotations(bool state) { @@ -392,12 +448,24 @@ QRectF ImageViewScene::pixRect() void ImageViewScene::recursiveAddAnnotation(AbstractGraphicsItem* item) { - addItem(item); - foreach(AbstractGraphicsItem* cItem, item->childList()) - { - recursiveAddAnnotation(cItem); - } - + if (item != nullptr) + { + if (_is_multi_scene) + { + AbstractGraphicsItem* clone = item->duplicate(); + clone->linkProperties(item->properties()); + item->linkProperties(clone->properties()); + addItem(clone); + } + else + { + addItem(item); + } + foreach(AbstractGraphicsItem * cItem, item->childList()) + { + recursiveAddAnnotation(cItem); + } + } } /*---------------------------------------------------------------------------*/ @@ -445,56 +513,58 @@ void ImageViewScene::removeAllGraphicsItems() void ImageViewScene::sceneSelectionChanged() { - if (m_model != nullptr && m_selectionModel != nullptr) - { - - disconnect(m_selectionModel, - SIGNAL(selectionChanged(const QItemSelection &, - const QItemSelection &)), - this, - SLOT(modelSelectionChanged(const QItemSelection &, - const QItemSelection &))); - - disconnect(this, - SIGNAL(selectionChanged()), - this, - SLOT(sceneSelectionChanged())); - - m_selectionModel->clear(); - - QList sItems = selectedItems(); - foreach (QGraphicsItem* item, sItems) - { - AbstractGraphicsItem* tItem = (AbstractGraphicsItem*)item; - AbstractGraphicsItem* parent = tItem->parent(); - if (parent != nullptr) - { - QModelIndex groupIndex = - m_model->index(parent->row(), 0, QModelIndex()); - if (groupIndex.isValid()) - { - QModelIndex cIndex = groupIndex.child(tItem->row(), 0); - if (cIndex.isValid()) + if (m_model != nullptr && m_selectionModel != nullptr) + { + + disconnect(m_selectionModel, + SIGNAL(selectionChanged(const QItemSelection&, + const QItemSelection&)), + this, + SLOT(modelSelectionChanged(const QItemSelection&, + const QItemSelection&))); + + disconnect(this, + SIGNAL(selectionChanged()), + this, + SLOT(sceneSelectionChanged())); + + m_selectionModel->clear(); + + QList sItems = selectedItems(); + foreach(QGraphicsItem * item, sItems) + { + AbstractGraphicsItem* tItem = (AbstractGraphicsItem*)item; + AbstractGraphicsItem* parent = tItem->parent(); + if (parent != nullptr) { - for (int i = 0; i < tItem->columnCount(); i++) - { - cIndex = groupIndex.child(tItem->row(), i); - m_selectionModel->select(cIndex, QItemSelectionModel::Select); - } + QModelIndex groupIndex = + m_model->index(parent->row(), 0, QModelIndex()); + if (groupIndex.isValid()) + { + QModelIndex cIndex = groupIndex.child(tItem->row(), 0); + if (cIndex.isValid()) + { + for (int i = 0; i < tItem->columnCount(); i++) + { + cIndex = groupIndex.child(tItem->row(), i); + m_selectionModel->select(cIndex, QItemSelectionModel::Select); + } + } + } } - } - } - } -} - -connect(m_selectionModel, - SIGNAL(selectionChanged(const QItemSelection &, - const QItemSelection &)), - this, - SLOT(modelSelectionChanged(const QItemSelection &, - const QItemSelection &))); - -connect(this, + } + } + + if (m_selectionModel != nullptr) + { + connect(m_selectionModel, + SIGNAL(selectionChanged(const QItemSelection&, + const QItemSelection&)), + this, + SLOT(modelSelectionChanged(const QItemSelection&, + const QItemSelection&))); + } + connect(this, SIGNAL(selectionChanged()), this, SLOT(sceneSelectionChanged())); @@ -545,7 +615,7 @@ void ImageViewScene::setMode(Mode mode) /*---------------------------------------------------------------------------*/ -void ImageViewScene::setModel(QAbstractItemModel* model) +void ImageViewScene::setModel(QAbstractItemModel* model, bool is_multi_scene) { // Remove old connections @@ -555,21 +625,33 @@ void ImageViewScene::setModel(QAbstractItemModel* model) SIGNAL(rowsInserted(const QModelIndex&, int, int)), this, SLOT(modelRowsInserted(const QModelIndex&, int, int))); + + disconnect(m_model, + SIGNAL(rowsAboutToBeRemoved(const QModelIndex&, int, int)), + this, + SLOT(modelRowsRemoved(const QModelIndex&, int, int))); } removeAllAnnotationItems(); // Set model m_model = model; + _is_multi_scene = is_multi_scene; - addAnnotationsFromModel(); - - // Connect signals/slots to inserting and removing ROIs - connect(m_model, + if (m_model != nullptr) + { + addAnnotationsFromModel(); + // Connect signals/slots to inserting and removing ROIs + connect(m_model, SIGNAL(rowsInserted(const QModelIndex&, int, int)), this, SLOT(modelRowsInserted(const QModelIndex&, int, int))); + connect(m_model, + SIGNAL(rowsAboutToBeRemoved(const QModelIndex&, int, int)), + this, + SLOT(modelRowsRemoved(const QModelIndex&, int, int))); + } } /*---------------------------------------------------------------------------*/ @@ -591,14 +673,16 @@ void ImageViewScene::setSelectionModel(QItemSelectionModel* selectionModel) // Set ROI selection model m_selectionModel = selectionModel; - // Set new connections - connect(m_selectionModel, + if (m_selectionModel != nullptr) + { + // Set new connections + connect(m_selectionModel, SIGNAL(selectionChanged(const QItemSelection&, - const QItemSelection&)), + const QItemSelection&)), this, SLOT(modelSelectionChanged(const QItemSelection&, - const QItemSelection&))); - + const QItemSelection&))); + } } /*---------------------------------------------------------------------------*/ diff --git a/src/gstar/ImageViewScene.h b/src/gstar/ImageViewScene.h index adaac4a..2657e54 100644 --- a/src/gstar/ImageViewScene.h +++ b/src/gstar/ImageViewScene.h @@ -103,7 +103,7 @@ class ImageViewScene * * @param model - ROI model */ - void setModel(QAbstractItemModel* model); + void setModel(QAbstractItemModel* model, bool is_multi_scene=false); /** * Set the selection model for ROIs @@ -266,6 +266,8 @@ private slots: */ void modelRowsInserted(const QModelIndex& parent, int start, int end); + void modelRowsRemoved(const QModelIndex& parent, int start, int end); + /** * Internal slot called when the ROI selection in the scene is changed * interactively by the user. Reimplemented from QAbstractItemModel. @@ -333,6 +335,8 @@ private slots: */ double m_unitsPerPixelY; + bool _is_multi_scene; + }; } diff --git a/src/gstar/ImageViewWidget.cpp b/src/gstar/ImageViewWidget.cpp index cd1b500..60b9e35 100644 --- a/src/gstar/ImageViewWidget.cpp +++ b/src/gstar/ImageViewWidget.cpp @@ -411,6 +411,99 @@ ImageViewScene* ImageViewWidget::scene(int grid_idx) /*---------------------------------------------------------------------------*/ +void ImageViewWidget::setSceneModel(QAbstractItemModel* model) +{ + bool multi_win = (_sub_windows.size() > 1) ? true : false; + for (auto& itr : _sub_windows) + { + itr.scene->setModel(model, multi_win); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setSceneSelectionModel(QItemSelectionModel* selectionModel) +{ + for (auto& itr : _sub_windows) + { + itr.scene->setSelectionModel(selectionModel); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setSceneModelAndSelection(QAbstractItemModel* model, QItemSelectionModel* selectionModel) +{ + bool multi_win = (_sub_windows.size() > 1) ? true : false; + for (auto& itr : _sub_windows) + { + itr.scene->setModel(model, multi_win); + itr.scene->setSelectionModel(selectionModel); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::sceneEnableAnnotations(bool state) +{ + for (auto& itr : _sub_windows) + { + itr.scene->enableAnnotations(state); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setSceneUnitsLabel(QString label) +{ + for (auto& itr : _sub_windows) + { + itr.scene->setUnitsLabel(label); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setSceneUnitsPerPixelX(double val) +{ + for (auto& itr : _sub_windows) + { + itr.scene->setUnitsPerPixelX(val); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setSceneUnitsPerPixelY(double val) +{ + for (auto& itr : _sub_windows) + { + itr.scene->setUnitsPerPixelY(val); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::sceneUpdateModel() +{ + for (auto& itr : _sub_windows) + { + itr.scene->updateModel(); + } +} + +/*---------------------------------------------------------------------------*/ + +void ImageViewWidget::setScenetPixmap(QPixmap p) +{ + for (auto& itr : _sub_windows) + { + itr.scene->setPixmap(p); + } +} + +/*---------------------------------------------------------------------------*/ + void ImageViewWidget::sceneRectUpdated(const QRectF& rect) { diff --git a/src/gstar/ImageViewWidget.h b/src/gstar/ImageViewWidget.h index 006a560..593a6dc 100644 --- a/src/gstar/ImageViewWidget.h +++ b/src/gstar/ImageViewWidget.h @@ -110,6 +110,24 @@ class ImageViewWidget */ ImageViewScene* scene(int grid_idx = 0); + void setSceneModel(QAbstractItemModel* model); + + void setSceneSelectionModel(QItemSelectionModel* selectionModel); + + void setSceneModelAndSelection(QAbstractItemModel* model, QItemSelectionModel* selectionModel); + + void sceneEnableAnnotations(bool state); + + void setSceneUnitsLabel(QString label); + + void setSceneUnitsPerPixelX(double val); + + void setSceneUnitsPerPixelY(double val); + + void sceneUpdateModel(); + + void setScenetPixmap(QPixmap p); + /** * sets the coordinate model for coordinate widget */ diff --git a/src/mvc/ExportMapsDialog.cpp b/src/mvc/ExportMapsDialog.cpp new file mode 100644 index 0000000..bfc1b63 --- /dev/null +++ b/src/mvc/ExportMapsDialog.cpp @@ -0,0 +1,134 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2022, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#include +#include +#include + +/*---------------------------------------------------------------------------*/ + +ExportMapsDialog::ExportMapsDialog(QDir directory, QWidget *parent) : QWidget(parent) +{ + + _directory = directory; + createLayout(); + _total_blocks = 100; +} + +/*---------------------------------------------------------------------------*/ + +ExportMapsDialog::~ExportMapsDialog() +{ + + +} + +/*---------------------------------------------------------------------------*/ + +void ExportMapsDialog::createLayout() +{ + + _progressBarFiles = new QProgressBar(); + _progressBarFiles->setRange(0, 100); + + _btn_run = new QPushButton("Export"); + connect(_btn_run, &QPushButton::released, this, &ExportMapsDialog::export_released); + _btn_cancel = new QPushButton("Close"); + connect(_btn_cancel, &QPushButton::released, this, &ExportMapsDialog::close); + + _processing_grp = new QGroupBox(); + QVBoxLayout* v_proc_layout = new QVBoxLayout(); + QHBoxLayout* h_layout = new QHBoxLayout(); + _le_dir = new QLabel(); + _le_dir->setText(_directory.absolutePath()); + QPushButton *btn_browse = new QPushButton("Browse"); + connect(btn_browse, &QPushButton::released, this, &ExportMapsDialog::on_browse); + QPushButton *btn_open = new QPushButton("Open"); + connect(btn_open, &QPushButton::released, this, &ExportMapsDialog::on_open); + h_layout->addWidget(_le_dir); + h_layout->addWidget(btn_browse); + h_layout->addWidget(btn_open); + _export_tiff = new QCheckBox("Save Tiff"); + _export_tiff->setChecked(true); + + _export_png = new QCheckBox("Save PNG"); + _export_png->setChecked(true); + + _export_ascii = new QCheckBox("Save ASCII"); + _export_ascii->setChecked(true); + + _export_all = new QCheckBox("Exports all elements: Unchecked exports only elements in view"); + _export_all->setChecked(false); + + _save_screen = new QCheckBox("Screenshot elements in view"); + _save_screen->setChecked(false); + + v_proc_layout->addItem(h_layout); + //v_proc_layout->addWidget(_export_tiff); + v_proc_layout->addWidget(_export_png); + v_proc_layout->addWidget(_export_ascii); + v_proc_layout->addWidget(_export_all); + v_proc_layout->addWidget(_save_screen); + + _processing_grp->setLayout(v_proc_layout); + _processing_grp->setTitle("Export Image Options"); + + QHBoxLayout* buttonlayout = new QHBoxLayout(); + buttonlayout->addWidget(_btn_run); + buttonlayout->addWidget(_btn_cancel); + + QHBoxLayout* proc_save_layout = new QHBoxLayout(); + proc_save_layout->addWidget(_processing_grp); + + QVBoxLayout* layout = new QVBoxLayout(); + layout->addItem(proc_save_layout); + layout->addItem(buttonlayout); + layout->addWidget(_progressBarFiles); + + setLayout(layout); +} + +/*---------------------------------------------------------------------------*/ + +void ExportMapsDialog::setRunEnabled(bool val) +{ + _processing_grp->setEnabled(val); + _btn_run->setEnabled(val); +} + +/*---------------------------------------------------------------------------*/ + +void ExportMapsDialog::on_browse() +{ + _directory = QFileDialog::getExistingDirectory(this, "Export Directory", _directory.absolutePath()); +} + +/*---------------------------------------------------------------------------*/ + +void ExportMapsDialog::on_open() +{ + if (false == QDesktopServices::openUrl(QUrl::fromLocalFile(_directory.absolutePath()))) + { + logE << "Failed to open dir " << _directory.absolutePath().toStdString() << "\n"; + } +} + +/*---------------------------------------------------------------------------*/ + +void ExportMapsDialog::status_callback(size_t cur_block, size_t total_blocks) +{ + + if (_total_blocks != total_blocks) + { + _total_blocks = total_blocks; + _progressBarFiles->setRange(0, _total_blocks); + } + + _progressBarFiles->setValue(cur_block); + + QCoreApplication::processEvents(); +} + +/*---------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/src/mvc/ExportMapsDialog.h b/src/mvc/ExportMapsDialog.h new file mode 100644 index 0000000..b0b7f75 --- /dev/null +++ b/src/mvc/ExportMapsDialog.h @@ -0,0 +1,116 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2022, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#ifndef EXPORT_MAPS_DIALOG_H +#define EXPORT_MAPS_DIALOG_H + +/*---------------------------------------------------------------------------*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "core/defines.h" + +/*---------------------------------------------------------------------------*/ + + +class ExportMapsDialog : public QWidget +{ + + Q_OBJECT + +public: + + /** + * Constructor. + */ + ExportMapsDialog(QDir directory, QWidget *parent = nullptr); + + /** + * Destructor. + */ + ~ExportMapsDialog(); + + void status_callback(size_t cur, size_t total); + + void setRunEnabled(bool val); + + bool get_save_tiff() { return _export_tiff->isChecked(); } + + bool get_save_png() { return _export_png->isChecked(); } + + bool get_save_ascii() { return _export_ascii->isChecked(); } + + bool get_export_all() { return _export_all->isChecked(); } + + bool get_save_screen() { return _save_screen->isChecked(); } + + QDir get_dir() { return _directory; } + +signals: + + void export_released(); + +public slots: + + void on_browse(); + + void on_open(); + +protected: + + /** + * @brief Create layout + */ + void createLayout(); + + QDir _directory; + + QGroupBox* _processing_grp; + + QProgressBar *_progressBarFiles; + + QPushButton *_btn_run; + + QPushButton *_btn_cancel; + + QCheckBox* _export_tiff; + + QCheckBox* _export_png; + + QCheckBox* _export_ascii; + + QCheckBox* _export_all; + + QCheckBox* _save_screen; + + QLabel* _le_dir; + + size_t _total_blocks; + +}; + + +/*---------------------------------------------------------------------------*/ + +#endif + +/*---------------------------------------------------------------------------*/ diff --git a/src/mvc/FileTabWidget.cpp b/src/mvc/FileTabWidget.cpp index 650de28..3088e6e 100644 --- a/src/mvc/FileTabWidget.cpp +++ b/src/mvc/FileTabWidget.cpp @@ -21,12 +21,12 @@ FileTabWidget::FileTabWidget(QWidget* parent) : QWidget(parent) _filterHelpMenu = new QMenu("Help", this); _contextMenu = new QMenu(("Context menu"), this); - QAction* action = _contextMenu->addAction("Load"); - connect(action, SIGNAL(triggered()), this, SLOT(onLoadFile())); - action = _contextMenu->addAction("UnLoad"); - connect(action, SIGNAL(triggered()), this, SLOT(onUnloadFile())); - action = _contextMenu->addAction("Refresh"); - connect(action, SIGNAL(triggered()), this, SIGNAL(onRefresh())); + _action_load = _contextMenu->addAction("Load"); + connect(_action_load, SIGNAL(triggered()), this, SLOT(onLoadFile())); + _action_unload = _contextMenu->addAction("UnLoad"); + connect(_action_unload, SIGNAL(triggered()), this, SLOT(onUnloadFile())); + _action_refresh = _contextMenu->addAction("Refresh"); + connect(_action_refresh, SIGNAL(triggered()), this, SIGNAL(onRefresh())); _file_list_model = new QStandardItemModel(); _file_list_view = new QListView(); @@ -97,18 +97,42 @@ void FileTabWidget::_gen_visible_list(QStringList *sl) void FileTabWidget::load_all_visible() { + _load_all_btn->setEnabled(false); + _unload_all_btn->setEnabled(false); + _action_load->setEnabled(false); + _action_unload->setEnabled(false); + _action_refresh->setEnabled(false); + QStringList sl; _gen_visible_list(&sl); emit loadList(sl); + + _action_load->setEnabled(true); + _action_unload->setEnabled(true); + _action_refresh->setEnabled(true); + _load_all_btn->setEnabled(true); + _unload_all_btn->setEnabled(true); } /*---------------------------------------------------------------------------*/ void FileTabWidget::unload_all_visible() { + _load_all_btn->setEnabled(false); + _unload_all_btn->setEnabled(false); + _action_load->setEnabled(false); + _action_unload->setEnabled(false); + _action_refresh->setEnabled(false); + QStringList sl; _gen_visible_list(&sl); emit unloadList(sl); + + _action_load->setEnabled(true); + _action_unload->setEnabled(true); + _action_refresh->setEnabled(true); + _load_all_btn->setEnabled(true); + _unload_all_btn->setEnabled(true); } /*---------------------------------------------------------------------------*/ @@ -183,6 +207,12 @@ void FileTabWidget::onDoubleClickElement(const QModelIndex idx) void FileTabWidget::onLoadFile() { + _load_all_btn->setEnabled(false); + _unload_all_btn->setEnabled(false); + _action_load->setEnabled(false); + _action_unload->setEnabled(false); + _action_refresh->setEnabled(false); + QStringList sl; QModelIndexList list = _file_list_view->selectionModel()->selectedIndexes(); for(int i =0; isetEnabled(true); + _action_unload->setEnabled(true); + _action_refresh->setEnabled(true); + _load_all_btn->setEnabled(true); + _unload_all_btn->setEnabled(true); } /*---------------------------------------------------------------------------*/ void FileTabWidget::onUnloadFile() { + _load_all_btn->setEnabled(false); + _unload_all_btn->setEnabled(false); + _action_load->setEnabled(false); + _action_unload->setEnabled(false); + _action_refresh->setEnabled(false); + QStringList sl; QModelIndexList list = _file_list_view->selectionModel()->selectedIndexes(); for(int i =0; isetEnabled(true); + _action_unload->setEnabled(true); + _action_refresh->setEnabled(true); + _load_all_btn->setEnabled(true); + _unload_all_btn->setEnabled(true); } /*---------------------------------------------------------------------------*/ diff --git a/src/mvc/FileTabWidget.h b/src/mvc/FileTabWidget.h index 24db08a..e9313e3 100644 --- a/src/mvc/FileTabWidget.h +++ b/src/mvc/FileTabWidget.h @@ -108,6 +108,13 @@ public slots: QPushButton* _process_btn; QPushButton * _filter_suggest_btn; + + QAction* _action_load; + + QAction* _action_unload; + + QAction* _action_refresh; + }; /*---------------------------------------------------------------------------*/ diff --git a/src/mvc/FitSpectraWidget.cpp b/src/mvc/FitSpectraWidget.cpp index 9e3adf0..4118782 100644 --- a/src/mvc/FitSpectraWidget.cpp +++ b/src/mvc/FitSpectraWidget.cpp @@ -18,6 +18,7 @@ #include "data_struct/element_info.h" #include "fitting//optimizers/lmfit_optimizer.h" +#include #include using namespace data_struct; @@ -40,6 +41,7 @@ FitSpectraWidget::FitSpectraWidget(QWidget* parent) : QWidget(parent) _fit_spec.setZero(2048); _showDetailedFitSpec = Preferences::inst()->getValue(STR_PFR_DETAILED_FIT_SPEC).toBool(); _showFitIntSpec = Preferences::inst()->getValue(STR_PFR_SHOW_FIT_INT_SPEC).toBool(); + _showMaxChanSpec = Preferences::inst()->getValue(STR_PFR_SHOW_MAX_CHAN_SPEC).toBool(); for(const std::string& e : data_struct::Element_Symbols) { _cb_add_elements->addItem(QString::fromStdString(e)); @@ -112,11 +114,17 @@ void FitSpectraWidget::createLayout() _fit_params_table_model->setFitParams(g_model.fit_parameters()); connect(_fit_params_table_model, &FitParamsTableModel::onEnergyChange, this, &FitSpectraWidget::replot_integrated_spectra_with_background); ComboBoxDelegate *cbDelegate = new ComboBoxDelegate(bound_types); + NumericPrecDelegate* npDelegate = new NumericPrecDelegate(); + _fit_params_table = new QTableView(); _fit_params_table->setModel(_fit_params_table_model); _fit_params_table->sortByColumn(0, Qt::AscendingOrder); + _fit_params_table->setItemDelegateForColumn(1, npDelegate); _fit_params_table->setItemDelegateForColumn(2, cbDelegate); + _fit_params_table->setItemDelegateForColumn(3, npDelegate); + _fit_params_table->setItemDelegateForColumn(4, npDelegate); + _fit_params_table->setItemDelegateForColumn(5, npDelegate); _fit_params_table->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); _fit_params_table->setContextMenuPolicy(Qt::CustomContextMenu); connect(_fit_params_table, @@ -131,6 +139,7 @@ void FitSpectraWidget::createLayout() _fit_elements_table = new QTreeView(); _fit_elements_table->setModel(_fit_elements_table_model); + _fit_elements_table->setItemDelegateForColumn(1, npDelegate); _fit_elements_table->sortByColumn(0); //_fit_elements_table->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); @@ -298,6 +307,22 @@ void FitSpectraWidget::onSettingsDialog() _spectra_widget->remove_spectra(name); } } + + _showMaxChanSpec = Preferences::inst()->getValue(STR_PFR_SHOW_MAX_CHAN_SPEC).toBool(); + if(_showMaxChanSpec) + { + for (auto& itr : _max_chan_spec_map) + { + _spectra_widget->append_spectra(QString(itr.first.c_str()), itr.second, (data_struct::Spectra*) & _ev); + } + } + else + { + for (auto& itr : _max_chan_spec_map) + { + _spectra_widget->remove_spectra(QString(itr.first.c_str())); + } + } } } @@ -367,6 +392,15 @@ void FitSpectraWidget::replot_integrated_spectra(bool snipback) } } + _showMaxChanSpec = Preferences::inst()->getValue(STR_PFR_SHOW_MAX_CHAN_SPEC).toBool(); + if (_showMaxChanSpec) + { + for (auto& itr : _max_chan_spec_map) + { + _spectra_widget->append_spectra(QString(itr.first.c_str()), itr.second, (data_struct::Spectra*) & _ev); + } + } + for (auto& itr : _roi_spec_map) { _spectra_widget->append_spectra(QString(itr.first.c_str()), itr.second, (data_struct::Spectra*) & _ev); @@ -384,6 +418,13 @@ void FitSpectraWidget::appendFitIntSpectra(string name, ArrayDr* spec) /*---------------------------------------------------------------------------*/ +void FitSpectraWidget::appendMaxChanSpectra(string name, ArrayDr* spec) +{ + _max_chan_spec_map[name] = spec; +} + +/*---------------------------------------------------------------------------*/ + void FitSpectraWidget::appendROISpectra(string name, ArrayDr* spec) { _roi_spec_map[name] = spec; @@ -400,6 +441,18 @@ void FitSpectraWidget::clearFitIntSpectra() } _fit_int_spec_map.clear(); +} + +/*---------------------------------------------------------------------------*/ + +void FitSpectraWidget::clearMaxChanSpectra() +{ + for (auto& itr : _max_chan_spec_map) + { + _spectra_widget->remove_spectra(QString(itr.first.c_str())); + } + _max_chan_spec_map.clear(); + } /*---------------------------------------------------------------------------*/ diff --git a/src/mvc/FitSpectraWidget.h b/src/mvc/FitSpectraWidget.h index a2ef32a..e2b395a 100644 --- a/src/mvc/FitSpectraWidget.h +++ b/src/mvc/FitSpectraWidget.h @@ -64,9 +64,13 @@ class FitSpectraWidget : public QWidget void appendFitIntSpectra(string, ArrayDr*); + void appendMaxChanSpectra(string name, ArrayDr* spec); + void appendROISpectra(string, ArrayDr*); void clearFitIntSpectra(); + + void clearMaxChanSpectra(); void clearROISpectra(); @@ -187,6 +191,8 @@ private slots: unordered_map _fit_int_spec_map; + unordered_map _max_chan_spec_map; + unordered_map _roi_spec_map; std::string _detector_element; @@ -211,6 +217,8 @@ private slots: bool _showFitIntSpec; + bool _showMaxChanSpec; + unordered_map _labeled_spectras; }; diff --git a/src/mvc/MapsElementsWidget.cpp b/src/mvc/MapsElementsWidget.cpp index 6aec5a7..6cb5718 100644 --- a/src/mvc/MapsElementsWidget.cpp +++ b/src/mvc/MapsElementsWidget.cpp @@ -7,7 +7,7 @@ #include -#include +#include #include #include @@ -19,7 +19,7 @@ #include #include "core/GlobalThreadPool.h" #include "io/file/csv_io.h" - +#include "core/ColorMap.h" using gstar::AbstractImageWidget; using gstar::ImageViewWidget; @@ -36,6 +36,8 @@ MapsElementsWidget::MapsElementsWidget(int rows, int cols, bool create_image_nav _calib_curve = nullptr; _min_contrast_perc = 0; _max_contrast_perc = 1.0; + + _export_maps_dialog = nullptr; int r = 0; for (int i = 0; i < 256; ++i) @@ -120,6 +122,13 @@ void MapsElementsWidget::_createLayout(bool create_image_nav) _cb_colormap = new QComboBox(); _cb_colormap->addItem(STR_COLORMAP_GRAY); _cb_colormap->addItem(STR_COLORMAP_HEAT); + + const std::map >* color_maps = ColorMap::inst()->color_maps(); + for (auto itr : *color_maps) + { + _cb_colormap->addItem(itr.first); + } + connect(_cb_colormap, SIGNAL(currentIndexChanged(QString)), this, SLOT(onColormapSelect(QString))); m_toolbar->addWidget(new QLabel(" ColorMap :")); @@ -155,6 +164,10 @@ void MapsElementsWidget::_createLayout(bool create_image_nav) connect(_contrast_widget, &gstar::MinMaxSlider::min_max_val_changed, this, &MapsElementsWidget::on_min_max_contrast_changed); m_toolbar->addWidget(_contrast_widget); + _btn_export_as_image = new QPushButton("Export Images"); + connect(_btn_export_as_image, &QPushButton::pressed, this, &MapsElementsWidget::on_export_image_pressed); + m_toolbar->addWidget(_btn_export_as_image); + //_pb_perpixel_fitting = new QPushButton("Per Pixel Fitting"); //counts_layout->addWidget(_pb_perpixel_fitting); @@ -163,10 +176,10 @@ void MapsElementsWidget::_createLayout(bool create_image_nav) _extra_pvs_table_widget = new QTableWidget(1, 4); _extra_pvs_table_widget->setHorizontalHeaderLabels(extra_pv_header); - QWidget *window = new QWidget(); - window->setLayout(counts_layout); + _counts_window = new QWidget(); + _counts_window->setLayout(counts_layout); - _tab_widget->addTab(window, "Analyzed Counts"); + _tab_widget->addTab(_counts_window, "Analyzed Counts"); _tab_widget->addTab(_spectra_widget, DEF_STR_INT_SPECTRA); _tab_widget->addTab(_extra_pvs_table_widget, "Extra PV's"); @@ -253,6 +266,7 @@ void MapsElementsWidget::on_min_max_contrast_changed() void MapsElementsWidget::onNewGridLayout(int rows, int cols) { const std::vector element_view_list = m_imageViewWidget->getLabelList(); + m_imageViewWidget->setSceneModelAndSelection(nullptr, nullptr); m_imageViewWidget->newGridLayout(rows, cols); model_updated(); m_imageViewWidget->restoreLabels(element_view_list); @@ -264,24 +278,24 @@ void MapsElementsWidget::onNewGridLayout(int rows, int cols) /*---------------------------------------------------------------------------*/ -void MapsElementsWidget::addHotSpotMask() +void MapsElementsWidget::addRoiMask() { int w = m_imageViewWidget->scene()->getPixmapItem()->pixmap().width(); int h = m_imageViewWidget->scene()->getPixmapItem()->pixmap().height(); - gstar::HotSpotMaskGraphicsItem* annotation = new gstar::HotSpotMaskGraphicsItem(w, h); + gstar::RoiMaskGraphicsItem* annotation = new gstar::RoiMaskGraphicsItem(w, h); insertAndSelectAnnotation(m_treeModel, m_annoTreeView, m_selectionModel, annotation); //QString name = ano->getName(); //_spectra_widget->appendROISpectra() // //data_struct Spectra = _model->load_roi(annotation->getROI()); - connect(annotation, &gstar::HotSpotMaskGraphicsItem::mask_updated, this, &MapsElementsWidget::roiUpdated); + connect(annotation, &gstar::RoiMaskGraphicsItem::mask_updated, this, &MapsElementsWidget::roiUpdated); } /*---------------------------------------------------------------------------*/ -void MapsElementsWidget::roiUpdated(gstar::HotSpotMaskGraphicsItem* ano, bool reload) +void MapsElementsWidget::roiUpdated(gstar::RoiMaskGraphicsItem* ano, bool reload) { if (ano != nullptr && reload) { @@ -297,14 +311,14 @@ void MapsElementsWidget::roiUpdated(gstar::HotSpotMaskGraphicsItem* ano, bool re void MapsElementsWidget::createActions() { AbstractImageWidget::createActions(); - // TODO: change hotspot to spectra region and add back in + // TODO: change Roi to spectra region and add back in - _addHotSpotMaskAction = new QAction("Add ROI Mask", this); + _addRoiMaskAction = new QAction("Add ROI Mask", this); - connect(_addHotSpotMaskAction, + connect(_addRoiMaskAction, SIGNAL(triggered()), this, - SLOT(addHotSpotMask())); + SLOT(addRoiMask())); } @@ -320,7 +334,7 @@ void MapsElementsWidget::displayContextMenu(QWidget* parent, QMenu menu(parent); menu.addAction(m_addMarkerAction); menu.addAction(m_addRulerAction); - menu.addAction(_addHotSpotMaskAction); + menu.addAction(_addRoiMaskAction); if (m_treeModel != nullptr && m_treeModel->rowCount() > 0) { @@ -396,6 +410,19 @@ void MapsElementsWidget::onColormapSelect(QString colormap) _selected_colormap = &_heat_colormap; Preferences::inst()->setValue(STR_COLORMAP, STR_COLORMAP_HEAT); } + else + { + _selected_colormap = ColorMap::inst()->get_color_map(colormap); + if (_selected_colormap == nullptr) + { + _selected_colormap = &_gray_colormap; + Preferences::inst()->setValue(STR_COLORMAP, STR_COLORMAP_GRAY); + } + else + { + Preferences::inst()->setValue(STR_COLORMAP, colormap); + } + } redrawCounts(); Preferences::inst()->save(); @@ -464,6 +491,12 @@ void MapsElementsWidget::setModel(MapsH5Model* model) _spectra_widget->appendFitIntSpectra(itr.first, itr.second); } + for (auto& itr : model->_max_chan_spec_dict) + { + _spectra_widget->appendMaxChanSpectra(itr.first, itr.second); + } + + _model->getIntegratedSpectra(_int_spec); _spectra_widget->setIntegratedSpectra(&_int_spec); connect(_model, &MapsH5Model::model_int_spec_updated, _spectra_widget, &FitSpectraWidget::replot_integrated_spectra); @@ -821,7 +854,9 @@ void MapsElementsWidget::redrawCounts() } } } - + //redraw annotations + m_selectionModel->clear(); + m_imageViewWidget->setSceneModelAndSelection(m_treeModel, m_selectionModel); } /*---------------------------------------------------------------------------*/ @@ -829,20 +864,20 @@ void MapsElementsWidget::redrawCounts() void MapsElementsWidget::_get_min_max_vals(float &min_val, float &max_val, const Eigen::Array& element_counts) { - gstar::HotSpotMaskGraphicsItem item(0,0); + gstar::RoiMaskGraphicsItem item(0,0); - QList hotspots; + QList Rois; if(m_treeModel != nullptr) { - hotspots = m_treeModel->get_all_of_type( item.classId() ); + Rois = m_treeModel->get_all_of_type( item.classId() ); } QImage *sum_of_masks = nullptr; - if(hotspots.size() > 0) + if(Rois.size() > 0) { - foreach(gstar::AbstractGraphicsItem* item , hotspots) + foreach(gstar::AbstractGraphicsItem* item , Rois) { - gstar::HotSpotMaskGraphicsItem* mask = dynamic_cast(item); + gstar::RoiMaskGraphicsItem* mask = dynamic_cast(item); if(mask->isEnabled()) { if(sum_of_masks == nullptr) @@ -1133,3 +1168,253 @@ void MapsElementsWidget::windowChanged(Qt::WindowStates oldState, } /*---------------------------------------------------------------------------*/ + +void MapsElementsWidget::on_export_image_pressed() +{ + + //bring up dialog + if (_export_maps_dialog == nullptr) + { + QDir export_model_dir = _model->getDir(); + export_model_dir.cdUp(); + export_model_dir.mkdir("export"); + export_model_dir.cd("export"); + export_model_dir.mkdir(_model->getDatasetName()); + export_model_dir.cd(_model->getDatasetName()); + + _export_maps_dialog = new ExportMapsDialog(export_model_dir.absolutePath()); + connect(_export_maps_dialog, &ExportMapsDialog::export_released, this, &MapsElementsWidget::on_export_images); + } + _export_maps_dialog->show(); + +} + +/*---------------------------------------------------------------------------*/ + +void MapsElementsWidget::on_export_images() +{ + _export_maps_dialog->setRunEnabled(false); + + //get all maps + int view_cnt = m_imageViewWidget->getViewCount(); + std::string analysis_text = _cb_analysis->currentText().toStdString(); + std::map > job_queue; + + + QDir export_model_dir = _export_maps_dialog->get_dir(); + int cur = 0; + + if (_export_maps_dialog->get_save_tiff()) + { + + } + if (_export_maps_dialog->get_save_png()) + { + if (_export_maps_dialog->get_export_all()) + { + std::vector normalizers = { STR_DS_IC , STR_US_IC, STR_SR_CURRENT, "Counts" }; + + std::vector analysis_types = _model->getAnalyzedTypes(); + for (auto& a_itr : analysis_types) + { + data_struct::Fit_Count_Dict element_counts; + _model->getAnalyzedCounts(a_itr, element_counts); + + for (auto& e_itr : element_counts) + { + std::string save_file_name = a_itr + "-" + e_itr.first + ".png"; + QPixmap pixmap = generate_pixmap(a_itr, e_itr.first, false, -1); + if (false == pixmap.save(QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString(save_file_name.c_str())), "PNG")) + { + logE << "Could not save PNG for " << QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString(save_file_name.c_str()) + ".png").toStdString() << "\n"; + } + } + } + } + else + { + _export_maps_dialog->status_callback(cur, view_cnt); + for (int vidx = 0; vidx < view_cnt; vidx++) + { + QString element = m_imageViewWidget->getLabelAt(vidx); + + job_queue[element.toStdString()] = Global_Thread_Pool::inst()->enqueue([this, vidx, analysis_text, element] { return generate_pixmap(analysis_text, element.toStdString(), _chk_log_color->isChecked(), vidx); }); + } + + while (job_queue.size() > 0) + { + std::vector to_delete; + for (auto& itr : job_queue) + { + if (false == itr.second.get().save(QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString(itr.first.c_str()) + ".png"), "PNG")) + { + logE << "Could not save PNG for " << QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString(itr.first.c_str()) + ".png").toStdString() << "\n"; + } + to_delete.push_back(itr.first); + cur++; + _export_maps_dialog->status_callback(cur, view_cnt); + } + + for (const auto& itr : to_delete) + { + job_queue.erase(itr); + } + } + } + } + if (_export_maps_dialog->get_save_ascii()) + { + std::vector normalizers = { STR_DS_IC , STR_US_IC, STR_SR_CURRENT, "Counts" }; + + const std::vector x_axis = _model->get_x_axis(); + const std::vector y_axis = _model->get_y_axis(); + + std::string save_file_name = export_model_dir.absolutePath().toStdString() + QDir::separator().toLatin1() + _model->getDatasetName().toStdString(); + std::vector analysis_types = _model->getAnalyzedTypes(); + + size_t cur = 0; + size_t total = analysis_types.size() * x_axis.size() * y_axis.size() * normalizers.size(); + _export_maps_dialog->status_callback(cur, total); + + + for (auto& a_itr : analysis_types) + { + data_struct::Fit_Count_Dict element_counts; + _model->getAnalyzedCounts(a_itr, element_counts); + + data_struct::ArrayXXr* normalizer = nullptr; + + for (auto n_itr : normalizers) + { + std::unordered_map>* scalers = _model->getScalers(); + if (scalers->count(n_itr) > 0) + { + normalizer = &(scalers->at(n_itr)); + } + Calibration_curve* calib_curve = _model->get_calibration_curve(a_itr, n_itr); + + std::string sub_save_file = save_file_name + "-" + a_itr + "-" + n_itr + ".csv"; + std::ofstream out_stream(sub_save_file); + + logI << save_file_name << "\n"; + + if (out_stream.is_open()) + { + + out_stream << "ascii information for file: " << _model->getDatasetName().toStdString() << "\n"; + + + + if (a_itr == STR_FIT_ROI || n_itr == "Counts") + { + out_stream << "Analysis " << a_itr << " in cts/s \n"; + } + else + { + out_stream << "Analysis " << a_itr << " Normalized by " << n_itr << " ug/cm2 \n"; + } + + out_stream << "Y Pixel, X Pixel, Y Position, X Position, "; + for (auto& e_itr : element_counts) + { + out_stream << e_itr.first; + if (calib_curve != nullptr && normalizer != nullptr) + { + if (calib_curve->calib_curve.count(e_itr.first) > 0) + { + out_stream << " (ug/cm2) "; + } + else + { + out_stream << " (cts/s) "; + } + } + else + { + out_stream << " (cts/s) "; + } + out_stream << " , "; + } + out_stream << "\n"; + + for (int yidx = 0; yidx < y_axis.size(); yidx++) + { + for (int xidx = 0; xidx < x_axis.size(); xidx++) + { + + out_stream << yidx << " , " << xidx << " , " << y_axis.at(yidx) << " , " << x_axis.at(xidx) << " , "; + + for (auto& e_itr : element_counts) + { + float calib_val = 1.0; + double val = 1.0; + float e_val = (e_itr.second)(yidx, xidx); + if (a_itr == STR_FIT_ROI || n_itr == "Counts") + { + val = e_val; + } + else + { + if (calib_curve != nullptr && normalizer != nullptr) + { + if (calib_curve->calib_curve.count(e_itr.first) > 0) + { + calib_val = static_cast(calib_curve->calib_curve.at(e_itr.first)); + float n_val = (*normalizer)(yidx, xidx); + val = e_val / n_val / calib_val; + } + else + { + val = e_val; + } + } + else + { + val = e_val; + } + } + out_stream << val << " , "; + } + cur++; + _export_maps_dialog->status_callback(cur, total); + out_stream << "\n"; + } + if (false == _export_maps_dialog->isActiveWindow()) + { + out_stream.close(); + _export_maps_dialog->setRunEnabled(true); + return; + } + out_stream << "\n"; + } + out_stream.close(); + } + else + { + logE << "Could not save PNG for " << save_file_name << "\n"; + } + } + + } + } + if (_export_maps_dialog->get_save_screen()) + { + + QPixmap pixmap(_counts_window->rect().size()); + _counts_window->render(&pixmap, QPoint(), QRegion(_counts_window->rect())); + + QDateTime date = QDateTime::currentDateTime(); + QString formattedTime = date.toString("yyyy.MM.dd_hh.mm.ss"); + QByteArray formattedTimeMsg = formattedTime.toLocal8Bit(); + + qDebug() << "Date:" + formattedTime; + if (false == pixmap.save(QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString("screenshot_"+formattedTime+".png")), "PNG")) + { + logE << "Could not save PNG for " << QDir::cleanPath(export_model_dir.absolutePath() + QDir::separator() + QString("screenshot_" + formattedTime + ".png")).toStdString() << "\n"; + } + } + + _export_maps_dialog->setRunEnabled(true); + _export_maps_dialog->on_open(); + _export_maps_dialog->close(); +} \ No newline at end of file diff --git a/src/mvc/MapsElementsWidget.h b/src/mvc/MapsElementsWidget.h index 96e7d75..c26f3ba 100644 --- a/src/mvc/MapsElementsWidget.h +++ b/src/mvc/MapsElementsWidget.h @@ -17,10 +17,11 @@ #include #include #include -#include "gstar/Annotation/HotSpotMaskGraphicsItem.h" +#include "gstar/Annotation/RoiMaskGraphicsItem.h" #include "mvc/ImageGridDialog.h" #include "preferences/Preferences.h" #include "gstar/MinMaxSlider.h" +#include class HDF5PropertyWidget; class QAbstractTableModel; @@ -72,9 +73,9 @@ public slots: void model_updated(); - void addHotSpotMask(); + void addRoiMask(); - void roiUpdated(gstar::HotSpotMaskGraphicsItem* ano, bool reload); + void roiUpdated(gstar::RoiMaskGraphicsItem* ano, bool reload); void onGridDialog(); @@ -92,6 +93,10 @@ public slots: void on_log_color_changed(int); + void on_export_image_pressed(); + + void on_export_images(); + protected: /** @@ -125,7 +130,7 @@ public slots: QPushButton *_pb_perpixel_fitting; - QAction *_addHotSpotMaskAction; + QAction *_addRoiMaskAction; QPushButton * _grid_button; @@ -150,6 +155,12 @@ public slots: QCheckBox* _chk_log_color; + QPushButton *_btn_export_as_image; + + ExportMapsDialog* _export_maps_dialog; + + QWidget* _counts_window; + float _min_contrast_perc; float _max_contrast_perc; diff --git a/src/mvc/MapsH5Model.cpp b/src/mvc/MapsH5Model.cpp index 3f78cdf..0aa085d 100644 --- a/src/mvc/MapsH5Model.cpp +++ b/src/mvc/MapsH5Model.cpp @@ -227,6 +227,8 @@ bool MapsH5Model::load(QString filepath) try { _filepath = filepath; + _dir = QDir(filepath); + _datset_name = QFileInfo(filepath).fileName(); //_is_loaded = ERROR_LOADING; //std::chrono::time_point start, end; //start = std::chrono::system_clock::now(); @@ -563,7 +565,53 @@ bool MapsH5Model::_load_scalers_9(hid_t maps_grp_id) bool MapsH5Model::_load_scan_9(hid_t maps_grp_id) { -// _scan_info. + + hid_t x_id, y_id; + string x_axis_loc = "x_axis"; + string y_axis_loc = "y_axis"; + + x_id = H5Dopen(maps_grp_id, x_axis_loc.c_str(), H5P_DEFAULT); + y_id = H5Dopen(maps_grp_id, y_axis_loc.c_str(), H5P_DEFAULT); + + if (x_id > -1 && y_id > -1) + { + hid_t x_space_id = H5Dget_space(x_id); + hid_t y_space_id = H5Dget_space(y_id); + + hsize_t x_dims_in[1] = { 0 }; + hsize_t y_dims_in[1] = { 0 }; + int xstatus_n = H5Sget_simple_extent_dims(x_space_id, &x_dims_in[0], nullptr); + int ystatus_n = H5Sget_simple_extent_dims(y_space_id, &y_dims_in[0], nullptr); + if (xstatus_n > -1 && ystatus_n > -1) + { + _x_axis.resize(x_dims_in[0]); + hid_t error = H5Dread(x_id, H5T_NATIVE_FLOAT, x_space_id, x_space_id, H5P_DEFAULT, &_x_axis[0]); + if (error > 0) + { + logW << "Could not load x_axis\n"; + } + _y_axis.resize(y_dims_in[0]); + error = H5Dread(y_id, H5T_NATIVE_FLOAT, y_space_id, y_space_id, H5P_DEFAULT, &_y_axis[0]); + if (error > 0) + { + logW << "Could not load y_axis\n"; + } + } + + if (x_space_id > -1) + { + H5Sclose(x_space_id); + } + if (y_space_id > -1) + { + H5Sclose(y_space_id); + } + + H5Dclose(x_id); + H5Dclose(y_id); + + } + return true; } @@ -634,7 +682,7 @@ bool MapsH5Model::_load_integrated_spectra_9(hid_t maps_grp_id) error = H5Dread(max_chan_spec_id, H5T_NATIVE_DOUBLE, memoryspace_id, max_chan_dspace_id, H5P_DEFAULT, (void*)(fit_int_spec->data())); if (error > -1) { - _fit_int_spec_dict.insert({ "Max_Channels", fit_int_spec }); + _max_chan_spec_dict.insert({ "Max_Channels", fit_int_spec }); } else @@ -648,7 +696,7 @@ bool MapsH5Model::_load_integrated_spectra_9(hid_t maps_grp_id) error = H5Dread(max_chan_spec_id, H5T_NATIVE_DOUBLE, memoryspace_id, max_chan_dspace_id, H5P_DEFAULT, (void*)(fit_int_spec->data())); if (error > -1) { - _fit_int_spec_dict.insert({ "Max_10_Channels", fit_int_spec }); + _max_chan_spec_dict.insert({ "Max_10_Channels", fit_int_spec }); } else @@ -1164,11 +1212,13 @@ bool MapsH5Model::_load_scalers_10(hid_t maps_grp_id) bool MapsH5Model::_load_scan_10(hid_t maps_grp_id) { - hid_t desc_id, name_id, unit_id, val_id; + hid_t desc_id, name_id, unit_id, val_id, x_id, y_id; string extra_pvs_desc = "Scan/Extra_PVs/Description"; string extra_pvs_name = "Scan/Extra_PVs/Names"; string extra_pvs_unit = "Scan/Extra_PVs/Unit"; string extra_pvs_val = "Scan/Extra_PVs/Values"; + string x_axis_loc = "Scan/x_axis"; + string y_axis_loc = "Scan/y_axis"; hsize_t offset[1] = { 0, }; hsize_t count[1] = { 1 }; hid_t filetype, memtype, status; @@ -1178,6 +1228,8 @@ bool MapsH5Model::_load_scan_10(hid_t maps_grp_id) name_id = H5Dopen(maps_grp_id, extra_pvs_name.c_str(), H5P_DEFAULT); unit_id = H5Dopen(maps_grp_id, extra_pvs_unit.c_str(), H5P_DEFAULT); val_id = H5Dopen(maps_grp_id, extra_pvs_val.c_str(), H5P_DEFAULT); + x_id = H5Dopen(maps_grp_id, x_axis_loc.c_str(), H5P_DEFAULT); + y_id = H5Dopen(maps_grp_id, y_axis_loc.c_str(), H5P_DEFAULT); filetype = H5Tcopy(H5T_C_S1); H5Tset_size(filetype, 256); @@ -1247,6 +1299,47 @@ bool MapsH5Model::_load_scan_10(hid_t maps_grp_id) { H5Dclose(val_id); } + + if (x_id > -1 && y_id > -1) + { + hid_t x_space_id = H5Dget_space(x_id); + hid_t y_space_id = H5Dget_space(y_id); + + hsize_t x_dims_in[1] = { 0 }; + hsize_t y_dims_in[1] = { 0 }; + int xstatus_n = H5Sget_simple_extent_dims(x_space_id, &x_dims_in[0], nullptr); + int ystatus_n = H5Sget_simple_extent_dims(y_space_id, &y_dims_in[0], nullptr); + if (xstatus_n > -1 && ystatus_n > -1) + { + _x_axis.resize(x_dims_in[0]); + hid_t error = H5Dread(x_id, H5T_NATIVE_FLOAT, x_space_id, x_space_id, H5P_DEFAULT, &_x_axis[0]); + if (error > 0) + { + logW << "Could not load x_axis\n"; + } + _y_axis.resize(y_dims_in[0]); + error = H5Dread(y_id, H5T_NATIVE_FLOAT, y_space_id, y_space_id, H5P_DEFAULT, &_y_axis[0]); + if (error > 0) + { + logW << "Could not load y_axis\n"; + } + } + + if (x_space_id > -1) + { + H5Sclose(x_space_id); + } + if (y_space_id > -1) + { + H5Sclose(y_space_id); + } + + H5Dclose(x_id); + H5Dclose(y_id); + + } + + return true; } @@ -1290,7 +1383,7 @@ bool MapsH5Model::_load_integrated_spectra_10(hid_t file_id) error = H5Dread(dset_id, H5T_NATIVE_DOUBLE, memoryspace_id, dataspace_id, H5P_DEFAULT, (void*)&(*spectra)[0]); if (error > -1) { - _fit_int_spec_dict.insert({ "Max_Channels", spectra }); + _max_chan_spec_dict.insert({ "Max_Channels", spectra }); } else @@ -1332,7 +1425,7 @@ bool MapsH5Model::_load_integrated_spectra_10(hid_t file_id) error = H5Dread(dset_id, H5T_NATIVE_DOUBLE, memoryspace_id, dataspace_id, H5P_DEFAULT, (void*)&(*spectra)[0]); if (error > -1) { - _fit_int_spec_dict.insert({ "Max_10_Channels", spectra }); + _max_chan_spec_dict.insert({ "Max_10_Channels", spectra }); } else diff --git a/src/mvc/MapsH5Model.h b/src/mvc/MapsH5Model.h index 12cc20c..815c081 100644 --- a/src/mvc/MapsH5Model.h +++ b/src/mvc/MapsH5Model.h @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -88,7 +89,7 @@ class MapsH5Model : public QObject std::unordered_map>* getScalers() { return &_scalers; } - bool is_fully_loaded() {return _is_fully_loaded;} + bool is_fully_loaded() { return _is_fully_loaded; } //data_struct::Fit_Count_Dict* getAnalyzedCounts(std::string analysis_type); void getAnalyzedCounts(std::string analysis_type, data_struct::Fit_Count_Dict& out_counts); @@ -100,6 +101,8 @@ class MapsH5Model : public QObject QString getDatasetName() { return _datset_name; } + QDir getDir() { return _dir; } + void initialize_from_stream_block(data_struct::Stream_Block* block); void update_from_stream_block(data_struct::Stream_Block* block); @@ -120,14 +123,20 @@ class MapsH5Model : public QObject Calibration_curve* get_calibration_curve(string analysis_type, string scaler_name); - data_struct::Params_Override* getParamOverride(){return _params_override;} + data_struct::Params_Override* getParamOverride() { return _params_override; } + + bool load_roi(const std::vector& roi_list, data_struct::Spectra& spec); - bool load_roi(const std::vector &roi_list, data_struct::Spectra&spec); + std::unordered_map _fit_int_spec_dict; - std::unordered_map _fit_int_spec_dict; + std::unordered_map _max_chan_spec_dict; const data_struct::Scan_Info* getScanInfo() { return &_scan_info; } + const std::vector& get_x_axis() { return _x_axis; } + + const std::vector& get_y_axis() { return _y_axis; } + signals: void model_data_updated(); @@ -152,7 +161,7 @@ class MapsH5Model : public QObject bool _load_analyzed_counts_9(hid_t analyzed_grp_id, std::string group_name); - bool _load_roi_9(const std::vector &roi_list, data_struct::Spectra &spec); + bool _load_roi_9(const std::vector& roi_list, data_struct::Spectra& spec); //Version 10 @@ -172,7 +181,7 @@ class MapsH5Model : public QObject bool _load_analyzed_counts_10(hid_t analyzed_grp_id, std::string group_name); - bool _load_roi_10(const std::vector &roi_list, data_struct::Spectra &spec); + bool _load_roi_10(const std::vector& roi_list, data_struct::Spectra& spec); std::string _analysis_enum_to_str(data_struct::Fitting_Routines val); @@ -191,6 +200,8 @@ class MapsH5Model : public QObject QString _datset_name; + QDir _dir; + std::unordered_map > _quant_map_matrix; std::unordered_map > _quant_map_nnls; @@ -199,6 +210,9 @@ class MapsH5Model : public QObject data_struct::Scan_Info _scan_info; + std::vector _x_axis; + std::vector _y_axis; + float _version; bool _initialized_by_stream_block; diff --git a/src/mvc/MapsWorkspaceFilesWidget.cpp b/src/mvc/MapsWorkspaceFilesWidget.cpp index 1fb8729..dd110e7 100644 --- a/src/mvc/MapsWorkspaceFilesWidget.cpp +++ b/src/mvc/MapsWorkspaceFilesWidget.cpp @@ -14,6 +14,10 @@ #include #include "core/GlobalThreadPool.h" + +const QString STR_PROCESS("process"); +const QString STR_H5_EXPORT("hdf5_export"); + /*---------------------------------------------------------------------------*/ MapsWorkspaceFilesWidget::MapsWorkspaceFilesWidget(QWidget* parent) : QWidget(parent) @@ -48,19 +52,20 @@ void MapsWorkspaceFilesWidget::createLayout() _h5_tab_widget->appendFilterHelpAction(h5avg_file); _h5_tab_widget->appendFilterHelpAction(h5det_file); - connect(_h5_tab_widget, &FileTabWidget::customContext, this, &MapsWorkspaceFilesWidget::onPerPixelProcess); - - _h5_tab_widget->addCustomContext("hdf5", "Per Pixel Process"); + _h5_tab_widget->addCustomContext(STR_PROCESS, "Per Pixel Process"); + // TODO: need to implement + //_h5_tab_widget->addCustomContext(STR_H5_EXPORT, "Export Images"); connect(_h5_tab_widget, &FileTabWidget::loadList, [this](const QStringList& sl) { this->onOpenModel(sl, MODEL_TYPE::MAPS_H5); }); connect(_h5_tab_widget, &FileTabWidget::unloadList, [this](const QStringList& sl) { this->onCloseModel(sl, MODEL_TYPE::MAPS_H5); }); connect(_h5_tab_widget, &FileTabWidget::processList, this, &MapsWorkspaceFilesWidget::onPerPixelProcessList); + connect(_h5_tab_widget, &FileTabWidget::customContext, this, &MapsWorkspaceFilesWidget::onCustomContext); _mda_tab_widget = new FileTabWidget(); connect(_mda_tab_widget, &FileTabWidget::loadList, [this](const QStringList& sl) { this->onOpenModel(sl, MODEL_TYPE::RAW); }); connect(_mda_tab_widget, &FileTabWidget::unloadList, [this](const QStringList& sl) { this->onCloseModel(sl, MODEL_TYPE::RAW); }); connect(_mda_tab_widget, &FileTabWidget::processList, this, &MapsWorkspaceFilesWidget::onPerPixelProcessList); - connect(_mda_tab_widget, &FileTabWidget::customContext, this, &MapsWorkspaceFilesWidget::onPerPixelProcess); - _mda_tab_widget->addCustomContext("mda", "Per Pixel Process"); + connect(_mda_tab_widget, &FileTabWidget::customContext, this, &MapsWorkspaceFilesWidget::onCustomContext); + _mda_tab_widget->addCustomContext(STR_PROCESS, "Per Pixel Process"); _vlm_tab_widget = new FileTabWidget(); _vlm_tab_widget->setProcessButtonVisible(false); @@ -351,9 +356,17 @@ void MapsWorkspaceFilesWidget::clearLists() /*---------------------------------------------------------------------------*/ -void MapsWorkspaceFilesWidget::onPerPixelProcess(const QString& context_label, const QStringList& file_list) +void MapsWorkspaceFilesWidget::onCustomContext(const QString& context_label, const QStringList& file_list) { - onPerPixelProcessList(file_list); + if (context_label == STR_PROCESS) + { + onPerPixelProcessList(file_list); + } + else if (context_label == STR_H5_EXPORT) + { + //onExportImages(file_list); + } + } /*---------------------------------------------------------------------------*/ @@ -380,3 +393,5 @@ void MapsWorkspaceFilesWidget::onProcessed_list_update() _model->reload_analyzed(); } } + +/*---------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/src/mvc/MapsWorkspaceFilesWidget.h b/src/mvc/MapsWorkspaceFilesWidget.h index 4c0604a..594dbd7 100644 --- a/src/mvc/MapsWorkspaceFilesWidget.h +++ b/src/mvc/MapsWorkspaceFilesWidget.h @@ -76,7 +76,7 @@ public slots: void onCloseModel(const QStringList& names_list, MODEL_TYPE mt); - void onPerPixelProcess(const QString& context_label, const QStringList& file_list); + void onCustomContext(const QString& context_label, const QStringList& file_list); void onPerPixelProcessList(const QStringList& file_list); diff --git a/src/mvc/NumericPrecDelegate.cpp b/src/mvc/NumericPrecDelegate.cpp new file mode 100644 index 0000000..26e2136 --- /dev/null +++ b/src/mvc/NumericPrecDelegate.cpp @@ -0,0 +1,19 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2022, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#include + +/*---------------------------------------------------------------------------*/ + +NumericPrecDelegate::NumericPrecDelegate(QObject* parent) : QStyledItemDelegate(parent) +{ +} + +QString NumericPrecDelegate::displayText(const QVariant& value, const QLocale& locale) const +{ + QString formattedNum = locale.toString(value.toDouble(), 'f', 14); + return formattedNum; + +}; \ No newline at end of file diff --git a/src/mvc/NumericPrecDelegate.h b/src/mvc/NumericPrecDelegate.h new file mode 100644 index 0000000..c121054 --- /dev/null +++ b/src/mvc/NumericPrecDelegate.h @@ -0,0 +1,45 @@ +/*----------------------------------------------------------------------------- + * Copyright (c) 2022, UChicago Argonne, LLC + * See LICENSE file. + *---------------------------------------------------------------------------*/ + +#ifndef NUMERIC_PREC_DELEGATE_H +#define NUMERIC_PREC_DELEGATE_H + +/*---------------------------------------------------------------------------*/ + +#include +#include + +class NumericPrecDelegate : public QStyledItemDelegate +{ + Q_OBJECT +public: + explicit NumericPrecDelegate(QObject* parent = 0); + virtual QString displayText(const QVariant& value, const QLocale& locale) const; + + QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, + const QModelIndex& index) const Q_DECL_OVERRIDE + { + auto w = QStyledItemDelegate::createEditor( + parent, option, index); + + auto sp = qobject_cast(w); + if (sp) + { + sp->setDecimals(14); + } + return w; + } + +signals: + +public slots: + +}; + +/*---------------------------------------------------------------------------*/ + +#endif + +/*---------------------------------------------------------------------------*/ diff --git a/src/mvc/PerPixelFitWidget.cpp b/src/mvc/PerPixelFitWidget.cpp index 0076afb..174f748 100644 --- a/src/mvc/PerPixelFitWidget.cpp +++ b/src/mvc/PerPixelFitWidget.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include @@ -51,7 +50,7 @@ void PerPixelFitWidget::createLayout() _btn_cancel = new QPushButton("Cancel"); connect(_btn_cancel, &QPushButton::released, this, &PerPixelFitWidget::close); - QGroupBox* processing_grp = new QGroupBox(); + _processing_grp = new QGroupBox(); QVBoxLayout* v_proc_layout = new QVBoxLayout(); _proc_roi = new QCheckBox("Region of Interest Analysis"); _proc_nnls = new QCheckBox("Non-Negative Least Squares Analysis"); @@ -61,15 +60,15 @@ void PerPixelFitWidget::createLayout() v_proc_layout->addWidget(_proc_nnls); v_proc_layout->addWidget(_proc_matrix); - processing_grp->setLayout(v_proc_layout); - processing_grp->setTitle("Processing Options"); + _processing_grp->setLayout(v_proc_layout); + _processing_grp->setTitle("Processing Options"); - QGroupBox* saving_grp = new QGroupBox(); + _saving_grp = new QGroupBox(); QVBoxLayout* v_save_layout = new QVBoxLayout(); _save_avg = new QCheckBox("Generate Avg H5"); _save_v9 = new QCheckBox("Add v9 soft links"); _save_exchange = new QCheckBox("Add Exchange format"); - _save_csv = new QCheckBox("Save CVS of integrated fits"); + _save_csv = new QCheckBox("Save CSV of integrated fits"); _perform_quantification = new QCheckBox("Perform Quantification (maps_standardinfo.txt)"); _le_detectors = new QLineEdit("0,1,2,3,4,5,6"); @@ -80,8 +79,8 @@ void PerPixelFitWidget::createLayout() v_save_layout->addWidget(_save_csv); v_save_layout->addWidget(_perform_quantification); - saving_grp->setLayout(v_save_layout); - saving_grp->setTitle("Export Options"); + _saving_grp->setLayout(v_save_layout); + _saving_grp->setTitle("Export Options"); _file_list_model = new QStandardItemModel(); _file_list_view = new QListView(); @@ -92,9 +91,9 @@ void PerPixelFitWidget::createLayout() buttonlayout->addWidget(_btn_run); buttonlayout->addWidget(_btn_cancel); - QHBoxLayout* proc_save_layout = new QHBoxLayout(); - proc_save_layout->addWidget(processing_grp); - proc_save_layout->addWidget(saving_grp); + _proc_save_layout = new QHBoxLayout(); + _proc_save_layout->addWidget(_processing_grp); + _proc_save_layout->addWidget(_saving_grp); QHBoxLayout* hbox_progresss_blocks = new QHBoxLayout(); hbox_progresss_blocks->addWidget(new QLabel("Current Fitting:")); @@ -106,7 +105,7 @@ void PerPixelFitWidget::createLayout() QVBoxLayout* layout = new QVBoxLayout(); layout->addWidget(_le_detectors); - layout->addItem(proc_save_layout); + layout->addItem(_proc_save_layout); layout->addWidget(_file_list_view); layout->addItem(buttonlayout); layout->addItem(hbox_progresss_blocks); @@ -134,6 +133,10 @@ void PerPixelFitWidget::updateFileList(QStringList file_list) void PerPixelFitWidget::runProcessing() { _btn_run->setEnabled(false); + _processing_grp->setEnabled(false); + _saving_grp->setEnabled(false); + _le_detectors->setEnabled(false); + _file_list_view->setEnabled(false); //run in thread data_struct::Analysis_Job analysis_job; analysis_job.dataset_directory = _directory; @@ -264,6 +267,11 @@ void PerPixelFitWidget::runProcessing() iterate_datasets_and_update(analysis_job); _btn_run->setEnabled(true); + _processing_grp->setEnabled(true); + _saving_grp->setEnabled(true); + _le_detectors->setEnabled(true); + _file_list_view->setEnabled(true); + _btn_cancel->setText("Close"); emit processed_list_update(); } diff --git a/src/mvc/PerPixelFitWidget.h b/src/mvc/PerPixelFitWidget.h index 18f172f..c5b27b9 100644 --- a/src/mvc/PerPixelFitWidget.h +++ b/src/mvc/PerPixelFitWidget.h @@ -23,6 +23,7 @@ #include #include #include +#include #include /*---------------------------------------------------------------------------*/ @@ -102,6 +103,12 @@ public slots: QLineEdit* _le_detectors; + QHBoxLayout* _proc_save_layout; + + QGroupBox* _saving_grp; + + QGroupBox* _processing_grp; + size_t _total_blocks; }; diff --git a/src/mvc/SpectraWidgetSettingsDialog.cpp b/src/mvc/SpectraWidgetSettingsDialog.cpp index c161280..187353f 100644 --- a/src/mvc/SpectraWidgetSettingsDialog.cpp +++ b/src/mvc/SpectraWidgetSettingsDialog.cpp @@ -31,6 +31,7 @@ void SpectraWidgetSettingsDialog::createLayout() bool log10 = Preferences::inst()->getValue(STR_PFR_LOG_10).toBool(); bool detailed = Preferences::inst()->getValue(STR_PFR_DETAILED_FIT_SPEC).toBool(); bool fit_int = Preferences::inst()->getValue(STR_PFR_SHOW_FIT_INT_SPEC).toBool(); + bool max_chan = Preferences::inst()->getValue(STR_PFR_SHOW_MAX_CHAN_SPEC).toBool(); _chkLog10 = new QCheckBox("Display Y axis in Log10"); _chkLog10->setChecked(log10); @@ -38,11 +39,14 @@ void SpectraWidgetSettingsDialog::createLayout() _chkDetailedFit->setChecked(detailed); _chkFit_Int = new QCheckBox("Show Fit_Int_Spectras (Summed per pixel fitting)"); _chkFit_Int->setChecked(fit_int); + _chkMax_Chan = new QCheckBox("Show Max Channels Spectras"); + _chkMax_Chan->setChecked(max_chan); QVBoxLayout* chklayout = new QVBoxLayout(); chklayout->addWidget(_chkLog10); chklayout->addWidget(_chkDetailedFit); chklayout->addWidget(_chkFit_Int); + chklayout->addWidget(_chkMax_Chan); _btn_accept = new QPushButton("Accept"); @@ -71,6 +75,7 @@ void SpectraWidgetSettingsDialog::onAccepted() Preferences::inst()->setValue(STR_PFR_LOG_10, _chkLog10->isChecked()); Preferences::inst()->setValue(STR_PFR_DETAILED_FIT_SPEC, _chkDetailedFit->isChecked()); Preferences::inst()->setValue(STR_PFR_SHOW_FIT_INT_SPEC, _chkFit_Int->isChecked()); + Preferences::inst()->setValue(STR_PFR_SHOW_MAX_CHAN_SPEC, _chkMax_Chan->isChecked()); Preferences::inst()->save(); close(); } @@ -82,4 +87,4 @@ void SpectraWidgetSettingsDialog::onCancel() close(); } -/*---------------------------------------------------------------------------*/ \ No newline at end of file +/*---------------------------------------------------------------------------*/ diff --git a/src/mvc/SpectraWidgetSettingsDialog.h b/src/mvc/SpectraWidgetSettingsDialog.h index 22dfe8c..949a5eb 100644 --- a/src/mvc/SpectraWidgetSettingsDialog.h +++ b/src/mvc/SpectraWidgetSettingsDialog.h @@ -61,6 +61,8 @@ public slots: QCheckBox* _chkFit_Int; + QCheckBox* _chkMax_Chan; + //QTextEdit *_textEdit; QPushButton *_btn_run; diff --git a/src/preferences/Preferences.h b/src/preferences/Preferences.h index fe8b56a..298705b 100644 --- a/src/preferences/Preferences.h +++ b/src/preferences/Preferences.h @@ -51,6 +51,7 @@ #define STR_PFR_LOG_10 "Log10YAxis" #define STR_PFR_DETAILED_FIT_SPEC "DetailedFitSpectra" #define STR_PFR_SHOW_FIT_INT_SPEC "ShowFitIntSpectra" +#define STR_PFR_SHOW_MAX_CHAN_SPEC "ShowMaxChanSpectra" #define STR_GRID_ROWS "GridRows" #define STR_GRID_COLS "GridCols" #define STR_COLORMAP "ColorMap"