Skip to content
Snippets Groups Projects
Commit 201ec87f authored by Lannoy, Carlos de's avatar Lannoy, Carlos de
Browse files

start abf reading functionality

parent b2ff940a
No related branches found
No related tags found
No related merge requests found
import pyabf
class AbfData:
"""Class for squiggle data extracted from an axon binary file
"""
def __init__(self, abf_fn, normalization, lowpass_freq):
self.abf_fn = abf_fn
self.normalization = normalization
self.lowpass_freq = lowpass_freq
self.raw = None
@property
def raw(self):
return self._raw
@raw.setter
def raw(self, _):
with pyabf.ABF(self.abf_fn) as fh:
self._raw = fh.sweepY
# self.time = fh.sweepX
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment