adaptivemd.Frame¶
-
class
adaptivemd.Frame(trajectory, index)[source]¶ Represents a frame of a trajectory
Variables: - trajectory (Trajectory) – the origin trajectory
- index (int) – the frame index staring from zero
Methods
__init__(trajectory, index)args()Return a list of args of the __init__ function of a class base()Return the most parent class actually derived from StorableMixin descendants()Return a list of all subclassed objects from_dict(dct)Reconstruct an object from a dictionary representation get_uuid()Create a new unique ID idx(store)Return the index which is used for the object in the given store. named(name)Attach a .name property to an object objects()Returns a dictionary of all storable objects to_dict()Convert object into a dictionary representation Attributes
ACTIVE_LONGCREATION_COUNTINSTANCE_UUIDbase_clsReturn the base class base_cls_nameReturn the name of the base class clsReturn the class name as a string existsreturns: if True there is a concrete trajectory file with full index_in_outputsReturn output type and effective frame index for this frame -
index_in_outputs¶ Return output type and effective frame index for this frame
Returns: - str – the name of the output type
- int – the effective index within this trajectory obeying the trajectories own stride
-
exists¶ Returns: if True there is a concrete trajectory file with full coordinates for this frame Return type: bool