cgexplore.molecular.BeadLibrary¶
- class cgexplore.molecular.BeadLibrary(beads)[source]¶
Bases:
objectDefine a library of beads used in a model.
Methods
Create a BeadLibrary from a dictionary of bead types.
Get CgBead from matching to bead class.
Get CgBead from matching to element string.
Get CgBead from matching to bead type.
Get a list of present beads.
- classmethod from_bead_types(bead_types)[source]¶
Create a BeadLibrary from a dictionary of bead types.