Add Intan CLAMP files to stfio interface

parent f7a9a64d
......@@ -76,6 +76,8 @@ stfio::filetype gettype(const std::string& ftype) {
stftype = stfio::igor;
} else if (ftype == "tdms") {
stftype = stfio::tdms;
} else if (ftype == "intan") {
stftype = stfio::intan;
} else {
stftype = stfio::none;
}
......
......@@ -431,7 +431,8 @@ filetype = {
'.abf':'abf',
'.atf':'atf',
'.axgd':'axg',
'.axgx':'axg'}
'.axgx':'axg',
'.clp':'intan'}
def read(fname, ftype=None, verbose=False):
"""Reads a file and returns a Recording object.
......@@ -446,6 +447,7 @@ def read(fname, ftype=None, verbose=False):
"atf" - Axon text file
"axg" - Axograph X binary file
"heka" - HEKA binary file
"intan" - INTAN clamp binary file
if ftype is None (default), it will be guessed from the
extension.
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment