pydpeet.PrimitiveConfig#

class pydpeet.PrimitiveConfig[source]#

Bases: object

Container class providing predefined primitive analysis configurations.

This class holds static factory calls for common primitive analysis configuration types. Access predefined configs via class attributes, or create custom configs using the primitive_config_wrapper function.

Attributes:

DEFAULT FALLBACK _PREPROCESSING _PRECOMPILE (internal use)

__init__()#

Methods

Attributes

DEFAULT = _PrimitiveConfigClass(threshold_dict=[0.0005, 0.0005, 0.0005, 0.0005, 5, 3], segments_to_detect_config=[('Voltage[V]', 0.0025), ('Current[A]', 0.0015), ('Power[W]', 0.004)], adjust_segments_config=[('Voltage[V]', 0.005), ('Current[A]', 0.003), ('Power[W]', 0.008)], thresholds_primitive_annotation={'V': 0.005, 'I': 0.003, 'P': 0.008}, threshold_cv_segments_0a_end=0.003, show_runtime=True, show_runtime_annotation=True, show_runtime_analyze=True, show_runtime_visualization=True, threshold_console_prints_zero_length_check=2, threshold_console_prints_cv_check=2, threshold_console_prints_finetuning_width=2, threshold_console_prints_power_zero_watt_check=10, data_columns={'V': 'Voltage[V]', 'I': 'Current[A]', 'P': 'Power[W]'}, check_cv_0aend_segments_bool=False, check_zero_length_segments_bool=False, check_power_zero_w_segments_bool=False, supress_io_warnings=False, precompile=False, force_precompilation=False)#
FALLBACK = _PrimitiveConfigClass(threshold_dict=[0.0005, 0.0005, 0.0005, 0.0005, 5, 3], segments_to_detect_config=[('Voltage[V]', 0.0025), ('Current[A]', 0.0015), ('Power[W]', 0.004)], adjust_segments_config=[('Voltage[V]', 0.005), ('Current[A]', 0.003), ('Power[W]', 0.008)], thresholds_primitive_annotation={'V': 0.005, 'I': 0.003, 'P': 0.008}, threshold_cv_segments_0a_end=0.003, show_runtime=True, show_runtime_annotation=False, show_runtime_analyze=False, show_runtime_visualization=False, threshold_console_prints_zero_length_check=2, threshold_console_prints_cv_check=2, threshold_console_prints_finetuning_width=2, threshold_console_prints_power_zero_watt_check=10, data_columns={'V': 'Voltage[V]', 'I': 'Current[A]', 'P': 'Power[W]'}, check_cv_0aend_segments_bool=True, check_zero_length_segments_bool=True, check_power_zero_w_segments_bool=True, supress_io_warnings=False, precompile=True, force_precompilation=False)#
OCV_ANALYSIS_DEFAULT = _PrimitiveConfigClass(threshold_dict=[0.0005, 0.0005, 0.0005, 0.0005, 5, 3], segments_to_detect_config=[('Voltage[V]', 0.0025), ('Current[A]', 0.0015), ('Power[W]', 0.004)], adjust_segments_config=[('Voltage[V]', 0.005), ('Current[A]', 0.003), ('Power[W]', 0.008)], thresholds_primitive_annotation={'V': 0.005, 'I': 0.003, 'P': 0.008}, threshold_cv_segments_0a_end=0.003, show_runtime=True, show_runtime_annotation=True, show_runtime_analyze=True, show_runtime_visualization=True, threshold_console_prints_zero_length_check=2, threshold_console_prints_cv_check=2, threshold_console_prints_finetuning_width=2, threshold_console_prints_power_zero_watt_check=10, data_columns={'V': 'Voltage[V]', 'I': 'Current[A]', 'P': 'Power[W]'}, check_cv_0aend_segments_bool=True, check_zero_length_segments_bool=True, check_power_zero_w_segments_bool=True, supress_io_warnings=False, precompile=False, force_precompilation=False)#