Skip to content

Commit

Permalink
Return time axis of continious data instead of the entire object
Browse files Browse the repository at this point in the history
  • Loading branch information
psomhorst committed Aug 2, 2024
1 parent 49f9beb commit 5d0cae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eitprocessing/datahandling/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def time(self) -> np.ndarray:
if len(self.eit_data):
return self.eit_data["raw"].time
if len(self.continuous_data):
return next(iter(self.continuous_data.values()))
return next(iter(self.continuous_data.values())).time

msg = "Sequence has no timed data"
raise AttributeError(msg)
Expand Down

0 comments on commit 5d0cae2

Please sign in to comment.