system flags - galizia-lab/pyview GitHub Wiki

List of Flags

VIEW_batchmode SO_MV_colortable

VIEW_batchmode

What does it do?

This flags indicates a choice between interactive mode and VIEW_batchmode.

What values can it take?

True/False. Valid values for True are: ("TRUE", "True", "true", "1") and valid values for False are: ("False", "FALSE", "false", "0").

Are values expected to be in specific units?

No.

Special Notes

None

SO_MV_colortable

What does it do?

This flags indicates the colormap VIEW will use to colorize images or movies.

What values can it take?

It can take integer or string values.

  • When integer: indicates an IDL_style color table to use. Valid values are: 11-14. Values are 12-14 self-programmed rainbows.
  • When string: must be the name of a matplotlib colormap. NOTE The inverse of every matplotlib colormap is also available, just append "_r" to colormap name. E.g.: Inverse of the colormap "jet" would be "jet_r"

Please have a look at the tutorial in matplotlib to understand the difference between sequential, divergent, qualitative and cyclic colormaps.

Are values expected to be in specific units?

No.

Special Notes

When integer, the top-most and bottom-most colors in the corresponding IDL SO_MV_colortable are used VIEW as foreground and background colors respectively, when annotations to images and movies. When SO_MV_colortable is an integer, these values will override values specified by mv_bgColor and mv_fgColor.

⚠️ **GitHub.com Fallback** ⚠️