Skip to content

Neures-1158/labchart_txt_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LabChart Parser

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 .txt

Export from labchart as follows:

LabChart screenshot showing signal export dialog

Before exporting in LabChart, make sure time is displayed as "Start from Block"

Installation

Prerequisites: Python ≥3.8, pip ≥21, and git must be installed.

For users

Install directly from GitHub:

pip install git+https://github.com/Neures-1158/labchart_txt_parser.git

For developers

Clone 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 .

Usage

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

Test data is provided in the repository in the examples/data folder.

Contributors & Maintainers

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.

License

✨ MIT License. See the LICENSE file for details.

About

Python package for parsing .txt exported labchart files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages