StructuresDict#
molsysmt.StructuresDict is the native declarative dictionary representation of structural and trajectory data in MolSysMT.
Overview and Role#
molsysmt.StructuresDict provides a JSON-compatible dictionary schema representing 3D Cartesian atomic coordinates, periodic cell box matrices, frame timestamps, velocities, and thermodynamic observables.
Declarative Schema#
The schema dictionary maps standard structure parameters to nested list arrays or base64 binary encodings:
Top-Level Key |
Value Type |
Physical Units |
Description |
|---|---|---|---|
|
Nested List or Base64 |
|
3D Cartesian coordinates array |
|
Nested List or Base64 |
|
Atomic velocity vectors |
|
Nested List |
|
Periodic unit cell box matrices |
|
Nested List |
|
Frame timestamps array |
|
List of Strings |
N/A |
String identifiers for structural frames or PDB models. |
|
Nested List |
|
Crystallographic B-factors |
|
Nested List |
Dimensionless |
Crystallographic atom occupancy values |
|
List of Dicts |
N/A |
Alternate location mapping dicts. |
|
Nested List |
|
Frame-level temperatures |
|
Nested List |
|
Frame-level potential energies |
|
Nested List |
|
Frame-level kinetic energies |
Usage and Workflow#
import molsysmt as msm
# Convert native Structures container to StructuresDict
struct_dict = msm.convert(structures, to_form='molsysmt.StructuresDict')
Invariants and Performance#
JSON Encodable: Encodable into standard JSON string representations.
API Documentation#
Methods for molsysmt.StructuresDict are documented in the [molsysmt.Structures API Reference].