| | |
- atomSelAction.PyAtomSelAction(atomSelAction.Base)
-
- PrintPos
- RandomizeVelocities
- SetPropertyArr
- TranslateFit
class SetPropertyArr(atomSelAction.PyAtomSelAction) |
| |
set named property of all atom.Atoms in a selection
usage:
sel = AtomSel("string")
sel.apply(SetProperty(name,val)
where
name is a property of an atom (e.g. pos) and val is the value to set
that property. If val is an sequence of length len(sel), values will be
set appropriately.
atomSelAction.SetProperty is an optimized version of this class which
allows atom properties top be set to a constant value.
|
| |
- Method resolution order:
- SetPropertyArr
- atomSelAction.PyAtomSelAction
- atomSelAction.Base
- __builtin__.object
Methods defined here:
- __init__(s, name, val)
- run(s, sim, index)
Methods inherited from atomSelAction.PyAtomSelAction:
- __del__(self, destroy=<built-in function delete_PyAtomSelAction>)
- __getattr__ lambda self, name
- __repr__(self)
- __setattr__ lambda self, name, value
- help(*args)
Data and other attributes inherited from atomSelAction.PyAtomSelAction:
- __swig_getmethods__ = {}
- __swig_setmethods__ = {}
Methods inherited from atomSelAction.Base:
- finish_unused(*args)
- init_unused(*args)
Data and other attributes inherited from atomSelAction.Base:
- __dict__ = <dictproxy object at 0xd73e18>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Base' objects>
- list of weak references to the object (if defined)
|
|