file:trjpk#

Form adapter and capabilities for file:trjpk.

  • Technical Form Name: file:trjpk

  • Form Type: file

Added in version 1.0.0.

Overview#

file:trjpk is a supported representation form in MolSysMT. Form adapter and capabilities for file:trjpk.

Supported attributes#

The file:trjpk form container supports a total of 4 attributes:

Category

Subcategory / Level

Supported Attributes

Structural

Coordinates & Conformations

structure_id, coordinates

Structural

Periodic Box

box

Structural

Trajectory Metadata

time

Implemented operations#

The form adapter module molsysmt.form.file_trjpk implements the following functions and modules:

Function / Module

Description

extract()

Extracts a subset of atoms, groups, or structures into a new file:trjpk instance.

copy()

Creates an independent deep copy of the file:trjpk object in memory.

add()

Adds elements from another system into an existing file:trjpk instance.

merge()

Merges multiple systems into a single combined file:trjpk object.

append_structures()

Appends new coordinate frames or trajectories to the structures container.

get_topological_attributes

Module containing getters for topological attributes.

get_structural_attributes

Module containing getters for structural attributes.

set

Module containing setters for updating coordinates, box dimensions, or attributes in-place.

iterators

Module providing iterators for streaming trajectory frames and structures.

has_attribute()

Checks whether a specific attribute name is supported by file:trjpk.

is_form()

Returns True if the provided object is an instance of file:trjpk.

Supported conversions#

The following table lists all direct conversion functions implemented in molsysmt.form.file_trjpk:

Target Form

Form Type

API Documentation

file:trjpk

file

to_file_trjpk()

molsysmt.StructuresDict

class

to_molsysmt_StructuresDict()