Example #1
0
    def __init__(self, fname, electrodes=None, overwrite=False):
        GenericSource.__init__(self, "", overwrite)

        root, ext = os.path.splitext(fname)
        ext = ext.lower()
        if ext == ".abf":
            self.io_filter = AxonFilter(fname, electrodes)
        else:
            raise IOError, "Format {0} not recognised".format(ext)
        self.read_sp = self.io_filter.read_sp
        self.write_sp = self.io_filter.write_sp
        self.write_spt = self.io_filter.write_spt
Example #2
0
    def __init__(self, fname, electrodes=None, overwrite=False):
        GenericSource.__init__(self, '', overwrite)

        root, ext = os.path.splitext(fname)
        ext = ext.lower()
        if ext == '.abf':
            self.io_filter = AxonFilter(fname, electrodes)
        else:
            raise IOError, "Format {0} not recognised".format(ext)
        self.read_sp = self.io_filter.read_sp
        self.write_sp = self.io_filter.write_sp
        self.write_spt = self.io_filter.write_spt
Example #3
0
 def __init__(self, fname, electrodes=None, overwrite=False):
     GenericSource.__init__(self, '', overwrite)
     ABFFilter.__init__(self, fname, electrodes)
Example #4
0
 def __init__(self, fname, electrodes=None, overwrite=False):
     GenericSource.__init__(self, '', overwrite)
     ABFFilter.__init__(self, fname, electrodes)