You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often you want to iterate over trajectories and get the data in the time vs variable format. As long as you only have one trajectory you can reduce the observation layout to just 1d time layout. Would be nice if this works with groupby as well.
ds.traj.iseltraj(0)
gives a ds in (trajectory, time) format (except trajectory is size 1).
ds.traj.grouptraj().map(lambda t: t....)
The text was updated successfully, but these errors were encountered:
Often you want to iterate over trajectories and get the data in the time vs variable format. As long as you only have one trajectory you can reduce the observation layout to just 1d time layout. Would be nice if this works with groupby as well.
gives a ds in (trajectory, time) format (except trajectory is size 1).
The text was updated successfully, but these errors were encountered: