abfload icon indicating copy to clipboard operation
abfload copied to clipboard

abfwrite

Open dervinism opened this issue 3 years ago • 5 comments

Is there an abfwrite equivalent for matlab?

dervinism avatar Sep 17 '21 15:09 dervinism

not that i'm aware of... when i wrote stimulus files I used a text format to import into pclamp.

fcollman avatar Sep 17 '21 15:09 fcollman

For what it's worth it may be pretty simple to implement an ABF file writer.

pyABF does this by writing ABF1 files - they have an extremely simple header and are easily loaded by clampex/clampfit and older analysis software like MiniAnalysis

https://github.com/swharden/pyABF/blob/master/src/pyabf/abfWriter.py

swharden avatar Sep 17 '21 16:09 swharden

Ok, thanks for the link. Will try to make a matlab version at some point.

dervinism avatar Sep 17 '21 16:09 dervinism

Hi. Just had some time write a code for saving version 1.3 ABF files both in Python and Matlab. These functions save data matrix rows as separate channels rather than sweeps. https://github.com/dervinism/abfUtilities

dervinism avatar Jan 16 '22 15:01 dervinism

awesome! we'll leave this issue open so that others can find your code.

fcollman avatar Jan 17 '22 04:01 fcollman