cellpy.parameters.legacy.update_headers

Contents

cellpy.parameters.legacy.update_headers#

Module Contents#

Classes#

HeadersJournalV5

Subclass of BaseSetting including option to add postfixes.

HeadersJournalV7

Subclass of BaseSetting including option to add postfixes.

HeadersRawV4

Subclass of BaseSetting including option to add postfixes.

HeadersRawV5

Subclass of BaseSetting including option to add postfixes.

HeadersRawV6

Subclass of BaseSetting including option to add postfixes.

HeadersRawV7

Subclass of BaseSetting including option to add postfixes.

HeadersStepTableV7

Subclass of BaseSetting including option to add postfixes.

HeadersSummaryV5

Subclass of BaseSetting including option to add postfixes.

HeadersSummaryV6

Subclass of BaseSetting including option to add postfixes.

HeadersSummaryV7

Subclass of BaseSetting including option to add postfixes.

Functions#

get_column_name_mapper(→ Tuple[Dict[str, str], ...)

Create a dictionary that maps old column names to new column names.

rename_columns(→ pandas.DataFrame)

Rename the column headers of a cells dataframe.

rename_fid_columns(→ pandas.DataFrame)

rename_raw_columns(→ pandas.DataFrame)

rename_step_columns(→ pandas.DataFrame)

rename_summary_columns(→ pandas.DataFrame)

Rename the summary headers to new format.

Attributes#

HEADERS_KEYS_STEP_TABLE_EXTENDED

HEADERS_STEP_TABLE_EXTENSIONS

headers_journal_v0

journal_header_versions

raw_header_versions

steps_header_versions

summary_header_versions

class HeadersJournalV5[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersJournalV5

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
cell_type: str = 'cell_types'[source]#
cellpy_file_name: str = 'cellpy_file_names'[source]#
filename: str = 'filenames'[source]#
fixed: str = 'fixed'[source]#
group: str = 'groups'[source]#
label: str = 'labels'[source]#
loading: str = 'loadings'[source]#
mass: str = 'masses'[source]#
raw_file_names: str = 'raw_file_names'[source]#
sub_group: str = 'sub_groups'[source]#
total_mass: str = 'total_masses'[source]#
class HeadersJournalV7[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersJournalV7

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
argument: str = 'argument'[source]#
cell_type: str = 'cell_type'[source]#
cellpy_file_name: str = 'cellpy_file_name'[source]#
comment: str = 'comment'[source]#
experiment: str = 'experiment'[source]#
filename: str = 'filename'[source]#
fixed: str = 'fixed'[source]#
group: str = 'group'[source]#
instrument: str = 'instrument'[source]#
label: str = 'label'[source]#
loading: str = 'loading'[source]#
mass: str = 'mass'[source]#
nom_cap: str = 'nom_cap'[source]#
raw_file_names: str = 'raw_file_names'[source]#
sub_group: str = 'sub_group'[source]#
total_mass: str = 'total_mass'[source]#
class HeadersRawV4[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersRawV4

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
ac_impedance_txt: str = 'AC_Impedance'[source]#
aci_phase_angle_txt: str = 'ACI_Phase_Angle'[source]#
amplitude_txt: str = 'Amplitude'[source]#
charge_capacity_txt: str = 'Charge_Capacity'[source]#
charge_energy_txt: str = 'Charge_Energy'[source]#
current_txt: str = 'Current'[source]#
cycle_index_txt: str = 'Cycle_Index'[source]#
data_point_txt: str = 'Data_Point'[source]#
datetime_txt: str = 'DateTime'[source]#
discharge_capacity_txt: str = 'Discharge_Capacity'[source]#
discharge_energy_txt: str = 'Discharge_Energy'[source]#
dv_dt_txt: str = 'dV/dt'[source]#
frequency_txt: str = 'Frequency'[source]#
internal_resistance_txt: str = 'Internal_Resistance'[source]#
is_fc_data_txt: str = 'Is_FC_Data'[source]#
ref_ac_impedance_txt: str = 'Reference_AC_Impedance'[source]#
ref_aci_phase_angle_txt: str = 'Reference_ACI_Phase_Angle'[source]#
ref_voltage_txt: str = 'Reference_Voltage'[source]#
step_index_txt: str = 'Step_Index'[source]#
step_time_txt: str = 'Step_Time'[source]#
sub_step_index_txt: str = 'Sub_Step_Index'[source]#
sub_step_time_txt: str = 'Sub_Step_Time'[source]#
test_id_txt: str = 'Test_ID'[source]#
test_time_txt: str = 'Test_Time'[source]#
voltage_txt: str = 'Voltage'[source]#
class HeadersRawV5[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersRawV5

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
ac_impedance_txt: str = 'AC_Impedance'[source]#
aci_phase_angle_txt: str = 'ACI_Phase_Angle'[source]#
amplitude_txt: str = 'Amplitude'[source]#
charge_capacity_txt: str = 'Charge_Capacity'[source]#
charge_energy_txt: str = 'Charge_Energy'[source]#
current_txt: str = 'Current'[source]#
cycle_index_txt: str = 'Cycle_Index'[source]#
data_point_txt: str = 'Data_Point'[source]#
datetime_txt: str = 'DateTime'[source]#
discharge_capacity_txt: str = 'Discharge_Capacity'[source]#
discharge_energy_txt: str = 'Discharge_Energy'[source]#
dv_dt_txt: str = 'dV/dt'[source]#
frequency_txt: str = 'Frequency'[source]#
internal_resistance_txt: str = 'Internal_Resistance'[source]#
is_fc_data_txt: str = 'Is_FC_Data'[source]#
ref_ac_impedance_txt: str = 'Reference_AC_Impedance'[source]#
ref_aci_phase_angle_txt: str = 'Reference_ACI_Phase_Angle'[source]#
ref_voltage_txt: str = 'Reference_Voltage'[source]#
step_index_txt: str = 'Step_Index'[source]#
step_time_txt: str = 'Step_Time'[source]#
sub_step_index_txt: str = 'Sub_Step_Index'[source]#
sub_step_time_txt: str = 'Sub_Step_Time'[source]#
test_id_txt: str = 'Test_ID'[source]#
test_time_txt: str = 'Test_Time'[source]#
voltage_txt: str = 'Voltage'[source]#
class HeadersRawV6[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersRawV6

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
ac_impedance_txt: str = 'AC_Impedance'[source]#
aci_phase_angle_txt: str = 'ACI_Phase_Angle'[source]#
amplitude_txt: str = 'Amplitude'[source]#
charge_capacity_txt: str = 'Charge_Capacity'[source]#
charge_energy_txt: str = 'Charge_Energy'[source]#
current_txt: str = 'Current'[source]#
cycle_index_txt: str = 'Cycle_Index'[source]#
data_point_txt: str = 'Data_Point'[source]#
datetime_txt: str = 'DateTime'[source]#
discharge_capacity_txt: str = 'Discharge_Capacity'[source]#
discharge_energy_txt: str = 'Discharge_Energy'[source]#
dv_dt_txt: str = 'dV/dt'[source]#
frequency_txt: str = 'Frequency'[source]#
internal_resistance_txt: str = 'Internal_Resistance'[source]#
is_fc_data_txt: str = 'Is_FC_Data'[source]#
ref_ac_impedance_txt: str = 'Reference_AC_Impedance'[source]#
ref_aci_phase_angle_txt: str = 'Reference_ACI_Phase_Angle'[source]#
ref_voltage_txt: str = 'Reference_Voltage'[source]#
step_index_txt: str = 'Step_Index'[source]#
step_time_txt: str = 'Step_Time'[source]#
sub_step_index_txt: str = 'Sub_Step_Index'[source]#
sub_step_time_txt: str = 'Sub_Step_Time'[source]#
test_id_txt: str = 'Test_ID'[source]#
test_time_txt: str = 'Test_Time'[source]#
voltage_txt: str = 'Voltage'[source]#
class HeadersRawV7[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersRawV7

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
ac_impedance_txt: str = 'ac_impedance'[source]#
aci_phase_angle_txt: str = 'aci_phase_angle'[source]#
amplitude_txt: str = 'amplitude'[source]#
channel_id_txt: str = 'channel_id'[source]#
charge_capacity_txt: str = 'charge_capacity'[source]#
charge_energy_txt: str = 'charge_energy'[source]#
current_txt: str = 'current'[source]#
cycle_index_txt: str = 'cycle_index'[source]#
data_flag_txt: str = 'data_flag'[source]#
data_point_txt: str = 'data_point'[source]#
datetime_txt: str = 'date_time'[source]#
discharge_capacity_txt: str = 'discharge_capacity'[source]#
discharge_energy_txt: str = 'discharge_energy'[source]#
dv_dt_txt: str = 'dv_dt'[source]#
frequency_txt: str = 'frequency'[source]#
internal_resistance_txt: str = 'internal_resistance'[source]#
is_fc_data_txt: str = 'is_fc_data'[source]#
power_txt: str = 'power'[source]#
ref_ac_impedance_txt: str = 'ref_ac_impedance'[source]#
ref_aci_phase_angle_txt: str = 'ref_aci_phase_angle'[source]#
ref_voltage_txt: str = 'reference_voltage'[source]#
step_index_txt: str = 'step_index'[source]#
step_time_txt: str = 'step_time'[source]#
sub_step_index_txt: str = 'sub_step_index'[source]#
sub_step_time_txt: str = 'sub_step_time'[source]#
test_id_txt: str = 'test_id'[source]#
test_name_txt: str = 'test_name'[source]#
test_time_txt: str = 'test_time'[source]#
voltage_txt: str = 'voltage'[source]#
class HeadersStepTableV7[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersStepTableV7

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
charge: str = 'charge'[source]#
current: str = 'current'[source]#
cycle: str = 'cycle'[source]#
discharge: str = 'discharge'[source]#
info: str = 'info'[source]#
internal_resistance: str = 'ir'[source]#
internal_resistance_change: str = 'ir_pct_change'[source]#
point: str = 'point'[source]#
rate_avr: str = 'rate_avr'[source]#
step: str = 'step'[source]#
step_time: str = 'step_time'[source]#
sub_step: str = 'sub_step'[source]#
sub_type: str = 'sub_type'[source]#
test: str = 'test'[source]#
test_time: str = 'test_time'[source]#
type: str = 'type'[source]#
ustep: str = 'ustep'[source]#
voltage: str = 'voltage'[source]#
class HeadersSummaryV5[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersSummaryV5

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
areal_charge_capacity: str = 'areal_charge_capacity_u_mAh_cm2'[source]#
areal_discharge_capacity: str = 'areal_discharge_capacity_u_mAh_cm2'[source]#
charge_c_rate: str = 'Charge_C_rate'[source]#
charge_capacity: str = 'charge_capacity_u_mAh_g'[source]#
charge_capacity_loss: str = 'charge_capacity_loss_u_mAh_g'[source]#
charge_capacity_raw: str = 'Charge_Capacity'[source]#
coulombic_difference: str = 'coulombic_difference_u_mAh_g'[source]#
coulombic_efficiency: str = 'Coulombic_Efficiency(percentage)'[source]#
cumulated_charge_capacity: str = 'cumulated_charge_capacity_u_mAh_g'[source]#
cumulated_charge_capacity_loss: str = 'cumulated_charge_capacity_loss_u_mAh_g'[source]#
cumulated_coulombic_difference: str = 'cumulated_coulombic_difference_u_mAh_g'[source]#
cumulated_coulombic_efficiency: str = 'cumulated_coulombic_efficiency_u_percentage'[source]#
cumulated_discharge_capacity: str = 'cumulated_discharge_capacity_u_mAh_g'[source]#
cumulated_discharge_capacity_loss: str = 'cumulated_discharge_capacity_loss_u_mAh_g'[source]#
cumulated_ric: str = 'RIC(none)'[source]#
cumulated_ric_disconnect: str = 'RIC_Disconnect(none)'[source]#
cumulated_ric_sei: str = 'RIC_SEI(none)'[source]#
cycle_index: str = 'Cycle_Index'[source]#
data_point: str = 'Data_Point'[source]#
datetime: str = 'DateTime'[source]#
discharge_c_rate: str = 'Discharge_C_rate'[source]#
discharge_capacity: str = 'discharge_capacity_u_mAh_g'[source]#
discharge_capacity_loss: str = 'discharge_capacity_loss_u_mAh_g'[source]#
discharge_capacity_raw: str = 'Discharge_Capacity'[source]#
end_voltage_charge: str = 'End_Voltage_Charge(V)'[source]#
end_voltage_discharge: str = 'End_Voltage_Discharge(V)'[source]#
high_level: str = 'High_Level(percentage)'[source]#
ir_charge: str = 'IR_Charge(Ohms)'[source]#
ir_discharge: str = 'IR_Discharge(Ohms)'[source]#
low_level: str = 'Low_Level(percentage)'[source]#
normalized_charge_capacity: str = 'normalized_charge_capacity'[source]#
normalized_cycle_index: str = 'Normalized_Cycle_Index'[source]#
normalized_discharge_capacity: str = 'normalized_discharge_capacity'[source]#
ocv_first_max: str = 'OCV_First_Max(V)'[source]#
ocv_first_min: str = 'OCV_First_Min(V)'[source]#
ocv_second_max: str = 'OCV_Second_Max(V)'[source]#
ocv_second_min: str = 'OCV_Second_Min(V)'[source]#
shifted_charge_capacity: str = 'Charge_Endpoint_Slippage(mAh/g)'[source]#
shifted_discharge_capacity: str = 'Discharge_Endpoint_Slippage(mAh/g)'[source]#
temperature_last: str = 'Last_Temperature(C)'[source]#
temperature_mean: str = 'Average_Temperature(C)'[source]#
test_time: str = 'Test_Time'[source]#
class HeadersSummaryV6[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersSummaryV6

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
areal_charge_capacity: str = 'areal_charge_capacity_u_mAh_cm2'[source]#
areal_discharge_capacity: str = 'areal_discharge_capacity_u_mAh_cm2'[source]#
channel_id: str = 'channel_id'[source]#
charge_c_rate: str = 'charge_c_rate'[source]#
charge_capacity: str = 'charge_capacity_u_mAh_g'[source]#
charge_capacity_loss: str = 'charge_capacity_loss_u_mAh_g'[source]#
charge_capacity_raw: str = 'charge_capacity'[source]#
coulombic_difference: str = 'coulombic_difference_u_mAh_g'[source]#
coulombic_efficiency: str = 'coulombic_efficiency_u_percentage'[source]#
cumulated_charge_capacity: str = 'cumulated_charge_capacity_u_mAh_g'[source]#
cumulated_charge_capacity_loss: str = 'cumulated_charge_capacity_loss_u_mAh_g'[source]#
cumulated_coulombic_difference: str = 'cumulated_coulombic_difference_u_mAh_g'[source]#
cumulated_coulombic_efficiency: str = 'cumulated_coulombic_efficiency_u_percentage'[source]#
cumulated_discharge_capacity: str = 'cumulated_discharge_capacity_u_mAh_g'[source]#
cumulated_discharge_capacity_loss: str = 'cumulated_discharge_capacity_loss_u_mAh_g'[source]#
cumulated_ric: str = 'cumulated_ric_u_none'[source]#
cumulated_ric_disconnect: str = 'cumulated_ric_disconnect_u_none'[source]#
cumulated_ric_sei: str = 'cumulated_ric_sei_u_none'[source]#
cycle_index: str = 'cycle_index'[source]#
data_flag: str = 'data_flag'[source]#
data_point: str = 'data_point'[source]#
datetime: str = 'date_time'[source]#
discharge_c_rate: str = 'discharge_c_rate'[source]#
discharge_capacity: str = 'discharge_capacity_u_mAh_g'[source]#
discharge_capacity_loss: str = 'discharge_capacity_loss_u_mAh_g'[source]#
discharge_capacity_raw: str = 'discharge_capacity'[source]#
end_voltage_charge: str = 'end_voltage_charge_u_V'[source]#
end_voltage_discharge: str = 'end_voltage_discharge_u_V'[source]#
high_level: str = 'high_level_u_percentage'[source]#
ir_charge: str = 'ir_charge_u_Ohms'[source]#
ir_discharge: str = 'ir_discharge_u_Ohms'[source]#
low_level: str = 'low_level_u_percentage'[source]#
normalized_charge_capacity: str = 'normalized_charge_capacity'[source]#
normalized_cycle_index: str = 'normalized_cycle_index'[source]#
normalized_discharge_capacity: str = 'normalized_discharge_capacity'[source]#
ocv_first_max: str = 'ocv_first_max_u_V'[source]#
ocv_first_min: str = 'ocv_first_min_u_V'[source]#
ocv_second_max: str = 'ocv_second_max_u_V'[source]#
ocv_second_min: str = 'ocv_second_min_u_V'[source]#
shifted_charge_capacity: str = 'shifted_charge_capacity_u_mAh_g'[source]#
shifted_discharge_capacity: str = 'shifted_discharge_capacity_u_mAh_g'[source]#
temperature_last: str = 'temperature_last_u_C'[source]#
temperature_mean: str = 'temperature_mean_u_C'[source]#
test_name: str = 'test_name'[source]#
test_time: str = 'test_time'[source]#
class HeadersSummaryV7[source]#

Bases: cellpy.parameters.internal_settings.BaseHeaders

Inheritance diagram of cellpy.parameters.legacy.update_headers.HeadersSummaryV7

Subclass of BaseSetting including option to add postfixes.

Example

>>> header["key_postfix"]  # returns "value_postfix"
areal_charge_capacity: str = 'charge_capacity_areal'[source]#
areal_discharge_capacity: str = 'discharge_capacity_areal'[source]#
channel_id: str = 'channel_id'[source]#
charge_c_rate: str = 'charge_c_rate'[source]#
charge_capacity: str = 'charge_capacity_gravimetric'[source]#
charge_capacity_loss: str = 'charge_capacity_loss_gravimetric'[source]#
charge_capacity_raw: str = 'charge_capacity'[source]#
coulombic_difference: str = 'coulombic_difference_gravimetric'[source]#
coulombic_efficiency: str = 'coulombic_efficiency'[source]#
cumulated_charge_capacity: str = 'cumulated_charge_capacity_gravimetric'[source]#
cumulated_charge_capacity_loss: str = 'cumulated_charge_capacity_loss_gravimetric'[source]#
cumulated_coulombic_difference: str = 'cumulated_coulombic_difference_gravimetric'[source]#
cumulated_coulombic_efficiency: str = 'cumulated_coulombic_efficiency'[source]#
cumulated_discharge_capacity: str = 'cumulated_discharge_capacity_gravimetric'[source]#
cumulated_discharge_capacity_loss: str = 'cumulated_discharge_capacity_loss_gravimetric'[source]#
cumulated_ric: str = 'cumulated_ric'[source]#
cumulated_ric_disconnect: str = 'cumulated_ric_disconnect'[source]#
cumulated_ric_sei: str = 'cumulated_ric_sei'[source]#
cycle_index: str = 'cycle_index'[source]#
data_flag: str = 'data_flag'[source]#
data_point: str = 'data_point'[source]#
datetime: str = 'date_time'[source]#
discharge_c_rate: str = 'discharge_c_rate'[source]#
discharge_capacity: str = 'discharge_capacity_gravimetric'[source]#
discharge_capacity_loss: str = 'discharge_capacity_loss_gravimetric'[source]#
discharge_capacity_raw: str = 'discharge_capacity'[source]#
end_voltage_charge: str = 'end_voltage_charge'[source]#
end_voltage_discharge: str = 'end_voltage_discharge'[source]#
high_level: str = 'high_level'[source]#
ir_charge: str = 'ir_charge'[source]#
ir_discharge: str = 'ir_discharge'[source]#
low_level: str = 'low_level'[source]#
normalized_charge_capacity: str = 'normalized_charge_capacity'[source]#
normalized_cycle_index: str = 'normalized_cycle_index'[source]#
normalized_discharge_capacity: str = 'normalized_discharge_capacity'[source]#
ocv_first_max: str = 'ocv_first_max'[source]#
ocv_first_min: str = 'ocv_first_min'[source]#
ocv_second_max: str = 'ocv_second_max'[source]#
ocv_second_min: str = 'ocv_second_min'[source]#
shifted_charge_capacity: str = 'shifted_charge_capacity_gravimetric'[source]#
shifted_discharge_capacity: str = 'shifted_discharge_capacity_gravimetric'[source]#
temperature_last: str = 'temperature_last'[source]#
temperature_mean: str = 'temperature_mean'[source]#
test_name: str = 'test_name'[source]#
test_time: str = 'test_time'[source]#
get_column_name_mapper(old_columns: cellpy.parameters.internal_settings.BaseHeaders, new_columns: cellpy.parameters.internal_settings.BaseHeaders) Tuple[Dict[str, str], List[str], List[str]][source]#

Create a dictionary that maps old column names to new column names.

Parameters:
  • old_columns – The BaseHeaders for the old format.

  • new_columns – The BaseHeaders for the new format.

Returns:

Translation dictionary, list of missing keys in new format, list of missing keys in old format.

rename_columns(df: pandas.DataFrame, old: cellpy.parameters.internal_settings.BaseHeaders, new: cellpy.parameters.internal_settings.BaseHeaders, remove_missing_in_new: bool = False, populate_missing_in_old: bool = True) pandas.DataFrame[source]#

Rename the column headers of a cells dataframe.

Usage:
>>>  old_format_headers = HeadersSummaryV6()
>>>  new_format_headers = HeadersSummaryV7()
>>>  df_new_format = rename_columns(df_old_format, old_format_headers, new_format_headers)
Parameters:
  • df – The dataframe.

  • old – The BaseHeaders for the old format.

  • new – The BaseHeaders for the new format.

  • remove_missing_in_new – remove the columns that are not defined in the new format.

  • populate_missing_in_old – add “new-format” missing columns (with np.NAN).

Returns:

Dataframe with updated columns

rename_fid_columns(fid_table: pandas.DataFrame, old_version: int, new_version: int = CELLPY_FILE_VERSION, **kwargs) pandas.DataFrame[source]#
rename_raw_columns(raw: pandas.DataFrame, old_version: int, new_version: int = CELLPY_FILE_VERSION, **kwargs) pandas.DataFrame[source]#
rename_step_columns(steps: pandas.DataFrame, old_version: int, new_version: int = CELLPY_FILE_VERSION, **kwargs) pandas.DataFrame[source]#
rename_summary_columns(summary: pandas.DataFrame, old_version: int, new_version: int = CELLPY_FILE_VERSION, **kwargs) pandas.DataFrame[source]#

Rename the summary headers to new format.

Parameters:
  • summary – summary dataframe in old format.

  • old_version – old format (cellpy_file_format (might use summary format number instead soon)).

  • new_version – new format (cellpy_file_format (might use summary format number instead soon)).

  • **kwargs – remove_missing_in_new (bool): remove the columns that are not defined in the new format. populate_missing_in_old (bool): add “new-format” missing columns (with np.NAN).

Returns:

summary (pandas.DataFrame) with column headers in the new format.

HEADERS_KEYS_STEP_TABLE_EXTENDED = ['point', 'test_time', 'step_time', 'current', 'voltage', 'charge', 'discharge', 'internal_resistance'][source]#
HEADERS_STEP_TABLE_EXTENSIONS = ['min', 'max', 'avr', 'first', 'last', 'delta', 'std'][source]#
headers_journal_v0[source]#
journal_header_versions[source]#
raw_header_versions[source]#
steps_header_versions[source]#
summary_header_versions[source]#