echemdata / galvani

Read proprietary file formats from electrochemical test stations
GNU General Public License v3.0
48 stars 30 forks source link

parse file header #82

Open ilka-schulz opened 1 year ago

ilka-schulz commented 1 year ago

When converting an mpr file to an mpt file, there is a lot of header information, e.g.:

example MPT file header ```text EC-Lab ASCII FILE Nb header lines : 191 Galvano Electrochemical Impedance Spectroscopy Run on channel : 1 (SN 36210) User : CE vs. WE compliance from -10 V to 10 V Electrode connection : standard Ewe ctrl range : min = -10.00 V, max = 10.00 V Safety Limits : Ewe min = -0.50 V Ewe max = 2.80 V for t > 10 ms Do not start on E overload Acquisition started on : 08/11/2021 16:03:59.530 Loaded Setting File : C:\BT-Lab\Daten\PT\Gedruckte Ti PTLs\Ui-Kennlinie.mps Saved on : File : 210811_N115_T80_p1_Probe11_02_GEIS_C01.mpr Directory : C:\EC-Lab\PT\gedruckte PTLs\ Host : 130.75.205.160 Device : SP-150 (SN 1235) Address : USB EC-Lab for windows v11.36 (software) Internet server v11.36 (firmware) Command interpretor v11.36 (firmware) Electrode material : Initial state : Electrolyte : Comments : Current amplifier : SP-150B-20A Electrode surface area : 0.001 cm� Characteristic mass : 0.001 g Equivalent Weight : 0.000 g/eq. Density : 0.000 g/cm3 Cycle Definition : Charge/Discharge alternance ```

It would be really useful if this project could read these information from mpr files. Specifically, I really need the experiment method (Galvano Electrochemical Impedance Spectroscopy in the above example`).

ilka-schulz commented 1 year ago

I will try to solve this myself first. I might have an idea...