galvani
Read proprietary file formats from electrochemical test stations.
Usage
Bio-Logic .mpr files
Use the MPRfile class from BioLogic.py (exported in the main package)
from galvani import BioLogic
import pandas as pd
mpr_file = BioLogic.MPRfile('test.mpr')
df = pd.DataFrame(mpr_file.data)
Arbin .res files
Use the ./galvani/res2sqlite.py script to convert the .res file to a sqlite3 database with the same schema, which can then be interrogated with external tools or directly in Python.
For example, to extract the data into a pandas DataFrame (will need to be installed separately):
import sqlite3
import pandas as pd
from galvani.res2sqlite import convert_arbin_to_sqlite
convert_arbin_to_sqlite("input.res", "output.sqlite")
with sqlite3.connect("output.sqlite") as db:
df = pd.read_sql(sql="select * from Channel_Normal_Table", con=db)
This functionality requires MDBTools to be installed on the local system.
Installation
The EIS Fitting maintained fork is published as eisyfit-galvani; the Python
import package remains galvani.
The latest galvani releases can be installed from PyPI via
pip install galvani
The latest development version can be installed with pip directly from GitHub:
pip install git+https://codeberg.org/echemdata/galvani
Development installation and contributing
If you wish to contribute to galvani, please clone the repository and install the testing dependencies:
git clone git@codeberg.org:echemdata/galvani
cd galvani
pip install -e .\[tests\]
Code can be contributed back via pull requests and new features or bugs can be discussed in the issue tracker.
Metadata
Release files for eisyfit-galvani 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eisyfit_galvani-0.5.1.tar.gz | 42.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eisyfit_galvani-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.1 kB
Release files / eisyfit_galvani-0.5.1.tar.gz
| Download URL | eisyfit_galvani-0.5.1.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ee585639bd12c310959517e8321d606ede930d602deb9242ff548467f3b084
|
|
BLAKE2b-256 checksum How to use checksums |
deabb7debe11c10623248abc32fa98817f4612bc69b3197d321cbb5c1105c0af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / eisyfit_galvani-0.5.1-py3-none-any.whl
| Download URL | eisyfit_galvani-0.5.1-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93acaf3509fc1ed1e2d0834ec1f7e7f5db8e88469a8771f174360f86e4bf8acd
|
|
BLAKE2b-256 checksum How to use checksums |
fe71847912995730678a5378b55fc1c4326b913ad976dace9a3e237fc05455de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|