SBColorSchemePerChainIllustrate#
This class describes an illustrative color scheme based on chain ID. The colorization is done in the way that it resembles the “Molecule of the Month” style by David S. Goodsell.
Please refer to samson.SBNodeColorScheme
.
See also
SAMSON SDK: SBDColorSchemePerChainIllustrate
- class samson.SBColorSchemePerChainIllustrate(*args, **kwargs)#
Bases:
SBColorSchemePerAttribute_int
This class describes an illustrative color scheme based on chain ID. The colorization is done in the way that it resembles the “Molecule of the Month” style by David S. Goodsell.
Overloaded function.
__init__(self: samson.SBColorSchemePerChainIllustrate) -> None
__init__(self: samson.SBColorSchemePerChainIllustrate, nodeIndexer: samson.SBNodeIndexer, colorPalette: samson.SBPalette = None) -> None
Constructs color scheme for nodeIndexer with the given colorPalette.
The colorization is based on the range of IDs of chains identified in the nodeIndexer.
- Parameters:
nodeIndexer (samson.SBNodeIndexer) – A indexer of nodes to which the color scheme is applied
colorPalette (samson.SBPalette, default=None) –
- A color palette.
If None, then the default color palette associated with this color scheme will be used.