Skip to main content

LoadTrajectoryOptions

megane-viewer


megane-viewer / LoadTrajectoryOptions

Interface: LoadTrajectoryOptions

Defined in: pipeline/builder.ts:165

Options accepted by LoadTrajectory.

Properties​

dcd?​

optional dcd?: string | null

Defined in: pipeline/builder.ts:175

CHARMM/NAMD/X-PLOR DCD trajectory.


lammpstrj?​

optional lammpstrj?: string | null

Defined in: pipeline/builder.ts:183

LAMMPS dump trajectory (.lammpstrj / .dump / .trj).


nc?​

optional nc?: string | null

Defined in: pipeline/builder.ts:177

AMBER NetCDF trajectory.


path?​

optional path?: string | null

Defined in: pipeline/builder.ts:171

Trajectory file path / URL, in any format the Load Trajectory node opens (TRAJECTORY_EXTS: XTC, DCD, AMBER NetCDF .nc, LAMMPS dump .lammpstrj / .dump / .trj) or a multi-frame structure file.


source?​

optional source?: "structure" | "file"

Defined in: pipeline/builder.ts:188

"file" (the default) plays the file above; "structure" forwards the frames embedded in the upstream structure file instead.


traj?​

optional traj?: string | null

Defined in: pipeline/builder.ts:179

ASE .traj file (kept for the original { traj } API).


xtc?​

optional xtc?: string | null

Defined in: pipeline/builder.ts:173

XTC trajectory (kept for the original { xtc } API).


xyz?​

optional xyz?: string | null

Defined in: pipeline/builder.ts:181

Multi-frame XYZ file.