API reference¶
The package has five modules. Import a function from its module, because the package root does not contain the functions.
| Module | Purpose | Functions |
|---|---|---|
circuit_main |
Impedance of a circuit, model functions for the optimizer | compute_impedance, Z_curve_fit, Z_gen |
data_extraction |
Find, read, stack, trim and split data | get_eis_files, parse_NEISYS_data, readNEISYS, readTXT, readCSV, stack_NEISYS_files, stack_TXT_files, stack_CSV_files, trim_data, split_array |
EISFit_main |
Simulation, fit of one spectrum, reports, plots, Arrhenius analysis, modulus | logf_gen, predict_Z, EISFit, bootstrap_fit, circuit_components, fit_report, nyquistPlot, bodePlot, plot_fit, full_EIS_report, EA, modulus_plot |
EIS_Batchfit |
Fit of a list of spectra, stacked plot, conductivity, effective capacitance | Batch_fit, Batch_bootstrap, Nyq_stack_plot, plot_arrhenius, C_eff |
singlechi |
Global-local fit of a series of spectra | flatten_params, Single_chi, format_circuit_output, Single_chi_report, Single_chi_bootstrap, generate_plots |
Version number¶
Conventions¶
- Frequencies are in hertz.
- Impedance arrays are complex NumPy arrays in ohms.
- Circuit parameters have the order of the circuit string, from left to right (see Circuit models).
- Temperatures are in degrees Celsius or in kelvin. Each function description gives the unit.
axandaxesare Matplotlib axes that you create.- Generated files lists the files that each function writes.