Parser for ADInstruments LabChart text exports (.txt files).
Converts exported LabChart data into a pandas DataFrame with blocks, time, and comments.
Export from labchart as follows:
Before exporting in LabChart, make sure time is displayed as "Start from Block"
Prerequisites: Python ≥3.8, pip ≥21, and git must be installed.
Install directly from GitHub:
pip install git+https://github.com/Neures-1158/labchart_txt_parser.gitClone this repository and install in editable mode:
git clone https://github.com/Neures-1158/labchart_txt_parser.git
cd labchart_txt_parser
pip install -e .See the examples/example_usage.py script and notebook for a complete demonstration of:
- Loading a LabChart text file.
- Accessing metadata, blocks, and channel names.
- Plotting signals
See https://github.com/Neures-1158/resp_metrics for breath by breath analysis.
Test data is provided in the repository in the examples/data folder.
This project is maintained under the NEURES GitHub organization.
Contributions from lab members, collaborators, and the wider community are very welcome. Please feel free to contribute by submitting issues or pull requests on GitHub.
✨ MIT License. See the LICENSE file for details.
