FRQ: allow user to supply part of a trajectory as trajectory #43
Labels
module: base
module: trajectory
new feature
New feature
release: major
Issues that need or may be better addressed in a major release
status: to do
Issues that someone needs to work on
Milestone
Proposed new feature or change:
Rather than having to supply a full trajectory, it would be useful if the user also can only supply parts of it.
traj[:100:]
ortraj[::2]
currently do not work because the required type in most functions isFieldTrajectory | ParticleTrajectory
rather thanlist | iterable
ofFrame
. If a subset of a trajectory is still returned as a trajectory,traj[i]
should still return the ith frame and not a trajectory of length 1 (for compatibility!).Implementation principle:
The text was updated successfully, but these errors were encountered: