ColorMapPicker

ColorMapPicker plugin

The ColorMapPicker plugin is used to graphically browse and select a colormap for a channel image viewer.

Plugin Type: Global or Local

ColorMapPicker is a hybrid global/local plugin, which means it can be invoked in either fashion. If invoked as a local plugin then it is associated with a channel, and an instance can be opened for each channel. It can also be opened as a global plugin.

Usage

Operation of the plugin is very simple: the colormaps are displayed in the form of colorbars and labels in the main view pane of the plugin. Click on any one of the bars to set the colormap of the associated channel (if invoked as a local plugin) or the currently active channel (if invoked as a global plugin).

You can scroll vertically or use the scroll bars to move through the colorbar samples.

Note

When the plugin starts for the first time, it will generate a bitmap RGB image of colorbars and labels corresponding to all the available colormaps. This can take a few seconds depending on the number of colormaps installed.

Colormaps are shown with the “ramp” intensity map applied.

It is customizable using ~/.ginga/plugin_ColorMapPicker.cfg, where ~ is your HOME directory:

#
# ColorMapPicker plugin preferences file
#
# Place this in file under ~/.ginga with the name "plugin_ColorMapPicker.cfg"

cbar_ht = 20
cbar_wd = 300
cbar_sep = 10
cbar_pan_accel = 1.0