Skip to content

Time aware slicing #800

@jbarnoud

Description

@jbarnoud

When I run an analysis, I often discard the beginning of the trajectory, or I run it on a portion of the trajectory only. I think of these portions of trajectories in term of simulation time rather than number of frames. I discard the first 100 ns or I run the analysis on the last 5 µs; I do not discard the X first frame or run on the last Y frames. Also, I run my analyses with one frame every ns, not one frame every N ones.

It would be good if AnalysisBase could take times as start, stop, and step. It would be even better if it could be done at the reader level.

We should be careful that dt may not be constant throughout a trajectory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions