|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ABF_parser
A generic .abf file parser interface.
Field Summary | |
---|---|
static int |
ADCNAMELEN
|
static int |
ADCUNITLEN
|
static int |
CACHE_BYTE_SIZE
|
static int |
CHAR
|
static int |
FLOAT
|
static int |
LONG
|
static int |
LONGLONG
|
static int |
SHORT
|
Method Summary | |
---|---|
float |
getABFVersion()
|
long |
getAbsoluteTime(long row)
Returns the absolute time for the sample row in milliseconds""" |
double[] |
getChannelData(int channel)
Returns a list of the whole channel"s data.""" |
double[] |
getChannelData(int channel,
double lowerBound,
double upperBound,
int decimate)
|
double[] |
getChannelData(int channel,
int decimate)
|
double[] |
getChannelDataByEpoch(Epoch epoch,
int channel,
int decimate)
|
int[] |
getChannelIndices()
Returns a list of the channel indices, which is simply the order in which the channels appear in the file.""" |
java.lang.String[] |
getChannelNames()
|
int[] |
getChannelNumbers()
|
java.lang.String[] |
getChannelUnits()
|
Comments |
getComments(Epoch epoch,
java.lang.String filename)
|
Comments |
getComments(java.lang.String filename)
|
double |
getData(long row,
int ch)
"""Returns a specific data value at a time point in a specific channel.""" |
java.lang.String |
getDataFormat()
|
java.util.Vector |
getEpochsByCommentPattern(java.lang.String commentPattern)
|
long |
getExperimentDuration()
Returns the duration of the experiment in milliseconds""" |
Epoch |
getNextEpoch(int epochChannel)
|
int |
getNumberOfActualEpisodes()
|
int |
getNumberOfADC()
|
int |
getNumberOfEpisodes()
|
long |
getNumberOfRows()
"""Returns the number of sample rows.""" |
long |
getNumberOfSamplesPerEpisode()
|
java.lang.String |
getOperationMode()
|
Epoch |
getPreviousEpoch(int epochChannel)
|
long |
getRelativeTime(long row)
Returns the time relative to the start of the experiment in milliseconds""" |
double[] |
getRow(long row)
|
long |
getRowNumberByAbsoluteTime(double time)
"""Returns the row number for the absolute time (assuming ms).""" |
long |
getRowNumberByRelativeTime(double time)
"""Returns the row number for the relative time (assuming ms).""" |
double |
getSamplingRate()
|
short |
getSizeOfNumberInBytes()
Returns 2 for integers && 4 for floating point, depending on the data format.""" |
long |
getStartTime()
Returns the start of the file in milliseconds""" |
Tag[] |
getTags()
|
void |
resetCursor()
|
void |
setABFVersion(float newVersion)
|
void |
setCurrentRow(int currentRow2)
|
Field Detail |
---|
static final int CHAR
static final int SHORT
static final int FLOAT
static final int LONG
static final int LONGLONG
static final int ADCNAMELEN
static final int ADCUNITLEN
static final int CACHE_BYTE_SIZE
Method Detail |
---|
float getABFVersion()
void setABFVersion(float newVersion)
double getSamplingRate()
void setCurrentRow(int currentRow2)
Epoch getPreviousEpoch(int epochChannel)
Epoch getNextEpoch(int epochChannel)
Comments getComments(java.lang.String filename)
Comments getComments(Epoch epoch, java.lang.String filename)
java.util.Vector getEpochsByCommentPattern(java.lang.String commentPattern)
int getNumberOfEpisodes()
int getNumberOfActualEpisodes()
short getSizeOfNumberInBytes()
int getNumberOfADC()
java.lang.String getOperationMode()
java.lang.String getDataFormat()
long getStartTime()
Tag[] getTags() throws java.io.IOException
java.io.IOException
long getNumberOfSamplesPerEpisode()
long getExperimentDuration()
java.lang.String[] getChannelNames() throws java.io.IOException
java.io.IOException
java.lang.String[] getChannelUnits() throws java.io.IOException
java.io.IOException
int[] getChannelNumbers() throws java.io.IOException
java.io.IOException
int[] getChannelIndices()
long getAbsoluteTime(long row)
long getRelativeTime(long row)
double[] getChannelDataByEpoch(Epoch epoch, int channel, int decimate) throws java.io.IOException
java.io.IOException
double[] getChannelData(int channel) throws java.io.IOException
java.io.IOException
double[] getChannelData(int channel, int decimate) throws java.io.IOException
java.io.IOException
double[] getChannelData(int channel, double lowerBound, double upperBound, int decimate) throws java.io.IOException
java.io.IOException
double[] getRow(long row) throws java.io.IOException
java.io.IOException
long getNumberOfRows()
long getRowNumberByAbsoluteTime(double time)
long getRowNumberByRelativeTime(double time)
double getData(long row, int ch) throws java.io.IOException
java.io.IOException
void resetCursor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |