Skip to content

Commit

Permalink
Numpify the half-cycle index array
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Dec 6, 2023
1 parent cbf97ee commit 4d83e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_aurora/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def post_process_data(t: np.ndarray, Ewe: np.ndarray, I: np.ndarray) -> dict:
"time": t,
"Ewe": Ewe,
"I": I,
"cycle-index": cycle_idx,
"cycle-index": np.array(cycle_idx),
"cn": np.arange(len(Qd)),
"Q": cumtrapz(I, t, axis=0, initial=0) / 3.6,
"Qd": np.array(Qd) / 3.6,
Expand Down

0 comments on commit 4d83e39

Please sign in to comment.