pyprobe.cyclers.basytec module#

A module to load and process Basytec battery cycler data.

pydantic model Basytec(*, input_data_path, column_dict={'Ah[*]': 'Capacity [*]', 'Date': 'Date', 'I[*]': 'Current [*]', 'Line': 'Step', 'T1[*]': 'Temperature [*]', 'U[*]': 'Voltage [*]', '~Time[*]': 'Time [*]'}, datetime_format=None)#

Bases: BaseCycler

A class to load and process Basytec battery cycler data.

Validators:
Parameters:
  • input_data_path (str)

  • column_dict (dict[str, str])

  • datetime_format (str | None)

Return type:

None

field input_data_path: str [Required]#

The path to the input data.

Validated by:
field column_dict: dict[str, str] = {'Ah[*]': 'Capacity [*]', 'Date': 'Date', 'I[*]': 'Current [*]', 'Line': 'Step', 'T1[*]': 'Temperature [*]', 'U[*]': 'Voltage [*]', '~Time[*]': 'Time [*]'}#

A dictionary mapping the column name format of the cycler to the PyProBE format. Units are indicated by an asterisk (*).

Validated by:
static read_file(filepath)#

Read a battery cycler file into a DataFrame.

Parameters:

filepath (str) – The path to the file.

Returns:

The DataFrame.

Return type:

pl.DataFrame | pl.LazyFrame