Skip to content

Commit

Permalink
simreader returns timesteps of the simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjgrimm committed Jul 12, 2024
1 parent 3fbd14e commit ce65eea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions postpic/datareader/datareader.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,3 +370,6 @@ def __repr__(self):

def times(self):
return np.array([s.time() for s in self])

def timesteps(self):
return np.array([s.timestep() for s in self])

0 comments on commit ce65eea

Please sign in to comment.