From 2a75b3bb198a940484016d3af95af2c010ad798f Mon Sep 17 00:00:00 2001 From: Peter Attia Date: Thu, 8 Oct 2020 09:12:38 -0700 Subject: [PATCH] Update README.md Show quick example of how to use --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c31ed89..d3f2eaf 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,14 @@ Read proprietary file formats from electrochemical test stations 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 res2sqlite.py script to convert the .res file to a sqlite3 database