READ_ABF - read from an Axon Instruments ABF file
[DATA] = READ_ABF(FILENAME, HEADER, CHANNEL_TYPE, CHANNEL_NUMBERS, T0, T1)
Reads data from an Axon Instruments ABF file
Inputs:
FILENAME - the filename to read
HEADER - the header data for the file; if empty, it will be read
CHANNEL_TYPE - the type of channel to read. It can be
'ai' - analog input
'time' - time
CHANNEL_NUMBERS - an array of channel numbers to read (e.g., [1 2 3])
T0 - time to begin reading; can be -Inf to indicate the beginning of the record
T1 - time to end reading; can be Inf to indicate the end of the record