topostats.theme#

Custom Bruker Nanoscope colorscale.

Attributes#

Classes#

Colormap

Class for setting the COlormap

Module Contents#

topostats.theme.LOGGER#
class topostats.theme.Colormap(name: str = 'nanoscope')[source]#

Class for setting the COlormap

name#
cmap = None#
__str__()[source]#
set(name: str)[source]#

Set the ColorMap.

Parameters:

name (str) – Name of colormap

get_cmap()[source]#

Return the matplotlib.cm colormap object

static nanoscope()[source]#

Returns a matplotlib compatible colormap that replicates the Bruker Nanoscope colorscale The colormap is implemented in Gwyddion’s GwyGradient via ‘Nanoscope.txt’

static gwyddion()[source]#

The RGBA colour map for the Gwyddion.net colour gradient.

static blu()[source]#

RGBA colour map of just the colour blue.