Skip to content

Commit

Permalink
Merge pull request #173 from ImperialCollegeLondon/fix-capacity-requi…
Browse files Browse the repository at this point in the history
…rement-in-pulsing

Fix search for experiment capacity on pulsing module methods
  • Loading branch information
tomjholland authored Dec 3, 2024
2 parents e08c804 + 37b4981 commit 214b438
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pyprobe/analysis/pulsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_resistances(
pulse_df = pulse_df.select(
[
"Pulse Number",
"Experiment Capacity [Ah]",
"Capacity [Ah]",
"SOC",
"OCV [V]",
"R0 [Ohms]",
Expand All @@ -204,7 +204,7 @@ def get_resistances(
pulse_df = pulse_df.select(
[
"Pulse Number",
"Experiment Capacity [Ah]",
"Capacity [Ah]",
"SOC",
"OCV [V]",
"R0 [Ohms]",
Expand All @@ -213,9 +213,7 @@ def get_resistances(

column_definitions = {
"Pulse Number": "An index for each pulse.",
"Experiment Capacity [Ah]": input_data.column_definitions[
"Experiment Capacity [Ah]"
],
"Capacity [Ah]": input_data.column_definitions["Capacity [Ah]"],
"SOC": input_data.column_definitions["SOC"],
"OCV [V]": "The voltage value at the final data point in the rest before a "
"pulse.",
Expand Down

0 comments on commit 214b438

Please sign in to comment.