cellpy.parameters.prms

Contents

cellpy.parameters.prms#

cellpy parameters

Module Contents#

Classes#

BatchClass

Settings for batch processing.

CellInfoClass

Values used for setting the parameters related to the cell and the cycling

CellPyConfig

Session settings (global).

CellPyDataConfig

Settings that can be unique for each CellpyCell instance.

DbClass

Settings for the handling the simple database.

DbColsClass

Names of the columns in the simple database.

DbColsUnitClass

Unit of the columns in the simple database.

FileNamesClass

Settings for file names and file handling.

InstrumentsClass

Settings for the instruments.

MaterialsClass

Default material-specific values used in processing the data.

PathsClass

Paths used in cellpy.

ReaderClass

Settings for reading data.

Attributes#

Arbin

Batch

CellInfo

Db

DbCols

FileNames

Instruments

Maccor

Materials

Neware

Paths

Reader

cur_dir

op_wdir

script_dir

user_dir

wdir

class BatchClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.BatchClass

Settings for batch processing.

auto_use_file_list: bool = False[source]#
backend: str = 'plotly'[source]#
color_style_label: str = 'seaborn-deep'[source]#
dpi: int = 300[source]#
fig_extension: str = 'png'[source]#
figure_type: str = 'unlimited'[source]#
markersize: int = 4[source]#
notebook: bool = True[source]#
summary_plot_height: int = 800[source]#
summary_plot_height_fractions: List[float][source]#
summary_plot_width: int = 900[source]#
symbol_label: str = 'simple'[source]#
template: str = 'standard'[source]#
class CellInfoClass[source]#

Bases: CellPyDataConfig

Inheritance diagram of cellpy.parameters.prms.CellInfoClass

Values used for setting the parameters related to the cell and the cycling

active_electrode_area: float = 1.0[source]#
active_electrode_current_collector: str = 'standard'[source]#
active_electrode_thickness: float = 1.0[source]#
active_electrode_type: str = 'standard'[source]#
cell_type: str = 'standard'[source]#
comment: str = ''[source]#
counter_electrode_type: str = 'standard'[source]#
electrolyte_type: str = 'standard'[source]#
electrolyte_volume: float = 1.0[source]#
experiment_type: str = 'cycling'[source]#
reference_electrode_current_collector: str = 'standard'[source]#
reference_electrode_type: str = 'standard'[source]#
separator_type: str = 'standard'[source]#
voltage_lim_high: float = 1.0[source]#
voltage_lim_low: float = 0.0[source]#
class CellPyConfig[source]#

Session settings (global).

keys()[source]#
class CellPyDataConfig[source]#

Settings that can be unique for each CellpyCell instance.

class DbClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.DbClass

Settings for the handling the simple database.

db_connection: str | None[source]#
db_data_start_row: int = 2[source]#
db_file_sqlite: str = 'excel.db'[source]#
db_header_row: int = 0[source]#
db_search_end_row: int[source]#
db_search_start_row: int = 2[source]#
db_table_name: str = 'db_table'[source]#
db_type: str = 'simple_excel_reader'[source]#
db_unit_row: int = 1[source]#
class DbColsClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.DbColsClass

Names of the columns in the simple database.

area: str = 'area'[source]#
argument: str = 'argument'[source]#
batch: str = 'batch'[source]#
cell_name: str = 'cell'[source]#
cell_type: str = 'cell_type'[source]#
cellpy_file_name: str = 'cellpy_file_name'[source]#
comment_cell: str = 'comment_cell'[source]#
comment_general: str = 'comment_general'[source]#
comment_slurry: str = 'comment_slurry'[source]#
exists: str = 'exists'[source]#
experiment_type: str = 'experiment_type'[source]#
file_name_indicator: str = 'file_name_indicator'[source]#
freeze: str = 'freeze'[source]#
group: str = 'group'[source]#
id: str = 'id'[source]#
instrument: str = 'instrument'[source]#
label: str = 'label'[source]#
loading: str = 'loading_active_material'[source]#
mass_active: str = 'mass_active_material'[source]#
mass_total: str = 'mass_total'[source]#
nom_cap: str = 'nominal_capacity'[source]#
project: str = 'project'[source]#
raw_file_names: str = 'raw_file_names'[source]#
selected: str = 'selected'[source]#
sub_batch_01: str = 'b01'[source]#
sub_batch_02: str = 'b02'[source]#
sub_batch_03: str = 'b03'[source]#
sub_batch_04: str = 'b04'[source]#
sub_batch_05: str = 'b05'[source]#
sub_batch_06: str = 'b06'[source]#
sub_batch_07: str = 'b07'[source]#
class DbColsUnitClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.DbColsUnitClass

Unit of the columns in the simple database.

area: str = 'float'[source]#
argument: str = 'str'[source]#
batch: str = 'str'[source]#
cell_name: str = 'str'[source]#
cell_type: str = 'str'[source]#
cellpy_file_name: str = 'str'[source]#
comment_cell: str = 'str'[source]#
comment_general: str = 'str'[source]#
comment_slurry: str = 'str'[source]#
exists: str = 'int'[source]#
experiment_type: str = 'str'[source]#
file_name_indicator: str = 'str'[source]#
freeze: str = 'int'[source]#
group: str = 'str'[source]#
id: str = 'str'[source]#
instrument: str = 'str'[source]#
label: str = 'str'[source]#
loading: str = 'float'[source]#
mass_active: str = 'float'[source]#
mass_total: str = 'float'[source]#
nom_cap: str = 'float'[source]#
project: str = 'str'[source]#
raw_file_names: str = 'str'[source]#
selected: str = 'int'[source]#
sub_batch_01: str = 'str'[source]#
sub_batch_02: str = 'str'[source]#
sub_batch_03: str = 'str'[source]#
sub_batch_04: str = 'str'[source]#
sub_batch_05: str = 'str'[source]#
sub_batch_06: str = 'str'[source]#
sub_batch_07: str = 'str'[source]#
class FileNamesClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.FileNamesClass

Settings for file names and file handling.

cellpy_file_extension: str = 'h5'[source]#
file_list_location: str[source]#
file_list_name: str[source]#
file_list_type: str[source]#
file_name_format: str = 'YYYYMMDD_[NAME]EEE_CC_TT_RR'[source]#
raw_extension: str = 'res'[source]#
reg_exp: str[source]#
sub_folders: bool = True[source]#
class InstrumentsClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.InstrumentsClass

Settings for the instruments.

Arbin: box.Box[source]#
Maccor: box.Box[source]#
Neware: box.Box[source]#
custom_instrument_definitions_file: str | None[source]#
tester: str | None[source]#
class MaterialsClass[source]#

Bases: CellPyDataConfig

Inheritance diagram of cellpy.parameters.prms.MaterialsClass

Default material-specific values used in processing the data.

cell_class: str = 'Li-Ion'[source]#
default_mass: float = 1.0[source]#
default_material: str = 'silicon'[source]#
default_nom_cap: float = 1.0[source]#
default_nom_cap_specifics: str = 'gravimetric'[source]#
class PathsClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.PathsClass

Paths used in cellpy.

property cellpydatadir: cellpy.internals.core.OtherPath[source]#
property rawdatadir: cellpy.internals.core.OtherPath[source]#
batchfiledir: pathlib.Path | str[source]#
db_filename: str = 'cellpy_db.xlsx'[source]#
db_path: pathlib.Path | str[source]#
env_file: pathlib.Path | str[source]#
examplesdir: pathlib.Path | str[source]#
filelogdir: pathlib.Path | str[source]#
instrumentdir: pathlib.Path | str[source]#
notebookdir: pathlib.Path | str[source]#
outdatadir: pathlib.Path | str[source]#
templatedir: pathlib.Path | str[source]#
class ReaderClass[source]#

Bases: CellPyConfig

Inheritance diagram of cellpy.parameters.prms.ReaderClass

Settings for reading data.

auto_dirs: bool = True[source]#
capacity_interpolation_step: float = 2.0[source]#
cycle_mode: str = 'anode'[source]#
diagnostics: bool = False[source]#
ensure_step_table: bool = False[source]#
ensure_summary_table: bool = False[source]#
filestatuschecker: str = 'size'[source]#
force_all: bool = False[source]#
force_step_table_creation: bool = True[source]#
jupyter_executable: str = 'jupyter'[source]#
limit_loaded_cycles: int | None[source]#
select_minimal: bool = False[source]#
sep: str = ';'[source]#
sorted_data: bool = True[source]#
time_interpolation_step: float = 10.0[source]#
use_cellpy_stat_file: bool = False[source]#
voltage_interpolation_step: float = 0.01[source]#
Arbin[source]#
Batch[source]#
CellInfo[source]#
Db[source]#
DbCols[source]#
FileNames[source]#
Instruments[source]#
Maccor[source]#
Materials[source]#
Neware[source]#
Paths[source]#
Reader[source]#
cur_dir[source]#
op_wdir[source]#
script_dir[source]#
user_dir[source]#
wdir[source]#