Merge pull request #52 from petermattia/patch-2

Add usage example to README
This commit is contained in:
chris authored and GitHub committed 2020-10-11 16:08:46 +03:00
commit f0c3c6f6c5
1 file changed
+8
+8
View File
@@ -7,6 +7,14 @@ Read proprietary file formats from electrochemical test stations
Use the `MPRfile` class from BioLogic.py (exported in the main package) 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 ## ## Arbin .res files ##
Use the res2sqlite.py script to convert the .res file to a sqlite3 database Use the res2sqlite.py script to convert the .res file to a sqlite3 database