cellpy package#
Subpackages#
- cellpy.internals package
- Submodules
- cellpy.internals.core module
- cellpy.internals.otherpath module
ExternalStatResultOtherPathLegacyOtherPathLegacy.is_externalOtherPathLegacy.locationOtherPathLegacy.uri_prefixOtherPathLegacy.raw_pathOtherPathLegacy.originalOtherPathLegacy.full_pathOtherPathLegacy.copy()OtherPathLegacy.glob()OtherPathLegacy.rglob()OtherPathLegacy.absolute()OtherPathLegacy.as_uri()OtherPathLegacy.connection_info()OtherPathLegacy.copy()OtherPathLegacy.cwd()OtherPathLegacy.exists()OtherPathLegacy.full_pathOtherPathLegacy.glob()OtherPathLegacy.group()OtherPathLegacy.is_dir()OtherPathLegacy.is_externalOtherPathLegacy.is_file()OtherPathLegacy.iterdir()OtherPathLegacy.joinpath()OtherPathLegacy.lchmod()OtherPathLegacy.listdir()OtherPathLegacy.locationOtherPathLegacy.match()OtherPathLegacy.nameOtherPathLegacy.originalOtherPathLegacy.ownerOtherPathLegacy.parentOtherPathLegacy.parentsOtherPathLegacy.pathlike_locationOtherPathLegacy.raw_pathOtherPathLegacy.readlink()OtherPathLegacy.resolve()OtherPathLegacy.rglob()OtherPathLegacy.samefile()OtherPathLegacy.stat()OtherPathLegacy.stemOtherPathLegacy.suffixOtherPathLegacy.suffixesOtherPathLegacy.uri_prefixOtherPathLegacy.with_name()OtherPathLegacy.with_stem()OtherPathLegacy.with_suffix()
OtherPathNewOtherPathNew.is_externalOtherPathNew.locationOtherPathNew.uri_prefixOtherPathNew.raw_pathOtherPathNew.originalOtherPathNew.full_pathOtherPathNew.copy()OtherPathNew.glob()OtherPathNew.rglob()OtherPathNew.absolute()OtherPathNew.as_uri()OtherPathNew.connection_info()OtherPathNew.copy()OtherPathNew.cwd()OtherPathNew.exists()OtherPathNew.full_pathOtherPathNew.glob()OtherPathNew.group()OtherPathNew.is_dir()OtherPathNew.is_externalOtherPathNew.is_file()OtherPathNew.iterdir()OtherPathNew.joinpath()OtherPathNew.lchmod()OtherPathNew.listdir()OtherPathNew.locationOtherPathNew.match()OtherPathNew.nameOtherPathNew.originalOtherPathNew.ownerOtherPathNew.parentOtherPathNew.parentsOtherPathNew.pathlike_locationOtherPathNew.raw_pathOtherPathNew.readlink()OtherPathNew.resolve()OtherPathNew.rglob()OtherPathNew.samefile()OtherPathNew.stat()OtherPathNew.stemOtherPathNew.suffixOtherPathNew.suffixesOtherPathNew.uri_prefixOtherPathNew.with_name()OtherPathNew.with_stem()OtherPathNew.with_suffix()
check_otherpath_new()get_otherpath_class()
- Module contents
- cellpy.libs package
- cellpy.parameters package
- Subpackages
- Submodules
- cellpy.parameters.internal_settings module
BaseHeadersBaseSettingsCellpyLimitsCellpyMetaCellpyMetaCommonCellpyMetaCommon.active_electrode_areaCellpyMetaCommon.active_electrode_current_collectorCellpyMetaCommon.active_electrode_loadingCellpyMetaCommon.active_electrode_thicknessCellpyMetaCommon.active_electrode_typeCellpyMetaCommon.cell_nameCellpyMetaCommon.cell_typeCellpyMetaCommon.cellpy_file_versionCellpyMetaCommon.commentCellpyMetaCommon.counter_electrode_typeCellpyMetaCommon.electrolyte_typeCellpyMetaCommon.electrolyte_volumeCellpyMetaCommon.experiment_typeCellpyMetaCommon.file_errorsCellpyMetaCommon.massCellpyMetaCommon.materialCellpyMetaCommon.nom_capCellpyMetaCommon.nom_cap_specificsCellpyMetaCommon.raw_idCellpyMetaCommon.reference_electrode_current_collectorCellpyMetaCommon.reference_electrode_typeCellpyMetaCommon.separator_typeCellpyMetaCommon.start_datetimeCellpyMetaCommon.tester_IDCellpyMetaCommon.tester_calibration_dateCellpyMetaCommon.tester_client_software_versionCellpyMetaCommon.tester_server_software_versionCellpyMetaCommon.time_zoneCellpyMetaCommon.tot_mass
CellpyMetaIndividualTestCellpyMetaIndividualTest.channel_indexCellpyMetaIndividualTest.creatorCellpyMetaIndividualTest.cycle_modeCellpyMetaIndividualTest.schedule_file_nameCellpyMetaIndividualTest.test_IDCellpyMetaIndividualTest.test_typeCellpyMetaIndividualTest.voltage_lim_highCellpyMetaIndividualTest.voltage_lim_low
CellpyUnitsCellpyUnits.areaCellpyUnits.chargeCellpyUnits.currentCellpyUnits.energyCellpyUnits.frequencyCellpyUnits.lengthCellpyUnits.massCellpyUnits.nominal_capacityCellpyUnits.powerCellpyUnits.pressureCellpyUnits.resistanceCellpyUnits.specific_arealCellpyUnits.specific_gravimetricCellpyUnits.specific_volumetricCellpyUnits.temperatureCellpyUnits.timeCellpyUnits.update()CellpyUnits.voltageCellpyUnits.volume
DictLikeClassHeaderDictHeadersJournalHeadersJournal.areaHeadersJournal.argumentHeadersJournal.cell_typeHeadersJournal.cellpy_file_nameHeadersJournal.commentHeadersJournal.experimentHeadersJournal.file_name_indicatorHeadersJournal.filenameHeadersJournal.fixedHeadersJournal.groupHeadersJournal.group_labelHeadersJournal.id_keyHeadersJournal.instrumentHeadersJournal.labelHeadersJournal.loadingHeadersJournal.massHeadersJournal.modelHeadersJournal.nom_capHeadersJournal.nom_cap_specificsHeadersJournal.raw_file_namesHeadersJournal.selectedHeadersJournal.sub_groupHeadersJournal.total_mass
HeadersNormalHeadersNormal.ac_impedance_txtHeadersNormal.aci_phase_angle_txtHeadersNormal.amplitude_txtHeadersNormal.channel_id_txtHeadersNormal.charge_capacity_txtHeadersNormal.charge_energy_txtHeadersNormal.current_txtHeadersNormal.cycle_index_txtHeadersNormal.data_flag_txtHeadersNormal.data_point_txtHeadersNormal.datetime_txtHeadersNormal.discharge_capacity_txtHeadersNormal.discharge_energy_txtHeadersNormal.dv_dt_txtHeadersNormal.frequency_txtHeadersNormal.internal_resistance_txtHeadersNormal.is_fc_data_txtHeadersNormal.power_txtHeadersNormal.ref_ac_impedance_txtHeadersNormal.ref_aci_phase_angle_txtHeadersNormal.ref_voltage_txtHeadersNormal.step_index_txtHeadersNormal.step_time_txtHeadersNormal.sub_step_index_txtHeadersNormal.sub_step_time_txtHeadersNormal.test_id_txtHeadersNormal.test_name_txtHeadersNormal.test_time_txtHeadersNormal.voltage_txt
HeadersStepTableHeadersStepTable.chargeHeadersStepTable.currentHeadersStepTable.cycleHeadersStepTable.dischargeHeadersStepTable.infoHeadersStepTable.internal_resistanceHeadersStepTable.internal_resistance_changeHeadersStepTable.pointHeadersStepTable.rate_avrHeadersStepTable.stepHeadersStepTable.step_timeHeadersStepTable.sub_stepHeadersStepTable.sub_typeHeadersStepTable.testHeadersStepTable.test_timeHeadersStepTable.typeHeadersStepTable.ustepHeadersStepTable.voltage
HeadersSummaryHeadersSummary.areal_charge_capacityHeadersSummary.areal_discharge_capacityHeadersSummary.channel_idHeadersSummary.charge_c_rateHeadersSummary.charge_capacityHeadersSummary.charge_capacity_lossHeadersSummary.charge_capacity_rawHeadersSummary.coulombic_differenceHeadersSummary.coulombic_efficiencyHeadersSummary.cumulated_charge_capacityHeadersSummary.cumulated_charge_capacity_lossHeadersSummary.cumulated_coulombic_differenceHeadersSummary.cumulated_coulombic_efficiencyHeadersSummary.cumulated_discharge_capacityHeadersSummary.cumulated_discharge_capacity_lossHeadersSummary.cumulated_ricHeadersSummary.cumulated_ric_disconnectHeadersSummary.cumulated_ric_seiHeadersSummary.cycle_indexHeadersSummary.data_flagHeadersSummary.data_pointHeadersSummary.datetimeHeadersSummary.discharge_c_rateHeadersSummary.discharge_capacityHeadersSummary.discharge_capacity_lossHeadersSummary.discharge_capacity_rawHeadersSummary.end_voltage_chargeHeadersSummary.end_voltage_dischargeHeadersSummary.high_levelHeadersSummary.ir_chargeHeadersSummary.ir_dischargeHeadersSummary.low_levelHeadersSummary.normalized_charge_capacityHeadersSummary.normalized_cycle_indexHeadersSummary.normalized_discharge_capacityHeadersSummary.ocv_first_maxHeadersSummary.ocv_first_minHeadersSummary.ocv_second_maxHeadersSummary.ocv_second_minHeadersSummary.postfixesHeadersSummary.pre_auxHeadersSummary.shifted_charge_capacityHeadersSummary.shifted_discharge_capacityHeadersSummary.specific_columnsHeadersSummary.temperature_lastHeadersSummary.temperature_meanHeadersSummary.test_nameHeadersSummary.test_time
InstrumentSettingsget_cellpy_units()get_default_cellpy_file_raw_units()get_default_custom_headers_summary()get_default_output_units()get_default_raw_limits()get_default_raw_units()get_headers_journal()get_headers_normal()get_headers_step_table()get_headers_summary()
- cellpy.parameters.prmreader module
- cellpy.parameters.prms module
BatchClassBatchClass.auto_use_file_listBatchClass.backendBatchClass.color_style_labelBatchClass.dpiBatchClass.fig_extensionBatchClass.figure_typeBatchClass.markersizeBatchClass.notebookBatchClass.summary_plot_heightBatchClass.summary_plot_height_fractionsBatchClass.summary_plot_widthBatchClass.symbol_labelBatchClass.template
CellInfoClassCellInfoClass.active_electrode_areaCellInfoClass.active_electrode_current_collectorCellInfoClass.active_electrode_loadingCellInfoClass.active_electrode_thicknessCellInfoClass.active_electrode_typeCellInfoClass.cell_typeCellInfoClass.commentCellInfoClass.counter_electrode_typeCellInfoClass.electrolyte_typeCellInfoClass.electrolyte_volumeCellInfoClass.experiment_typeCellInfoClass.reference_electrode_current_collectorCellInfoClass.reference_electrode_typeCellInfoClass.separator_typeCellInfoClass.voltage_lim_highCellInfoClass.voltage_lim_low
CellPyConfigCellPyDataConfigDbClassDbColsClassDbColsClass.areaDbColsClass.argumentDbColsClass.batchDbColsClass.cell_nameDbColsClass.cell_typeDbColsClass.cellpy_file_nameDbColsClass.comment_cellDbColsClass.comment_generalDbColsClass.comment_slurryDbColsClass.existsDbColsClass.experiment_typeDbColsClass.file_name_indicatorDbColsClass.freezeDbColsClass.groupDbColsClass.idDbColsClass.instrumentDbColsClass.labelDbColsClass.loadingDbColsClass.mass_activeDbColsClass.mass_totalDbColsClass.nom_capDbColsClass.nom_cap_specificsDbColsClass.projectDbColsClass.raw_file_namesDbColsClass.selectedDbColsClass.sub_batch_01DbColsClass.sub_batch_02DbColsClass.sub_batch_03DbColsClass.sub_batch_04DbColsClass.sub_batch_05DbColsClass.sub_batch_06DbColsClass.sub_batch_07
DbColsUnitClassDbColsUnitClass.areaDbColsUnitClass.argumentDbColsUnitClass.batchDbColsUnitClass.cell_nameDbColsUnitClass.cell_typeDbColsUnitClass.cellpy_file_nameDbColsUnitClass.comment_cellDbColsUnitClass.comment_generalDbColsUnitClass.comment_slurryDbColsUnitClass.existsDbColsUnitClass.experiment_typeDbColsUnitClass.file_name_indicatorDbColsUnitClass.freezeDbColsUnitClass.groupDbColsUnitClass.idDbColsUnitClass.instrumentDbColsUnitClass.labelDbColsUnitClass.loadingDbColsUnitClass.mass_activeDbColsUnitClass.mass_totalDbColsUnitClass.nom_capDbColsUnitClass.projectDbColsUnitClass.raw_file_namesDbColsUnitClass.selectedDbColsUnitClass.sub_batch_01DbColsUnitClass.sub_batch_02DbColsUnitClass.sub_batch_03DbColsUnitClass.sub_batch_04DbColsUnitClass.sub_batch_05DbColsUnitClass.sub_batch_06DbColsUnitClass.sub_batch_07
FileNamesClassInstrumentsClassMaterialsClassPathsClassReaderClassReaderClass.auto_dirsReaderClass.capacity_interpolation_stepReaderClass.cycle_modeReaderClass.diagnosticsReaderClass.ensure_step_tableReaderClass.ensure_summary_tableReaderClass.filestatuscheckerReaderClass.force_allReaderClass.force_step_table_creationReaderClass.jupyter_executableReaderClass.limit_loaded_cyclesReaderClass.select_minimalReaderClass.sepReaderClass.sorted_dataReaderClass.time_interpolation_stepReaderClass.use_cellpy_stat_fileReaderClass.voltage_interpolation_step
- Module contents
- cellpy.readers package
- Subpackages
- cellpy.readers.instruments package
- Subpackages
- Submodules
- cellpy.readers.instruments.arbin_res module
- cellpy.readers.instruments.arbin_sql module
- cellpy.readers.instruments.arbin_sql_7 module
- cellpy.readers.instruments.arbin_sql_csv module
- cellpy.readers.instruments.arbin_sql_h5 module
- cellpy.readers.instruments.arbin_sql_xlsx module
- cellpy.readers.instruments.base module
- cellpy.readers.instruments.biologics_mpr module
- cellpy.readers.instruments.custom module
- cellpy.readers.instruments.ext_nda_reader module
- cellpy.readers.instruments.local_instrument module
- cellpy.readers.instruments.maccor_txt module
- cellpy.readers.instruments.neware_txt module
- cellpy.readers.instruments.neware_xlsx module
- cellpy.readers.instruments.pec_csv module
- Module contents
- cellpy.readers.instruments package
- Submodules
- cellpy.readers.cellreader module
CellpyCellCellpyCell.dataCellpyCell.cellpy_unitsCellpyCell.cellpy_datadirCellpyCell.raw_datadirCellpyCell.filestatuscheckerCellpyCell.force_step_table_creationCellpyCell.ensure_step_tableCellpyCell.limit_loaded_cyclesCellpyCell.profileCellpyCell.select_minimalCellpyCell.emptyCellpyCell.forced_errorsCellpyCell.capacity_modifiersCellpyCell.sepCellpyCell.cycle_modeCellpyCell.testerCellpyCell.cell_nameCellpyCell.active_electrode_areaCellpyCell.active_massCellpyCell.add_to_summary()CellpyCell.cell_nameCellpyCell.check_file_ids()CellpyCell.cycle_modeCellpyCell.dataCellpyCell.drop_edges()CellpyCell.drop_from()CellpyCell.drop_to()CellpyCell.emptyCellpyCell.filtered_summary()CellpyCell.from_cycle()CellpyCell.from_raw()CellpyCell.get_cap()CellpyCell.get_ccap()CellpyCell.get_converter_to_specific()CellpyCell.get_current()CellpyCell.get_cycle_numbers()CellpyCell.get_datetime()CellpyCell.get_dcap()CellpyCell.get_ir()CellpyCell.get_mass()CellpyCell.get_number_of_cycles()CellpyCell.get_ocv()CellpyCell.get_rates()CellpyCell.get_raw()CellpyCell.get_step_numbers()CellpyCell.get_summary()CellpyCell.get_timestamp()CellpyCell.get_voltage()CellpyCell.has_data_point_as_column()CellpyCell.has_data_point_as_index()CellpyCell.has_no_full_duplicates()CellpyCell.has_no_partial_duplicates()CellpyCell.initialize()CellpyCell.inspect_nominal_capacity()CellpyCell.load()CellpyCell.load_step_specifications()CellpyCell.loadcell()CellpyCell.make_step_table()CellpyCell.make_summary()CellpyCell.massCellpyCell.merge()CellpyCell.mod_raw_split_cycle()CellpyCell.nom_capCellpyCell.nom_cap_specificsCellpyCell.nominal_capacityCellpyCell.nominal_capacity_as_absolute()CellpyCell.populate_step_dict()CellpyCell.print_steps()CellpyCell.raw_unitsCellpyCell.register_instrument_readers()CellpyCell.save()CellpyCell.select_steps()CellpyCell.set_cellpy_datadir()CellpyCell.set_col_first()CellpyCell.set_instrument()CellpyCell.set_mass()CellpyCell.set_nom_cap()CellpyCell.set_raw_datadir()CellpyCell.set_tot_mass()CellpyCell.sget_current()CellpyCell.sget_step_numbers()CellpyCell.sget_steptime()CellpyCell.sget_timestamp()CellpyCell.sget_voltage()CellpyCell.split()CellpyCell.split_many()CellpyCell.to_bdf()CellpyCell.to_cellpy_unit()CellpyCell.to_csv()CellpyCell.to_cycle()CellpyCell.to_excel()CellpyCell.tot_massCellpyCell.total_time_at_voltage_level()CellpyCell.unit_scaler_from_raw()CellpyCell.vacant()CellpyCell.with_cellpy_unit()CellpyCell.with_cycles()
get()instruments_dict()print_instruments()
- cellpy.readers.core module
BaseDbReaderBaseSimpleDbReaderBaseSimpleDbReader.from_batch()BaseSimpleDbReader.get_area()BaseSimpleDbReader.get_args()BaseSimpleDbReader.get_by_column_label()BaseSimpleDbReader.get_cell_name()BaseSimpleDbReader.get_cell_type()BaseSimpleDbReader.get_comment()BaseSimpleDbReader.get_experiment_type()BaseSimpleDbReader.get_group()BaseSimpleDbReader.get_instrument()BaseSimpleDbReader.get_label()BaseSimpleDbReader.get_loading()BaseSimpleDbReader.get_mass()BaseSimpleDbReader.get_nom_cap()BaseSimpleDbReader.get_total_mass()BaseSimpleDbReader.inspect_hd5f_fixed()BaseSimpleDbReader.select_batch()
DataData.raw_data_filesData.rawData.summaryData.stepsData.meta_commonData.meta_test_dependentData.custom_infoData.raw_unitsData.raw_limitsData.loaded_fromData.active_electrode_areaData.cell_nameData.emptyData.has_dataData.has_stepsData.has_summaryData.loadingData.massData.materialData.nom_capData.populate_defaults()Data.raw_idData.start_datetimeData.tot_mass
FileIDInstrumentFactoryInstrumentFactory.buildersInstrumentFactory.create()InstrumentFactory.create_all()InstrumentFactory.get_registered_builder()InstrumentFactory.get_registered_builders()InstrumentFactory.get_registered_kwargs()InstrumentFactory.query()InstrumentFactory.register_builder()InstrumentFactory.unregister_builder()
PagesDictBasePagesDictBase.areaPagesDictBase.argumentPagesDictBase.cell_typePagesDictBase.cellpy_file_namePagesDictBase.commentPagesDictBase.experimentPagesDictBase.file_name_indicatorPagesDictBase.filenamePagesDictBase.fixedPagesDictBase.groupPagesDictBase.id_keyPagesDictBase.instrumentPagesDictBase.labelPagesDictBase.loadingPagesDictBase.massPagesDictBase.nom_capPagesDictBase.nom_cap_specificsPagesDictBase.raw_file_namesPagesDictBase.total_mass
PickleProtocolQ()check64bit()collect_capacity_curves()convert_from_simple_unit_label_to_string_unit_label()find_all_instruments()generate_default_factory()get_ureg()group_by_interpolate()humanize_bytes()identify_last_data_point()instrument_configurations()interpolate_y_on_x()interpolate_y_on_x_per_monotonic_segments()pickle_protocol()uregxldate_as_datetime()
- cellpy.readers.dbreader module
DbSheetColsReaderReader.extract_date_from_cell_name()Reader.filter_by_col()Reader.filter_by_col_value()Reader.filter_by_slurry()Reader.filter_selected()Reader.from_batch()Reader.get_all()Reader.get_area()Reader.get_areal_loading()Reader.get_args()Reader.get_by_column_label()Reader.get_cell_name()Reader.get_cell_type()Reader.get_comment()Reader.get_experiment_type()Reader.get_file_name_indicator()Reader.get_fileid()Reader.get_group()Reader.get_instrument()Reader.get_label()Reader.get_loading()Reader.get_mass()Reader.get_nom_cap()Reader.get_nom_cap_specifics()Reader.get_total_mass()Reader.inspect_exists()Reader.inspect_hd5f_fixed()Reader.intersect()Reader.pick_table()Reader.print_serial_number_info()Reader.select_all()Reader.select_batch()Reader.select_serial_number_row()Reader.subtract()Reader.subtract_many()Reader.union()
- cellpy.readers.do module
- cellpy.readers.filefinder module
- cellpy.readers.sql_dbreader module
BaseBatchCellCell.active_material_mass_fractionCell.areaCell.argumentCell.batchesCell.cell_designCell.cell_existsCell.cell_groupCell.cell_typeCell.cellpy_file_nameCell.channelCell.comment_cellCell.comment_generalCell.comment_historyCell.comment_slurryCell.electrolyteCell.experiment_typeCell.formationCell.frozenCell.inactive_additive_massCell.instrumentCell.labelCell.loading_activeCell.mass_activeCell.mass_totalCell.material_classCell.material_group_labelCell.material_labelCell.material_pre_processingCell.material_solventCell.material_sub_labelCell.material_surface_processingCell.nameCell.nominal_capacityCell.pasting_thicknessCell.pkCell.projectCell.raw_dataCell.scheduleCell.selectedCell.separatorCell.solvent_solid_ratioCell.temperatureCell.test_date
RawDataSQLReaderSQLReader.add_batch_object()SQLReader.add_cell_object()SQLReader.add_raw_data_object()SQLReader.create_db()SQLReader.extract_date_from_cell_name()SQLReader.from_batch()SQLReader.get_area()SQLReader.get_args()SQLReader.get_by_column_label()SQLReader.get_cell_name()SQLReader.get_cell_type()SQLReader.get_comment()SQLReader.get_experiment_type()SQLReader.get_group()SQLReader.get_instrument()SQLReader.get_label()SQLReader.get_loading()SQLReader.get_mass()SQLReader.get_nom_cap()SQLReader.get_total_mass()SQLReader.import_cells_from_excel_sqlite()SQLReader.inspect_hd5f_fixed()SQLReader.load_excel_sqlite()SQLReader.open_db()SQLReader.select_batch()SQLReader.view_old_excel_sqlite_table_columns()
- Module contents
- Subpackages
- cellpy.utils package
- Subpackages
- cellpy.utils.batch_tools package
- Submodules
- cellpy.utils.batch_tools.batch_analyzers module
- cellpy.utils.batch_tools.batch_core module
- cellpy.utils.batch_tools.batch_experiments module
- cellpy.utils.batch_tools.batch_exporters module
- cellpy.utils.batch_tools.batch_helpers module
- cellpy.utils.batch_tools.batch_journals module
- cellpy.utils.batch_tools.batch_plotters module
- cellpy.utils.batch_tools.batch_reporters module
- cellpy.utils.batch_tools.dumpers module
- cellpy.utils.batch_tools.engines module
- cellpy.utils.batch_tools.sqlite_from_excel_db module
- Module contents
- cellpy.utils.batch_tools package
- Submodules
- cellpy.utils.batch module
BatchBatch.cell_namesBatch.cell_raw_headersBatch.cell_step_headersBatch.cell_summary_headersBatch.collect()Batch.combine_summaries()Batch.create_journal()Batch.drop()Batch.drop_cell()Batch.drop_cells()Batch.drop_cells_marked_bad()Batch.duplicate_cellpy_files()Batch.duplicate_journal()Batch.export_cellpy_files()Batch.export_journal()Batch.info_fileBatch.journalBatch.journal_nameBatch.labelsBatch.link()Batch.load()Batch.make_summaries()Batch.mark_as_bad()Batch.nameBatch.pagesBatch.paginate()Batch.plot()Batch.plot_summaries()Batch.recalc()Batch.remove_mark_as_bad()Batch.report()Batch.save()Batch.save_journal()Batch.show_pages()Batch.summariesBatch.summary_headersBatch.update()Batch.view
from_journal()from_journal2()init()init2()iterate_batches()load()load_journal()load_pages()naked()process_batch()
- cellpy.utils.collectors module
- cellpy.utils.diagnostics module
- cellpy.utils.easyplot module
EasyPlotEasyPlot.fill_input()EasyPlot.fix_cap_from_rc()EasyPlot.fix_cyclelife()EasyPlot.fix_dqdv()EasyPlot.fix_gc()EasyPlot.fix_gc_and_dqdv()EasyPlot.give_color()EasyPlot.give_fig()EasyPlot.handle_outpath()EasyPlot.plot()EasyPlot.plot_cap_from_rc()EasyPlot.plot_cyclelife()EasyPlot.plot_dQdV()EasyPlot.plot_gc()EasyPlot.plot_gc_and_dQdV()EasyPlot.save_fig()EasyPlot.set_arbin_sql_credentials()EasyPlot.verify_input()
get_effective_C_rates()get_effective_C_rates_and_caps()help()main()
- cellpy.utils.example_data module
ExampleDataExampleData.ARBINExampleData.AUX_MULTI_XExampleData.CELLPYExampleData.CUSTOMExampleData.CUSTOM_EXCELExampleData.CUSTOM_INSTRUMENTExampleData.LOCAL_INSTRUMENTExampleData.MACCOR_TXT_TYPE_ONEExampleData.MACCOR_TXT_TYPE_THREEExampleData.MACCOR_TXT_TYPE_TWOExampleData.NEWARE_CSVExampleData.OLD_CELLPYExampleData.PEC_CSVExampleData.RATE
arbin_file_path()arbin_multi_file_path()biologics_file_path()cellpy_file()cellpy_file_path()custom_file_path()custom_instrument_path()custom_xlsx_file_path()download_all_files()download_file()local_instrument_path()maccor_file_path()maccor_file_path_type_one()maccor_file_path_type_three()maccor_file_path_type_two()neware_file_path()old_cellpy_file_path()pec_file_path()rate_file()raw_file()
- cellpy.utils.helpers module
add_areal_capacity()add_c_rate()add_cv_step_columns()add_normalized_capacity()add_normalized_cycle_index()check_connection()collect_frames()concat_summaries()concatenate_summaries()create_group_names()create_rate_column()filter_cells()fix_group_names()load_and_save_resfile()make_new_cell()remove_first_cycles_from_summary()remove_last_cycles_from_summary()remove_outliers_from_summary_on_index()remove_outliers_from_summary_on_nn_distance()remove_outliers_from_summary_on_value()remove_outliers_from_summary_on_window()remove_outliers_from_summary_on_zscore()select_summary_based_on_rate()update_journal_cellpy_data_dir()yank_after()yank_before()yank_outliers()
- cellpy.utils.ica module
- cellpy.utils.live module
- cellpy.utils.ocv_rlx module
MultiCycleOcvFitMultiCycleOcvFit.create_colormap()MultiCycleOcvFit.cyclesMultiCycleOcvFit.find_zero()MultiCycleOcvFit.get_best_fit_data()MultiCycleOcvFit.get_best_fit_parameters()MultiCycleOcvFit.get_best_fit_parameters_grouped()MultiCycleOcvFit.get_best_fit_parameters_translated()MultiCycleOcvFit.get_best_fit_parameters_translated_grouped()MultiCycleOcvFit.get_fit_cycles()MultiCycleOcvFit.plot_summary()MultiCycleOcvFit.plot_summary_translated()MultiCycleOcvFit.run_fitting()MultiCycleOcvFit.set_cycles()MultiCycleOcvFit.set_data()MultiCycleOcvFit.summary_translated()
OcvFitOcvFit.dataOcvFit.timeOcvFit.voltageOcvFit.stepsOcvFit.circuitsOcvFit.weightsOcvFit.zero_currentOcvFit.zero_voltageOcvFit.modelOcvFit.paramsOcvFit.resultOcvFit.best_fit_dataOcvFit.best_fit_parametersOcvFit.create_model()OcvFit.fit_model()OcvFit.get_best_fit_data()OcvFit.get_best_fit_parameters()OcvFit.get_best_fit_parameters_translated()OcvFit.get_result()OcvFit.reset_weights()OcvFit.run_fit()OcvFit.set_cellpydata()OcvFit.set_circuits()OcvFit.set_data()OcvFit.set_weights()OcvFit.set_weights_power_law()OcvFit.set_zero_current()OcvFit.set_zero_voltage()
fit()select_ocv_points()
- cellpy.utils.plotutils module
- cellpy.utils.processor module
- Module contents
- Subpackages
Submodules#
cellpy.cli module#
cellpy.exceptions module#
Exceptions defined within cellpy
- exception ConfigFileNotWritten[source]#
Bases:
ErrorRaised when the configuration file cannot be written
- exception NullData[source]#
Bases:
ErrorRaised when required data is missing (e.g. voltage = None or summary_frames are missing)
cellpy.log module#
Set up logger instance
- setup_logging(default_level=None, default_json_path=None, env_key='LOG_CFG', custom_log_dir=None, reset_big_log=False, max_size=5000000, testing=False)[source]#
Setup logging configuration.
- Parameters:
default_level – default log-level to screen (std.out).
default_json_path – path to config file for setting up logging.
env_key (str) – use this environment prm to try to get default_json_path.
custom_log_dir – path for saving logs.
reset_big_log (bool) – reset log if too big (max_size).
max_size (int) – if reset_log, this is the max limit.
testing (bool) – set as True if testing, and you don’t want to create any .log files
Module contents#
- get(filename=None, instrument=None, instrument_file=None, cellpy_file=None, cycle_mode=None, mass: str | Number = None, nominal_capacity: str | Number = None, nom_cap_specifics=None, loading=None, area: str | Number = None, estimate_area=True, logging_mode=None, custom_log_dir=None, custom_log_config_path=None, auto_pick_cellpy_format=True, auto_summary=True, units=None, step_kwargs=None, summary_kwargs=None, selector=None, testing=False, refuse_copying=False, initialize=False, debug=False, **kwargs)[source]#
Create a CellpyCell object
- Parameters:
filename (str, os.PathLike, OtherPath, or list of raw-file names) – path to file(s) or data-set(s) to load.
instrument (str) – instrument to use (defaults to the one in your cellpy config file).
instrument_file (str or path) – yaml file for custom file type.
cellpy_file (str, os.PathLike, or OtherPath) – if both filename (a raw-file) and cellpy_file (a cellpy file) is provided, cellpy will try to check if the raw-file is has been updated since the creation of the cellpy-file and select this instead of the raw file if cellpy thinks they are similar (use with care!).
logging_mode (str) – “INFO” or “DEBUG”.
cycle_mode (str) – the cycle mode (e.g. “anode” or “full_cell”).
mass (float) – mass of active material (mg) (defaults to mass given in cellpy-file or 1.0).
nominal_capacity (float) – nominal capacity for the cell (e.g. used for finding C-rates).
nom_cap_specifics (str) – either “gravimetric” (pr mass), or “areal” (per area). (“volumetric” is not fully implemented yet - let us know if you need it).
loading (float) – loading in units [mass] / [area].
area (float) – active electrode area (e.g. used for finding the areal capacity).
estimate_area (bool) – calculate area from loading if given (defaults to True).
auto_pick_cellpy_format (bool) – decide if it is a cellpy-file based on suffix.
auto_summary (bool) – (re-) create summary.
units (dict) – update cellpy units (used after the file is loaded, e.g. when creating summary).
step_kwargs (dict) – sent to make_steps.
summary_kwargs (dict) – sent to make_summary.
selector (dict) – passed to load (when loading cellpy-files).
testing (bool) – set to True if testing (will for example prevent making .log files)
refuse_copying (bool) – set to True if you do not want to copy the raw-file before loading.
initialize (bool) – set to True if you want to initialize the CellpyCell object (probably only useful if you want to return a cellpy-file with no data in it).
debug (bool) – set to True if you want to debug the loader.
**kwargs – sent to the loader.
- Transferred Parameters:
model (str) – model to use (only for loaders that supports models).
bad_steps (list of tuples) – (c, s) tuples of steps s (in cycle c) to skip loading (“arbin_res”).
dataset_number (int) – the data set number (‘Test-ID’) to select if you are dealing with arbin files with more than one data-set. Defaults to selecting all data-sets and merging them (“arbin_res”).
data_points (tuple of ints) – load only data from data_point[0] to data_point[1] (use None for infinite) (“arbin_res”).
increment_cycle_index (bool) – increment the cycle index if merging several datasets (default True)
(“arbin_res”).
sep (str) – separator used in the file (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
skip_rows (int) – number of rows to skip in the beginning of the file (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
header (int) – row number of the header (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
encoding (str) – encoding of the file (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
decimal (str) – decimal separator (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
thousand (str) – thousand separator (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
pre_processor_hook (callable) – pre-processors to use (“maccor_txt”, “neware_txt”, “local_instrument”, “custom”).
bad_steps (list) – separator used in the file (not implemented yet) (“pec_csv”).
- Returns:
CellpyCell object (if successful, None if not).
Examples
>>> # read an arbin .res file and create a cellpy object with >>> # populated summary and step-table: >>> c = cellpy.get("my_data.res", instrument="arbin_res", mass=1.14, area=2.12, loading=1.2, nom_cap=155.2) >>> >>> # load a cellpy-file: >>> c = cellpy.get("my_cellpy_file.clp") >>> >>> # load a txt-file exported from Maccor: >>> c = cellpy.get("my_data.txt", instrument="maccor_txt", model="one") >>> >>> # load a raw-file if it is newer than the corresponding cellpy-file, >>> # if not, load the cellpy-file: >>> c = cellpy.get("my_data.res", cellpy_file="my_data.clp") >>> >>> # load a file with a custom file-description: >>> c = cellpy.get("my_file.csv", instrument_file="my_instrument.yaml") >>> >>> # load three subsequent raw-files (of one cell) and merge them: >>> c = cellpy.get(["my_data_01.res", "my_data_02.res", "my_data_03.res"]) >>> >>> # load a data set and get the summary charge and discharge capacities >>> # in Ah/g: >>> c = cellpy.get("my_data.res", units=dict(capacity="Ah")) >>> >>> # get an empty CellpyCell instance: >>> c = cellpy.get() # or c = cellpy.get(initialize=True) if you want to initialize it.
- init()#
Initializes cellpy by reading the config file and the environment file