pestifer.objs.rottrans module¶
A class for handling translation and rotation of segments in a molecular structure. This class represents a move operation that can either be a translation or a rotation.
- class pestifer.objs.rottrans.RotTrans(*args, movetype: str, x: float | None = None, y: float | None = None, z: float | None = None, axis: str | None = None, angle: float | None = None)[source]¶
Bases:
BaseObjA class for handling translation and rotation of segments in a molecular structure.
- model_config = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': False}¶
Configuration for
pydantic.BaseModel.
- class pestifer.objs.rottrans.RotTransList(initlist: Iterable[T] = ())[source]¶
Bases:
BaseObjList[RotTrans]A class for handling lists of RotTrans objects. This class inherits from BaseObjList and provides methods to manage a list of RotTrans objects.