SBColorSchemePerStructuralModelIllustrate#

This class describes an illustrative color scheme based on structural model. 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.

class samson.SBColorSchemePerStructuralModelIllustrate(*args, **kwargs)#

Bases: SBColorSchemePerStructuralModel

This class describes an illustrative per structural model color scheme inspired by the “Molecule of the Month” style of the Protein Data Bank.

Overloaded function.

  1. __init__(self: samson.SBColorSchemePerStructuralModelIllustrate) -> None

  2. __init__(self: samson.SBColorSchemePerStructuralModelIllustrate, nodeIndexer: samson.SBNodeIndexer, colorPalette: samson.SBPalette = None) -> None

Constructs the color scheme for nodeIndexer with the given colorPalette.

The colorization is based on the range of structural models identified from the nodeIndexer, including parent structural models.

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.