IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
IMP.pmi.topology.State Class Reference

This private class is constructed from within the System class. More...

+ Inheritance diagram for IMP.pmi.topology.State:

Detailed Description

This private class is constructed from within the System class.

It wraps an IMP.atom.State

Note
This class is only available in Python.

Definition at line 139 of file pmi/topology/__init__.py.

Public Member Functions

def __init__
 Define a new state. More...
 
def build
 call build on all molecules (automatically makes clones) More...
 
def create_molecule
 Create a new Molecule within this State. More...
 
- Public Member Functions inherited from IMP.pmi.topology.SystemBase
def build
 Build the coordinates of the system. More...
 

Constructor & Destructor Documentation

def IMP.pmi.topology.State.__init__ (   self,
  system,
  state_index 
)

Define a new state.

Parameters
systemthe PMI System
state_indexthe index of the new state

Definition at line 143 of file pmi/topology/__init__.py.

Member Function Documentation

def IMP.pmi.topology.State.build (   self,
  kwargs 
)

call build on all molecules (automatically makes clones)

Definition at line 186 of file pmi/topology/__init__.py.

def IMP.pmi.topology.State.create_molecule (   self,
  name,
  sequence = None,
  chain_id = '' 
)

Create a new Molecule within this State.

Parameters
namethe name of the molecule (string) it must not be already used
sequencesequence (string)
chain_idChain id to assign to this molecule

Definition at line 159 of file pmi/topology/__init__.py.


The documentation for this class was generated from the following file: