|
__init__(self,
_ptr)
Construct from SystemPtr. |
|
|
|
|
|
|
|
|
|
|
|
|
|
addAtom(self)
add and return a new Atom in its own residue |
|
|
|
addResidue(self)
add and return a new Residue in its own chain |
|
|
|
addChain(self,
ct=4294967295)
add and return a new Chain. |
|
|
|
addCt(self)
add and return a new Ct |
|
|
|
_remove(self,
elems,
klass) |
|
|
|
delAtoms(self,
atoms)
remove the given Atoms from the System |
|
|
|
delBonds(self,
bonds)
remove the given Bonds from the System |
|
|
|
delResidues(self,
residues)
remove the given Residues from the System |
|
|
|
delChains(self,
chains)
remove the given Chains from the System |
|
|
|
atom(self,
id)
return the atom with the specified id |
|
|
|
bond(self,
id)
return the bond with the specified id |
|
|
|
residue(self,
id)
return the residue with the specified id |
|
|
|
chain(self,
id)
return the chain with the specified id |
|
|
|
ct(self,
id)
return the Ct with the specified id |
|
|
|
findBond(self,
a1,
a2)
return the bond between the specified atoms, or None if not found |
|
|
|
addAtomProp(self,
name,
type)
add a custom atom property with the given name and type. |
|
|
|
delAtomProp(self,
name)
remove the given custom atom property |
|
|
|
atomPropType(self,
name)
type of the given atom property |
|
|
|
atomsGroupedBy(self,
prop)
Return dictionary mapping representative values of the given atom
property to lists of atoms having that property. |
|
|
|
getPositions(self)
get copy of positions as Nx3 array |
|
|
|
setPositions(self,
pos)
set positions from Nx3 array |
|
|
|
getVelocities(self)
get copy of velocities as N3x array |
|
|
|
setVelocities(self,
vel)
set velocities from Nx3 array |
|
|
|
setCell(self,
cell)
set unit cell from from 3x3 array |
|
|
|
getCell(self)
return copy of unit cell as 3x3 numpy array |
|
|
|
translate(self,
xyz)
shift coordinates by given amount |
|
|
|
addBondProp(self,
name,
type)
add a custom bond property with the given name and type. |
|
|
|
delBondProp(self,
name)
remove the given custom bond property |
|
|
|
bondPropType(self,
name)
type of the given bond property |
|
|
|
table(self,
name)
Get the TermTable with the given name, raising ValueError if not
present. |
|
|
|
getTable(self,
name)
Return the TermTable with the given name, or None if not present. |
|
|
|
addTable(self,
name,
natoms,
params=None)
add a table with the given name and number of atoms. |
|
|
|
addTableFromSchema(self,
type,
name=None)
Add a table to the system if it not already present, returning it. |
|
|
|
coalesceTables(self)
Invoke TermTable.coalesce on each table |
|
|
|
auxtable(self,
name)
auxiliary table with the given name |
|
|
|
addAuxTable(self,
name,
table)
add or replace extra table with the given name. |
|
|
|
delAuxTable(self,
name)
remove auxiliary table with the given name. |
|
|
|
addNonbondedFromSchema(self,
funct,
rule='
' )
Add a nonbonded table to the system, and configure the nonbonded info
according to funct and rule. |
|
|
|
|
|
atomsel(self,
sel)
Create and return an atom selection object (Atomsel). |
|
|
|
select(self,
seltext)
return a list of Atoms satisfying the given VMD atom selection. |
|
|
|
selectIds(self,
seltext,
pos=None,
box=None)
Return the ids of the Atoms satisfying the given VMD atom selection. |
|
|
|
selectArr(self,
seltext)
Return the ids of the Atoms satisfying the given VMD atom selection
as a numpy array of type uint32. |
|
|
|
selectChain(self,
name=None,
segid=None)
Returns a single Chain with the matching name and/or segid, or raises
an exception if no single such chain is present. |
|
|
|
selectCt(self,
name=None)
Return a single Ct with the matching name, or raises an exception if
no single such Ct is present |
|
|
|
append(self,
system)
Appends atoms and forcefield from system to self. |
|
|
|
clone(self,
sel=None,
share_params=False)
Clone the System, returning a new System. |
|
|
|
sorted(self)
Return a clone of the system with atoms reordered based on their
order of appearance in a depth-first traversal of the structure
hierarchy. |
|
|
|
guessBonds(self,
replace=True,
reanalyze=True)
Guess bond connectivity based on an atomic-number based atom radius. |
|
|
|
analyze(self)
Assign atom and residue types. |
|
|
|
updateFragids(self)
Find connected sets of atoms, and assign each a 0-based id, stored in
the fragment property of the atom. |
|
|
|
findContactIds(self,
cutoff,
ids=None,
other=None,
pos=None)
Find atoms not bonded to each other which are within cutoff of each
other. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|