Python library for reading files in Axon Binary Format (ABF)


Keywords
abf, electrophysiology, hacktoberfest, hacktoberfest2022, neuron, neuroscience, physiology
License
MIT
Install
pip install pyabf==2.3.8

Documentation

pyABF

CI Website Downloads Downloads

pyabf is a Python library for reading electrophysiology data from Axon Binary Format (ABF) files. It was created with the goal of providing a Pythonic API to access the content of ABF files which is so intuitive to use (with a predictive IDE) that documentation is largely unnecessary. Flip through the pyabf Tutorial and you'll be analyzing data from your ABF files in minutes!

Installation

pip install --upgrade pyabf

Quickstart

import pyabf
abf = pyabf.ABF("demo.abf")
abf.setSweep(3)
print(abf.sweepY) # displays sweep data (ADC)
print(abf.sweepX) # displays sweep times (seconds)
print(abf.sweepC) # displays command waveform (DAC)

Supported Python Versions

The latest version of pyABF runs on all currently supported Python versions.

Users who wish to run pyABF on older versions of python may do so by installing older pyABF packages available on the Release History Page on PyPi. Additional information is available on the pyABF Release History Page on GitHub. Note that pyabf 2.1.10 was the last version to support both Python 2.7 and Python 3.5.

Resources