pestifer.objs.orient module¶
This class allows the user to orient a coordinate set along a specified axis
and optionally align it with a reference atom. The orientation is performed
using the VMD orient command, which computes the principal axes of the
coordinate set and aligns it with the specified axis.
- class pestifer.objs.orient.Orient(*args, axis: str, refatom: str | None = None)[source]¶
Bases:
BaseObjA class for handling orientation of a coordinate set in VMD.
- model_config = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': False}¶
Configuration for
pydantic.BaseModel.
- class pestifer.objs.orient.OrientList(initlist: Iterable[T] = ())[source]¶
Bases:
BaseObjList[Orient]A class for handling a list of Orient objects. This class inherits from BaseObjList and provides methods to write Tcl commands for each Orient object in the list.