This repository contains two script to validate and fit impedance spectroscopy data.
Validation of the data is made using the voigt_fitting.m
script. Note that it require the output of the script rnd_par_gen.m
to work. The fitting procedure itself use the CNLF_porous_electrode.m
.
For the theory behind the theoretical model used refer to my thesis manuscript.
Make sure to have overwritten your correct data path and names. Create also a folder called "par" in the same directory of the script to store all result of the fitting (parameters value) in txt files.
Residues of the fitting procedure:
Residue of the fitting: