Trees | Indices | Help |
|
---|
|
An interface to the Maestro color palette and color schemes.
Color schemes are read from
maestro-v<version>/data/res/scheme.res
.
Copyright Schrodinger, LLC. All rights reserved.
|
|||
Color Represent a color as either an integer (colormap index), string (color name), or an RGB value (tuple/list of 3 ints, values 0-255). |
|||
ColorScheme Define a Maestro color scheme. |
|||
ColorRamp An object for calculating colors on a customizable color ramp. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_initializer = Initializer([mm.mmcolor_initialize], [mm.mmcolo
|
|||
_scheme_dict = None hash(x) |
|||
_scheme_name_dict = None hash(x) |
|||
MMSHARE_EXEC =
|
|||
__package__ =
|
|
A convenience function for getting the rgb value for a color index.
|
Load the color scheme dictionary. Raises RuntimeError if Maestro installation is missing. Raises IOError if scheme.res file could not be found |
Return a list of available color schemes (list of names). Raises RuntimeError if Maestro installation is not available. Raises IOError if scheme.res file could not be found |
Return a ColorScheme object for scheme <name>. Raises ValueError if such scheme does not exist. Raises RuntimeError if Maestro installation is not available. Raises IOError if scheme.res file could not be found |
Applies the scheme to the specified Structure <st>. Optionally a list of atom indecies may be specified. scheme One of the names returned by available_color_schemes() or a ColorScheme object returned by get_color_scheme(). atom_list A list of atom indices to apply color scheme to (default all atoms). Raises ValueError if such scheme does not exist. Raises RuntimeError if Maestro installation is not available. Raises IOError if scheme.res file could not be found |
|
_initializer
|
MMSHARE_EXEC
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:32 2016 | http://epydoc.sourceforge.net |