diff --git a/cmcrameri/__init__.py b/cmcrameri/__init__.py index 9425ec8..3fda0f1 100644 --- a/cmcrameri/__init__.py +++ b/cmcrameri/__init__.py @@ -18,6 +18,6 @@ __authors__ = ["Callum Rollo "] -__version__ = "1.6" +__version__ = "1.7" __scm_version__ = "8.0" diff --git a/cmcrameri/cm.py b/cmcrameri/cm.py index 070ce4b..1b602e7 100755 --- a/cmcrameri/cm.py +++ b/cmcrameri/cm.py @@ -54,9 +54,7 @@ "fes", ) -_cmap_base_names_categorical = tuple( - name for name in _cmap_names_sequential if name not in {"batlowW", "batlowK"} -) +_cmap_base_names_categorical = tuple(_cmap_names_sequential) _cmap_names_categorical = tuple(f"{name}S" for name in _cmap_base_names_categorical) _cmap_base_names_cyclic = ( diff --git a/cmcrameri/cmaps/batlowKS.txt b/cmcrameri/cmaps/batlowKS.txt new file mode 100644 index 0000000..8b054b3 --- /dev/null +++ b/cmcrameri/cmaps/batlowKS.txt @@ -0,0 +1,100 @@ +0.016676 0.020805 0.040926 +0.992327 0.752258 0.837411 +0.470163 0.486878 0.256263 +0.223875 0.335205 0.373382 +0.897497 0.633246 0.378392 +0.107108 0.184867 0.269059 +0.687116 0.574882 0.225646 +0.328820 0.410492 0.331523 +0.981321 0.682490 0.605457 +0.068488 0.100766 0.152589 +0.569640 0.531896 0.225527 +0.804750 0.608616 0.279601 +0.274509 0.376117 0.361011 +0.992190 0.714678 0.719411 +0.165185 0.271594 0.349751 +0.394979 0.447862 0.293185 +0.954635 0.656758 0.495641 +0.197620 0.309004 0.368560 +0.993369 0.733990 0.781210 +0.988078 0.696918 0.658823 +0.970572 0.669090 0.551044 +0.050791 0.067321 0.102713 +0.248040 0.356207 0.370513 +0.430690 0.466885 0.274441 +0.520571 0.510686 0.237742 +0.362484 0.429877 0.311671 +0.743621 0.592038 0.243777 +0.622908 0.552706 0.219927 +0.858490 0.622430 0.328424 +0.302196 0.394351 0.346861 +0.136532 0.232929 0.319290 +0.083960 0.137520 0.207794 +0.932258 0.645422 0.440094 +0.832738 0.615797 0.302634 +0.121115 0.209147 0.296005 +0.990548 0.705621 0.689085 +0.094703 0.160735 0.239260 +0.774885 0.600715 0.259821 +0.033368 0.045525 0.075874 +0.654734 0.564090 0.220932 +0.181627 0.291307 0.361153 +0.993109 0.724127 0.750045 +0.261272 0.366537 0.366454 +0.288066 0.385286 0.354445 +0.916166 0.639285 0.408837 +0.494624 0.498687 0.246567 +0.345204 0.420032 0.321843 +0.452752 0.478193 0.263941 +0.719564 0.584984 0.234456 +0.376052 0.437473 0.303829 +0.062687 0.086805 0.130275 +0.881759 0.628691 0.356360 +0.212903 0.324666 0.372427 +0.945901 0.651792 0.471788 +0.409865 0.455890 0.285134 +0.977270 0.676622 0.582278 +0.985601 0.690608 0.636061 +0.962180 0.661914 0.519470 +0.548059 0.522809 0.230107 +0.237895 0.347739 0.372498 +0.592021 0.540910 0.222121 +0.074651 0.115786 0.175929 +0.313300 0.401202 0.340581 +0.152785 0.255619 0.338342 +0.993154 0.741661 0.805017 +0.845911 0.619182 0.315228 +0.983608 0.686511 0.620805 +0.870443 0.625595 0.342158 +0.042445 0.056896 0.089845 +0.507407 0.504671 0.242024 +0.607329 0.546853 0.220680 +0.189708 0.300392 0.365328 +0.320954 0.405818 0.336139 +0.939378 0.648573 0.455903 +0.254684 0.361484 0.368675 +0.420126 0.461346 0.279789 +0.924528 0.642336 0.424388 +0.353725 0.424919 0.316817 +0.974117 0.672815 0.566713 +0.703364 0.580033 0.229505 +0.079090 0.126414 0.191829 +0.992818 0.746912 0.821120 +0.482209 0.492743 0.251350 +0.128699 0.221162 0.308145 +0.089103 0.148960 0.223655 +0.057478 0.077174 0.116136 +0.024857 0.032994 0.060093 +0.295048 0.389818 0.350777 +0.638727 0.558451 0.219989 +0.989428 0.701226 0.673958 +0.759394 0.596478 0.251322 +0.534121 0.516742 0.233730 +0.205358 0.317078 0.370890 +0.230971 0.341661 0.373219 +0.819001 0.612280 0.290739 +0.281227 0.380740 0.357873 +0.441559 0.472499 0.269167 +0.113916 0.197039 0.282951 +0.385381 0.442632 0.298528 +0.993318 0.729004 0.765555 diff --git a/cmcrameri/cmaps/batlowWS.txt b/cmcrameri/cmaps/batlowWS.txt new file mode 100644 index 0000000..5322445 --- /dev/null +++ b/cmcrameri/cmaps/batlowWS.txt @@ -0,0 +1,100 @@ +1.000000 0.995792 0.995630 +0.004637 0.098343 0.349833 +0.487926 0.528073 0.219689 +0.907149 0.672180 0.516481 +0.126576 0.372589 0.382340 +0.742823 0.614585 0.265760 +0.994914 0.819823 0.804891 +0.066347 0.261923 0.377420 +0.287175 0.456145 0.316006 +0.049465 0.191514 0.365883 +0.611435 0.570616 0.197082 +0.196804 0.417914 0.358876 +0.086163 0.319146 0.384832 +0.960963 0.719053 0.649193 +1.000000 0.919515 0.917749 +0.841438 0.647106 0.393892 +0.386976 0.492625 0.265584 +0.074722 0.290850 0.381694 +0.678626 0.593304 0.218155 +0.797642 0.632594 0.328440 +0.031891 0.146753 0.358229 +1.000000 0.960136 0.959490 +0.876785 0.659459 0.456431 +0.336283 0.474399 0.291064 +0.240272 0.437545 0.339169 +0.999489 0.873048 0.867823 +0.982258 0.764508 0.728333 +0.102811 0.346633 0.385611 +0.935018 0.689766 0.578695 +0.547198 0.548608 0.201224 +0.059056 0.230019 0.372281 +0.158287 0.396424 0.373569 +0.432844 0.508841 0.243475 +1.000000 0.897109 0.894081 +0.176781 0.407449 0.366938 +0.578726 0.559444 0.196644 +0.516956 0.538156 0.209364 +0.859944 0.653422 0.425620 +0.820812 0.640231 0.361344 +0.054774 0.211752 0.369266 +0.644949 0.581983 0.204022 +0.093708 0.333047 0.385618 +0.972482 0.739853 0.688143 +1.000000 0.940497 0.939436 +0.921295 0.679968 0.546917 +0.263409 0.446918 0.327894 +0.141488 0.384800 0.378701 +0.042104 0.169711 0.362175 +1.000000 0.978494 0.978119 +0.948316 0.702501 0.612626 +0.361443 0.483493 0.278338 +0.711566 0.604272 0.239170 +0.989780 0.791754 0.767880 +0.070259 0.276546 0.379654 +0.459940 0.518331 0.231262 +0.113716 0.359846 0.384591 +0.218027 0.427911 0.349563 +0.997972 0.847203 0.838249 +0.079937 0.305058 0.383472 +0.771646 0.624066 0.296099 +0.311512 0.465284 0.303650 +0.062771 0.246598 0.374979 +0.019623 0.122982 0.354106 +0.892407 0.665555 0.486558 +0.406433 0.499522 0.256044 +0.082923 0.312102 0.384210 +0.207271 0.422956 0.354373 +0.348821 0.478945 0.284696 +0.757569 0.619447 0.280559 +1.000000 0.930178 0.928808 +0.012565 0.110825 0.351981 +0.251759 0.442260 0.333629 +0.941729 0.695707 0.595351 +0.998889 0.860347 0.853484 +0.899867 0.668767 0.501512 +0.060869 0.238500 0.373673 +0.928203 0.684556 0.562590 +0.531919 0.543327 0.204958 +0.057021 0.221141 0.370813 +0.966899 0.728920 0.668419 +0.594947 0.564990 0.196125 +0.275221 0.451550 0.322012 +0.323850 0.469853 0.297387 +0.186615 0.412757 0.363076 +0.884727 0.662478 0.471563 +0.661828 0.587663 0.210168 +0.089792 0.326111 0.385310 +0.045968 0.180761 0.364057 +0.628129 0.576301 0.199637 +0.868550 0.656464 0.441129 +0.695248 0.598847 0.227875 +0.850921 0.650319 0.409880 +0.954746 0.710260 0.630581 +0.999842 0.885298 0.881323 +0.992638 0.805795 0.786803 +0.419564 0.504170 0.249730 +1.000000 0.950480 0.949652 +0.052254 0.201845 0.367610 +0.986319 0.777917 0.748321 +0.977623 0.751759 0.708191 diff --git a/cmcrameri/cmaps/glasgowS.txt b/cmcrameri/cmaps/glasgowS.txt new file mode 100644 index 0000000..8af93c7 --- /dev/null +++ b/cmcrameri/cmaps/glasgowS.txt @@ -0,0 +1,100 @@ +0.211814 0.073933 0.220614 +0.858966 0.828649 1.000000 +0.427481 0.441071 0.175407 +0.440132 0.177274 0.021779 +0.413025 0.638583 0.645243 +0.322081 0.105091 0.125200 +0.626365 0.734528 0.828485 +0.454737 0.317610 0.004415 +0.386730 0.540655 0.416564 +0.516658 0.689484 0.744470 +0.406895 0.492129 0.296246 +0.269678 0.089618 0.171150 +0.381923 0.126188 0.076360 +0.445764 0.382645 0.062145 +0.731886 0.777311 0.907767 +0.456875 0.250148 0.002164 +0.374584 0.589162 0.535623 +0.437407 0.413058 0.116496 +0.396727 0.516529 0.356539 +0.791130 0.801282 0.951537 +0.451503 0.350465 0.020328 +0.414377 0.146437 0.048631 +0.678516 0.755682 0.867780 +0.572491 0.712585 0.787664 +0.461151 0.664862 0.697624 +0.417154 0.467178 0.235803 +0.453341 0.213916 0.007473 +0.456468 0.284425 0.000954 +0.295807 0.097347 0.147964 +0.242186 0.081714 0.195392 +0.377957 0.564659 0.476156 +0.350367 0.113897 0.101701 +0.383080 0.611744 0.587688 +0.365754 0.119348 0.089337 +0.422307 0.454320 0.205544 +0.282835 0.093477 0.159435 +0.227493 0.077670 0.207907 +0.335847 0.109312 0.113645 +0.382037 0.552651 0.446408 +0.308833 0.101183 0.136575 +0.395249 0.625111 0.616945 +0.391693 0.528626 0.386586 +0.398422 0.135031 0.062973 +0.455733 0.301082 0.001850 +0.441874 0.398142 0.088480 +0.448311 0.195330 0.013206 +0.599715 0.723689 0.808335 +0.412008 0.479754 0.266048 +0.256166 0.085604 0.183121 +0.544745 0.701195 0.766413 +0.760499 0.788895 0.929016 +0.455915 0.232298 0.004146 +0.652537 0.745146 0.848224 +0.453365 0.334073 0.009869 +0.428639 0.160657 0.033747 +0.375126 0.576794 0.505857 +0.824030 0.814568 0.975362 +0.488577 0.677395 0.721630 +0.432553 0.427358 0.145642 +0.435484 0.651905 0.672199 +0.448998 0.366705 0.038112 +0.704765 0.766320 0.887483 +0.401799 0.504382 0.326401 +0.456916 0.267488 0.001104 +0.376461 0.598692 0.557980 +0.454104 0.325833 0.006679 +0.315407 0.103164 0.130930 +0.379891 0.558642 0.461292 +0.430028 0.434275 0.160429 +0.262979 0.087669 0.177114 +0.414572 0.473483 0.250924 +0.456547 0.241301 0.003037 +0.613104 0.729139 0.818466 +0.219795 0.075756 0.214237 +0.406537 0.140384 0.055873 +0.665527 0.750416 0.858005 +0.434786 0.168726 0.027345 +0.456132 0.292781 0.001245 +0.452515 0.342277 0.014455 +0.530729 0.695382 0.755540 +0.394203 0.522582 0.371565 +0.558666 0.706933 0.777122 +0.289335 0.095451 0.153667 +0.390172 0.130335 0.069771 +0.376341 0.570698 0.491019 +0.276290 0.091604 0.165243 +0.448005 0.658436 0.685102 +0.389198 0.534645 0.401588 +0.502581 0.683485 0.733182 +0.373764 0.122514 0.082919 +0.423742 0.645273 0.658904 +0.474730 0.671184 0.709796 +0.718176 0.771756 0.897528 +0.443903 0.390456 0.075044 +0.421787 0.153204 0.041226 +0.456736 0.276029 0.000916 +0.455272 0.309376 0.002863 +0.435017 0.420275 0.130954 +0.450334 0.358597 0.028028 +0.374498 0.582935 0.520736 diff --git a/cmcrameri/cmaps/lipariS.txt b/cmcrameri/cmaps/lipariS.txt new file mode 100644 index 0000000..905547b --- /dev/null +++ b/cmcrameri/cmaps/lipariS.txt @@ -0,0 +1,100 @@ +0.011370 0.073240 0.148284 +0.992307 0.959017 0.856609 +0.639835 0.384073 0.404170 +0.912931 0.600980 0.450565 +0.320355 0.358086 0.480032 +0.848263 0.430214 0.369804 +0.093441 0.241239 0.381025 +0.905785 0.763489 0.597217 +0.465644 0.373563 0.449468 +0.941274 0.859286 0.718088 +0.910625 0.510820 0.397017 +0.743578 0.394768 0.380152 +0.033828 0.155833 0.265955 +0.547450 0.378347 0.428030 +0.899641 0.679851 0.511757 +0.210000 0.318627 0.462138 +0.397066 0.368982 0.467095 +0.690355 0.388122 0.391767 +0.146980 0.282919 0.428820 +0.905445 0.641036 0.479732 +0.899033 0.720090 0.549990 +0.360933 0.365208 0.474974 +0.797746 0.407293 0.371603 +0.270378 0.343785 0.477950 +0.056373 0.198137 0.325072 +0.920324 0.810234 0.653908 +0.022084 0.114884 0.206390 +0.505298 0.375890 0.439053 +0.966140 0.909240 0.786616 +0.887860 0.465922 0.378203 +0.592251 0.381023 0.416371 +0.916963 0.557475 0.422534 +0.432886 0.371542 0.458027 +0.178074 0.301843 0.447622 +0.901498 0.487690 0.386470 +0.241213 0.332694 0.472151 +0.072795 0.219688 0.353691 +0.526060 0.377102 0.433614 +0.615676 0.382468 0.410336 +0.043537 0.176819 0.295697 +0.909249 0.621333 0.464954 +0.823879 0.417202 0.369609 +0.979202 0.934179 0.821550 +0.341527 0.362272 0.478039 +0.930142 0.834563 0.685252 +0.915540 0.534347 0.409251 +0.902079 0.660426 0.495194 +0.485169 0.374716 0.444348 +0.664720 0.385899 0.397959 +0.027114 0.135178 0.236104 +0.912129 0.786497 0.624458 +0.569504 0.379648 0.422267 +0.915775 0.579733 0.436411 +0.898515 0.699650 0.529889 +0.296766 0.352104 0.480280 +0.770753 0.400018 0.375287 +0.379261 0.367335 0.471236 +0.901414 0.741342 0.572384 +0.018046 0.095138 0.176970 +0.953394 0.884237 0.752011 +0.869899 0.446539 0.372604 +0.716690 0.390967 0.385745 +0.414838 0.370329 0.462661 +0.118433 0.262485 0.406341 +0.446721 0.372413 0.454430 +0.049594 0.187473 0.310472 +0.985762 0.946610 0.839070 +0.903350 0.752305 0.584490 +0.015899 0.084718 0.162521 +0.906618 0.499143 0.391507 +0.859490 0.437974 0.370858 +0.515595 0.376498 0.436363 +0.603878 0.381729 0.413368 +0.475346 0.374142 0.446922 +0.580790 0.380325 0.419345 +0.024440 0.124981 0.221213 +0.558389 0.378991 0.425175 +0.105413 0.251937 0.393974 +0.038425 0.166276 0.280837 +0.810973 0.411881 0.370362 +0.895246 0.476567 0.382020 +0.907326 0.631251 0.472281 +0.331185 0.360355 0.479208 +0.911148 0.611261 0.457722 +0.914509 0.590475 0.443461 +0.677455 0.386948 0.394848 +0.925046 0.822341 0.669369 +0.900717 0.670121 0.503303 +0.627665 0.383257 0.407260 +0.903673 0.650752 0.487354 +0.879389 0.455884 0.375054 +0.972654 0.921726 0.804056 +0.132308 0.272835 0.417985 +0.908714 0.774888 0.610543 +0.703442 0.389446 0.388729 +0.082595 0.230463 0.367551 +0.959709 0.896742 0.769246 +0.898551 0.709779 0.539663 +0.030209 0.145478 0.251025 +0.351412 0.363861 0.476608 diff --git a/cmcrameri/cmaps/naviaS.txt b/cmcrameri/cmaps/naviaS.txt new file mode 100644 index 0000000..ae7ffcb --- /dev/null +++ b/cmcrameri/cmaps/naviaS.txt @@ -0,0 +1,100 @@ +0.013420 0.075817 0.152989 +0.986688 0.958281 0.850479 +0.255325 0.542974 0.501320 +0.104007 0.377108 0.562497 +0.530269 0.761628 0.412971 +0.029108 0.222061 0.398763 +0.820517 0.888367 0.623153 +0.182644 0.473440 0.546595 +0.350441 0.629031 0.445960 +0.918458 0.927676 0.750645 +0.020984 0.146080 0.272884 +0.056570 0.301290 0.505677 +0.147220 0.433959 0.565369 +0.682722 0.834941 0.490287 +0.421036 0.688741 0.415117 +0.217492 0.507811 0.524508 +0.299755 0.583353 0.474918 +0.127118 0.408585 0.568816 +0.018404 0.110739 0.211044 +0.039376 0.261524 0.456594 +0.023992 0.183406 0.336383 +0.199899 0.490844 0.535616 +0.756716 0.864214 0.554480 +0.955439 0.943981 0.804030 +0.382682 0.657277 0.429670 +0.603948 0.799967 0.440475 +0.165274 0.454907 0.556983 +0.276504 0.562275 0.488653 +0.235808 0.524993 0.513165 +0.873943 0.909184 0.689751 +0.469094 0.723723 0.407003 +0.079162 0.340477 0.541813 +0.325473 0.606628 0.459945 +0.091644 0.359270 0.554118 +0.937802 0.936108 0.778308 +0.016961 0.093990 0.181411 +0.287830 0.572565 0.481933 +0.848439 0.899102 0.656986 +0.047153 0.281406 0.482514 +0.208638 0.499326 0.530082 +0.156434 0.444849 0.561566 +0.365969 0.642778 0.437786 +0.720806 0.850311 0.521252 +0.191270 0.482238 0.541130 +0.400915 0.672578 0.421948 +0.971611 0.951338 0.827953 +0.565854 0.780975 0.423745 +0.497935 0.742421 0.407680 +0.897231 0.918701 0.721062 +0.026143 0.202606 0.367909 +0.265674 0.552426 0.495106 +0.312267 0.594697 0.467584 +0.443601 0.705794 0.409842 +0.226532 0.516330 0.518887 +0.067354 0.321058 0.525594 +0.019714 0.128112 0.241609 +0.022349 0.164550 0.304590 +0.115972 0.393615 0.567218 +0.789985 0.876809 0.588748 +0.643349 0.818084 0.462930 +0.137551 0.421970 0.567982 +0.033282 0.241728 0.428497 +0.245362 0.533842 0.507323 +0.174021 0.464387 0.551920 +0.339437 0.619188 0.452047 +0.169695 0.459700 0.554492 +0.020346 0.137020 0.257176 +0.231132 0.520642 0.516028 +0.221968 0.512056 0.521697 +0.151851 0.439525 0.563597 +0.908093 0.923262 0.736080 +0.271026 0.557299 0.491915 +0.483066 0.732990 0.406834 +0.410710 0.680539 0.418384 +0.739078 0.857435 0.537670 +0.085333 0.349976 0.548472 +0.623571 0.809166 0.451034 +0.186971 0.477869 0.543872 +0.019071 0.119327 0.226230 +0.834795 0.893822 0.640175 +0.963686 0.947720 0.816201 +0.027501 0.212323 0.383455 +0.260437 0.547651 0.498247 +0.547692 0.771318 0.417631 +0.024987 0.192980 0.352204 +0.017703 0.102263 0.196117 +0.213030 0.503562 0.527302 +0.042961 0.271453 0.469870 +0.946819 0.940114 0.791406 +0.885854 0.914016 0.705609 +0.861480 0.904216 0.673526 +0.979259 0.954852 0.839361 +0.358071 0.635814 0.441885 +0.374165 0.649930 0.433689 +0.142452 0.428133 0.566866 +0.023123 0.173933 0.320514 +0.204288 0.495093 0.532857 +0.282108 0.567358 0.485321 +0.293713 0.577887 0.478456 +0.513668 0.751981 0.409686