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, header_row_index=0)#
- Bases: - BaseCycler- A class to load and process Basytec battery cycler data. - Validators:
- _check_column_dict»- column_dict
- _check_input_data_path»- input_data_path
 
- Parameters:
- input_data_path (str) 
- column_dict (dict[str, str]) 
- datetime_format (str | None) 
- header_row_index (int) 
 
- Return type:
- None 
 - field input_data_path: str [Required]#
- The path to the input data. - Validated by:
- _check_input_data_path
 
 
 - 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:
- _check_column_dict
 
 
 - static read_file(filepath, header_row_index=0)#
- Read a battery cycler file into a DataFrame. - Parameters:
- filepath (str) – The path to the file. 
- header_row_index (int) – The index of the header row. 
 
- Returns:
- The DataFrame. 
- Return type:
- pl.DataFrame | pl.LazyFrame