Skip to content

Commit

Permalink
Update the notebook, screen out non-EIS data
Browse files Browse the repository at this point in the history
  • Loading branch information
WardLT committed Feb 26, 2024
1 parent 24eb47b commit 4a29d61
Show file tree
Hide file tree
Showing 2 changed files with 739 additions and 46 deletions.
3 changes: 3 additions & 0 deletions batdata/extractors/batterydata.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ def convert_eis_data_to_batdata(input_df: pd.DataFrame) -> pd.DataFrame:
EIS data in batdata format
"""

# Filter out the non-EIS data
input_df = input_df[~input_df['Frequency_Hz'].isnull()]

# Use the cycle index as a test index
output = pd.DataFrame()
output['test_id'] = input_df['Cycle_Index']
Expand Down
Loading

0 comments on commit 4a29d61

Please sign in to comment.