FrameSource

class narupatools.frame.frame_source.FrameSource(*args, **kwargs)

Base class for object which can create a FrameData.

Inheritance

Inheritance diagram of FrameSource

Methods

__init__

Initialize self.

get_frame

Create a FrameData representation, with the given fields present if available.

__init__(*args, **kwargs)

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

abstract get_frame(*, fields: infinite_sets.infinite_sets.InfiniteSet[str])narupa.trajectory.frame_data.FrameData

Create a FrameData representation, with the given fields present if available.

Parameters

fields – Collection of fields that should be added to FrameData if available.