NarupaToolsTrajectory

class narupatools.nglview.structure.NarupaToolsTrajectory(trajectory: narupatools.frame.frame_source.TrajectorySource)

Wrapper around a TrajectorySource for use with nglview.

Inheritance

Inheritance diagram of NarupaToolsTrajectory

Methods

__init__

Initialize self.

get_coordinates

get_structure_string

__init__(trajectory: narupatools.frame.frame_source.TrajectorySource)

Initialize self. See help(type(self)) for accurate signature.

get_coordinates(index: int)numpy.ndarray[Any, numpy.dtype[numpy.float64]]
get_structure_string()str

Attributes

n_frames

n_frames