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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eisyfit_galvani-0.5.0.tar.gz.
File metadata
- Download URL: eisyfit_galvani-0.5.0.tar.gz
- Upload date:
- Size: 41.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a2a5c05fd9f328eb68cf707520133d412414955d93f3909f0c1fe380247723
|
|
| MD5 |
24c5d090d4e747f59bb44f0af1bf865a
|
|
| BLAKE2b-256 |
abfa2e53e755d1dd85c308ec66b56620fd6b6e3afcab3b03d379d4ecd67b2a43
|
File details
Details for the file eisyfit_galvani-0.5.0-py3-none-any.whl.
File metadata
- Download URL: eisyfit_galvani-0.5.0-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519e539e440245d4df0a47347caf10a4e63ca31a883a8b045fd0534ad56c887e
|
|
| MD5 |
52ab39e3cdb092b549bd5ab250d57443
|
|
| BLAKE2b-256 |
f012d7b9b2ca5a0b2fa3a6d8b4ad46d046d18310256a2ead24c7d2127157d150
|