Tutorial 04 - merge_into_series#

Step 0: Setup the project and prepare the data#

[1]:
from pathlib import Path

import pydpeet as eet

For better readability of the notebook, we will use “ERROR” as the logging style from now on

[2]:
eet.set_logging_style("ERROR")
[3]:
data_path = Path.cwd().parent.parent / "res" / "raw_data_from_cyclers"
config = eet.ReadConfig.Neware_8_0_0_516
standardized_data_list = eet.read(input_path=str(data_path), config=config)

Step 1: Merge the data into a series#

[4]:
merged_data = eet.merge_into_series(standardized_data_list, time_between_tests_seconds=60)
[5]:
merged_data.plot(x="Test_Time[s]", y="Current[A]", figsize=(20, 5))
merged_data.plot(x="Test_Time[s]", y="Voltage[V]", figsize=(20, 5))
[5]:
<Axes: xlabel='Test_Time[s]'>
../../_images/examples_notebooks_Tutorial_04_merge_into_series_8_1.png
../../_images/examples_notebooks_Tutorial_04_merge_into_series_8_2.png