From 8c215f9d56a65220df329f896cb6cb114d8c07b7 Mon Sep 17 00:00:00 2001 From: Roger Lee Date: Tue, 3 Sep 2024 19:47:58 +0800 Subject: [PATCH] update --- README.md | 8 +- changelog.md | 6 + cigvis/colormap.py | 10 +- cigvis/customcmap.py | 2603 +++++++++++++++-------------- cigvis/gui/custom_widgets.py | 2 +- cigvis/gui/gui2d/control_panel.py | 6 + cigvis/gui/gui2d/plot_canvas.py | 11 +- cigvis/tools.py | 127 ++ cigvis/utils/surfaceutils.py | 18 +- cigvis/visernodes/volume_slice.py | 6 +- cigvis/viserplot.py | 24 +- docs/readme.rst | 8 +- pyproject.toml | 2 +- 13 files changed, 1529 insertions(+), 1302 deletions(-) create mode 100644 cigvis/tools.py diff --git a/README.md b/README.md index 8036fd9..181aff9 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,16 @@ For local installation, clone the repository from GitHub and then install it usi ```shell git clone https://github.com/JintaoLee-Roger/cigvis.git # Minimal installation -pip install -e . +pip install -e . --config-settings editable_mode=strict # include plotly -pip install -e ".[plotly]" +pip install -e ".[plotly]" --config-settings editable_mode=strict # include viser -pip install -e ".[viser]" +pip install -e ".[viser]" --config-settings editable_mode=strict # install all dependencies -pip install -e ".[all]" +pip install -e ".[all]" --config-settings editable_mode=strict ``` ## Core Features diff --git a/changelog.md b/changelog.md index c2f3ed0..2f0cc04 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,12 @@ # Changelog +### v0.1.2 + +- added `blue_white_purple` colormap +- added `nancolor` to set nan color in viser +- added `extract_arbitrary_line_by_view` function to a extract arbitrary line by clicking + ### v0.1.1 diff --git a/cigvis/colormap.py b/cigvis/colormap.py index 28c04a5..d58018d 100644 --- a/cigvis/colormap.py +++ b/cigvis/colormap.py @@ -29,11 +29,13 @@ from .customcmap import * -def arrs_to_image(arr, cmap, clim, as_uint8=False): +def arrs_to_image(arr, cmap, clim, as_uint8=False, nancolor=None): - def _to_image(arr, cmap, clim): + def _to_image(arr, cmap, clim, nancolor=None): norm = plt.Normalize(vmin=clim[0], vmax=clim[1]) cmap = cmap_to_mpl(cmap) + if nancolor is not None: + cmap.set_bad(nancolor) img = cmap(norm(arr)) return img @@ -46,9 +48,9 @@ def _to_image(arr, cmap, clim): if len(arr) != len(cmap) or len(arr) != len(clim): raise RuntimeError("(len(arr) != len(cmap)) or (len(arr) != len(clim))") - out = _to_image(arr[0], cmap[0], clim[0]) + out = _to_image(arr[0], cmap[0], clim[0], nancolor) for i in range(1, len(arr)): - img = _to_image(arr[i], cmap[i], clim[i]) + img = _to_image(arr[i], cmap[i], clim[i], nancolor) bgRGB = out[:, :, :3] fgRGB = img[:, :, :3] diff --git a/cigvis/customcmap.py b/cigvis/customcmap.py index ffd9934..3a748ec 100644 --- a/cigvis/customcmap.py +++ b/cigvis/customcmap.py @@ -9,1272 +9,1341 @@ """ +bwp = { # blue-white-purple + 'red': [(0.0, 0.25882352941176473, 0.25882352941176473), + (0.25, 0.09803921568627451, 0.09803921568627451), + (0.5, 0.8745098039215686, 0.8745098039215686), + (1.0, 0.4627450980392157, 0.4627450980392157)], + 'green': [(0.0, 0.027450980392156862, 0.027450980392156862), + (0.25, 0.2549019607843137, 0.2549019607843137), + (0.5, 0.8705882352941177, 0.8705882352941177), + (1.0, 0.3176470588235294, 0.3176470588235294)], + 'blue': [(0.0, 0.5137254901960784, 0.5137254901960784), + (0.25, 0.9607843137254902, 0.9607843137254902), + (0.5, 0.9882352941176471, 0.9882352941176471), + (1.0, 0.3058823529411765, 0.3058823529411765)] +} + +stratum = { + 'red': [(0.0, 0.9019607843137255, 0.9019607843137255), + (0.03125, 0.9019607843137255, 0.9294117647058824), + (0.0625, 0.9294117647058824, 1.0), + (0.09375, 1.0, 0.4549019607843137), + (0.125, 0.4549019607843137, 0.2196078431372549), + (0.15625, 0.2196078431372549, 0.09803921568627451), + (0.1875, 0.09803921568627451, 0.4549019607843137), + (0.21875, 0.4549019607843137, 0.21568627450980393), + (0.25, 0.21568627450980393, 0.011764705882352941), + (0.28125, 0.011764705882352941, 0.0), + (0.3125, 0.0, 0.21568627450980393), + (0.34375, 0.21568627450980393, 0.9294117647058824), + (0.375, 0.9294117647058824, 0.5019607843137255), + (0.40625, 0.5019607843137255, 0.45098039215686275), + (0.4375, 0.45098039215686275, 0.4666666666666667), + (0.46875, 0.4666666666666667, 0.9215686274509803), + (0.5, 0.9215686274509803, 0.9019607843137255), + (0.53125, 0.9019607843137255, 0.47843137254901963), + (0.5625, 0.47843137254901963, 0.5019607843137255), + (0.59375, 0.5019607843137255, 0.7529411764705882), + (0.625, 0.7529411764705882, 0.23529411764705882), + (0.65625, 0.23529411764705882, 0.8705882352941177), + (0.6875, 0.8705882352941177, 0.47843137254901963), + (0.71875, 0.47843137254901963, 0.5098039215686274), + (0.75, 0.5098039215686274, 0.6823529411764706), + (0.78125, 0.6823529411764706, 0.49411764705882355), + (0.8125, 0.49411764705882355, 0.7490196078431373), + (0.84375, 0.7490196078431373, 0.6705882352941176), + (0.875, 0.6705882352941176, 0.6901960784313725), + (0.90625, 0.6901960784313725, 0.8784313725490196), + (0.9375, 0.8784313725490196, 0.6823529411764706), + (0.96875, 0.6823529411764706, 0.6588235294117647), + (1.0, 0.6588235294117647, 0.6588235294117647)], + 'green': [(0.0, 0.19607843137254902, 0.19607843137254902), + (0.03125, 0.19607843137254902, 0.5294117647058824), + (0.0625, 0.5294117647058824, 1.0), + (0.09375, 1.0, 0.9803921568627451), + (0.125, 0.9803921568627451, 0.49411764705882355), + (0.15625, 0.49411764705882355, 0.24705882352941178), + (0.1875, 0.24705882352941178, 0.9803921568627451), + (0.21875, 0.9803921568627451, 0.49411764705882355), + (0.25, 0.49411764705882355, 0.0), (0.28125, 0.0, 0.0), + (0.3125, 0.0, 0.49019607843137253), + (0.34375, 0.49019607843137253, 0.5333333333333333), + (0.375, 0.5333333333333333, 0.5019607843137255), + (0.40625, 0.5019607843137255, 0.08235294117647059), + (0.4375, 0.08235294117647059, 0.08235294117647059), + (0.46875, 0.08235294117647059, 0.5333333333333333), + (0.5, 0.5333333333333333, 0.19607843137254902), + (0.53125, 0.19607843137254902, 0.2627450980392157), + (0.5625, 0.2627450980392157, 0.5019607843137255), + (0.59375, 0.5019607843137255, 0.7529411764705882), + (0.625, 0.7529411764705882, 0.023529411764705882), + (0.65625, 0.023529411764705882, 0.7411764705882353), + (0.6875, 0.7411764705882353, 0.5803921568627451), + (0.71875, 0.5803921568627451, 0.42745098039215684), + (0.75, 0.42745098039215684, 0.5529411764705883), + (0.78125, 0.5529411764705883, 0.5019607843137255), + (0.8125, 0.5019607843137255, 0.7333333333333333), + (0.84375, 0.7333333333333333, 0.8549019607843137), + (0.875, 0.8549019607843137, 0.2980392156862745), + (0.90625, 0.2980392156862745, 0.8509803921568627), + (0.9375, 0.8509803921568627, 0.9294117647058824), + (0.96875, 0.9294117647058824, 0.792156862745098), + (1.0, 0.792156862745098, 0.792156862745098)], + 'blue': [(0.0, 0.13725490196078433, 0.13725490196078433), + (0.03125, 0.13725490196078433, 0.2), + (0.0625, 0.2, 0.3333333333333333), + (0.09375, 0.3333333333333333, 0.30196078431372547), + (0.125, 0.30196078431372547, 0.13333333333333333), + (0.15625, 0.13333333333333333, 0.06274509803921569), + (0.1875, 0.06274509803921569, 0.9921568627450981), + (0.21875, 0.9921568627450981, 0.9647058823529412), + (0.25, 0.9647058823529412, 0.9490196078431372), + (0.28125, 0.9490196078431372, 0.6039215686274509), + (0.3125, 0.6039215686274509, 0.7294117647058823), + (0.34375, 0.7294117647058823, 0.5215686274509804), + (0.375, 0.5215686274509804, 0.9686274509803922), + (0.40625, 0.9686274509803922, 0.9529411764705882), + (0.4375, 0.9529411764705882, 0.47843137254901963), + (0.46875, 0.47843137254901963, 0.9686274509803922), + (0.5, 0.9686274509803922, 0.9568627450980393), + (0.53125, 0.9568627450980393, 0.08235294117647059), + (0.5625, 0.08235294117647059, 0.5019607843137255), + (0.59375, 0.5019607843137255, 0.7529411764705882), + (0.625, 0.7529411764705882, 0.24313725490196078), + (0.65625, 0.24313725490196078, 0.3137254901960784), + (0.6875, 0.3137254901960784, 0.5843137254901961), + (0.71875, 0.5843137254901961, 0.48627450980392156), + (0.75, 0.48627450980392156, 0.4588235294117647), + (0.78125, 0.4588235294117647, 0.15294117647058825), + (0.8125, 0.15294117647058825, 0.8549019607843137), + (0.84375, 0.8549019607843137, 0.9725490196078431), + (0.875, 0.9725490196078431, 0.2627450980392157), + (0.90625, 0.2627450980392157, 0.6627450980392157), + (0.9375, 0.6627450980392157, 0.7607843137254902), + (0.96875, 0.7607843137254902, 0.27450980392156865), + (1.0, 0.27450980392156865, 0.27450980392156865)] +} + +AI = { + 'red': + [(0.0, 0.0, 0.0), (0.091, 0.0, 0.0), + (0.1818, 0.7450980392156863, 0.7450980392156863), (0.2727, 1.0, 1.0), + (0.3636, 1.0, 1.0), (0.4545, 1.0, 1.0), + (0.5455, 0.7450980392156863, 0.7450980392156863), (0.6364, 0.0, 0.0), + (0.7273, 0.0, 0.0), (0.8182, 0.0, 0.0), (0.9091, 1.0, 1.0), + (1.0, 0.7490196078431373, 0.7490196078431373)], + 'green': [(0.0, 0.7450980392156863, 0.7450980392156863), (0.091, 1.0, 1.0), + (0.1818, 1.0, 1.0), (0.2727, 1.0, 1.0), + (0.3636, 0.7450980392156863, 0.7450980392156863), + (0.4545, 0.0, 0.0), + (0.5455, 0.4980392156862745, 0.4980392156862745), + (0.6364, 1.0, 1.0), + (0.7273, 0.7450980392156863, 0.7450980392156863), + (0.8182, 0.0, 0.0), (0.9091, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.091, 0.0, 0.0), (0.1818, 0.0, 0.0), + (0.2727, 0.0, 0.0), (0.3636, 0.0, 0.0), (0.4545, 0.0, 0.0), + (0.5455, 0.0, 0.0), (0.6364, 1.0, 1.0), (0.7273, 1.0, 1.0), + (0.8182, 1.0, 1.0), (0.9091, 1.0, 1.0), (1.0, 1.0, 1.0)] +} + +Chimney = { + 'red': [(0.0, 0.0, 0.0), + (0.436548, 0.19607843137254902, 0.19607843137254902), + (0.482233, 0.16470588235294117, 0.16470588235294117), + (0.832487, 0.0, 0.0), (0.959391, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), + (0.436548, 0.44313725490196076, 0.44313725490196076), + (0.482233, 0.32941176470588235, 0.32941176470588235), + (0.832487, 1.0, 1.0), (0.959391, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), + (0.436548, 0.8117647058823529, 0.8117647058823529), + (0.482233, 1.0, 1.0), (0.832487, 0.0, 0.0), (0.959391, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Depth = { + 'red': [(0.0, 1.0, 1.0), (0.311558, 0.0, 0.0), (0.5, 1.0, 1.0), + (0.653266, 0.6666666666666666, 0.6666666666666666), + (0.819095, 0.4588235294117647, 0.4588235294117647), + (1.0, 0.16470588235294117, 0.16470588235294117)], + 'green': [(0.0, 0.0, 0.0), (0.311558, 1.0, 1.0), (0.5, 1.0, 1.0), + (0.653266, 1.0, 1.0), + (0.819095, 0.7450980392156863, 0.7450980392156863), + (1.0, 0.16470588235294117, 0.16470588235294117)], + 'blue': [(0.0, 0.0, 0.0), (0.311558, 0.0, 0.0), (0.5, 0.0, 0.0), + (0.653266, 1.0, 1.0), + (0.819095, 0.7019607843137254, 0.7019607843137254), + (1.0, 0.49411764705882355, 0.49411764705882355)] +} + +DHI = { + 'red': [(0.0, 1.0, 1.0), (0.19797, 0.8274509803921568, 0.8274509803921568), + (0.279188, 0.4, 0.4), + (0.340102, 0.21568627450980393, 0.21568627450980393), + (0.548223, 0.0, 0.0), + (0.71066, 0.6666666666666666, 0.6666666666666666), + (0.878173, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), + (0.19797, 0.8274509803921568, 0.8274509803921568), + (0.279188, 0.396078431372549, 0.396078431372549), + (0.340102, 0.38823529411764707, 0.38823529411764707), + (0.548223, 0.0, 0.0), (0.71066, 0.0, 0.0), + (0.878173, 0.9294117647058824, 0.9294117647058824), + (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), + (0.19797, 0.8235294117647058, 0.8235294117647058), + (0.279188, 0.3764705882352941, 0.3764705882352941), + (0.340102, 0.4980392156862745, 0.4980392156862745), + (0.548223, 0.0, 0.0), + (0.71066, 0.4980392156862745, 0.4980392156862745), + (0.878173, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Extremes = { + 'red': [(0.0, 1.0, 1.0), (0.05, 1.0, 1.0), (0.4, 1.0, 1.0), + (0.6, 1.0, 1.0), (0.95, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), (0.05, 0.0, 0.0), (0.4, 1.0, 1.0), + (0.6, 1.0, 1.0), (0.95, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 0.0, 0.0), (0.05, 0.0, 0.0), (0.4, 1.0, 1.0), + (0.6, 1.0, 1.0), (0.95, 1.0, 1.0), (1.0, 0.0, 0.0)] +} + +Faults = { + 'red': [(0.0, 1.0, 1.0), (0.4, 0.7725490196078432, 0.7725490196078432), + (0.49, 0.8470588235294118, 0.8470588235294118), + (0.58, 0.28627450980392155, 0.28627450980392155), (0.85, 0.0, 0.0), + (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), (0.4, 0.7058823529411765, 0.7058823529411765), + (0.49, 0.6784313725490196, 0.6784313725490196), + (0.58, 0.5686274509803921, 0.5686274509803921), + (0.85, 0.3333333333333333, 0.3333333333333333), + (1.0, 0.43529411764705883, 0.43529411764705883)], + 'blue': [(0.0, 1.0, 1.0), (0.4, 0.6, 0.6), + (0.49, 0.00392156862745098, 0.00392156862745098), + (0.58, 0.0, 0.0), (0.85, 0.0, 0.0), + (1.0, 0.6509803921568628, 0.6509803921568628)] +} + +Greyn = { + 'red': [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.0, 0.0)] +} + +Flames = { + 'red': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), (0.6, 1.0, 1.0), + (0.9, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), + (0.6, 0.0, 0.0), (0.9, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), + (0.6, 0.0, 0.0), (0.9, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Pastel = { + 'red': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.5, 1.0, 1.0), + (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), + (0.75, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), + (0.75, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Rainbow = { + 'red': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.4, 0.0, 0.0), + (0.55, 1.0, 1.0), (0.8, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), (0.25, 1.0, 1.0), (0.4, 1.0, 1.0), + (0.55, 1.0, 1.0), (0.8, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.4, 0.0, 0.0), + (0.55, 0.0, 0.0), (0.8, 0.0, 0.0), (1.0, 1.0, 1.0)] +} + +SunRise = { + 'red': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.5, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +UVQs_Example = { + 'red': [(0.0, 1.0, 1.0), (0.249027, 0.996078431372549, 0.996078431372549), + (0.505837, 0.023529411764705882, 0.023529411764705882), + (0.762646, 0.9490196078431372, 0.9490196078431372), + (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), + (0.249027, 0.6666666666666666, 0.6666666666666666), + (0.505837, 0.6666666666666666, 0.6666666666666666), + (0.762646, 0.03137254901960784, 0.03137254901960784), + (1.0, 0.3333333333333333, 0.3333333333333333)], + 'blue': [(0.0, 0.0, 0.0), + (0.249027, 0.00392156862745098, 0.00392156862745098), + (0.505837, 0.9764705882352941, 0.9764705882352941), + (0.762646, 0.050980392156862744, 0.050980392156862744), + (1.0, 0.0, 0.0)] +} + +HorizonCube = { + 'red': [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), + (0.3, 0.6666666666666666, 0.6666666666666666), + (0.41, 0.37254901960784315, 0.37254901960784315), + (0.5, 0.13333333333333333, 0.13333333333333333), (0.61, 0.0, 0.0), + (0.72, 0.4627450980392157, 0.4627450980392157), (0.82, 1.0, 1.0), + (0.91, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), (0.1, 0.35294117647058826, 0.35294117647058826), + (0.2, 1.0, 1.0), (0.3, 1.0, 1.0), + (0.41, 0.5607843137254902, 0.5607843137254902), + (0.5, 0.20784313725490197, 0.20784313725490197), + (0.61, 0.0, 0.0), (0.72, 0.4627450980392157, 0.4627450980392157), + (0.82, 1.0, 1.0), (0.91, 0.6666666666666666, 0.6666666666666666), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), + (0.3, 1.0, 1.0), (0.41, 0.9411764705882353, 0.9411764705882353), + (0.5, 0.6745098039215687, 0.6745098039215687), (0.61, 1.0, 1.0), + (0.72, 0.0, 0.0), (0.82, 0.0, 0.0), (0.91, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Red_White_Black = { + 'red': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), + (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), (0.25, 0.7843137254901961, 0.7843137254901961), + (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.5, 1.0, 1.0), + (1.0, 0.0, 0.0)] +} + +Red_White_Blue = { + 'red': [(0.0, 0.6666666666666666, 0.6666666666666666), + (0.25, 0.5137254901960784, 0.5137254901960784), (0.5, 1.0, 1.0), + (0.781726, 0.23529411764705882, 0.23529411764705882), + (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), (0.25, 0.4666666666666667, 0.4666666666666667), + (0.5, 1.0, 1.0), + (0.781726, 0.23921568627450981, 0.23921568627450981), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.25, 0.3058823529411765, 0.3058823529411765), + (0.5, 1.0, 1.0), + (0.781726, 0.34901960784313724, 0.34901960784313724), + (1.0, 0.4980392156862745, 0.4980392156862745)] +} + +Seismics = { + 'red': + [(0.0, 0.6666666666666666, 0.6666666666666666), (0.070352, 1.0, 1.0), + (0.25, 1.0, 1.0), (0.5, 0.9529411764705882, 0.9529411764705882), + (0.883249, 0.2196078431372549, 0.2196078431372549), (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), + (0.070352, 0.10980392156862745, 0.10980392156862745), + (0.25, 0.7843137254901961, 0.7843137254901961), + (0.5, 0.9529411764705882, 0.9529411764705882), + (0.883249, 0.27450980392156865, 0.27450980392156865), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.070352, 0.0, 0.0), (0.25, 0.0, 0.0), + (0.5, 0.9529411764705882, 0.9529411764705882), + (0.883249, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.0, 0.0)] +} + +Grurple = { + 'red': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)] +} + +CCB = { + 'red': [(0.0, 0.6509803921568628, 0.6509803921568628), + (0.1225, 0.3333333333333333, 0.3333333333333333), + (0.1633, 0.7019607843137254, 0.7019607843137254), + (0.2092, 0.4549019607843137, 0.4549019607843137), + (0.2704, 0.0, 0.0), (0.3571, 0.0, 0.0), (0.4541, 1.0, 1.0), + (0.5051, 1.0, 1.0), (0.551, 0.0, 0.0), (0.57143, 1.0, 1.0), + (0.62245, 1.0, 1.0), (0.66837, 1.0, 1.0), (0.7092, 1.0, 1.0), + (0.8571, 0.0, 0.0), (1.0, 0.3333333333333333, 0.3333333333333333)], + 'green': [(0.0, 0.0, 0.0), (0.1225, 0.0, 0.0), + (0.1633, 0.7019607843137254, 0.7019607843137254), + (0.2092, 0.4549019607843137, 0.4549019607843137), + (0.2704, 0.21568627450980393, 0.21568627450980393), + (0.3571, 0.2196078431372549, 0.2196078431372549), + (0.4541, 1.0, 1.0), (0.5051, 1.0, 1.0), (0.551, 0.0, 0.0), + (0.57143, 0.0, 0.0), (0.62245, 0.0, 0.0), + (0.66837, 0.6313725490196078, 0.6313725490196078), + (0.7092, 1.0, 1.0), + (0.8571, 0.47058823529411764, 0.47058823529411764), + (1.0, 0.6666666666666666, 0.6666666666666666)], + 'blue': [(0.0, 1.0, 1.0), (0.1225, 0.4980392156862745, 0.4980392156862745), + (0.1633, 0.7019607843137254, 0.7019607843137254), + (0.2092, 0.4549019607843137, 0.4549019607843137), + (0.2704, 0.6509803921568628, 0.6509803921568628), + (0.3571, 0.0, 0.0), (0.4541, 1.0, 1.0), (0.5051, 1.0, 1.0), + (0.551, 0.0, 0.0), (0.57143, 0.0, 0.0), (0.62245, 0.0, 0.0), + (0.66837, 0.0, 0.0), (0.7092, 0.0, 0.0), (0.8571, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Experimental = { + 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.08, 0.15294117647058825, 0.15294117647058825), + (0.22, 0.3333333333333333, 0.3333333333333333), + (0.45, 0.6705882352941176, 0.6705882352941176), (0.5, 0.0, 0.0), + (0.55, 0.6705882352941176, 0.6705882352941176), + (0.9, 0.9882352941176471, 0.9882352941176471), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.6666666666666666, 0.6666666666666666), + (0.08, 0.4588235294117647, 0.4588235294117647), (0.22, 1.0, 1.0), + (0.45, 0.6705882352941176, 0.6705882352941176), (0.5, 0.0, 0.0), + (0.55, 0.6705882352941176, 0.6705882352941176), + (0.9, 0.5568627450980392, 0.5568627450980392), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.08, 0.23137254901960785, 0.23137254901960785), + (0.22, 0.4980392156862745, 0.4980392156862745), + (0.45, 0.6705882352941176, 0.6705882352941176), (0.5, 0.0, 0.0), + (0.55, 0.6705882352941176, 0.6705882352941176), + (0.9, 0.09411764705882353, 0.09411764705882353), (1.0, 0.0, 0.0)] +} + +Magic = { + 'red': [(0.0, 1.0, 1.0), (0.163265, 1.0, 1.0), + (0.316327, 0.6666666666666666, 0.6666666666666666), + (0.479592, 0.8784313725490196, 0.8784313725490196), + (0.493827, 0.8980392156862745, 0.8980392156862745), + (0.678571, 0.0, 0.0), (0.836735, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 1.0, 1.0), (0.163265, 0.0, 0.0), + (0.316327, 0.3333333333333333, 0.3333333333333333), + (0.479592, 0.8509803921568627, 0.8509803921568627), + (0.493827, 0.8980392156862745, 0.8980392156862745), + (0.678571, 0.0, 0.0), (0.836735, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 0.0, 0.0), (0.163265, 0.0, 0.0), (0.316327, 0.0, 0.0), + (0.479592, 0.8274509803921568, 0.8274509803921568), + (0.493827, 0.8980392156862745, 0.8980392156862745), + (0.678571, 0.0, 0.0), (0.836735, 1.0, 1.0), (1.0, 1.0, 1.0)] +} + +Brown_4grades = { + 'red': [(0.0, 1.0, 1.0), + (0.244898, 0.6666666666666666, 0.6666666666666666), + (0.484694, 0.9882352941176471, 0.9882352941176471), + (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), + (1.0, 0.6666666666666666, 0.6666666666666666)], + 'green': [(0.0, 1.0, 1.0), (0.244898, 0.0, 0.0), + (0.484694, 0.9607843137254902, 0.9607843137254902), + (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 0.0, 0.0), (0.244898, 0.0, 0.0), + (0.484694, 0.9607843137254902, 0.9607843137254902), + (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), (1.0, 1.0, 1.0)] +} + +Curvature = { + 'red': + [(0.0, 0.0, 0.0), (0.090452, 0.3333333333333333, 0.3333333333333333), + (0.175879, 0.3333333333333333, 0.3333333333333333), + (0.25, 0.6666666666666666, 0.6666666666666666), (0.291457, 1.0, 1.0), + (0.356784, 1.0, 1.0), (0.522613, 0.3568627450980392, 0.3568627450980392), + (0.673367, 0.24313725490196078, 0.24313725490196078), (0.78392, 1.0, 1.0), + (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), + (0.090452, 0.6666666666666666, 0.6666666666666666), + (0.175879, 1.0, 1.0), (0.25, 1.0, 1.0), (0.291457, 1.0, 1.0), + (0.356784, 1.0, 1.0), + (0.522613, 0.3568627450980392, 0.3568627450980392), + (0.673367, 0.24313725490196078, 0.24313725490196078), + (0.78392, 0.6666666666666666, 0.6666666666666666), + (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), (0.090452, 1.0, 1.0), (0.175879, 1.0, 1.0), + (0.25, 1.0, 1.0), (0.291457, 1.0, 1.0), (0.356784, 1.0, 1.0), + (0.522613, 0.3568627450980392, 0.3568627450980392), + (0.673367, 0.24313725490196078, 0.24313725490196078), + (0.78392, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.0, 0.0)] +} + +Contour_Gradients = { + 'red': [(0.0, 0.0, 0.0), + (0.13878, 0.20392156862745098, 0.20392156862745098), + (0.13879, 0.0, 0.0), + (0.266904, 0.1607843137254902, 0.1607843137254902), + (0.266904, 0.0, 0.0), + (0.391449, 0.1803921568627451, 0.1803921568627451), + (0.391459, 0.0, 0.0), + (0.512446, 0.12156862745098039, 0.12156862745098039), + (0.512456, 0.23137254901960785, 0.23137254901960785), + (0.633442, 1.0, 1.0), + (0.633452, 0.23529411764705882, 0.23529411764705882), + (0.754438, 1.0, 1.0), + (0.754448, 0.24705882352941178, 0.24705882352941178), + (0.878994, 1.0, 1.0), + (0.879004, 0.3411764705882353, 0.3411764705882353), + (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.01568627450980392, 0.01568627450980392), + (0.13878, 0.23137254901960785, 0.23137254901960785), + (0.13879, 0.06274509803921569, 0.06274509803921569), + (0.266904, 0.4745098039215686, 0.4745098039215686), + (0.266904, 0.23529411764705882, 0.23529411764705882), + (0.391449, 0.9450980392156862, 0.9450980392156862), + (0.391459, 0.24705882352941178, 0.24705882352941178), + (0.512446, 1.0, 1.0), + (0.512456, 0.23529411764705882, 0.23529411764705882), + (0.633442, 1.0, 1.0), + (0.633452, 0.11764705882352941, 0.11764705882352941), + (0.754438, 0.0, 0.0), + (0.754448, 0.07450980392156863, 0.07450980392156863), + (0.878994, 0.5098039215686274, 0.5098039215686274), + (0.879004, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.22745098039215686, 0.22745098039215686), + (0.13878, 1.0, 1.0), + (0.13879, 0.25882352941176473, 0.25882352941176473), + (0.266904, 1.0, 1.0), + (0.266904, 0.27450980392156865, 0.27450980392156865), + (0.391449, 1.0, 1.0), + (0.391459, 0.043137254901960784, 0.043137254901960784), + (0.512446, 0.0, 0.0), (0.512456, 0.0, 0.0), (0.633442, 0.0, 0.0), + (0.633452, 0.0, 0.0), (0.754438, 0.0, 0.0), (0.754448, 0.0, 0.0), + (0.878994, 0.20392156862745098, 0.20392156862745098), + (0.879004, 0.07450980392156863, 0.07450980392156863), + (1.0, 1.0, 1.0)] +} + +Rainbow_Plus = { + 'red': [(0.0, 1.0, 1.0), (0.135135, 0.0, 0.0), (0.382239, 0.0, 0.0), + (0.46332, 0.0, 0.0), (0.53668, 1.0, 1.0), (0.606178, 1.0, 1.0), + (0.868726, 1.0, 1.0), + (1.0, 0.36470588235294116, 0.36470588235294116)], + 'green': [(0.0, 0.0, 0.0), (0.135135, 0.0, 0.0), (0.382239, 1.0, 1.0), + (0.46332, 1.0, 1.0), (0.53668, 1.0, 1.0), + (0.606178, 0.6666666666666666, 0.6666666666666666), + (0.868726, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.135135, 1.0, 1.0), (0.382239, 1.0, 1.0), + (0.46332, 0.0, 0.0), (0.53668, 0.0, 0.0), (0.606178, 0.0, 0.0), + (0.868726, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Tasty = { + 'red': [(0.0, 0.0, 0.0), (0.1, 0.1568627450980392, 0.1568627450980392), + (0.2, 0.3137254901960784, 0.3137254901960784), + (0.3, 0.6274509803921569, 0.6274509803921569), (0.4, 1.0, 1.0), + (0.5, 1.0, 1.0), (0.6, 1.0, 1.0), (0.7, 1.0, 1.0), (0.8, 1.0, 1.0), + (0.9, 0.7843137254901961, 0.7843137254901961), + (1.0, 0.4980392156862745, 0.4980392156862745)], + 'green': [(0.0, 0.4980392156862745, 0.4980392156862745), + (0.1, 0.7450980392156863, 0.7450980392156863), (0.2, 1.0, 1.0), + (0.3, 1.0, 1.0), (0.4, 1.0, 1.0), + (0.5, 0.9019607843137255, 0.9019607843137255), + (0.6, 0.7843137254901961, 0.7843137254901961), + (0.7, 0.6666666666666666, 0.6666666666666666), + (0.8, 0.39215686274509803, 0.39215686274509803), + (0.9, 0.1568627450980392, 0.1568627450980392), (1.0, 0.0, 0.0)], + 'blue': + [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), (0.3, 0.0, 0.0), + (0.4, 0.0, 0.0), (0.5, 0.00392156862745098, 0.00392156862745098), + (0.6, 0.0, 0.0), (0.7, 0.0, 0.0), (0.8, 0.0, 0.0), (0.9, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +SandShale = { + 'red': [(0.0, 1.0, 1.0), (0.155116, 1.0, 1.0), + (0.531353, 0.7372549019607844, 0.7372549019607844), + (1.0, 0.25882352941176473, 0.25882352941176473)], + 'green': [(0.0, 1.0, 1.0), (0.155116, 1.0, 1.0), + (0.531353, 0.4980392156862745, 0.4980392156862745), + (1.0, 0.12941176470588237, 0.12941176470588237)], + 'blue': [(0.0, 0.0, 0.0), + (0.155116, 0.4980392156862745, 0.4980392156862745), + (0.531353, 0.01568627450980392, 0.01568627450980392), + (1.0, 0.0, 0.0)] +} + +Lithology = { + 'red': [(0.0, 0.0, 0.0), (0.049488, 0.0, 0.0), (0.129693, 0.0, 0.0), + (0.372014, 0.8392156862745098, 0.8392156862745098), + (0.593857, 0.6313725490196078, 0.6313725490196078), + (0.687713, 0.5411764705882353, 0.5411764705882353), + (0.812287, 0.43529411764705883, 0.43529411764705883), + (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.049488, 1.0, 1.0), + (0.129693, 0.7450980392156863, 0.7450980392156863), + (0.372014, 0.9450980392156862, 0.9450980392156862), + (0.593857, 0.41568627450980394, 0.41568627450980394), + (0.687713, 0.34509803921568627, 0.34509803921568627), + (0.812287, 0.26666666666666666, 0.26666666666666666), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.049488, 1.0, 1.0), (0.129693, 1.0, 1.0), + (0.372014, 0.1607843137254902, 0.1607843137254902), + (0.593857, 0.01568627450980392, 0.01568627450980392), + (0.687713, 0.011764705882352941, 0.011764705882352941), + (0.812287, 0.00784313725490196, 0.00784313725490196), + (1.0, 0.0, 0.0)] +} + +Pressure = { + 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.105058, 0.0, 0.0), + (0.206226, 0.6666666666666666, 0.6666666666666666), + (0.311284, 0.0, 0.0), (0.583658, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.105058, 0.0, 0.0), + (0.206226, 0.6666666666666666, 0.6666666666666666), + (0.311284, 1.0, 1.0), + (0.583658, 0.6666666666666666, 0.6666666666666666), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.4980392156862745, 0.4980392156862745), + (0.105058, 1.0, 1.0), (0.206226, 1.0, 1.0), (0.311284, 1.0, 1.0), + (0.583658, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Interval_Velocity = { + 'red': [(0.0, 0.0, 0.0), (0.190789, 0.0, 0.0), (0.322368, 0.0, 0.0), + (0.490132, 1.0, 1.0), (0.680921, 1.0, 1.0), + (0.848684, 0.6666666666666666, 0.6666666666666666), + (1.0, 0.24705882352941178, 0.24705882352941178)], + 'green': [(0.0, 0.0, 0.0), (0.190789, 1.0, 1.0), (0.322368, 1.0, 1.0), + (0.490132, 1.0, 1.0), (0.680921, 0.0, 0.0), + (0.848684, 0.3333333333333333, 0.3333333333333333), + (1.0, 0.12156862745098039, 0.12156862745098039)], + 'blue': [(0.0, 1.0, 1.0), (0.190789, 1.0, 1.0), (0.322368, 0.0, 0.0), + (0.490132, 0.0, 0.0), (0.680921, 0.0, 0.0), (0.848684, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Porosity = { + 'red': [(0.0, 0.0, 0.0), (0.299611, 0.0, 0.0), (0.389105, 0.0, 0.0), + (0.587549, 1.0, 1.0), (0.758755, 1.0, 1.0), + (1.0, 0.25882352941176473, 0.25882352941176473)], + 'green': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.299611, 0.6666666666666666, 0.6666666666666666), + (0.389105, 1.0, 1.0), (0.587549, 1.0, 1.0), (0.758755, 0.0, 0.0), + (1.0, 0.12941176470588237, 0.12941176470588237)], + 'blue': [(0.0, 1.0, 1.0), (0.299611, 1.0, 1.0), (0.389105, 0.0, 0.0), + (0.587549, 0.0, 0.0), (0.758755, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Dip = { + 'red': [(0.0, 0.0, 0.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), (0.5, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)] +} + +Energy = { + 'red': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Depth1 = { + 'red': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.45, 1.0, 1.0), + (0.6, 0.0, 0.0), (0.75, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), (0.2, 0.0, 0.0), (0.45, 1.0, 1.0), + (0.6, 1.0, 1.0), (0.75, 1.0, 1.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.2, 0.0, 0.0), (0.45, 0.0, 0.0), + (0.6, 0.0, 0.0), (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)] +} + +Similarity = { + 'red': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)] +} + +Double_Tasty = { + 'red': + [(0.0, 0.4980392156862745, 0.4980392156862745), + (0.05, 0.7843137254901961, 0.7843137254901961), (0.1, 1.0, 1.0), + (0.15, 1.0, 1.0), (0.2, 1.0, 1.0), (0.25, 1.0, 1.0), (0.3, 1.0, 1.0), + (0.35, 0.6274509803921569, 0.6274509803921569), + (0.39, 0.3137254901960784, 0.3137254901960784), + (0.42, 0.1568627450980392, 0.1568627450980392), (0.45, 0.0, 0.0), + (0.49, 0.0, 0.0), (0.51, 0.0, 0.0), (0.55, 0.0, 0.0), + (0.58, 0.1568627450980392, 0.1568627450980392), + (0.61, 0.3137254901960784, 0.3137254901960784), + (0.65, 0.6274509803921569, 0.6274509803921569), (0.7, 1.0, 1.0), + (0.75, 1.0, 1.0), (0.8, 1.0, 1.0), (0.85, 1.0, 1.0), (0.9, 1.0, 1.0), + (0.95, 0.7843137254901961, 0.7843137254901961), + (1.0, 0.4980392156862745, 0.4980392156862745)], + 'green': [(0.0, 0.0, 0.0), (0.05, 0.1568627450980392, 0.1568627450980392), + (0.1, 0.39215686274509803, 0.39215686274509803), + (0.15, 0.6666666666666666, 0.6666666666666666), + (0.2, 0.7843137254901961, 0.7843137254901961), + (0.25, 0.9019607843137255, 0.9019607843137255), (0.3, 1.0, 1.0), + (0.35, 1.0, 1.0), (0.39, 1.0, 1.0), + (0.42, 0.7450980392156863, 0.7450980392156863), + (0.45, 0.4980392156862745, 0.4980392156862745), (0.49, 0.0, 0.0), + (0.51, 0.0, 0.0), (0.55, 0.4980392156862745, 0.4980392156862745), + (0.58, 0.7450980392156863, 0.7450980392156863), (0.61, 1.0, 1.0), + (0.65, 1.0, 1.0), (0.7, 1.0, 1.0), + (0.75, 0.9019607843137255, 0.9019607843137255), + (0.8, 0.7843137254901961, 0.7843137254901961), + (0.85, 0.6666666666666666, 0.6666666666666666), + (0.9, 0.39215686274509803, 0.39215686274509803), + (0.95, 0.1568627450980392, 0.1568627450980392), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.05, 0.0, 0.0), (0.1, 0.0, 0.0), + (0.15, 0.0, 0.0), (0.2, 0.0, 0.0), + (0.25, 0.00392156862745098, 0.00392156862745098), (0.3, 0.0, 0.0), + (0.35, 0.0, 0.0), (0.39, 0.0, 0.0), (0.42, 0.0, 0.0), + (0.45, 0.0, 0.0), (0.49, 0.0, 0.0), (0.51, 0.0, 0.0), + (0.55, 0.0, 0.0), (0.58, 0.0, 0.0), (0.61, 0.0, 0.0), + (0.65, 0.0, 0.0), (0.7, 0.0, 0.0), + (0.75, 0.00392156862745098, 0.00392156862745098), (0.8, 0.0, 0.0), + (0.85, 0.0, 0.0), (0.9, 0.0, 0.0), (0.95, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Double_Rainbow = { + 'red': + [(0.0, 1.0, 1.0), (0.1, 1.0, 1.0), (0.23, 1.0, 1.0), (0.3, 0.0, 0.0), + (0.36, 0.0, 0.0), (0.48, 0.0, 0.0), (0.5, 0.0, 0.0), (0.52, 0.0, 0.0), + (0.64, 0.0, 0.0), (0.7, 0.0, 0.0), (0.77, 1.0, 1.0), (0.9, 1.0, 1.0), + (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.23, 1.0, 1.0), + (0.3, 1.0, 1.0), (0.36, 1.0, 1.0), (0.48, 0.0, 0.0), + (0.5, 0.0, 0.0), (0.52, 0.0, 0.0), (0.64, 1.0, 1.0), + (0.7, 1.0, 1.0), (0.77, 1.0, 1.0), (0.9, 0.0, 0.0), + (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.1, 0.0, 0.0), + (0.23, 0.0, 0.0), (0.3, 0.0, 0.0), (0.36, 1.0, 1.0), + (0.48, 1.0, 1.0), (0.5, 0.0, 0.0), (0.52, 1.0, 1.0), + (0.64, 1.0, 1.0), (0.7, 0.0, 0.0), (0.77, 0.0, 0.0), + (0.9, 0.0, 0.0), (1.0, 1.0, 1.0)] +} + +Matteo_terrain_cube = { + 'red': [(0.0, 0.5137254901960784, 0.5137254901960784), + (0.07, 0.5215686274509804, 0.5215686274509804), + (0.13, 0.49019607843137253, 0.49019607843137253), + (0.2, 0.43137254901960786, 0.43137254901960786), + (0.27, 0.38823529411764707, 0.38823529411764707), + (0.33, 0.3333333333333333, 0.3333333333333333), + (0.4, 0.2784313725490196, 0.2784313725490196), + (0.47, 0.2196078431372549, 0.2196078431372549), + (0.53, 0.24705882352941178, 0.24705882352941178), + (0.6, 0.2823529411764706, 0.2823529411764706), + (0.67, 0.3215686274509804, 0.3215686274509804), + (0.73, 0.3607843137254902, 0.3607843137254902), + (0.8, 0.4549019607843137, 0.4549019607843137), + (0.87, 0.6039215686274509, 0.6039215686274509), + (0.93, 0.7058823529411765, 0.7058823529411765), (1.0, 0.8, 0.8)], + 'green': [(0.0, 0.047058823529411764, 0.047058823529411764), + (0.07, 0.17647058823529413, 0.17647058823529413), + (0.13, 0.2901960784313726, 0.2901960784313726), + (0.2, 0.3843137254901961, 0.3843137254901961), + (0.27, 0.47843137254901963, 0.47843137254901963), + (0.33, 0.5647058823529412, 0.5647058823529412), + (0.4, 0.6431372549019608, 0.6431372549019608), + (0.47, 0.7137254901960784, 0.7137254901960784), + (0.53, 0.7607843137254902, 0.7607843137254902), + (0.6, 0.8117647058823529, 0.8117647058823529), + (0.67, 0.8509803921568627, 0.8509803921568627), + (0.73, 0.8901960784313725, 0.8901960784313725), + (0.8, 0.9137254901960784, 0.9137254901960784), + (0.87, 0.9254901960784314, 0.9254901960784314), + (0.93, 0.9254901960784314, 0.9254901960784314), + (1.0, 0.9254901960784314, 0.9254901960784314)], + 'blue': [(0.0, 0.6705882352941176, 0.6705882352941176), + (0.07, 0.807843137254902, 0.807843137254902), + (0.13, 0.9215686274509803, 0.9215686274509803), + (0.2, 0.9921568627450981, 0.9921568627450981), + (0.27, 0.9764705882352941, 0.9764705882352941), + (0.33, 0.9058823529411765, 0.9058823529411765), + (0.4, 0.8274509803921568, 0.8274509803921568), + (0.47, 0.7254901960784313, 0.7254901960784313), + (0.53, 0.6235294117647059, 0.6235294117647059), + (0.6, 0.5058823529411764, 0.5058823529411764), + (0.67, 0.396078431372549, 0.396078431372549), + (0.73, 0.2901960784313726, 0.2901960784313726), + (0.8, 0.30196078431372547, 0.30196078431372547), + (0.87, 0.32941176470588235, 0.32941176470588235), + (0.93, 0.3411764705882353, 0.3411764705882353), + (1.0, 0.35294117647058826, 0.35294117647058826)] +} + +Matteo_terrain_cube_red = { + 'red': [(0.0, 0.47058823529411764, 0.47058823529411764), + (0.07, 0.5137254901960784, 0.5137254901960784), + (0.13, 0.49411764705882355, 0.49411764705882355), + (0.2, 0.43137254901960786, 0.43137254901960786), + (0.27, 0.3686274509803922, 0.3686274509803922), + (0.33, 0.2980392156862745, 0.2980392156862745), + (0.4, 0.2196078431372549, 0.2196078431372549), + (0.47, 0.2627450980392157, 0.2627450980392157), + (0.53, 0.30980392156862746, 0.30980392156862746), + (0.6, 0.3607843137254902, 0.3607843137254902), + (0.67, 0.5215686274509804, 0.5215686274509804), + (0.73, 0.6784313725490196, 0.6784313725490196), (0.8, 0.8, 0.8), + (0.87, 0.8705882352941177, 0.8705882352941177), + (0.93, 0.9529411764705882, 0.9529411764705882), + (1.0, 0.9764705882352941, 0.9764705882352941)], + 'green': [(0.0, 0.0, 0.0), + (0.07, 0.050980392156862744, 0.050980392156862744), + (0.13, 0.25098039215686274, 0.25098039215686274), + (0.2, 0.3843137254901961, 0.3843137254901961), + (0.27, 0.5176470588235295, 0.5176470588235295), + (0.33, 0.6196078431372549, 0.6196078431372549), + (0.4, 0.7137254901960784, 0.7137254901960784), + (0.47, 0.7843137254901961, 0.7843137254901961), + (0.53, 0.8392156862745098, 0.8392156862745098), + (0.6, 0.8901960784313725, 0.8901960784313725), + (0.67, 0.9215686274509803, 0.9215686274509803), + (0.73, 0.9254901960784314, 0.9254901960784314), + (0.8, 0.9254901960784314, 0.9254901960784314), + (0.87, 0.8549019607843137, 0.8549019607843137), + (0.93, 0.7450980392156863, 0.7450980392156863), + (1.0, 0.5882352941176471, 0.5882352941176471)], + 'blue': [(0.0, 0.5215686274509804, 0.5215686274509804), + (0.07, 0.7098039215686275, 0.7098039215686275), + (0.13, 0.8784313725490196, 0.8784313725490196), + (0.2, 0.9921568627450981, 0.9921568627450981), + (0.27, 0.9490196078431372, 0.9490196078431372), + (0.33, 0.8509803921568627, 0.8509803921568627), + (0.4, 0.7215686274509804, 0.7215686274509804), + (0.47, 0.5764705882352941, 0.5764705882352941), + (0.53, 0.4235294117647059, 0.4235294117647059), + (0.6, 0.28627450980392155, 0.28627450980392155), + (0.67, 0.3137254901960784, 0.3137254901960784), + (0.73, 0.33725490196078434, 0.33725490196078434), + (0.8, 0.35294117647058826, 0.35294117647058826), + (0.87, 0.3607843137254902, 0.3607843137254902), + (0.93, 0.3686274509803922, 0.3686274509803922), + (1.0, 0.3568627450980392, 0.3568627450980392)] +} + +Matteo_terrain_linear = { + 'red': [(0.0, 0.01568627450980392, 0.01568627450980392), + (0.07, 0.1411764705882353, 0.1411764705882353), + (0.13, 0.17647058823529413, 0.17647058823529413), + (0.2, 0.17254901960784313, 0.17254901960784313), + (0.27, 0.10588235294117647, 0.10588235294117647), + (0.33, 0.06666666666666667, 0.06666666666666667), (0.4, 0.0, 0.0), + (0.47, 0.0, 0.0), (0.53, 0.0, 0.0), (0.6, 0.0, 0.0), + (0.67, 0.21568627450980393, 0.21568627450980393), + (0.73, 0.38823529411764707, 0.38823529411764707), + (0.8, 0.6901960784313725, 0.6901960784313725), + (0.87, 0.8549019607843137, 0.8549019607843137), + (0.93, 0.9725490196078431, 0.9725490196078431), + (1.0, 0.9686274509803922, 0.9686274509803922)], + 'green': [(0.0, 0.01568627450980392, 0.01568627450980392), + (0.07, 0.054901960784313725, 0.054901960784313725), + (0.13, 0.09019607843137255, 0.09019607843137255), + (0.2, 0.13333333333333333, 0.13333333333333333), + (0.27, 0.2235294117647059, 0.2235294117647059), + (0.33, 0.3058823529411765, 0.3058823529411765), + (0.4, 0.39215686274509803, 0.39215686274509803), + (0.47, 0.4745098039215686, 0.4745098039215686), + (0.53, 0.5568627450980392, 0.5568627450980392), + (0.6, 0.6392156862745098, 0.6392156862745098), + (0.67, 0.6980392156862745, 0.6980392156862745), + (0.73, 0.7568627450980392, 0.7568627450980392), + (0.8, 0.7803921568627451, 0.7803921568627451), + (0.87, 0.803921568627451, 0.803921568627451), + (0.93, 0.8431372549019608, 0.8431372549019608), + (1.0, 0.9254901960784314, 0.9254901960784314)], + 'blue': [(0.0, 0.01568627450980392, 0.01568627450980392), + (0.07, 0.12549019607843137, 0.12549019607843137), + (0.13, 0.2784313725490196, 0.2784313725490196), + (0.2, 0.4549019607843137, 0.4549019607843137), + (0.27, 0.4980392156862745, 0.4980392156862745), + (0.33, 0.5058823529411764, 0.5058823529411764), + (0.4, 0.42745098039215684, 0.42745098039215684), + (0.47, 0.34509803921568627, 0.34509803921568627), + (0.53, 0.24705882352941178, 0.24705882352941178), + (0.6, 0.16470588235294117, 0.16470588235294117), (0.67, 0.0, 0.0), + (0.73, 0.0, 0.0), (0.8, 0.0, 0.0), + (0.87, 0.4549019607843137, 0.4549019607843137), + (0.93, 0.7294117647058823, 0.7294117647058823), + (1.0, 0.8980392156862745, 0.8980392156862745)] +} + +Petrel = { + 'red': [(0.0, 0.6313725490196078, 0.6313725490196078), (0.33, 0.0, 0.0), + (0.4, 0.30196078431372547, 0.30196078431372547), (0.5, 0.8, 0.8), + (0.6, 0.3803921568627451, 0.3803921568627451), + (0.67, 0.7490196078431373, 0.7490196078431373), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.33, 0.0, 0.0), + (0.4, 0.30196078431372547, 0.30196078431372547), (0.5, 0.8, 0.8), + (0.6, 0.27058823529411763, 0.27058823529411763), + (0.67, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), (0.33, 0.7490196078431373, 0.7490196078431373), + (0.4, 0.30196078431372547, 0.30196078431372547), (0.5, 0.8, 0.8), + (0.6, 0.0, 0.0), (0.67, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +Depth_AS = { + 'red': + [(0.0, 0.6392156862745098, 0.6392156862745098), + (0.04379562, 0.7372549019607844, 0.7372549019607844), + (0.33941606, 1.0, 1.0), (0.54014599, 0.0, 0.0), (0.729927, 0.0, 0.0), + (0.7591241, 0.0, 0.0), (0.97445256, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'green': [(0.0, 0.0, 0.0), + (0.04379562, 0.12156862745098039, 0.12156862745098039), + (0.33941606, 0.6666666666666666, 0.6666666666666666), + (0.54014599, 1.0, 1.0), + (0.729927, 0.9215686274509803, 0.9215686274509803), + (0.7591241, 0.9019607843137255, 0.9019607843137255), + (0.97445256, 0.0, 0.0), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 0.0, 0.0), (0.04379562, 0.0, 0.0), (0.33941606, 0.0, 0.0), + (0.54014599, 0.0, 0.0), + (0.729927, 0.9215686274509803, 0.9215686274509803), + (0.7591241, 1.0, 1.0), + (0.97445256, 0.7647058823529411, 0.7647058823529411), + (1.0, 0.8235294117647058, 0.8235294117647058)] +} + +AI_NedMag = { + 'red': [(0.0, 0.9411764705882353, 0.9411764705882353), + (0.14, 0.4823529411764706, 0.4823529411764706), + (0.215, 0.20784313725490197, 0.20784313725490197), + (0.33, 0.16470588235294117, 0.16470588235294117), + (0.48, 0.3333333333333333, 0.3333333333333333), + (0.61, 0.2823529411764706, 0.2823529411764706), (0.75, 1.0, 1.0), + (0.93, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 0.2549019607843137, 0.2549019607843137), + (0.14, 0.29411764705882354, 0.29411764705882354), + (0.215, 0.20784313725490197, 0.20784313725490197), + (0.33, 0.7490196078431373, 0.7490196078431373), (0.48, 1.0, 1.0), + (0.61, 0.8509803921568627, 0.8509803921568627), + (0.75, 0.9686274509803922, 0.9686274509803922), + (0.93, 0.5686274509803921, 0.5686274509803921), + (1.0, 0.3333333333333333, 0.3333333333333333)], + 'blue': [(0.0, 1.0, 1.0), (0.14, 1.0, 1.0), (0.215, 1.0, 1.0), + (0.33, 1.0, 1.0), (0.48, 1.0, 1.0), + (0.61, 0.19607843137254902, 0.19607843137254902), + (0.75, 0.3333333333333333, 0.3333333333333333), (0.93, 0.0, 0.0), + (1.0, 0.0, 0.0)] +} + +Depth_Spectral = { + 'red': [(0.0, 0.8431372549019608, 0.8431372549019608), + (0.25, 0.9764705882352941, 0.9764705882352941), (0.5, 1.0, 1.0), + (0.75, 0.8274509803921568, 0.8274509803921568), + (1.0, 0.16862745098039217, 0.16862745098039217)], + 'green': [(0.0, 0.09803921568627451, 0.09803921568627451), + (0.25, 0.6196078431372549, 0.6196078431372549), (0.5, 1.0, 1.0), + (0.75, 0.6549019607843137, 0.6549019607843137), + (1.0, 0.5137254901960784, 0.5137254901960784)], + 'blue': [(0.0, 0.10980392156862745, 0.10980392156862745), + (0.25, 0.34901960784313724, 0.34901960784313724), + (0.5, 0.7490196078431373, 0.7490196078431373), (0.75, 0.0, 0.0), + (1.0, 0.7294117647058823, 0.7294117647058823)] +} + +od_seismic1 = { + 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.2, 0.03529411764705882, 0.03529411764705882), + (0.35, 0.34901960784313724, 0.34901960784313724), (0.5, 1.0, 1.0), + (0.65, 0.9764705882352941, 0.9764705882352941), + (0.8, 0.5137254901960784, 0.5137254901960784), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.2, 0.19215686274509805, 0.19215686274509805), + (0.35, 0.4392156862745098, 0.4392156862745098), (0.5, 1.0, 1.0), + (0.65, 0.9254901960784314, 0.9254901960784314), + (0.8, 0.3843137254901961, 0.3843137254901961), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), (0.2, 0.4392156862745098, 0.4392156862745098), + (0.35, 0.28627450980392155, 0.28627450980392155), (0.5, 1.0, 1.0), + (0.65, 0.33725490196078434, 0.33725490196078434), + (0.8, 0.20392156862745098, 0.20392156862745098), (1.0, 0.0, 0.0)] +} + +od_seismic2 = { + 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), (0.2, 0.0, 0.0), + (0.29, 0.047058823529411764, 0.047058823529411764), + (0.37, 0.47058823529411764, 0.47058823529411764), + (0.45, 0.7372549019607844, 0.7372549019607844), + (0.5, 0.9764705882352941, 0.9764705882352941), + (0.55, 0.8549019607843137, 0.8549019607843137), + (0.63, 0.6470588235294118, 0.6470588235294118), + (0.71, 0.5647058823529412, 0.5647058823529412), (0.8, 1.0, 1.0), + (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), (0.2, 0.0, 0.0), + (0.29, 0.07058823529411765, 0.07058823529411765), + (0.37, 0.5490196078431373, 0.5490196078431373), + (0.45, 0.7843137254901961, 0.7843137254901961), + (0.5, 0.9803921568627451, 0.9803921568627451), + (0.55, 0.8549019607843137, 0.8549019607843137), + (0.63, 0.5450980392156862, 0.5450980392156862), (0.71, 0.0, 0.0), + (0.8, 0.0, 0.0), (1.0, 1.0, 1.0)], + 'blue': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), + (0.29, 0.5254901960784314, 0.5254901960784314), + (0.37, 0.40784313725490196, 0.40784313725490196), + (0.45, 0.5803921568627451, 0.5803921568627451), + (0.5, 0.9333333333333333, 0.9333333333333333), + (0.55, 0.6509803921568628, 0.6509803921568628), + (0.63, 0.37254901960784315, 0.37254901960784315), + (0.71, 0.0, 0.0), (0.8, 0.0, 0.0), (1.0, 0.0, 0.0)] +} + +od_seismic3 = { + 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), + (0.2149837, 0.03529411764705882, 0.03529411764705882), + (0.38762218, 0.34901960784313724, 0.34901960784313724), + (0.6, 1.0, 1.0), (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)], + 'green': [(0.0, 1.0, 1.0), + (0.2149837, 0.19215686274509805, 0.19215686274509805), + (0.38762218, 0.4392156862745098, 0.4392156862745098), + (0.6, 0.996078431372549, 0.996078431372549), + (0.75, 0.9529411764705882, 0.9529411764705882), (1.0, 0.0, 0.0)], + 'blue': [(0.0, 1.0, 1.0), + (0.2149837, 0.4392156862745098, 0.4392156862745098), + (0.38762218, 0.28627450980392155, 0.28627450980392155), + (0.6, 0.9529411764705882, 0.9529411764705882), + (0.75, 0.4196078431372549, 0.4196078431372549), (1.0, 0.0, 0.0)] +} + +Viridis = { + 'red': [(0.0, 0.2627450980392157, 0.2627450980392157), + (0.021164, 0.27450980392156865, 0.27450980392156865), + (0.040564, 0.2784313725490196, 0.2784313725490196), + (0.061728, 0.2784313725490196, 0.2784313725490196), + (0.081129, 0.2823529411764706, 0.2823529411764706), + (0.100529, 0.2784313725490196, 0.2784313725490196), + (0.121693, 0.2784313725490196, 0.2784313725490196), + (0.141093, 0.26666666666666666, 0.26666666666666666), + (0.160494, 0.2627450980392157, 0.2627450980392157), + (0.181658, 0.25882352941176473, 0.25882352941176473), + (0.201058, 0.25098039215686274, 0.25098039215686274), + (0.220459, 0.23529411764705882, 0.23529411764705882), + (0.241623, 0.22745098039215686, 0.22745098039215686), + (0.261023, 0.2235294117647059, 0.2235294117647059), + (0.280423, 0.21176470588235294, 0.21176470588235294), + (0.301587, 0.2, 0.2), + (0.320988, 0.18823529411764706, 0.18823529411764706), + (0.340388, 0.1803921568627451, 0.1803921568627451), + (0.361552, 0.17254901960784313, 0.17254901960784313), + (0.380952, 0.16470588235294117, 0.16470588235294117), + (0.400353, 0.1568627450980392, 0.1568627450980392), + (0.421517, 0.14901960784313725, 0.14901960784313725), + (0.440917, 0.1450980392156863, 0.1450980392156863), + (0.460317, 0.13725490196078433, 0.13725490196078433), + (0.481481, 0.13333333333333333, 0.13333333333333333), + (0.500882, 0.12156862745098039, 0.12156862745098039), + (0.520282, 0.12156862745098039, 0.12156862745098039), + (0.541446, 0.11764705882352941, 0.11764705882352941), + (0.560847, 0.11764705882352941, 0.11764705882352941), + (0.580247, 0.11764705882352941, 0.11764705882352941), + (0.601411, 0.12941176470588237, 0.12941176470588237), + (0.620811, 0.1450980392156863, 0.1450980392156863), + (0.640212, 0.16470588235294117, 0.16470588235294117), + (0.661376, 0.19215686274509805, 0.19215686274509805), + (0.680776, 0.2196078431372549, 0.2196078431372549), + (0.700176, 0.25098039215686274, 0.25098039215686274), + (0.72134, 0.29411764705882354, 0.29411764705882354), + (0.740741, 0.32941176470588235, 0.32941176470588235), + (0.760141, 0.37254901960784315, 0.37254901960784315), + (0.781305, 0.41568627450980394, 0.41568627450980394), + (0.800705, 0.4627450980392157, 0.4627450980392157), + (0.820106, 0.5098039215686274, 0.5098039215686274), + (0.84127, 0.5647058823529412, 0.5647058823529412), + (0.86067, 0.615686274509804, 0.615686274509804), + (0.880071, 0.6627450980392157, 0.6627450980392157), + (0.901235, 0.7176470588235294, 0.7176470588235294), + (0.920635, 0.7725490196078432, 0.7725490196078432), + (0.940035, 0.8235294117647058, 0.8235294117647058), + (0.961199, 0.8745098039215686, 0.8745098039215686), + (0.9806, 0.9254901960784314, 0.9254901960784314), + (1.0, 0.9725490196078431, 0.9725490196078431)], + 'green': [(0.0, 0.00392156862745098, 0.00392156862745098), + (0.021164, 0.03529411764705882, 0.03529411764705882), + (0.040564, 0.06666666666666667, 0.06666666666666667), + (0.061728, 0.09411764705882353, 0.09411764705882353), + (0.081129, 0.11764705882352941, 0.11764705882352941), + (0.100529, 0.1450980392156863, 0.1450980392156863), + (0.121693, 0.16862745098039217, 0.16862745098039217), + (0.141093, 0.19215686274509805, 0.19215686274509805), + (0.160494, 0.21568627450980393, 0.21568627450980393), + (0.181658, 0.23921568627450981, 0.23921568627450981), + (0.201058, 0.2627450980392157, 0.2627450980392157), + (0.220459, 0.28627450980392155, 0.28627450980392155), + (0.241623, 0.30980392156862746, 0.30980392156862746), + (0.261023, 0.32941176470588235, 0.32941176470588235), + (0.280423, 0.34901960784313724, 0.34901960784313724), + (0.301587, 0.37254901960784315, 0.37254901960784315), + (0.320988, 0.3843137254901961, 0.3843137254901961), + (0.340388, 0.40784313725490196, 0.40784313725490196), + (0.361552, 0.42745098039215684, 0.42745098039215684), + (0.380952, 0.45098039215686275, 0.45098039215686275), + (0.400353, 0.4666666666666667, 0.4666666666666667), + (0.421517, 0.48627450980392156, 0.48627450980392156), + (0.440917, 0.5058823529411764, 0.5058823529411764), + (0.460317, 0.5254901960784314, 0.5254901960784314), + (0.481481, 0.5411764705882353, 0.5411764705882353), + (0.500882, 0.5568627450980392, 0.5568627450980392), + (0.520282, 0.5803921568627451, 0.5803921568627451), + (0.541446, 0.596078431372549, 0.596078431372549), + (0.560847, 0.615686274509804, 0.615686274509804), + (0.580247, 0.6313725490196078, 0.6313725490196078), + (0.601411, 0.6509803921568628, 0.6509803921568628), + (0.620811, 0.6705882352941176, 0.6705882352941176), + (0.640212, 0.6901960784313725, 0.6901960784313725), + (0.661376, 0.7058823529411765, 0.7058823529411765), + (0.680776, 0.7215686274509804, 0.7215686274509804), + (0.700176, 0.7411764705882353, 0.7411764705882353), + (0.72134, 0.7607843137254902, 0.7607843137254902), + (0.740741, 0.7725490196078432, 0.7725490196078432), + (0.760141, 0.7843137254901961, 0.7843137254901961), + (0.781305, 0.803921568627451, 0.803921568627451), + (0.800705, 0.8117647058823529, 0.8117647058823529), + (0.820106, 0.8274509803921568, 0.8274509803921568), + (0.84127, 0.8392156862745098, 0.8392156862745098), + (0.86067, 0.8509803921568627, 0.8509803921568627), + (0.880071, 0.8549019607843137, 0.8549019607843137), + (0.901235, 0.8627450980392157, 0.8627450980392157), + (0.920635, 0.8745098039215686, 0.8745098039215686), + (0.940035, 0.8823529411764706, 0.8823529411764706), + (0.961199, 0.8901960784313725, 0.8901960784313725), + (0.9806, 0.8901960784313725, 0.8901960784313725), + (1.0, 0.9019607843137255, 0.9019607843137255)], + 'blue': [(0.0, 0.32941176470588235, 0.32941176470588235), + (0.021164, 0.3607843137254902, 0.3607843137254902), + (0.040564, 0.38823529411764707, 0.38823529411764707), + (0.061728, 0.41568627450980394, 0.41568627450980394), + (0.081129, 0.4392156862745098, 0.4392156862745098), + (0.100529, 0.4588235294117647, 0.4588235294117647), + (0.121693, 0.47843137254901963, 0.47843137254901963), + (0.141093, 0.49411764705882355, 0.49411764705882355), + (0.160494, 0.5019607843137255, 0.5019607843137255), + (0.181658, 0.5176470588235295, 0.5176470588235295), + (0.201058, 0.5294117647058824, 0.5294117647058824), + (0.220459, 0.5372549019607843, 0.5372549019607843), + (0.241623, 0.5411764705882353, 0.5411764705882353), + (0.261023, 0.5450980392156862, 0.5450980392156862), + (0.280423, 0.5490196078431373, 0.5490196078431373), + (0.301587, 0.5529411764705883, 0.5529411764705883), + (0.320988, 0.5529411764705883, 0.5529411764705883), + (0.340388, 0.5529411764705883, 0.5529411764705883), + (0.361552, 0.5568627450980392, 0.5568627450980392), + (0.380952, 0.5568627450980392, 0.5568627450980392), + (0.400353, 0.5568627450980392, 0.5568627450980392), + (0.421517, 0.5568627450980392, 0.5568627450980392), + (0.440917, 0.5568627450980392, 0.5568627450980392), + (0.460317, 0.5529411764705883, 0.5529411764705883), + (0.481481, 0.5529411764705883, 0.5529411764705883), + (0.500882, 0.5490196078431373, 0.5490196078431373), + (0.520282, 0.5450980392156862, 0.5450980392156862), + (0.541446, 0.5411764705882353, 0.5411764705882353), + (0.560847, 0.5294117647058824, 0.5294117647058824), + (0.580247, 0.5215686274509804, 0.5215686274509804), + (0.601411, 0.5137254901960784, 0.5137254901960784), + (0.620811, 0.5058823529411764, 0.5058823529411764), + (0.640212, 0.48627450980392156, 0.48627450980392156), + (0.661376, 0.47843137254901963, 0.47843137254901963), + (0.680776, 0.4627450980392157, 0.4627450980392157), + (0.700176, 0.44313725490196076, 0.44313725490196076), + (0.72134, 0.4196078431372549, 0.4196078431372549), + (0.740741, 0.4, 0.4), + (0.760141, 0.3764705882352941, 0.3764705882352941), + (0.781305, 0.34509803921568627, 0.34509803921568627), + (0.800705, 0.3176470588235294, 0.3176470588235294), + (0.820106, 0.2901960784313726, 0.2901960784313726), + (0.84127, 0.2549019607843137, 0.2549019607843137), + (0.86067, 0.2196078431372549, 0.2196078431372549), + (0.880071, 0.19215686274509805, 0.19215686274509805), + (0.901235, 0.1568627450980392, 0.1568627450980392), + (0.920635, 0.12156862745098039, 0.12156862745098039), + (0.940035, 0.10196078431372549, 0.10196078431372549), + (0.961199, 0.09411764705882353, 0.09411764705882353), + (0.9806, 0.09803921568627451, 0.09803921568627451), + (1.0, 0.12549019607843137, 0.12549019607843137)] +} + +Plasma = { + 'red': [(0.0, 0.058823529411764705, 0.058823529411764705), + (0.021164, 0.11372549019607843, 0.11372549019607843), + (0.040564, 0.15294117647058825, 0.15294117647058825), + (0.061728, 0.19607843137254902, 0.19607843137254902), + (0.081129, 0.22745098039215686, 0.22745098039215686), + (0.100529, 0.25882352941176473, 0.25882352941176473), + (0.121693, 0.29411764705882354, 0.29411764705882354), + (0.141093, 0.3254901960784314, 0.3254901960784314), + (0.160494, 0.3568627450980392, 0.3568627450980392), + (0.181658, 0.38823529411764707, 0.38823529411764707), + (0.201058, 0.4196078431372549, 0.4196078431372549), + (0.220459, 0.4470588235294118, 0.4470588235294118), + (0.241623, 0.47843137254901963, 0.47843137254901963), + (0.261023, 0.5058823529411764, 0.5058823529411764), + (0.280423, 0.5333333333333333, 0.5333333333333333), + (0.301587, 0.5647058823529412, 0.5647058823529412), + (0.320988, 0.592156862745098, 0.592156862745098), + (0.340388, 0.6196078431372549, 0.6196078431372549), + (0.361552, 0.6431372549019608, 0.6431372549019608), + (0.380952, 0.6666666666666666, 0.6666666666666666), + (0.400353, 0.6901960784313725, 0.6901960784313725), + (0.421517, 0.7137254901960784, 0.7137254901960784), + (0.440917, 0.7333333333333333, 0.7333333333333333), + (0.460317, 0.7490196078431373, 0.7490196078431373), + (0.481481, 0.7725490196078432, 0.7725490196078432), + (0.500882, 0.792156862745098, 0.792156862745098), + (0.520282, 0.8117647058823529, 0.8117647058823529), + (0.541446, 0.8313725490196079, 0.8313725490196079), + (0.560847, 0.8470588235294118, 0.8470588235294118), + (0.580247, 0.8588235294117647, 0.8588235294117647), + (0.601411, 0.8745098039215686, 0.8745098039215686), + (0.620811, 0.8901960784313725, 0.8901960784313725), + (0.640212, 0.9058823529411765, 0.9058823529411765), + (0.661376, 0.9176470588235294, 0.9176470588235294), + (0.680776, 0.9294117647058824, 0.9294117647058824), + (0.700176, 0.9411764705882353, 0.9411764705882353), + (0.72134, 0.9568627450980393, 0.9568627450980393), + (0.740741, 0.9647058823529412, 0.9647058823529412), + (0.760141, 0.9725490196078431, 0.9725490196078431), + (0.781305, 0.9803921568627451, 0.9803921568627451), + (0.800705, 0.984313725490196, 0.984313725490196), + (0.820106, 0.9882352941176471, 0.9882352941176471), + (0.84127, 0.9921568627450981, 0.9921568627450981), + (0.86067, 0.9921568627450981, 0.9921568627450981), + (0.880071, 0.9921568627450981, 0.9921568627450981), + (0.901235, 0.9882352941176471, 0.9882352941176471), + (0.920635, 0.9803921568627451, 0.9803921568627451), + (0.940035, 0.9725490196078431, 0.9725490196078431), + (0.961199, 0.9647058823529412, 0.9647058823529412), + (0.9806, 0.9529411764705882, 0.9529411764705882), + (1.0, 0.9411764705882353, 0.9411764705882353)], + 'green': [(0.0, 0.023529411764705882, 0.023529411764705882), + (0.021164, 0.0196078431372549, 0.0196078431372549), + (0.040564, 0.0196078431372549, 0.0196078431372549), + (0.061728, 0.01568627450980392, 0.01568627450980392), + (0.081129, 0.011764705882352941, 0.011764705882352941), + (0.100529, 0.011764705882352941, 0.011764705882352941), + (0.121693, 0.00784313725490196, 0.00784313725490196), + (0.141093, 0.00392156862745098, 0.00392156862745098), + (0.160494, 0.0, 0.0), (0.181658, 0.0, 0.0), (0.201058, 0.0, 0.0), + (0.220459, 0.0, 0.0), + (0.241623, 0.00784313725490196, 0.00784313725490196), + (0.261023, 0.011764705882352941, 0.011764705882352941), + (0.280423, 0.027450980392156862, 0.027450980392156862), + (0.301587, 0.054901960784313725, 0.054901960784313725), + (0.320988, 0.07450980392156863, 0.07450980392156863), + (0.340388, 0.09803921568627451, 0.09803921568627451), + (0.361552, 0.11764705882352941, 0.11764705882352941), + (0.380952, 0.1411764705882353, 0.1411764705882353), + (0.400353, 0.16470588235294117, 0.16470588235294117), + (0.421517, 0.1843137254901961, 0.1843137254901961), + (0.440917, 0.20784313725490197, 0.20784313725490197), + (0.460317, 0.23137254901960785, 0.23137254901960785), + (0.481481, 0.25098039215686274, 0.25098039215686274), + (0.500882, 0.27450980392156865, 0.27450980392156865), + (0.520282, 0.29411764705882354, 0.29411764705882354), + (0.541446, 0.3215686274509804, 0.3215686274509804), + (0.560847, 0.34509803921568627, 0.34509803921568627), + (0.580247, 0.36470588235294116, 0.36470588235294116), + (0.601411, 0.38823529411764707, 0.38823529411764707), + (0.620811, 0.4117647058823529, 0.4117647058823529), + (0.640212, 0.43137254901960786, 0.43137254901960786), + (0.661376, 0.4588235294117647, 0.4588235294117647), + (0.680776, 0.4823529411764706, 0.4823529411764706), + (0.700176, 0.5058823529411764, 0.5058823529411764), + (0.72134, 0.5372549019607843, 0.5372549019607843), + (0.740741, 0.5607843137254902, 0.5607843137254902), + (0.760141, 0.5882352941176471, 0.5882352941176471), + (0.781305, 0.615686274509804, 0.615686274509804), + (0.800705, 0.6431372549019608, 0.6431372549019608), + (0.820106, 0.6745098039215687, 0.6745098039215687), + (0.84127, 0.7019607843137254, 0.7019607843137254), + (0.86067, 0.7333333333333333, 0.7333333333333333), + (0.880071, 0.7568627450980392, 0.7568627450980392), + (0.901235, 0.796078431372549, 0.796078431372549), + (0.920635, 0.8313725490196079, 0.8313725490196079), + (0.940035, 0.8588235294117647, 0.8588235294117647), + (0.961199, 0.8941176470588236, 0.8941176470588236), + (0.9806, 0.9294117647058824, 0.9294117647058824), + (1.0, 0.9607843137254902, 0.9607843137254902)], + 'blue': [(0.0, 0.5215686274509804, 0.5215686274509804), + (0.021164, 0.5529411764705883, 0.5529411764705883), + (0.040564, 0.5686274509803921, 0.5686274509803921), + (0.061728, 0.5882352941176471, 0.5882352941176471), + (0.081129, 0.6039215686274509, 0.6039215686274509), + (0.100529, 0.615686274509804, 0.615686274509804), + (0.121693, 0.6313725490196078, 0.6313725490196078), + (0.141093, 0.6392156862745098, 0.6392156862745098), + (0.160494, 0.6470588235294118, 0.6470588235294118), + (0.181658, 0.6509803921568628, 0.6509803921568628), + (0.201058, 0.6549019607843137, 0.6549019607843137), + (0.220459, 0.6588235294117647, 0.6588235294117647), + (0.241623, 0.6588235294117647, 0.6588235294117647), + (0.261023, 0.6549019607843137, 0.6549019607843137), + (0.280423, 0.6470588235294118, 0.6470588235294118), + (0.301587, 0.6352941176470588, 0.6352941176470588), + (0.320988, 0.6274509803921569, 0.6274509803921569), + (0.340388, 0.6078431372549019, 0.6078431372549019), + (0.361552, 0.592156862745098, 0.592156862745098), + (0.380952, 0.5764705882352941, 0.5764705882352941), + (0.400353, 0.5607843137254902, 0.5607843137254902), + (0.421517, 0.5411764705882353, 0.5411764705882353), + (0.440917, 0.5254901960784314, 0.5254901960784314), + (0.460317, 0.5058823529411764, 0.5058823529411764), + (0.481481, 0.48627450980392156, 0.48627450980392156), + (0.500882, 0.4666666666666667, 0.4666666666666667), + (0.520282, 0.45098039215686275, 0.45098039215686275), + (0.541446, 0.42745098039215684, 0.42745098039215684), + (0.560847, 0.4117647058823529, 0.4117647058823529), + (0.580247, 0.4, 0.4), + (0.601411, 0.3803921568627451, 0.3803921568627451), + (0.620811, 0.36470588235294116, 0.36470588235294116), + (0.640212, 0.34901960784313724, 0.34901960784313724), + (0.661376, 0.3254901960784314, 0.3254901960784314), + (0.680776, 0.3137254901960784, 0.3137254901960784), + (0.700176, 0.2980392156862745, 0.2980392156862745), + (0.72134, 0.27450980392156865, 0.27450980392156865), + (0.740741, 0.25882352941176473, 0.25882352941176473), + (0.760141, 0.24313725490196078, 0.24313725490196078), + (0.781305, 0.22745098039215686, 0.22745098039215686), + (0.800705, 0.20784313725490197, 0.20784313725490197), + (0.820106, 0.19215686274509805, 0.19215686274509805), + (0.84127, 0.17647058823529413, 0.17647058823529413), + (0.86067, 0.16862745098039217, 0.16862745098039217), + (0.880071, 0.1568627450980392, 0.1568627450980392), + (0.901235, 0.1450980392156863, 0.1450980392156863), + (0.920635, 0.1411764705882353, 0.1411764705882353), + (0.940035, 0.1411764705882353, 0.1411764705882353), + (0.961199, 0.1411764705882353, 0.1411764705882353), + (0.9806, 0.14901960784313725, 0.14901960784313725), + (1.0, 0.13725490196078433, 0.13725490196078433)] +} + custom_cdict = { - 'stratum': { - 'red': [(0.0, 0.9019607843137255, 0.9019607843137255), - (0.03125, 0.9019607843137255, 0.9294117647058824), - (0.0625, 0.9294117647058824, 1.0), - (0.09375, 1.0, 0.4549019607843137), - (0.125, 0.4549019607843137, 0.2196078431372549), - (0.15625, 0.2196078431372549, 0.09803921568627451), - (0.1875, 0.09803921568627451, 0.4549019607843137), - (0.21875, 0.4549019607843137, 0.21568627450980393), - (0.25, 0.21568627450980393, 0.011764705882352941), - (0.28125, 0.011764705882352941, 0.0), - (0.3125, 0.0, 0.21568627450980393), - (0.34375, 0.21568627450980393, 0.9294117647058824), - (0.375, 0.9294117647058824, 0.5019607843137255), - (0.40625, 0.5019607843137255, 0.45098039215686275), - (0.4375, 0.45098039215686275, 0.4666666666666667), - (0.46875, 0.4666666666666667, 0.9215686274509803), - (0.5, 0.9215686274509803, 0.9019607843137255), - (0.53125, 0.9019607843137255, 0.47843137254901963), - (0.5625, 0.47843137254901963, 0.5019607843137255), - (0.59375, 0.5019607843137255, 0.7529411764705882), - (0.625, 0.7529411764705882, 0.23529411764705882), - (0.65625, 0.23529411764705882, 0.8705882352941177), - (0.6875, 0.8705882352941177, 0.47843137254901963), - (0.71875, 0.47843137254901963, 0.5098039215686274), - (0.75, 0.5098039215686274, 0.6823529411764706), - (0.78125, 0.6823529411764706, 0.49411764705882355), - (0.8125, 0.49411764705882355, 0.7490196078431373), - (0.84375, 0.7490196078431373, 0.6705882352941176), - (0.875, 0.6705882352941176, 0.6901960784313725), - (0.90625, 0.6901960784313725, 0.8784313725490196), - (0.9375, 0.8784313725490196, 0.6823529411764706), - (0.96875, 0.6823529411764706, 0.6588235294117647), - (1.0, 0.6588235294117647, 0.6588235294117647)], - 'green': [(0.0, 0.19607843137254902, 0.19607843137254902), - (0.03125, 0.19607843137254902, 0.5294117647058824), - (0.0625, 0.5294117647058824, 1.0), - (0.09375, 1.0, 0.9803921568627451), - (0.125, 0.9803921568627451, 0.49411764705882355), - (0.15625, 0.49411764705882355, 0.24705882352941178), - (0.1875, 0.24705882352941178, 0.9803921568627451), - (0.21875, 0.9803921568627451, 0.49411764705882355), - (0.25, 0.49411764705882355, 0.0), (0.28125, 0.0, 0.0), - (0.3125, 0.0, 0.49019607843137253), - (0.34375, 0.49019607843137253, 0.5333333333333333), - (0.375, 0.5333333333333333, 0.5019607843137255), - (0.40625, 0.5019607843137255, 0.08235294117647059), - (0.4375, 0.08235294117647059, 0.08235294117647059), - (0.46875, 0.08235294117647059, 0.5333333333333333), - (0.5, 0.5333333333333333, 0.19607843137254902), - (0.53125, 0.19607843137254902, 0.2627450980392157), - (0.5625, 0.2627450980392157, 0.5019607843137255), - (0.59375, 0.5019607843137255, 0.7529411764705882), - (0.625, 0.7529411764705882, 0.023529411764705882), - (0.65625, 0.023529411764705882, 0.7411764705882353), - (0.6875, 0.7411764705882353, 0.5803921568627451), - (0.71875, 0.5803921568627451, 0.42745098039215684), - (0.75, 0.42745098039215684, 0.5529411764705883), - (0.78125, 0.5529411764705883, 0.5019607843137255), - (0.8125, 0.5019607843137255, 0.7333333333333333), - (0.84375, 0.7333333333333333, 0.8549019607843137), - (0.875, 0.8549019607843137, 0.2980392156862745), - (0.90625, 0.2980392156862745, 0.8509803921568627), - (0.9375, 0.8509803921568627, 0.9294117647058824), - (0.96875, 0.9294117647058824, 0.792156862745098), - (1.0, 0.792156862745098, 0.792156862745098)], - 'blue': [(0.0, 0.13725490196078433, 0.13725490196078433), - (0.03125, 0.13725490196078433, 0.2), - (0.0625, 0.2, 0.3333333333333333), - (0.09375, 0.3333333333333333, 0.30196078431372547), - (0.125, 0.30196078431372547, 0.13333333333333333), - (0.15625, 0.13333333333333333, 0.06274509803921569), - (0.1875, 0.06274509803921569, 0.9921568627450981), - (0.21875, 0.9921568627450981, 0.9647058823529412), - (0.25, 0.9647058823529412, 0.9490196078431372), - (0.28125, 0.9490196078431372, 0.6039215686274509), - (0.3125, 0.6039215686274509, 0.7294117647058823), - (0.34375, 0.7294117647058823, 0.5215686274509804), - (0.375, 0.5215686274509804, 0.9686274509803922), - (0.40625, 0.9686274509803922, 0.9529411764705882), - (0.4375, 0.9529411764705882, 0.47843137254901963), - (0.46875, 0.47843137254901963, 0.9686274509803922), - (0.5, 0.9686274509803922, 0.9568627450980393), - (0.53125, 0.9568627450980393, 0.08235294117647059), - (0.5625, 0.08235294117647059, 0.5019607843137255), - (0.59375, 0.5019607843137255, 0.7529411764705882), - (0.625, 0.7529411764705882, 0.24313725490196078), - (0.65625, 0.24313725490196078, 0.3137254901960784), - (0.6875, 0.3137254901960784, 0.5843137254901961), - (0.71875, 0.5843137254901961, 0.48627450980392156), - (0.75, 0.48627450980392156, 0.4588235294117647), - (0.78125, 0.4588235294117647, 0.15294117647058825), - (0.8125, 0.15294117647058825, 0.8549019607843137), - (0.84375, 0.8549019607843137, 0.9725490196078431), - (0.875, 0.9725490196078431, 0.2627450980392157), - (0.90625, 0.2627450980392157, 0.6627450980392157), - (0.9375, 0.6627450980392157, 0.7607843137254902), - (0.96875, 0.7607843137254902, 0.27450980392156865), - (1.0, 0.27450980392156865, 0.27450980392156865)] - }, - 'AI': { - 'red': [(0.0, 0.0, 0.0), (0.091, 0.0, 0.0), - (0.1818, 0.7450980392156863, 0.7450980392156863), - (0.2727, 1.0, 1.0), (0.3636, 1.0, 1.0), (0.4545, 1.0, 1.0), - (0.5455, 0.7450980392156863, 0.7450980392156863), - (0.6364, 0.0, 0.0), (0.7273, 0.0, 0.0), (0.8182, 0.0, 0.0), - (0.9091, 1.0, 1.0), - (1.0, 0.7490196078431373, 0.7490196078431373)], - 'green': [(0.0, 0.7450980392156863, 0.7450980392156863), - (0.091, 1.0, 1.0), (0.1818, 1.0, 1.0), (0.2727, 1.0, 1.0), - (0.3636, 0.7450980392156863, 0.7450980392156863), - (0.4545, 0.0, 0.0), - (0.5455, 0.4980392156862745, 0.4980392156862745), - (0.6364, 1.0, 1.0), - (0.7273, 0.7450980392156863, 0.7450980392156863), - (0.8182, 0.0, 0.0), (0.9091, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.091, 0.0, 0.0), (0.1818, 0.0, 0.0), - (0.2727, 0.0, 0.0), (0.3636, 0.0, 0.0), (0.4545, 0.0, 0.0), - (0.5455, 0.0, 0.0), (0.6364, 1.0, 1.0), (0.7273, 1.0, 1.0), - (0.8182, 1.0, 1.0), (0.9091, 1.0, 1.0), (1.0, 1.0, 1.0)] - }, - 'Chimney': { - 'red': [(0.0, 0.0, 0.0), - (0.436548, 0.19607843137254902, 0.19607843137254902), - (0.482233, 0.16470588235294117, 0.16470588235294117), - (0.832487, 0.0, 0.0), (0.959391, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), - (0.436548, 0.44313725490196076, 0.44313725490196076), - (0.482233, 0.32941176470588235, 0.32941176470588235), - (0.832487, 1.0, 1.0), (0.959391, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), - (0.436548, 0.8117647058823529, 0.8117647058823529), - (0.482233, 1.0, 1.0), (0.832487, 0.0, 0.0), - (0.959391, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Depth': { - 'red': [(0.0, 1.0, 1.0), (0.311558, 0.0, 0.0), (0.5, 1.0, 1.0), - (0.653266, 0.6666666666666666, 0.6666666666666666), - (0.819095, 0.4588235294117647, 0.4588235294117647), - (1.0, 0.16470588235294117, 0.16470588235294117)], - 'green': [(0.0, 0.0, 0.0), (0.311558, 1.0, 1.0), (0.5, 1.0, 1.0), - (0.653266, 1.0, 1.0), - (0.819095, 0.7450980392156863, 0.7450980392156863), - (1.0, 0.16470588235294117, 0.16470588235294117)], - 'blue': [(0.0, 0.0, 0.0), (0.311558, 0.0, 0.0), (0.5, 0.0, 0.0), - (0.653266, 1.0, 1.0), - (0.819095, 0.7019607843137254, 0.7019607843137254), - (1.0, 0.49411764705882355, 0.49411764705882355)] - }, - 'DHI': { - 'red': [(0.0, 1.0, 1.0), - (0.19797, 0.8274509803921568, 0.8274509803921568), - (0.279188, 0.4, 0.4), - (0.340102, 0.21568627450980393, 0.21568627450980393), - (0.548223, 0.0, 0.0), - (0.71066, 0.6666666666666666, 0.6666666666666666), - (0.878173, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), - (0.19797, 0.8274509803921568, 0.8274509803921568), - (0.279188, 0.396078431372549, 0.396078431372549), - (0.340102, 0.38823529411764707, 0.38823529411764707), - (0.548223, 0.0, 0.0), (0.71066, 0.0, 0.0), - (0.878173, 0.9294117647058824, 0.9294117647058824), - (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), - (0.19797, 0.8235294117647058, 0.8235294117647058), - (0.279188, 0.3764705882352941, 0.3764705882352941), - (0.340102, 0.4980392156862745, 0.4980392156862745), - (0.548223, 0.0, 0.0), - (0.71066, 0.4980392156862745, 0.4980392156862745), - (0.878173, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Extremes': { - 'red': [(0.0, 1.0, 1.0), (0.05, 1.0, 1.0), (0.4, 1.0, 1.0), - (0.6, 1.0, 1.0), (0.95, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 1.0, 1.0), (0.05, 0.0, 0.0), (0.4, 1.0, 1.0), - (0.6, 1.0, 1.0), (0.95, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 0.0, 0.0), (0.05, 0.0, 0.0), (0.4, 1.0, 1.0), - (0.6, 1.0, 1.0), (0.95, 1.0, 1.0), (1.0, 0.0, 0.0)] - }, - 'Faults': { - 'red': [(0.0, 1.0, 1.0), (0.4, 0.7725490196078432, 0.7725490196078432), - (0.49, 0.8470588235294118, 0.8470588235294118), - (0.58, 0.28627450980392155, 0.28627450980392155), - (0.85, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 1.0, 1.0), - (0.4, 0.7058823529411765, 0.7058823529411765), - (0.49, 0.6784313725490196, 0.6784313725490196), - (0.58, 0.5686274509803921, 0.5686274509803921), - (0.85, 0.3333333333333333, 0.3333333333333333), - (1.0, 0.43529411764705883, 0.43529411764705883)], - 'blue': [(0.0, 1.0, 1.0), (0.4, 0.6, 0.6), - (0.49, 0.00392156862745098, 0.00392156862745098), - (0.58, 0.0, 0.0), (0.85, 0.0, 0.0), - (1.0, 0.6509803921568628, 0.6509803921568628)] - }, - 'Greyn': { - 'red': [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.0, 0.0)], - 'green': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'blue': - [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.0, 0.0)] - }, - 'Flames': { - 'red': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), - (0.6, 1.0, 1.0), (0.9, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), - (0.6, 0.0, 0.0), (0.9, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.4, 0.0, 0.0), - (0.6, 0.0, 0.0), (0.9, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Pastel': { - 'red': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.5, 1.0, 1.0), - (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), - (0.75, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), - (0.75, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Rainbow': { - 'red': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.4, 0.0, 0.0), - (0.55, 1.0, 1.0), (0.8, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), (0.25, 1.0, 1.0), (0.4, 1.0, 1.0), - (0.55, 1.0, 1.0), (0.8, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.4, 0.0, 0.0), - (0.55, 0.0, 0.0), (0.8, 0.0, 0.0), (1.0, 1.0, 1.0)] - }, - 'SunRise': { - 'red': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.5, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'UVQs-Example': { - 'red': [(0.0, 1.0, 1.0), - (0.249027, 0.996078431372549, 0.996078431372549), - (0.505837, 0.023529411764705882, 0.023529411764705882), - (0.762646, 0.9490196078431372, 0.9490196078431372), - (1.0, 0.0, 0.0)], - 'green': [(0.0, 1.0, 1.0), - (0.249027, 0.6666666666666666, 0.6666666666666666), - (0.505837, 0.6666666666666666, 0.6666666666666666), - (0.762646, 0.03137254901960784, 0.03137254901960784), - (1.0, 0.3333333333333333, 0.3333333333333333)], - 'blue': [(0.0, 0.0, 0.0), - (0.249027, 0.00392156862745098, 0.00392156862745098), - (0.505837, 0.9764705882352941, 0.9764705882352941), - (0.762646, 0.050980392156862744, 0.050980392156862744), - (1.0, 0.0, 0.0)] - }, - 'HorizonCube': { - 'red': - [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), - (0.3, 0.6666666666666666, 0.6666666666666666), - (0.41, 0.37254901960784315, 0.37254901960784315), - (0.5, 0.13333333333333333, 0.13333333333333333), (0.61, 0.0, 0.0), - (0.72, 0.4627450980392157, 0.4627450980392157), (0.82, 1.0, 1.0), - (0.91, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), - (0.1, 0.35294117647058826, 0.35294117647058826), - (0.2, 1.0, 1.0), (0.3, 1.0, 1.0), - (0.41, 0.5607843137254902, 0.5607843137254902), - (0.5, 0.20784313725490197, 0.20784313725490197), - (0.61, 0.0, 0.0), - (0.72, 0.4627450980392157, 0.4627450980392157), - (0.82, 1.0, 1.0), - (0.91, 0.6666666666666666, 0.6666666666666666), - (1.0, 0.0, 0.0)], - 'blue': - [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), (0.3, 1.0, 1.0), - (0.41, 0.9411764705882353, 0.9411764705882353), - (0.5, 0.6745098039215687, 0.6745098039215687), (0.61, 1.0, 1.0), - (0.72, 0.0, 0.0), (0.82, 0.0, 0.0), (0.91, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Red-White-Black': { - 'red': [(0.0, 1.0, 1.0), (0.25, 1.0, 1.0), (0.5, 1.0, 1.0), - (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), - (0.25, 0.7843137254901961, 0.7843137254901961), - (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.25, 0.0, 0.0), (0.5, 1.0, 1.0), - (1.0, 0.0, 0.0)] - }, - 'Red-White-Blue': { - 'red': [(0.0, 0.6666666666666666, 0.6666666666666666), - (0.25, 0.5137254901960784, 0.5137254901960784), - (0.5, 1.0, 1.0), - (0.781726, 0.23529411764705882, 0.23529411764705882), - (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), - (0.25, 0.4666666666666667, 0.4666666666666667), - (0.5, 1.0, 1.0), - (0.781726, 0.23921568627450981, 0.23921568627450981), - (1.0, 0.0, 0.0)], - 'blue': - [(0.0, 0.0, 0.0), (0.25, 0.3058823529411765, 0.3058823529411765), - (0.5, 1.0, 1.0), (0.781726, 0.34901960784313724, 0.34901960784313724), - (1.0, 0.4980392156862745, 0.4980392156862745)] - }, - 'Seismics': { - 'red': [(0.0, 0.6666666666666666, 0.6666666666666666), - (0.070352, 1.0, 1.0), (0.25, 1.0, 1.0), - (0.5, 0.9529411764705882, 0.9529411764705882), - (0.883249, 0.2196078431372549, 0.2196078431372549), - (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), - (0.070352, 0.10980392156862745, 0.10980392156862745), - (0.25, 0.7843137254901961, 0.7843137254901961), - (0.5, 0.9529411764705882, 0.9529411764705882), - (0.883249, 0.27450980392156865, 0.27450980392156865), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.070352, 0.0, 0.0), (0.25, 0.0, 0.0), - (0.5, 0.9529411764705882, 0.9529411764705882), - (0.883249, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.0, 0.0)] - }, - 'Grurple': { - 'red': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'green': - [(0.0, 1.0, 1.0), (0.5, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)] - }, - 'CCB': { - 'red': [(0.0, 0.6509803921568628, 0.6509803921568628), - (0.1225, 0.3333333333333333, 0.3333333333333333), - (0.1633, 0.7019607843137254, 0.7019607843137254), - (0.2092, 0.4549019607843137, 0.4549019607843137), - (0.2704, 0.0, 0.0), (0.3571, 0.0, 0.0), (0.4541, 1.0, 1.0), - (0.5051, 1.0, 1.0), (0.551, 0.0, 0.0), (0.57143, 1.0, 1.0), - (0.62245, 1.0, 1.0), (0.66837, 1.0, 1.0), (0.7092, 1.0, 1.0), - (0.8571, 0.0, 0.0), - (1.0, 0.3333333333333333, 0.3333333333333333)], - 'green': [(0.0, 0.0, 0.0), (0.1225, 0.0, 0.0), - (0.1633, 0.7019607843137254, 0.7019607843137254), - (0.2092, 0.4549019607843137, 0.4549019607843137), - (0.2704, 0.21568627450980393, 0.21568627450980393), - (0.3571, 0.2196078431372549, 0.2196078431372549), - (0.4541, 1.0, 1.0), (0.5051, 1.0, 1.0), (0.551, 0.0, 0.0), - (0.57143, 0.0, 0.0), (0.62245, 0.0, 0.0), - (0.66837, 0.6313725490196078, 0.6313725490196078), - (0.7092, 1.0, 1.0), - (0.8571, 0.47058823529411764, 0.47058823529411764), - (1.0, 0.6666666666666666, 0.6666666666666666)], - 'blue': [(0.0, 1.0, 1.0), - (0.1225, 0.4980392156862745, 0.4980392156862745), - (0.1633, 0.7019607843137254, 0.7019607843137254), - (0.2092, 0.4549019607843137, 0.4549019607843137), - (0.2704, 0.6509803921568628, 0.6509803921568628), - (0.3571, 0.0, 0.0), (0.4541, 1.0, 1.0), (0.5051, 1.0, 1.0), - (0.551, 0.0, 0.0), (0.57143, 0.0, 0.0), (0.62245, 0.0, 0.0), - (0.66837, 0.0, 0.0), (0.7092, 0.0, 0.0), (0.8571, 0.0, 0.0), - (1.0, 0.0, 0.0)] - }, - 'Experimental': { - 'red': - [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.08, 0.15294117647058825, 0.15294117647058825), - (0.22, 0.3333333333333333, 0.3333333333333333), - (0.45, 0.6705882352941176, 0.6705882352941176), (0.5, 0.0, 0.0), - (0.55, 0.6705882352941176, 0.6705882352941176), - (0.9, 0.9882352941176471, 0.9882352941176471), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.6666666666666666, 0.6666666666666666), - (0.08, 0.4588235294117647, 0.4588235294117647), - (0.22, 1.0, 1.0), - (0.45, 0.6705882352941176, 0.6705882352941176), - (0.5, 0.0, 0.0), - (0.55, 0.6705882352941176, 0.6705882352941176), - (0.9, 0.5568627450980392, 0.5568627450980392), - (1.0, 0.0, 0.0)], - 'blue': - [(0.0, 1.0, 1.0), (0.08, 0.23137254901960785, 0.23137254901960785), - (0.22, 0.4980392156862745, 0.4980392156862745), - (0.45, 0.6705882352941176, 0.6705882352941176), (0.5, 0.0, 0.0), - (0.55, 0.6705882352941176, 0.6705882352941176), - (0.9, 0.09411764705882353, 0.09411764705882353), (1.0, 0.0, 0.0)] - }, - 'Magic': { - 'red': [(0.0, 1.0, 1.0), (0.163265, 1.0, 1.0), - (0.316327, 0.6666666666666666, 0.6666666666666666), - (0.479592, 0.8784313725490196, 0.8784313725490196), - (0.493827, 0.8980392156862745, 0.8980392156862745), - (0.678571, 0.0, 0.0), (0.836735, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 1.0, 1.0), (0.163265, 0.0, 0.0), - (0.316327, 0.3333333333333333, 0.3333333333333333), - (0.479592, 0.8509803921568627, 0.8509803921568627), - (0.493827, 0.8980392156862745, 0.8980392156862745), - (0.678571, 0.0, 0.0), (0.836735, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 0.0, 0.0), (0.163265, 0.0, 0.0), (0.316327, 0.0, 0.0), - (0.479592, 0.8274509803921568, 0.8274509803921568), - (0.493827, 0.8980392156862745, 0.8980392156862745), - (0.678571, 0.0, 0.0), (0.836735, 1.0, 1.0), (1.0, 1.0, 1.0)] - }, - 'Brown-4grades': { - 'red': [(0.0, 1.0, 1.0), - (0.244898, 0.6666666666666666, 0.6666666666666666), - (0.484694, 0.9882352941176471, 0.9882352941176471), - (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), - (1.0, 0.6666666666666666, 0.6666666666666666)], - 'green': [(0.0, 1.0, 1.0), (0.244898, 0.0, 0.0), - (0.484694, 0.9607843137254902, 0.9607843137254902), - (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 0.0, 0.0), (0.244898, 0.0, 0.0), - (0.484694, 0.9607843137254902, 0.9607843137254902), - (0.494898, 1.0, 1.0), (0.765306, 0.0, 0.0), (1.0, 1.0, 1.0)] - }, - 'Curvature': { - 'red': [(0.0, 0.0, 0.0), - (0.090452, 0.3333333333333333, 0.3333333333333333), - (0.175879, 0.3333333333333333, 0.3333333333333333), - (0.25, 0.6666666666666666, 0.6666666666666666), - (0.291457, 1.0, 1.0), (0.356784, 1.0, 1.0), - (0.522613, 0.3568627450980392, 0.3568627450980392), - (0.673367, 0.24313725490196078, 0.24313725490196078), - (0.78392, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), - (0.090452, 0.6666666666666666, 0.6666666666666666), - (0.175879, 1.0, 1.0), (0.25, 1.0, 1.0), (0.291457, 1.0, 1.0), - (0.356784, 1.0, 1.0), - (0.522613, 0.3568627450980392, 0.3568627450980392), - (0.673367, 0.24313725490196078, 0.24313725490196078), - (0.78392, 0.6666666666666666, 0.6666666666666666), - (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), (0.090452, 1.0, 1.0), (0.175879, 1.0, 1.0), - (0.25, 1.0, 1.0), (0.291457, 1.0, 1.0), (0.356784, 1.0, 1.0), - (0.522613, 0.3568627450980392, 0.3568627450980392), - (0.673367, 0.24313725490196078, 0.24313725490196078), - (0.78392, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.0, 0.0)] - }, - 'Contour-Gradients': { - 'red': [(0.0, 0.0, 0.0), - (0.13878, 0.20392156862745098, 0.20392156862745098), - (0.13879, 0.0, 0.0), - (0.266904, 0.1607843137254902, 0.1607843137254902), - (0.266904, 0.0, 0.0), - (0.391449, 0.1803921568627451, 0.1803921568627451), - (0.391459, 0.0, 0.0), - (0.512446, 0.12156862745098039, 0.12156862745098039), - (0.512456, 0.23137254901960785, 0.23137254901960785), - (0.633442, 1.0, 1.0), - (0.633452, 0.23529411764705882, 0.23529411764705882), - (0.754438, 1.0, 1.0), - (0.754448, 0.24705882352941178, 0.24705882352941178), - (0.878994, 1.0, 1.0), - (0.879004, 0.3411764705882353, 0.3411764705882353), - (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.01568627450980392, 0.01568627450980392), - (0.13878, 0.23137254901960785, 0.23137254901960785), - (0.13879, 0.06274509803921569, 0.06274509803921569), - (0.266904, 0.4745098039215686, 0.4745098039215686), - (0.266904, 0.23529411764705882, 0.23529411764705882), - (0.391449, 0.9450980392156862, 0.9450980392156862), - (0.391459, 0.24705882352941178, 0.24705882352941178), - (0.512446, 1.0, 1.0), - (0.512456, 0.23529411764705882, 0.23529411764705882), - (0.633442, 1.0, 1.0), - (0.633452, 0.11764705882352941, 0.11764705882352941), - (0.754438, 0.0, 0.0), - (0.754448, 0.07450980392156863, 0.07450980392156863), - (0.878994, 0.5098039215686274, 0.5098039215686274), - (0.879004, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.22745098039215686, 0.22745098039215686), - (0.13878, 1.0, 1.0), - (0.13879, 0.25882352941176473, 0.25882352941176473), - (0.266904, 1.0, 1.0), - (0.266904, 0.27450980392156865, 0.27450980392156865), - (0.391449, 1.0, 1.0), - (0.391459, 0.043137254901960784, 0.043137254901960784), - (0.512446, 0.0, 0.0), (0.512456, 0.0, 0.0), - (0.633442, 0.0, 0.0), (0.633452, 0.0, 0.0), - (0.754438, 0.0, 0.0), (0.754448, 0.0, 0.0), - (0.878994, 0.20392156862745098, 0.20392156862745098), - (0.879004, 0.07450980392156863, 0.07450980392156863), - (1.0, 1.0, 1.0)] - }, - 'Rainbow-Plus': { - 'red': [(0.0, 1.0, 1.0), (0.135135, 0.0, 0.0), (0.382239, 0.0, 0.0), - (0.46332, 0.0, 0.0), (0.53668, 1.0, 1.0), (0.606178, 1.0, 1.0), - (0.868726, 1.0, 1.0), - (1.0, 0.36470588235294116, 0.36470588235294116)], - 'green': [(0.0, 0.0, 0.0), (0.135135, 0.0, 0.0), (0.382239, 1.0, 1.0), - (0.46332, 1.0, 1.0), (0.53668, 1.0, 1.0), - (0.606178, 0.6666666666666666, 0.6666666666666666), - (0.868726, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.135135, 1.0, 1.0), (0.382239, 1.0, 1.0), - (0.46332, 0.0, 0.0), (0.53668, 0.0, 0.0), - (0.606178, 0.0, 0.0), (0.868726, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Tasty': { - 'red': [(0.0, 0.0, 0.0), (0.1, 0.1568627450980392, 0.1568627450980392), - (0.2, 0.3137254901960784, 0.3137254901960784), - (0.3, 0.6274509803921569, 0.6274509803921569), (0.4, 1.0, 1.0), - (0.5, 1.0, 1.0), (0.6, 1.0, 1.0), (0.7, 1.0, 1.0), - (0.8, 1.0, 1.0), (0.9, 0.7843137254901961, 0.7843137254901961), - (1.0, 0.4980392156862745, 0.4980392156862745)], - 'green': - [(0.0, 0.4980392156862745, 0.4980392156862745), - (0.1, 0.7450980392156863, 0.7450980392156863), (0.2, 1.0, 1.0), - (0.3, 1.0, 1.0), (0.4, 1.0, 1.0), - (0.5, 0.9019607843137255, 0.9019607843137255), - (0.6, 0.7843137254901961, 0.7843137254901961), - (0.7, 0.6666666666666666, 0.6666666666666666), - (0.8, 0.39215686274509803, 0.39215686274509803), - (0.9, 0.1568627450980392, 0.1568627450980392), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.2, 0.0, 0.0), - (0.3, 0.0, 0.0), (0.4, 0.0, 0.0), - (0.5, 0.00392156862745098, 0.00392156862745098), - (0.6, 0.0, 0.0), (0.7, 0.0, 0.0), (0.8, 0.0, 0.0), - (0.9, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'SandShale': { - 'red': [(0.0, 1.0, 1.0), (0.155116, 1.0, 1.0), - (0.531353, 0.7372549019607844, 0.7372549019607844), - (1.0, 0.25882352941176473, 0.25882352941176473)], - 'green': [(0.0, 1.0, 1.0), (0.155116, 1.0, 1.0), - (0.531353, 0.4980392156862745, 0.4980392156862745), - (1.0, 0.12941176470588237, 0.12941176470588237)], - 'blue': [(0.0, 0.0, 0.0), - (0.155116, 0.4980392156862745, 0.4980392156862745), - (0.531353, 0.01568627450980392, 0.01568627450980392), - (1.0, 0.0, 0.0)] - }, - 'Lithology': { - 'red': [(0.0, 0.0, 0.0), (0.049488, 0.0, 0.0), (0.129693, 0.0, 0.0), - (0.372014, 0.8392156862745098, 0.8392156862745098), - (0.593857, 0.6313725490196078, 0.6313725490196078), - (0.687713, 0.5411764705882353, 0.5411764705882353), - (0.812287, 0.43529411764705883, 0.43529411764705883), - (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.049488, 1.0, 1.0), - (0.129693, 0.7450980392156863, 0.7450980392156863), - (0.372014, 0.9450980392156862, 0.9450980392156862), - (0.593857, 0.41568627450980394, 0.41568627450980394), - (0.687713, 0.34509803921568627, 0.34509803921568627), - (0.812287, 0.26666666666666666, 0.26666666666666666), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.049488, 1.0, 1.0), (0.129693, 1.0, 1.0), - (0.372014, 0.1607843137254902, 0.1607843137254902), - (0.593857, 0.01568627450980392, 0.01568627450980392), - (0.687713, 0.011764705882352941, 0.011764705882352941), - (0.812287, 0.00784313725490196, 0.00784313725490196), - (1.0, 0.0, 0.0)] - }, - 'Pressure': { - 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.105058, 0.0, 0.0), - (0.206226, 0.6666666666666666, 0.6666666666666666), - (0.311284, 0.0, 0.0), (0.583658, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.105058, 0.0, 0.0), - (0.206226, 0.6666666666666666, 0.6666666666666666), - (0.311284, 1.0, 1.0), - (0.583658, 0.6666666666666666, 0.6666666666666666), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.4980392156862745, 0.4980392156862745), - (0.105058, 1.0, 1.0), (0.206226, 1.0, 1.0), - (0.311284, 1.0, 1.0), (0.583658, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Interval-Velocity': { - 'red': [(0.0, 0.0, 0.0), (0.190789, 0.0, 0.0), (0.322368, 0.0, 0.0), - (0.490132, 1.0, 1.0), (0.680921, 1.0, 1.0), - (0.848684, 0.6666666666666666, 0.6666666666666666), - (1.0, 0.24705882352941178, 0.24705882352941178)], - 'green': [(0.0, 0.0, 0.0), (0.190789, 1.0, 1.0), (0.322368, 1.0, 1.0), - (0.490132, 1.0, 1.0), (0.680921, 0.0, 0.0), - (0.848684, 0.3333333333333333, 0.3333333333333333), - (1.0, 0.12156862745098039, 0.12156862745098039)], - 'blue': [(0.0, 1.0, 1.0), (0.190789, 1.0, 1.0), (0.322368, 0.0, 0.0), - (0.490132, 0.0, 0.0), (0.680921, 0.0, 0.0), - (0.848684, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Porosity': { - 'red': [(0.0, 0.0, 0.0), (0.299611, 0.0, 0.0), (0.389105, 0.0, 0.0), - (0.587549, 1.0, 1.0), (0.758755, 1.0, 1.0), - (1.0, 0.25882352941176473, 0.25882352941176473)], - 'green': [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.299611, 0.6666666666666666, 0.6666666666666666), - (0.389105, 1.0, 1.0), (0.587549, 1.0, 1.0), - (0.758755, 0.0, 0.0), - (1.0, 0.12941176470588237, 0.12941176470588237)], - 'blue': [(0.0, 1.0, 1.0), (0.299611, 1.0, 1.0), (0.389105, 0.0, 0.0), - (0.587549, 0.0, 0.0), (0.758755, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Dip': { - 'red': [(0.0, 0.0, 0.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), (0.5, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), (0.5, 1.0, 1.0), (1.0, 0.0, 0.0)] - }, - 'Energy': { - 'red': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.436293, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Depth1': { - 'red': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), (0.45, 1.0, 1.0), - (0.6, 0.0, 0.0), (0.75, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), (0.2, 0.0, 0.0), (0.45, 1.0, 1.0), - (0.6, 1.0, 1.0), (0.75, 1.0, 1.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.2, 0.0, 0.0), (0.45, 0.0, 0.0), - (0.6, 0.0, 0.0), (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)] - }, - 'Similarity': { - 'red': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)] - }, - 'Double-Tasty': { - 'red': - [(0.0, 0.4980392156862745, 0.4980392156862745), - (0.05, 0.7843137254901961, 0.7843137254901961), (0.1, 1.0, 1.0), - (0.15, 1.0, 1.0), (0.2, 1.0, 1.0), (0.25, 1.0, 1.0), (0.3, 1.0, 1.0), - (0.35, 0.6274509803921569, 0.6274509803921569), - (0.39, 0.3137254901960784, 0.3137254901960784), - (0.42, 0.1568627450980392, 0.1568627450980392), (0.45, 0.0, 0.0), - (0.49, 0.0, 0.0), (0.51, 0.0, 0.0), (0.55, 0.0, 0.0), - (0.58, 0.1568627450980392, 0.1568627450980392), - (0.61, 0.3137254901960784, 0.3137254901960784), - (0.65, 0.6274509803921569, 0.6274509803921569), (0.7, 1.0, 1.0), - (0.75, 1.0, 1.0), (0.8, 1.0, 1.0), (0.85, 1.0, 1.0), (0.9, 1.0, 1.0), - (0.95, 0.7843137254901961, 0.7843137254901961), - (1.0, 0.4980392156862745, 0.4980392156862745)], - 'green': [(0.0, 0.0, 0.0), - (0.05, 0.1568627450980392, 0.1568627450980392), - (0.1, 0.39215686274509803, 0.39215686274509803), - (0.15, 0.6666666666666666, 0.6666666666666666), - (0.2, 0.7843137254901961, 0.7843137254901961), - (0.25, 0.9019607843137255, 0.9019607843137255), - (0.3, 1.0, 1.0), (0.35, 1.0, 1.0), (0.39, 1.0, 1.0), - (0.42, 0.7450980392156863, 0.7450980392156863), - (0.45, 0.4980392156862745, 0.4980392156862745), - (0.49, 0.0, 0.0), (0.51, 0.0, 0.0), - (0.55, 0.4980392156862745, 0.4980392156862745), - (0.58, 0.7450980392156863, 0.7450980392156863), - (0.61, 1.0, 1.0), (0.65, 1.0, 1.0), (0.7, 1.0, 1.0), - (0.75, 0.9019607843137255, 0.9019607843137255), - (0.8, 0.7843137254901961, 0.7843137254901961), - (0.85, 0.6666666666666666, 0.6666666666666666), - (0.9, 0.39215686274509803, 0.39215686274509803), - (0.95, 0.1568627450980392, 0.1568627450980392), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.05, 0.0, 0.0), (0.1, 0.0, 0.0), - (0.15, 0.0, 0.0), (0.2, 0.0, 0.0), - (0.25, 0.00392156862745098, 0.00392156862745098), - (0.3, 0.0, 0.0), (0.35, 0.0, 0.0), (0.39, 0.0, 0.0), - (0.42, 0.0, 0.0), (0.45, 0.0, 0.0), (0.49, 0.0, 0.0), - (0.51, 0.0, 0.0), (0.55, 0.0, 0.0), (0.58, 0.0, 0.0), - (0.61, 0.0, 0.0), (0.65, 0.0, 0.0), (0.7, 0.0, 0.0), - (0.75, 0.00392156862745098, 0.00392156862745098), - (0.8, 0.0, 0.0), (0.85, 0.0, 0.0), (0.9, 0.0, 0.0), - (0.95, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Double-Rainbow': { - 'red': [(0.0, 1.0, 1.0), (0.1, 1.0, 1.0), (0.23, 1.0, 1.0), - (0.3, 0.0, 0.0), (0.36, 0.0, 0.0), (0.48, 0.0, 0.0), - (0.5, 0.0, 0.0), (0.52, 0.0, 0.0), (0.64, 0.0, 0.0), - (0.7, 0.0, 0.0), (0.77, 1.0, 1.0), (0.9, 1.0, 1.0), - (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.0, 0.0), (0.1, 0.0, 0.0), (0.23, 1.0, 1.0), - (0.3, 1.0, 1.0), (0.36, 1.0, 1.0), (0.48, 0.0, 0.0), - (0.5, 0.0, 0.0), (0.52, 0.0, 0.0), (0.64, 1.0, 1.0), - (0.7, 1.0, 1.0), (0.77, 1.0, 1.0), (0.9, 0.0, 0.0), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), (0.1, 0.0, 0.0), (0.23, 0.0, 0.0), - (0.3, 0.0, 0.0), (0.36, 1.0, 1.0), (0.48, 1.0, 1.0), - (0.5, 0.0, 0.0), (0.52, 1.0, 1.0), (0.64, 1.0, 1.0), - (0.7, 0.0, 0.0), (0.77, 0.0, 0.0), (0.9, 0.0, 0.0), - (1.0, 1.0, 1.0)] - }, - 'Matteo-terrain-cube': { - 'red': [(0.0, 0.5137254901960784, 0.5137254901960784), - (0.07, 0.5215686274509804, 0.5215686274509804), - (0.13, 0.49019607843137253, 0.49019607843137253), - (0.2, 0.43137254901960786, 0.43137254901960786), - (0.27, 0.38823529411764707, 0.38823529411764707), - (0.33, 0.3333333333333333, 0.3333333333333333), - (0.4, 0.2784313725490196, 0.2784313725490196), - (0.47, 0.2196078431372549, 0.2196078431372549), - (0.53, 0.24705882352941178, 0.24705882352941178), - (0.6, 0.2823529411764706, 0.2823529411764706), - (0.67, 0.3215686274509804, 0.3215686274509804), - (0.73, 0.3607843137254902, 0.3607843137254902), - (0.8, 0.4549019607843137, 0.4549019607843137), - (0.87, 0.6039215686274509, 0.6039215686274509), - (0.93, 0.7058823529411765, 0.7058823529411765), - (1.0, 0.8, 0.8)], - 'green': [(0.0, 0.047058823529411764, 0.047058823529411764), - (0.07, 0.17647058823529413, 0.17647058823529413), - (0.13, 0.2901960784313726, 0.2901960784313726), - (0.2, 0.3843137254901961, 0.3843137254901961), - (0.27, 0.47843137254901963, 0.47843137254901963), - (0.33, 0.5647058823529412, 0.5647058823529412), - (0.4, 0.6431372549019608, 0.6431372549019608), - (0.47, 0.7137254901960784, 0.7137254901960784), - (0.53, 0.7607843137254902, 0.7607843137254902), - (0.6, 0.8117647058823529, 0.8117647058823529), - (0.67, 0.8509803921568627, 0.8509803921568627), - (0.73, 0.8901960784313725, 0.8901960784313725), - (0.8, 0.9137254901960784, 0.9137254901960784), - (0.87, 0.9254901960784314, 0.9254901960784314), - (0.93, 0.9254901960784314, 0.9254901960784314), - (1.0, 0.9254901960784314, 0.9254901960784314)], - 'blue': [(0.0, 0.6705882352941176, 0.6705882352941176), - (0.07, 0.807843137254902, 0.807843137254902), - (0.13, 0.9215686274509803, 0.9215686274509803), - (0.2, 0.9921568627450981, 0.9921568627450981), - (0.27, 0.9764705882352941, 0.9764705882352941), - (0.33, 0.9058823529411765, 0.9058823529411765), - (0.4, 0.8274509803921568, 0.8274509803921568), - (0.47, 0.7254901960784313, 0.7254901960784313), - (0.53, 0.6235294117647059, 0.6235294117647059), - (0.6, 0.5058823529411764, 0.5058823529411764), - (0.67, 0.396078431372549, 0.396078431372549), - (0.73, 0.2901960784313726, 0.2901960784313726), - (0.8, 0.30196078431372547, 0.30196078431372547), - (0.87, 0.32941176470588235, 0.32941176470588235), - (0.93, 0.3411764705882353, 0.3411764705882353), - (1.0, 0.35294117647058826, 0.35294117647058826)] - }, - 'Matteo-terrain-cube-red': { - 'red': - [(0.0, 0.47058823529411764, 0.47058823529411764), - (0.07, 0.5137254901960784, 0.5137254901960784), - (0.13, 0.49411764705882355, 0.49411764705882355), - (0.2, 0.43137254901960786, 0.43137254901960786), - (0.27, 0.3686274509803922, 0.3686274509803922), - (0.33, 0.2980392156862745, 0.2980392156862745), - (0.4, 0.2196078431372549, 0.2196078431372549), - (0.47, 0.2627450980392157, 0.2627450980392157), - (0.53, 0.30980392156862746, 0.30980392156862746), - (0.6, 0.3607843137254902, 0.3607843137254902), - (0.67, 0.5215686274509804, 0.5215686274509804), - (0.73, 0.6784313725490196, 0.6784313725490196), (0.8, 0.8, 0.8), - (0.87, 0.8705882352941177, 0.8705882352941177), - (0.93, 0.9529411764705882, 0.9529411764705882), - (1.0, 0.9764705882352941, 0.9764705882352941)], - 'green': [(0.0, 0.0, 0.0), - (0.07, 0.050980392156862744, 0.050980392156862744), - (0.13, 0.25098039215686274, 0.25098039215686274), - (0.2, 0.3843137254901961, 0.3843137254901961), - (0.27, 0.5176470588235295, 0.5176470588235295), - (0.33, 0.6196078431372549, 0.6196078431372549), - (0.4, 0.7137254901960784, 0.7137254901960784), - (0.47, 0.7843137254901961, 0.7843137254901961), - (0.53, 0.8392156862745098, 0.8392156862745098), - (0.6, 0.8901960784313725, 0.8901960784313725), - (0.67, 0.9215686274509803, 0.9215686274509803), - (0.73, 0.9254901960784314, 0.9254901960784314), - (0.8, 0.9254901960784314, 0.9254901960784314), - (0.87, 0.8549019607843137, 0.8549019607843137), - (0.93, 0.7450980392156863, 0.7450980392156863), - (1.0, 0.5882352941176471, 0.5882352941176471)], - 'blue': [(0.0, 0.5215686274509804, 0.5215686274509804), - (0.07, 0.7098039215686275, 0.7098039215686275), - (0.13, 0.8784313725490196, 0.8784313725490196), - (0.2, 0.9921568627450981, 0.9921568627450981), - (0.27, 0.9490196078431372, 0.9490196078431372), - (0.33, 0.8509803921568627, 0.8509803921568627), - (0.4, 0.7215686274509804, 0.7215686274509804), - (0.47, 0.5764705882352941, 0.5764705882352941), - (0.53, 0.4235294117647059, 0.4235294117647059), - (0.6, 0.28627450980392155, 0.28627450980392155), - (0.67, 0.3137254901960784, 0.3137254901960784), - (0.73, 0.33725490196078434, 0.33725490196078434), - (0.8, 0.35294117647058826, 0.35294117647058826), - (0.87, 0.3607843137254902, 0.3607843137254902), - (0.93, 0.3686274509803922, 0.3686274509803922), - (1.0, 0.3568627450980392, 0.3568627450980392)] - }, - 'Matteo-terrain-linear': { - 'red': [(0.0, 0.01568627450980392, 0.01568627450980392), - (0.07, 0.1411764705882353, 0.1411764705882353), - (0.13, 0.17647058823529413, 0.17647058823529413), - (0.2, 0.17254901960784313, 0.17254901960784313), - (0.27, 0.10588235294117647, 0.10588235294117647), - (0.33, 0.06666666666666667, 0.06666666666666667), - (0.4, 0.0, 0.0), (0.47, 0.0, 0.0), (0.53, 0.0, 0.0), - (0.6, 0.0, 0.0), - (0.67, 0.21568627450980393, 0.21568627450980393), - (0.73, 0.38823529411764707, 0.38823529411764707), - (0.8, 0.6901960784313725, 0.6901960784313725), - (0.87, 0.8549019607843137, 0.8549019607843137), - (0.93, 0.9725490196078431, 0.9725490196078431), - (1.0, 0.9686274509803922, 0.9686274509803922)], - 'green': [(0.0, 0.01568627450980392, 0.01568627450980392), - (0.07, 0.054901960784313725, 0.054901960784313725), - (0.13, 0.09019607843137255, 0.09019607843137255), - (0.2, 0.13333333333333333, 0.13333333333333333), - (0.27, 0.2235294117647059, 0.2235294117647059), - (0.33, 0.3058823529411765, 0.3058823529411765), - (0.4, 0.39215686274509803, 0.39215686274509803), - (0.47, 0.4745098039215686, 0.4745098039215686), - (0.53, 0.5568627450980392, 0.5568627450980392), - (0.6, 0.6392156862745098, 0.6392156862745098), - (0.67, 0.6980392156862745, 0.6980392156862745), - (0.73, 0.7568627450980392, 0.7568627450980392), - (0.8, 0.7803921568627451, 0.7803921568627451), - (0.87, 0.803921568627451, 0.803921568627451), - (0.93, 0.8431372549019608, 0.8431372549019608), - (1.0, 0.9254901960784314, 0.9254901960784314)], - 'blue': [(0.0, 0.01568627450980392, 0.01568627450980392), - (0.07, 0.12549019607843137, 0.12549019607843137), - (0.13, 0.2784313725490196, 0.2784313725490196), - (0.2, 0.4549019607843137, 0.4549019607843137), - (0.27, 0.4980392156862745, 0.4980392156862745), - (0.33, 0.5058823529411764, 0.5058823529411764), - (0.4, 0.42745098039215684, 0.42745098039215684), - (0.47, 0.34509803921568627, 0.34509803921568627), - (0.53, 0.24705882352941178, 0.24705882352941178), - (0.6, 0.16470588235294117, 0.16470588235294117), - (0.67, 0.0, 0.0), (0.73, 0.0, 0.0), (0.8, 0.0, 0.0), - (0.87, 0.4549019607843137, 0.4549019607843137), - (0.93, 0.7294117647058823, 0.7294117647058823), - (1.0, 0.8980392156862745, 0.8980392156862745)] - }, - 'Petrel': { - 'red': - [(0.0, 0.6313725490196078, 0.6313725490196078), (0.33, 0.0, 0.0), - (0.4, 0.30196078431372547, 0.30196078431372547), (0.5, 0.8, 0.8), - (0.6, 0.3803921568627451, 0.3803921568627451), - (0.67, 0.7490196078431373, 0.7490196078431373), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.33, 0.0, 0.0), - (0.4, 0.30196078431372547, 0.30196078431372547), - (0.5, 0.8, 0.8), - (0.6, 0.27058823529411763, 0.27058823529411763), - (0.67, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), - (0.33, 0.7490196078431373, 0.7490196078431373), - (0.4, 0.30196078431372547, 0.30196078431372547), - (0.5, 0.8, 0.8), (0.6, 0.0, 0.0), (0.67, 0.0, 0.0), - (1.0, 0.0, 0.0)] - }, - 'Depth_AS': { - 'red': [(0.0, 0.6392156862745098, 0.6392156862745098), - (0.04379562, 0.7372549019607844, 0.7372549019607844), - (0.33941606, 1.0, 1.0), (0.54014599, 0.0, 0.0), - (0.729927, 0.0, 0.0), (0.7591241, 0.0, 0.0), - (0.97445256, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'green': [(0.0, 0.0, 0.0), - (0.04379562, 0.12156862745098039, 0.12156862745098039), - (0.33941606, 0.6666666666666666, 0.6666666666666666), - (0.54014599, 1.0, 1.0), - (0.729927, 0.9215686274509803, 0.9215686274509803), - (0.7591241, 0.9019607843137255, 0.9019607843137255), - (0.97445256, 0.0, 0.0), (1.0, 0.0, 0.0)], - 'blue': [(0.0, 0.0, 0.0), (0.04379562, 0.0, 0.0), - (0.33941606, 0.0, 0.0), (0.54014599, 0.0, 0.0), - (0.729927, 0.9215686274509803, 0.9215686274509803), - (0.7591241, 1.0, 1.0), - (0.97445256, 0.7647058823529411, 0.7647058823529411), - (1.0, 0.8235294117647058, 0.8235294117647058)] - }, - 'AI_NedMag': { - 'red': [(0.0, 0.9411764705882353, 0.9411764705882353), - (0.14, 0.4823529411764706, 0.4823529411764706), - (0.215, 0.20784313725490197, 0.20784313725490197), - (0.33, 0.16470588235294117, 0.16470588235294117), - (0.48, 0.3333333333333333, 0.3333333333333333), - (0.61, 0.2823529411764706, 0.2823529411764706), - (0.75, 1.0, 1.0), (0.93, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 0.2549019607843137, 0.2549019607843137), - (0.14, 0.29411764705882354, 0.29411764705882354), - (0.215, 0.20784313725490197, 0.20784313725490197), - (0.33, 0.7490196078431373, 0.7490196078431373), - (0.48, 1.0, 1.0), - (0.61, 0.8509803921568627, 0.8509803921568627), - (0.75, 0.9686274509803922, 0.9686274509803922), - (0.93, 0.5686274509803921, 0.5686274509803921), - (1.0, 0.3333333333333333, 0.3333333333333333)], - 'blue': [(0.0, 1.0, 1.0), (0.14, 1.0, 1.0), (0.215, 1.0, 1.0), - (0.33, 1.0, 1.0), (0.48, 1.0, 1.0), - (0.61, 0.19607843137254902, 0.19607843137254902), - (0.75, 0.3333333333333333, 0.3333333333333333), - (0.93, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'Depth_Spectral': { - 'red': - [(0.0, 0.8431372549019608, 0.8431372549019608), - (0.25, 0.9764705882352941, 0.9764705882352941), (0.5, 1.0, 1.0), - (0.75, 0.8274509803921568, 0.8274509803921568), - (1.0, 0.16862745098039217, 0.16862745098039217)], - 'green': [(0.0, 0.09803921568627451, 0.09803921568627451), - (0.25, 0.6196078431372549, 0.6196078431372549), - (0.5, 1.0, 1.0), - (0.75, 0.6549019607843137, 0.6549019607843137), - (1.0, 0.5137254901960784, 0.5137254901960784)], - 'blue': - [(0.0, 0.10980392156862745, 0.10980392156862745), - (0.25, 0.34901960784313724, 0.34901960784313724), - (0.5, 0.7490196078431373, 0.7490196078431373), (0.75, 0.0, 0.0), - (1.0, 0.7294117647058823, 0.7294117647058823)] - }, - 'od_seismic1': { - 'red': - [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.2, 0.03529411764705882, 0.03529411764705882), - (0.35, 0.34901960784313724, 0.34901960784313724), (0.5, 1.0, 1.0), - (0.65, 0.9764705882352941, 0.9764705882352941), - (0.8, 0.5137254901960784, 0.5137254901960784), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), - (0.2, 0.19215686274509805, 0.19215686274509805), - (0.35, 0.4392156862745098, 0.4392156862745098), - (0.5, 1.0, 1.0), - (0.65, 0.9254901960784314, 0.9254901960784314), - (0.8, 0.3843137254901961, 0.3843137254901961), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), - (0.2, 0.4392156862745098, 0.4392156862745098), - (0.35, 0.28627450980392155, 0.28627450980392155), - (0.5, 1.0, 1.0), - (0.65, 0.33725490196078434, 0.33725490196078434), - (0.8, 0.20392156862745098, 0.20392156862745098), - (1.0, 0.0, 0.0)] - }, - 'od_seismic2': { - 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), (0.2, 0.0, 0.0), - (0.29, 0.047058823529411764, 0.047058823529411764), - (0.37, 0.47058823529411764, 0.47058823529411764), - (0.45, 0.7372549019607844, 0.7372549019607844), - (0.5, 0.9764705882352941, 0.9764705882352941), - (0.55, 0.8549019607843137, 0.8549019607843137), - (0.63, 0.6470588235294118, 0.6470588235294118), - (0.71, 0.5647058823529412, 0.5647058823529412), - (0.8, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), (0.2, 0.0, 0.0), - (0.29, 0.07058823529411765, 0.07058823529411765), - (0.37, 0.5490196078431373, 0.5490196078431373), - (0.45, 0.7843137254901961, 0.7843137254901961), - (0.5, 0.9803921568627451, 0.9803921568627451), - (0.55, 0.8549019607843137, 0.8549019607843137), - (0.63, 0.5450980392156862, 0.5450980392156862), - (0.71, 0.0, 0.0), (0.8, 0.0, 0.0), (1.0, 1.0, 1.0)], - 'blue': [(0.0, 1.0, 1.0), (0.2, 1.0, 1.0), - (0.29, 0.5254901960784314, 0.5254901960784314), - (0.37, 0.40784313725490196, 0.40784313725490196), - (0.45, 0.5803921568627451, 0.5803921568627451), - (0.5, 0.9333333333333333, 0.9333333333333333), - (0.55, 0.6509803921568628, 0.6509803921568628), - (0.63, 0.37254901960784315, 0.37254901960784315), - (0.71, 0.0, 0.0), (0.8, 0.0, 0.0), (1.0, 0.0, 0.0)] - }, - 'od_seismic3': { - 'red': [(0.0, 0.3333333333333333, 0.3333333333333333), - (0.2149837, 0.03529411764705882, 0.03529411764705882), - (0.38762218, 0.34901960784313724, 0.34901960784313724), - (0.6, 1.0, 1.0), (0.75, 1.0, 1.0), (1.0, 1.0, 1.0)], - 'green': [(0.0, 1.0, 1.0), - (0.2149837, 0.19215686274509805, 0.19215686274509805), - (0.38762218, 0.4392156862745098, 0.4392156862745098), - (0.6, 0.996078431372549, 0.996078431372549), - (0.75, 0.9529411764705882, 0.9529411764705882), - (1.0, 0.0, 0.0)], - 'blue': [(0.0, 1.0, 1.0), - (0.2149837, 0.4392156862745098, 0.4392156862745098), - (0.38762218, 0.28627450980392155, 0.28627450980392155), - (0.6, 0.9529411764705882, 0.9529411764705882), - (0.75, 0.4196078431372549, 0.4196078431372549), - (1.0, 0.0, 0.0)] - }, - 'Viridis': { - 'red': [(0.0, 0.2627450980392157, 0.2627450980392157), - (0.021164, 0.27450980392156865, 0.27450980392156865), - (0.040564, 0.2784313725490196, 0.2784313725490196), - (0.061728, 0.2784313725490196, 0.2784313725490196), - (0.081129, 0.2823529411764706, 0.2823529411764706), - (0.100529, 0.2784313725490196, 0.2784313725490196), - (0.121693, 0.2784313725490196, 0.2784313725490196), - (0.141093, 0.26666666666666666, 0.26666666666666666), - (0.160494, 0.2627450980392157, 0.2627450980392157), - (0.181658, 0.25882352941176473, 0.25882352941176473), - (0.201058, 0.25098039215686274, 0.25098039215686274), - (0.220459, 0.23529411764705882, 0.23529411764705882), - (0.241623, 0.22745098039215686, 0.22745098039215686), - (0.261023, 0.2235294117647059, 0.2235294117647059), - (0.280423, 0.21176470588235294, 0.21176470588235294), - (0.301587, 0.2, 0.2), - (0.320988, 0.18823529411764706, 0.18823529411764706), - (0.340388, 0.1803921568627451, 0.1803921568627451), - (0.361552, 0.17254901960784313, 0.17254901960784313), - (0.380952, 0.16470588235294117, 0.16470588235294117), - (0.400353, 0.1568627450980392, 0.1568627450980392), - (0.421517, 0.14901960784313725, 0.14901960784313725), - (0.440917, 0.1450980392156863, 0.1450980392156863), - (0.460317, 0.13725490196078433, 0.13725490196078433), - (0.481481, 0.13333333333333333, 0.13333333333333333), - (0.500882, 0.12156862745098039, 0.12156862745098039), - (0.520282, 0.12156862745098039, 0.12156862745098039), - (0.541446, 0.11764705882352941, 0.11764705882352941), - (0.560847, 0.11764705882352941, 0.11764705882352941), - (0.580247, 0.11764705882352941, 0.11764705882352941), - (0.601411, 0.12941176470588237, 0.12941176470588237), - (0.620811, 0.1450980392156863, 0.1450980392156863), - (0.640212, 0.16470588235294117, 0.16470588235294117), - (0.661376, 0.19215686274509805, 0.19215686274509805), - (0.680776, 0.2196078431372549, 0.2196078431372549), - (0.700176, 0.25098039215686274, 0.25098039215686274), - (0.72134, 0.29411764705882354, 0.29411764705882354), - (0.740741, 0.32941176470588235, 0.32941176470588235), - (0.760141, 0.37254901960784315, 0.37254901960784315), - (0.781305, 0.41568627450980394, 0.41568627450980394), - (0.800705, 0.4627450980392157, 0.4627450980392157), - (0.820106, 0.5098039215686274, 0.5098039215686274), - (0.84127, 0.5647058823529412, 0.5647058823529412), - (0.86067, 0.615686274509804, 0.615686274509804), - (0.880071, 0.6627450980392157, 0.6627450980392157), - (0.901235, 0.7176470588235294, 0.7176470588235294), - (0.920635, 0.7725490196078432, 0.7725490196078432), - (0.940035, 0.8235294117647058, 0.8235294117647058), - (0.961199, 0.8745098039215686, 0.8745098039215686), - (0.9806, 0.9254901960784314, 0.9254901960784314), - (1.0, 0.9725490196078431, 0.9725490196078431)], - 'green': [(0.0, 0.00392156862745098, 0.00392156862745098), - (0.021164, 0.03529411764705882, 0.03529411764705882), - (0.040564, 0.06666666666666667, 0.06666666666666667), - (0.061728, 0.09411764705882353, 0.09411764705882353), - (0.081129, 0.11764705882352941, 0.11764705882352941), - (0.100529, 0.1450980392156863, 0.1450980392156863), - (0.121693, 0.16862745098039217, 0.16862745098039217), - (0.141093, 0.19215686274509805, 0.19215686274509805), - (0.160494, 0.21568627450980393, 0.21568627450980393), - (0.181658, 0.23921568627450981, 0.23921568627450981), - (0.201058, 0.2627450980392157, 0.2627450980392157), - (0.220459, 0.28627450980392155, 0.28627450980392155), - (0.241623, 0.30980392156862746, 0.30980392156862746), - (0.261023, 0.32941176470588235, 0.32941176470588235), - (0.280423, 0.34901960784313724, 0.34901960784313724), - (0.301587, 0.37254901960784315, 0.37254901960784315), - (0.320988, 0.3843137254901961, 0.3843137254901961), - (0.340388, 0.40784313725490196, 0.40784313725490196), - (0.361552, 0.42745098039215684, 0.42745098039215684), - (0.380952, 0.45098039215686275, 0.45098039215686275), - (0.400353, 0.4666666666666667, 0.4666666666666667), - (0.421517, 0.48627450980392156, 0.48627450980392156), - (0.440917, 0.5058823529411764, 0.5058823529411764), - (0.460317, 0.5254901960784314, 0.5254901960784314), - (0.481481, 0.5411764705882353, 0.5411764705882353), - (0.500882, 0.5568627450980392, 0.5568627450980392), - (0.520282, 0.5803921568627451, 0.5803921568627451), - (0.541446, 0.596078431372549, 0.596078431372549), - (0.560847, 0.615686274509804, 0.615686274509804), - (0.580247, 0.6313725490196078, 0.6313725490196078), - (0.601411, 0.6509803921568628, 0.6509803921568628), - (0.620811, 0.6705882352941176, 0.6705882352941176), - (0.640212, 0.6901960784313725, 0.6901960784313725), - (0.661376, 0.7058823529411765, 0.7058823529411765), - (0.680776, 0.7215686274509804, 0.7215686274509804), - (0.700176, 0.7411764705882353, 0.7411764705882353), - (0.72134, 0.7607843137254902, 0.7607843137254902), - (0.740741, 0.7725490196078432, 0.7725490196078432), - (0.760141, 0.7843137254901961, 0.7843137254901961), - (0.781305, 0.803921568627451, 0.803921568627451), - (0.800705, 0.8117647058823529, 0.8117647058823529), - (0.820106, 0.8274509803921568, 0.8274509803921568), - (0.84127, 0.8392156862745098, 0.8392156862745098), - (0.86067, 0.8509803921568627, 0.8509803921568627), - (0.880071, 0.8549019607843137, 0.8549019607843137), - (0.901235, 0.8627450980392157, 0.8627450980392157), - (0.920635, 0.8745098039215686, 0.8745098039215686), - (0.940035, 0.8823529411764706, 0.8823529411764706), - (0.961199, 0.8901960784313725, 0.8901960784313725), - (0.9806, 0.8901960784313725, 0.8901960784313725), - (1.0, 0.9019607843137255, 0.9019607843137255)], - 'blue': [(0.0, 0.32941176470588235, 0.32941176470588235), - (0.021164, 0.3607843137254902, 0.3607843137254902), - (0.040564, 0.38823529411764707, 0.38823529411764707), - (0.061728, 0.41568627450980394, 0.41568627450980394), - (0.081129, 0.4392156862745098, 0.4392156862745098), - (0.100529, 0.4588235294117647, 0.4588235294117647), - (0.121693, 0.47843137254901963, 0.47843137254901963), - (0.141093, 0.49411764705882355, 0.49411764705882355), - (0.160494, 0.5019607843137255, 0.5019607843137255), - (0.181658, 0.5176470588235295, 0.5176470588235295), - (0.201058, 0.5294117647058824, 0.5294117647058824), - (0.220459, 0.5372549019607843, 0.5372549019607843), - (0.241623, 0.5411764705882353, 0.5411764705882353), - (0.261023, 0.5450980392156862, 0.5450980392156862), - (0.280423, 0.5490196078431373, 0.5490196078431373), - (0.301587, 0.5529411764705883, 0.5529411764705883), - (0.320988, 0.5529411764705883, 0.5529411764705883), - (0.340388, 0.5529411764705883, 0.5529411764705883), - (0.361552, 0.5568627450980392, 0.5568627450980392), - (0.380952, 0.5568627450980392, 0.5568627450980392), - (0.400353, 0.5568627450980392, 0.5568627450980392), - (0.421517, 0.5568627450980392, 0.5568627450980392), - (0.440917, 0.5568627450980392, 0.5568627450980392), - (0.460317, 0.5529411764705883, 0.5529411764705883), - (0.481481, 0.5529411764705883, 0.5529411764705883), - (0.500882, 0.5490196078431373, 0.5490196078431373), - (0.520282, 0.5450980392156862, 0.5450980392156862), - (0.541446, 0.5411764705882353, 0.5411764705882353), - (0.560847, 0.5294117647058824, 0.5294117647058824), - (0.580247, 0.5215686274509804, 0.5215686274509804), - (0.601411, 0.5137254901960784, 0.5137254901960784), - (0.620811, 0.5058823529411764, 0.5058823529411764), - (0.640212, 0.48627450980392156, 0.48627450980392156), - (0.661376, 0.47843137254901963, 0.47843137254901963), - (0.680776, 0.4627450980392157, 0.4627450980392157), - (0.700176, 0.44313725490196076, 0.44313725490196076), - (0.72134, 0.4196078431372549, 0.4196078431372549), - (0.740741, 0.4, 0.4), - (0.760141, 0.3764705882352941, 0.3764705882352941), - (0.781305, 0.34509803921568627, 0.34509803921568627), - (0.800705, 0.3176470588235294, 0.3176470588235294), - (0.820106, 0.2901960784313726, 0.2901960784313726), - (0.84127, 0.2549019607843137, 0.2549019607843137), - (0.86067, 0.2196078431372549, 0.2196078431372549), - (0.880071, 0.19215686274509805, 0.19215686274509805), - (0.901235, 0.1568627450980392, 0.1568627450980392), - (0.920635, 0.12156862745098039, 0.12156862745098039), - (0.940035, 0.10196078431372549, 0.10196078431372549), - (0.961199, 0.09411764705882353, 0.09411764705882353), - (0.9806, 0.09803921568627451, 0.09803921568627451), - (1.0, 0.12549019607843137, 0.12549019607843137)] - }, - 'Plasma': { - 'red': [(0.0, 0.058823529411764705, 0.058823529411764705), - (0.021164, 0.11372549019607843, 0.11372549019607843), - (0.040564, 0.15294117647058825, 0.15294117647058825), - (0.061728, 0.19607843137254902, 0.19607843137254902), - (0.081129, 0.22745098039215686, 0.22745098039215686), - (0.100529, 0.25882352941176473, 0.25882352941176473), - (0.121693, 0.29411764705882354, 0.29411764705882354), - (0.141093, 0.3254901960784314, 0.3254901960784314), - (0.160494, 0.3568627450980392, 0.3568627450980392), - (0.181658, 0.38823529411764707, 0.38823529411764707), - (0.201058, 0.4196078431372549, 0.4196078431372549), - (0.220459, 0.4470588235294118, 0.4470588235294118), - (0.241623, 0.47843137254901963, 0.47843137254901963), - (0.261023, 0.5058823529411764, 0.5058823529411764), - (0.280423, 0.5333333333333333, 0.5333333333333333), - (0.301587, 0.5647058823529412, 0.5647058823529412), - (0.320988, 0.592156862745098, 0.592156862745098), - (0.340388, 0.6196078431372549, 0.6196078431372549), - (0.361552, 0.6431372549019608, 0.6431372549019608), - (0.380952, 0.6666666666666666, 0.6666666666666666), - (0.400353, 0.6901960784313725, 0.6901960784313725), - (0.421517, 0.7137254901960784, 0.7137254901960784), - (0.440917, 0.7333333333333333, 0.7333333333333333), - (0.460317, 0.7490196078431373, 0.7490196078431373), - (0.481481, 0.7725490196078432, 0.7725490196078432), - (0.500882, 0.792156862745098, 0.792156862745098), - (0.520282, 0.8117647058823529, 0.8117647058823529), - (0.541446, 0.8313725490196079, 0.8313725490196079), - (0.560847, 0.8470588235294118, 0.8470588235294118), - (0.580247, 0.8588235294117647, 0.8588235294117647), - (0.601411, 0.8745098039215686, 0.8745098039215686), - (0.620811, 0.8901960784313725, 0.8901960784313725), - (0.640212, 0.9058823529411765, 0.9058823529411765), - (0.661376, 0.9176470588235294, 0.9176470588235294), - (0.680776, 0.9294117647058824, 0.9294117647058824), - (0.700176, 0.9411764705882353, 0.9411764705882353), - (0.72134, 0.9568627450980393, 0.9568627450980393), - (0.740741, 0.9647058823529412, 0.9647058823529412), - (0.760141, 0.9725490196078431, 0.9725490196078431), - (0.781305, 0.9803921568627451, 0.9803921568627451), - (0.800705, 0.984313725490196, 0.984313725490196), - (0.820106, 0.9882352941176471, 0.9882352941176471), - (0.84127, 0.9921568627450981, 0.9921568627450981), - (0.86067, 0.9921568627450981, 0.9921568627450981), - (0.880071, 0.9921568627450981, 0.9921568627450981), - (0.901235, 0.9882352941176471, 0.9882352941176471), - (0.920635, 0.9803921568627451, 0.9803921568627451), - (0.940035, 0.9725490196078431, 0.9725490196078431), - (0.961199, 0.9647058823529412, 0.9647058823529412), - (0.9806, 0.9529411764705882, 0.9529411764705882), - (1.0, 0.9411764705882353, 0.9411764705882353)], - 'green': [(0.0, 0.023529411764705882, 0.023529411764705882), - (0.021164, 0.0196078431372549, 0.0196078431372549), - (0.040564, 0.0196078431372549, 0.0196078431372549), - (0.061728, 0.01568627450980392, 0.01568627450980392), - (0.081129, 0.011764705882352941, 0.011764705882352941), - (0.100529, 0.011764705882352941, 0.011764705882352941), - (0.121693, 0.00784313725490196, 0.00784313725490196), - (0.141093, 0.00392156862745098, 0.00392156862745098), - (0.160494, 0.0, 0.0), (0.181658, 0.0, 0.0), - (0.201058, 0.0, 0.0), (0.220459, 0.0, 0.0), - (0.241623, 0.00784313725490196, 0.00784313725490196), - (0.261023, 0.011764705882352941, 0.011764705882352941), - (0.280423, 0.027450980392156862, 0.027450980392156862), - (0.301587, 0.054901960784313725, 0.054901960784313725), - (0.320988, 0.07450980392156863, 0.07450980392156863), - (0.340388, 0.09803921568627451, 0.09803921568627451), - (0.361552, 0.11764705882352941, 0.11764705882352941), - (0.380952, 0.1411764705882353, 0.1411764705882353), - (0.400353, 0.16470588235294117, 0.16470588235294117), - (0.421517, 0.1843137254901961, 0.1843137254901961), - (0.440917, 0.20784313725490197, 0.20784313725490197), - (0.460317, 0.23137254901960785, 0.23137254901960785), - (0.481481, 0.25098039215686274, 0.25098039215686274), - (0.500882, 0.27450980392156865, 0.27450980392156865), - (0.520282, 0.29411764705882354, 0.29411764705882354), - (0.541446, 0.3215686274509804, 0.3215686274509804), - (0.560847, 0.34509803921568627, 0.34509803921568627), - (0.580247, 0.36470588235294116, 0.36470588235294116), - (0.601411, 0.38823529411764707, 0.38823529411764707), - (0.620811, 0.4117647058823529, 0.4117647058823529), - (0.640212, 0.43137254901960786, 0.43137254901960786), - (0.661376, 0.4588235294117647, 0.4588235294117647), - (0.680776, 0.4823529411764706, 0.4823529411764706), - (0.700176, 0.5058823529411764, 0.5058823529411764), - (0.72134, 0.5372549019607843, 0.5372549019607843), - (0.740741, 0.5607843137254902, 0.5607843137254902), - (0.760141, 0.5882352941176471, 0.5882352941176471), - (0.781305, 0.615686274509804, 0.615686274509804), - (0.800705, 0.6431372549019608, 0.6431372549019608), - (0.820106, 0.6745098039215687, 0.6745098039215687), - (0.84127, 0.7019607843137254, 0.7019607843137254), - (0.86067, 0.7333333333333333, 0.7333333333333333), - (0.880071, 0.7568627450980392, 0.7568627450980392), - (0.901235, 0.796078431372549, 0.796078431372549), - (0.920635, 0.8313725490196079, 0.8313725490196079), - (0.940035, 0.8588235294117647, 0.8588235294117647), - (0.961199, 0.8941176470588236, 0.8941176470588236), - (0.9806, 0.9294117647058824, 0.9294117647058824), - (1.0, 0.9607843137254902, 0.9607843137254902)], - 'blue': [(0.0, 0.5215686274509804, 0.5215686274509804), - (0.021164, 0.5529411764705883, 0.5529411764705883), - (0.040564, 0.5686274509803921, 0.5686274509803921), - (0.061728, 0.5882352941176471, 0.5882352941176471), - (0.081129, 0.6039215686274509, 0.6039215686274509), - (0.100529, 0.615686274509804, 0.615686274509804), - (0.121693, 0.6313725490196078, 0.6313725490196078), - (0.141093, 0.6392156862745098, 0.6392156862745098), - (0.160494, 0.6470588235294118, 0.6470588235294118), - (0.181658, 0.6509803921568628, 0.6509803921568628), - (0.201058, 0.6549019607843137, 0.6549019607843137), - (0.220459, 0.6588235294117647, 0.6588235294117647), - (0.241623, 0.6588235294117647, 0.6588235294117647), - (0.261023, 0.6549019607843137, 0.6549019607843137), - (0.280423, 0.6470588235294118, 0.6470588235294118), - (0.301587, 0.6352941176470588, 0.6352941176470588), - (0.320988, 0.6274509803921569, 0.6274509803921569), - (0.340388, 0.6078431372549019, 0.6078431372549019), - (0.361552, 0.592156862745098, 0.592156862745098), - (0.380952, 0.5764705882352941, 0.5764705882352941), - (0.400353, 0.5607843137254902, 0.5607843137254902), - (0.421517, 0.5411764705882353, 0.5411764705882353), - (0.440917, 0.5254901960784314, 0.5254901960784314), - (0.460317, 0.5058823529411764, 0.5058823529411764), - (0.481481, 0.48627450980392156, 0.48627450980392156), - (0.500882, 0.4666666666666667, 0.4666666666666667), - (0.520282, 0.45098039215686275, 0.45098039215686275), - (0.541446, 0.42745098039215684, 0.42745098039215684), - (0.560847, 0.4117647058823529, 0.4117647058823529), - (0.580247, 0.4, 0.4), - (0.601411, 0.3803921568627451, 0.3803921568627451), - (0.620811, 0.36470588235294116, 0.36470588235294116), - (0.640212, 0.34901960784313724, 0.34901960784313724), - (0.661376, 0.3254901960784314, 0.3254901960784314), - (0.680776, 0.3137254901960784, 0.3137254901960784), - (0.700176, 0.2980392156862745, 0.2980392156862745), - (0.72134, 0.27450980392156865, 0.27450980392156865), - (0.740741, 0.25882352941176473, 0.25882352941176473), - (0.760141, 0.24313725490196078, 0.24313725490196078), - (0.781305, 0.22745098039215686, 0.22745098039215686), - (0.800705, 0.20784313725490197, 0.20784313725490197), - (0.820106, 0.19215686274509805, 0.19215686274509805), - (0.84127, 0.17647058823529413, 0.17647058823529413), - (0.86067, 0.16862745098039217, 0.16862745098039217), - (0.880071, 0.1568627450980392, 0.1568627450980392), - (0.901235, 0.1450980392156863, 0.1450980392156863), - (0.920635, 0.1411764705882353, 0.1411764705882353), - (0.940035, 0.1411764705882353, 0.1411764705882353), - (0.961199, 0.1411764705882353, 0.1411764705882353), - (0.9806, 0.14901960784313725, 0.14901960784313725), - (1.0, 0.13725490196078433, 0.13725490196078433)] - } + 'bwp': bwp, + 'CNOOCSeis': bwp, + 'Blue_White_Purple': bwp, + 'stratum': stratum, + 'AI': AI, + 'Chimney': Chimney, + 'Depth': Depth, + 'DHI': DHI, + 'Extremes': Extremes, + 'Faults': Faults, + 'Greyn': Greyn, + 'Flames': Flames, + 'Pastel': Pastel, + 'Rainbow': Rainbow, + 'SunRise': SunRise, + 'UVQs_Example': UVQs_Example, + 'HorizonCube': HorizonCube, + 'Red_White_Black': Red_White_Black, + 'Red_White_Blue': Red_White_Blue, + 'Seismics': Seismics, + 'Grurple': Grurple, + 'CCB': CCB, + 'Experimental': Experimental, + 'Magic': Magic, + 'Brown_4grades': Brown_4grades, + 'Curvature': Curvature, + 'Contour_Gradients': Contour_Gradients, + 'Rainbow_Plus': Rainbow_Plus, + 'Tasty': Tasty, + 'SandShale': SandShale, + 'Lithology': Lithology, + 'Pressure': Pressure, + 'Interval_Velocity': Interval_Velocity, + 'Porosity': Porosity, + 'Dip': Dip, + 'Energy': Energy, + 'Depth1': Depth1, + 'Similarity': Similarity, + 'Double_Tasty': Double_Tasty, + 'Double_Rainbow': Double_Rainbow, + 'Matteo_terrain_cube': Matteo_terrain_cube, + 'Matteo_terrain_cube_red': Matteo_terrain_cube_red, + 'Matteo_terrain_linear': Matteo_terrain_linear, + 'Petrel': Petrel, + 'Depth_AS': Depth_AS, + 'AI_NedMag': AI_NedMag, + 'Depth_Spectral': Depth_Spectral, + 'od_seismic1': od_seismic1, + 'od_seismic2': od_seismic2, + 'od_seismic3': od_seismic3, + 'Viridis': Viridis, + 'Plasma': Plasma, } diff --git a/cigvis/gui/custom_widgets.py b/cigvis/gui/custom_widgets.py index a2b5e23..5f1f3e0 100644 --- a/cigvis/gui/custom_widgets.py +++ b/cigvis/gui/custom_widgets.py @@ -259,7 +259,7 @@ def __init__(self, interps=None, parent=None) -> None: colormap_label = qtw.QLabel('cmap:') self.colormap_combo = EditableComboBox() colormaps = [ - 'gray', 'seismic', 'Petrel', 'stratum', 'jet', 'od_seismic1', + 'gray', 'seismic', 'Petrel', 'stratum', 'jet', 'od_seismic1', 'bwp', 'od_seismic2', 'od_seismic3' ] self.colormap_combo.addItems(colormaps) diff --git a/cigvis/gui/gui2d/control_panel.py b/cigvis/gui/gui2d/control_panel.py index db46e7b..4526f6c 100644 --- a/cigvis/gui/gui2d/control_panel.py +++ b/cigvis/gui/gui2d/control_panel.py @@ -320,12 +320,18 @@ def __init__(self, row_tab.addWidget(self.tab_widget) row_tab.setStretch(0, 1) + value_tab = qtw.QHBoxLayout() + self.status_label = qtw.QLabel('') + self.status_label.setStyleSheet("font-size: 12px; padding: 5px;") + value_tab.addWidget(self.status_label) + self.addlayout(layout, [ row1_layout, row_folder, row2_layout, rowl_layout, row_tab, + value_tab, ]) layout.addStretch(1) diff --git a/cigvis/gui/gui2d/plot_canvas.py b/cigvis/gui/gui2d/plot_canvas.py index d8629a7..5cf4e8b 100644 --- a/cigvis/gui/gui2d/plot_canvas.py +++ b/cigvis/gui/gui2d/plot_canvas.py @@ -272,6 +272,11 @@ def on_mouse_move(self, event): self.scrib_list[-1][1]) self.draw() + if event.inaxes and self.data is not None: + v = self.data[round(event.xdata), round(event.ydata)] + self.parent().parent().controlP.status_label.setText( + f'x={event.xdata:.1f}, y={event.ydata:.1f}, v={v:.1f}') + def on_mouse_release(self, event): if self.box_mode > 0 and event.inaxes: self.rect = None @@ -359,7 +364,7 @@ def __init__(self, parent=None, width=5, height=4, dpi=100): self.fig = Figure(figsize=(width, height), dpi=dpi) self.axes = self.fig.add_subplot(111) self.axes.set_axis_off() - self.fig.subplots_adjust(left=0.05, right=0.95, top=0.95, bottom=0.05) + self.fig.subplots_adjust(left=0.08, right=0.98, top=0.98, bottom=0.05) super().__init__(self.fig) self.setParent(parent) self.controlP = self.parent().controlP @@ -408,7 +413,9 @@ def plot(self): self.axes.axis('off') self.baseim = None else: - self.baseim = self.axes.imshow(self.data.T, **self.params) + self.baseim = self.axes.imshow(self.data.T, + **self.params, + aspect='auto') self.draw() def clear(self): diff --git a/cigvis/tools.py b/cigvis/tools.py new file mode 100644 index 0000000..c16a66f --- /dev/null +++ b/cigvis/tools.py @@ -0,0 +1,127 @@ +import numpy as np +import matplotlib.pyplot as plt +from cigvis.utils.surfaceutils import arbitray_line + + +def extract_arbitrary_line_by_view(data: np.ndarray, + bmap: str = 'data', + draw_arb: bool = True, + *, + line: bool = True, + idx: int = 50, + cline='#F3AA3C'): + """ + extract arbitrary line from seismic data by clicking + + Parameters + ---------- + - data: np.ndarray + 3D seismic data + - bmap: str + background map, 'data' or 'blank' + - line : bool + whether to draw the broken line + - idx: int + the slice index of the seismic data if bmap is 'data' + - cline: str + color of the line + + Returns + ------- + - out: np.ndarray + extracted arbitrary line + - p: np.ndarray + extracted arbitrary line path + - coords: np.ndarray + the coordinates by clicking + """ + fig, ax = plt.subplots() + if bmap == 'data': + img = data[:, :, idx] + ax.imshow(img.T, cmap='gray', aspect='auto') + else: + img = np.zeros((data.shape[1], data.shape[0], 4), dtype=np.uint8) + img = img + int(0.9 * 255) + ax.imshow(img, aspect='auto') + ax.grid(True) + + ax.set_title('Obtain a path by clicking, press "u" to undo, "enter" to finish') # yapf: disable + ax.set_xlabel('Inline') + ax.set_ylabel('Crossline') + coords = [] + lines = [] + points = [] + out = None + p = None + indices = None + + def _draw_arbline(): + if (len(coords) > 0): + ax.clear() + nonlocal out, p, indices + out, p, indices = arbitray_line(data, coords) + ax.grid(False) + ax.imshow(out.T, cmap='gray', aspect='auto') + if line: + for i in range(len(indices)): + ax.plot([indices[i]] * out.shape[1], + range(out.shape[1]), + 'w--', + lw=0.5) + if i > 0 and i < len(indices) - 1: + ax.text(indices[i] - out.shape[0] / 50, + 30, + str(indices[i]), + color='w', + fontsize=10) + ax.set_title("Arbitrary Line") + ax.set_ylabel('Time') + fig.canvas.draw() + # plt.close() + + def _click_event(event): + if event.inaxes: + coords.append((round(event.xdata, 2), round(event.ydata, 2))) + p = ax.plot(event.xdata, event.ydata, 'ro')[0] + points.append(p) + if len(coords) > 1: + x_coords, y_coords = zip(*coords[-2:]) + line, = ax.plot(x_coords, y_coords, c=cline) + lines.append(line) + fig.canvas.draw() + + def _undo_last(event): + if event.key == 'u': + if coords: + coords.pop() + p = points.pop() + p.remove() + if len(lines) > 0: + l = lines.pop() + l.remove() + fig.canvas.draw() + if event.key in ('enter', 'return', 'escape'): + if draw_arb: + fig.canvas.mpl_disconnect(cid_click) + fig.canvas.mpl_disconnect(cid_key) + _draw_arbline() + else: + plt.close(fig) + + cid_click = fig.canvas.mpl_connect('button_press_event', _click_event) + cid_key = fig.canvas.mpl_connect('key_press_event', _undo_last) + + plt.show() + + return out, p, indices, np.array(coords) + + +if __name__ == '__main__': + from cigsegy import SegyNP + d = SegyNP('/Volumes/T7/DATA/cnooc_bj/data/FEF.segy') + out, p, ind, c = extract_arbitrary_line_by_view( + d, + bmap='data', + draw_arb=True, + ) + print(c.shape) diff --git a/cigvis/utils/surfaceutils.py b/cigvis/utils/surfaceutils.py index 7f588da..69682f5 100644 --- a/cigvis/utils/surfaceutils.py +++ b/cigvis/utils/surfaceutils.py @@ -231,8 +231,6 @@ def interp_surf(volume: np.ndarray, return out - - def interp_arb(p: np.ndarray, d: np.ndarray) -> np.ndarray: """ Interpolates a 1d series in 3d space by **linear** interpolation. @@ -253,10 +251,9 @@ def interp_arb(p: np.ndarray, d: np.ndarray) -> np.ndarray: f11 = d[:, 3, :] # linear interpolation - out = (f00 * (1 - x)[:, None] * (1 - y)[:, None] + - f01 * (1 - x)[:, None] * y[:, None] + - f10 * x[:, None] * (1 - y)[:, None] + - f11 * x[:, None] * y[:, None]) + out = (f00 * (1 - x)[:, None] * (1 - y)[:, None] + f01 * + (1 - x)[:, None] * y[:, None] + f10 * x[:, None] * + (1 - y)[:, None] + f11 * x[:, None] * y[:, None]) return out @@ -276,8 +273,9 @@ def interpolate_path(points, di=1): x_points = np.interp(distances_interp, cum_distances, points[:, 0]) y_points = np.interp(distances_interp, cum_distances, points[:, 1]) - return np.column_stack((x_points, y_points)) + indices = np.searchsorted(distances_interp, cum_distances) + return np.column_stack((x_points, y_points)), indices def extract_data(data, p): @@ -324,19 +322,17 @@ def extract_data(data, p): unique, inverse = np.unique(all_points, axis=0, return_inverse=True) unique_data = np.array([data[i, j] for i, j in unique]) - return pout, unique_data[inverse].reshape(N, 4, n3) - def arbitray_line(data, points, di: float = 1): """ data : SegyNP or np.ndarray points : the points to interpolate a path di : step """ - p = interpolate_path(points, di) + p, indices = interpolate_path(points, di) pout, pdata = extract_data(data, p) out = interp_arb(pout, pdata) - return out, p \ No newline at end of file + return out, p, indices diff --git a/cigvis/visernodes/volume_slice.py b/cigvis/visernodes/volume_slice.py index 814c602..19ac3ba 100644 --- a/cigvis/visernodes/volume_slice.py +++ b/cigvis/visernodes/volume_slice.py @@ -20,7 +20,8 @@ def __init__(self, pos=0, cmap='gray', clim=None, - scale=-1): + scale=-1, + nancolor=None): self._server = None # viser.ViserServer self.volume = volume self.axis = axis @@ -31,6 +32,7 @@ def __init__(self, ] self.init_scale = [8 / max(volume.shape)] * 3 + self.nancolor = nancolor if isinstance(scale, (int, float)): if scale < 0: @@ -105,7 +107,7 @@ def to_img(self): fg = [mask[:, :, self.pos] for mask in self.masks] img = colormap.arrs_to_image([bg] + fg, [self.cmap] + self.fg_cmaps, - [self.clim] + self.fg_clims, True) + [self.clim] + self.fg_clims, True, self.nancolor) return img def update_node(self, pos): diff --git a/cigvis/viserplot.py b/cigvis/viserplot.py index 5399448..4215b6c 100644 --- a/cigvis/viserplot.py +++ b/cigvis/viserplot.py @@ -21,6 +21,7 @@ def create_slices(volume: np.ndarray, pos: Union[List, Dict] = None, clim: List = None, cmap: str = 'Petrel', + nancolor=None, **kwargs) -> List: # set pos ni, nx, nt = volume.shape @@ -41,7 +42,16 @@ def create_slices(volume: np.ndarray, nodes = [] for axis, p in pos.items(): for i in p: - nodes.append(VolumeSlice(volume, axis, i, cmap, clim, **kwargs)) + nodes.append( + VolumeSlice( + volume, + axis, + i, + cmap, + clim, + nancolor=nancolor, + **kwargs, + )) return nodes @@ -225,8 +235,9 @@ def create_surfaces(surfs: List[np.ndarray], return mesh_nodes -def plot3D(nodes, axis_scales=[1, 1, 1], **kwargs): +def plot3D(nodes, axis_scales=[1, 1, 1], fov=30, **kwargs): server = viser.ViserServer(label='cigvis-viser') + fov = fov * np.pi / 180 # update scale of slices draw_slices = False @@ -304,6 +315,8 @@ def plot3D(nodes, axis_scales=[1, 1, 1], **kwargs): if draw_slices: vmin = utils.nmin(nodes[0].volume) vmax = utils.nmax(nodes[0].volume) + if vmin == vmax: + vmax = vmin + 1 step = (vmax - vmin) / 100 def update_clim(vmin, vmax): @@ -344,7 +357,7 @@ def update_cmap(cmap): guicmap = server.gui.add_dropdown( 'cmap', options=[ - 'gray', 'seismic', 'Petrel', 'stratum', 'jet', + 'gray', 'seismic', 'Petrel', 'stratum', 'jet', 'bwp', 'od_seismic1', 'od_seismic2', 'od_seismic3' ], initial_value='gray', @@ -393,16 +406,15 @@ def update_scale(scale): @server.on_client_connect def _(client: viser.ClientHandle) -> None: - client.camera.fov = np.pi / 4.0 # Or some other angle in radians + client.camera.fov = fov # Or some other angle in radians, np.pi / 6 -> 30 degree # TODO: move the origin (0, 0, 0) to the top # def _(camera): - client.camera.position = (8, 8, 0) + # client.camera.position = (8, 8, 0) # client.camera.wxyz = (0.7, 0, 0,0.7) server.scene.set_up_direction((0.0, 0.0, -1.0)) - try: while True: time.sleep(0.1) diff --git a/docs/readme.rst b/docs/readme.rst index ad7fe01..fa73478 100644 --- a/docs/readme.rst +++ b/docs/readme.rst @@ -58,16 +58,16 @@ For local installation, clone the repository from GitHub and then install it usi git clone https://github.com/JintaoLee-Roger/cigvis.git # Minimal installation - pip install -e . + pip install -e . --config-settings editable_mode=strict # include plotly - pip install -e ".[plotly]" + pip install -e ".[plotly]" --config-settings editable_mode=strict # include viser - pip install -e ".[viser]" + pip install -e ".[viser]" --config-settings editable_mode=strict # install all dependencies - pip install -e ".[all]" + pip install -e ".[all]" --config-settings editable_mode=strict diff --git a/pyproject.toml b/pyproject.toml index de75ea9..bb6e085 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ {name = "Jintao Li", email = "lijintaobt@gmail.com"}, ] -version = "0.1.1" +version = "0.1.2" description = "CIGVis is a tool for geophysical data visualization" readme = "README.md"