State#

Form adapter and capabilities for openmm.State.

  • Technical Form Name: openmm.State

  • Form Type: class

Added in version 1.0.0.

Overview#

openmm.State is a supported representation form in MolSysMT. Form adapter and capabilities for openmm.State.

Supported attributes#

The openmm.State form container supports a total of 8 attributes:

Category

Subcategory / Level

Supported Attributes

Topological

Atom Level

atom_index

Topological

Element Counts

n_atoms

Structural

Coordinates & Conformations

structure_id, coordinates, velocities, n_structures

Structural

Periodic Box

box

Structural

Trajectory Metadata

time

Structural

Other Attributes

atom_index, n_atoms

Implemented operations#

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

Function / Module

Description

extract()

Extracts a subset of atoms, groups, or structures into a new openmm.State instance.

copy()

Creates an independent deep copy of the openmm.State object in memory.

add()

Adds elements from another system into an existing openmm.State instance.

merge()

Merges multiple systems into a single combined openmm.State 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 openmm.State.

is_form()

Returns True if the provided object is an instance of openmm.State.

Supported conversions#

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

Target Form

Form Type

API Documentation

XYZ

class

to_XYZ()

molsysmt.Structures

class

to_molsysmt_Structures()

openmm.State

class

to_openmm_State()