Index
B D E F H L M R W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
B
- BinaryTimeseries - Class in de.labathome
-
This is a class to save evenly-sampled time series data in a very simple and easy-to-read format.
- BinaryTimeseries() - Constructor for class de.labathome.BinaryTimeseries
- buildTimebase(double[], double, double) - Static method in class de.labathome.BinaryTimeseries
-
Compute the timebase values for a given t_0 and Delta_t.
- buildTimebase(int, double[], int, int, double, double) - Static method in class de.labathome.BinaryTimeseries
-
Compute the timebase values for a given t_0 and Delta_t.
- buildTimebase(int, long[], int, int, long, long) - Static method in class de.labathome.BinaryTimeseries
-
Compute the timebase values for a given t_0 and Delta_t.
- buildTimebase(long[], long, long) - Static method in class de.labathome.BinaryTimeseries
-
Compute the timebase values for a given t_0 and Delta_t.
D
- de.labathome - package de.labathome
- DTYPE_BYTE - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
bytedatatype. - DTYPE_DOUBLE - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
doubledatatype. - DTYPE_FLOAT - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
floatdatatype. - DTYPE_INT - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
intdatatype. - DTYPE_LONG - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
longdatatype. - DTYPE_NONE - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value used to indicate that no raw data scaling is used.
- DTYPE_SHORT - Static variable in class de.labathome.BinaryTimeseries
-
Identifier value for
shortdatatype. - dtypeStr(byte) - Static method in class de.labathome.BinaryTimeseries
-
Get a human-readable identification string for a given data type.
E
- Example1() - Static method in class examples.Examples
-
In this example, a synthetic sine signal is computed and saved to a BinaryTimeseries file, java.io.tmpdir/example1.bts .
- Example2() - Static method in class examples.Examples
-
In this example, a synthetic sine signal is computed and saved to a BinaryTimeseries file, java.io.tmpdir/example2.bts .
- examples - package examples
- Examples - Class in examples
-
This class is supposed to serve as an entry point into using BinaryTimeseries to store your time series data.
- Examples() - Constructor for class examples.Examples
- explainHeader(byte[]) - Static method in class de.labathome.BinaryTimeseries
-
Given 64 header bytes, generate a human-readable explanation similar to Tab.
F
- fileOffset(int, int) - Static method in class de.labathome.BinaryTimeseries
-
Compute the file offset (and buffer size when reading the file) in bytes given the size of the contained raw data type and the number of samples/index.
- firstIndexInside(double, double, double) - Static method in class de.labathome.BinaryTimeseries
-
Given a timebase (t0, dt), compute the first index of timestamps inside the given time interval [
t_l,t_u]. - firstIndexInside(long, long, long) - Static method in class de.labathome.BinaryTimeseries
-
Given a timebase (t0, dt), compute the first index of timestamps inside the given time interval [
t_l,t_u].
H
- hasScaling(byte) - Static method in class de.labathome.BinaryTimeseries
-
Check the given dtype byte to see if the given file has a value scaling or not.
L
- lastIndexInside(double, double, double) - Static method in class de.labathome.BinaryTimeseries
-
Given a timebase (t0, dt), compute the first index of timestamps inside the given time interval [
t_l,t_u]. - lastIndexInside(long, long, long) - Static method in class de.labathome.BinaryTimeseries
-
Given a timebase (t0, dt), compute the first index of timestamps inside the given time interval [
t_l,t_u].
M
- main(String[]) - Static method in class examples.Examples
R
- readData_byte(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
byte[]array. - readData_byte(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
byte[]array. - readData_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
double[]array. - readData_double(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
double[]array. - readData_float(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
float[]array. - readData_float(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
float[]array. - readData_int(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
int[]array. - readData_int(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
int[]array. - readData_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
long[]array. - readData_long(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
long[]array. - readData_short(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
short[]array. - readData_short(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling parameters, the reserved (dummy) area, the raw data type and number of samples and the raw data; scale the raw data according to the (possibly present) scaling parameters and put the resulting samples into a
short[]array. - readDataType(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data type from the given
sourcebuffer. - readEndianessOk(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the first
shortvalue from thesourcebuffer and check if it was correctly read as 1. - readHeader(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the 64 byte header from the given source buffer.
- readNumSamples(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the number of samples from the given
sourcebuffer. - readRawData(ByteBuffer, byte[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readRawData(ByteBuffer, double[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readRawData(ByteBuffer, float[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readRawData(ByteBuffer, int[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readRawData(ByteBuffer, long[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readRawData(ByteBuffer, short[], int, int) - Static method in class de.labathome.BinaryTimeseries
-
Read the raw data from the given
sourcebuffer and put them into a giventargetarray at an offset specified bytargetOffset. - readReservedDummy(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Proceed with reading from the given
sourcebuffer over the bytes reserved in the header. - readScalingDisabled(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Proceed with reading from the given
sourcebuffer over the bytes reserved in the header for optional scaling parameters. - readScalingFactor_byte(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer asbyteand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingFactor_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer asdouble. - readScalingFactor_float(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer asfloatand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingFactor_int(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer asintand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingFactor_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer aslong. - readScalingFactor_short(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling factor from the given
sourcebuffer asshortand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingOffset_byte(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer asbyteand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingOffset_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer asdouble. - readScalingOffset_float(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer asfloatand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingOffset_int(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer asintand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingOffset_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer aslong. - readScalingOffset_short(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling offset from the given
sourcebuffer asshortand proceed reading until a total of 8 bytes has been read to stay aligned with the defined file structure. - readScalingType(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the scaling data type from the given
sourcebuffer. - readTimeDt_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the time interval between two consecutive samples Delta_t from the given
sourcebuffer. - readTimeDt_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the time interval between two consecutive samples Delta_t from the given
sourcebuffer. - readTimeT0_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the reference timestamp t_0 from the given
sourcebuffer. - readTimeT0_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the reference timestamp t_0 from the given
sourcebuffer. - readTimeType(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Read the timestamp data type from the
sourcebuffer.
W
- write(ByteBuffer, Object, Object, Object) - Static method in class de.labathome.BinaryTimeseries
-
Create a BinaryTimeseries with the timebase parameters
t0anddtand the unscaledrawData. - write(ByteBuffer, Object, Object, Object, Object, Object) - Static method in class de.labathome.BinaryTimeseries
-
Create a BinaryTimeseries with the timebase parameters
t0anddtand the unscaledrawDataand the scaling parametersscalingOffsetandscalingFactor. - writeData(ByteBuffer, byte[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeData(ByteBuffer, double[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeData(ByteBuffer, float[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeData(ByteBuffer, int[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeData(ByteBuffer, long[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeData(ByteBuffer, short[]) - Static method in class de.labathome.BinaryTimeseries
-
Write the raw data values into the
targetbuffer. - writeEndianessCheckValue(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Write a 1 as
shortto thetargetfile. - writeReservedDummy(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Write zeros for the reserved area in the header.
- writeScaling(ByteBuffer, byte, byte) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScaling(ByteBuffer, double, double) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScaling(ByteBuffer, float, float) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScaling(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScaling(ByteBuffer, long, long) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScaling(ByteBuffer, short, short) - Static method in class de.labathome.BinaryTimeseries
-
Write the scaling parameters o and s into the
targetbuffer. - writeScalingDisabled(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
-
Write the identifier value into the
targetbuffer that tells the reader that no scaling is available. - writeTimebase(ByteBuffer, double, double) - Static method in class de.labathome.BinaryTimeseries
-
Write the timebase parameters t0 and dt to the
targetbuffer. - writeTimebase(ByteBuffer, long, long) - Static method in class de.labathome.BinaryTimeseries
-
Write the timebase parameters t0 and dt to the
targetbuffer.
All Classes|All Packages