Skip to content

Commit

Permalink
Pre-compute intermediate capacities
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Oct 27, 2023
1 parent 1043086 commit e50a01f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions aiida_aurora/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def post_process_data(t: np.ndarray, Ewe: np.ndarray, I: np.ndarray) -> dict:
'I': I,
'cn': len(Qd),
'time-cycles': t[idx[2::2]],
'Q': cumtrapz(I, t, axis=0, initial=0) / 3.6,
'Qd': np.array(Qd) / 3.6,
'Qc': np.array(Qc) / 3.6,
}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies = [
"aiida-ssh2win>=0.2",
"dgbowl-schemas>=111,<=113",
"pydantic<2.0",
"scipy~=1.11.2",
"pandas~=1.5",
]

Expand Down

0 comments on commit e50a01f

Please sign in to comment.