Index

B D E F H L M R W 
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 byte datatype.
DTYPE_DOUBLE - Static variable in class de.labathome.BinaryTimeseries
Identifier value for double datatype.
DTYPE_FLOAT - Static variable in class de.labathome.BinaryTimeseries
Identifier value for float datatype.
DTYPE_INT - Static variable in class de.labathome.BinaryTimeseries
Identifier value for int datatype.
DTYPE_LONG - Static variable in class de.labathome.BinaryTimeseries
Identifier value for long datatype.
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 short datatype.
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 source buffer.
readEndianessOk(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the first short value from the source buffer 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 source buffer.
readRawData(ByteBuffer, byte[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readRawData(ByteBuffer, double[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readRawData(ByteBuffer, float[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readRawData(ByteBuffer, int[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readRawData(ByteBuffer, long[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readRawData(ByteBuffer, short[], int, int) - Static method in class de.labathome.BinaryTimeseries
Read the raw data from the given source buffer and put them into a given target array at an offset specified by targetOffset.
readReservedDummy(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Proceed with reading from the given source buffer over the bytes reserved in the header.
readScalingDisabled(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Proceed with reading from the given source buffer 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 source buffer as byte and 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 source buffer as double.
readScalingFactor_float(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the scaling factor from the given source buffer as float and 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 source buffer as int and 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 source buffer as long.
readScalingFactor_short(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the scaling factor from the given source buffer as short and 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 source buffer as byte and 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 source buffer as double.
readScalingOffset_float(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the scaling offset from the given source buffer as float and 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 source buffer as int and 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 source buffer as long.
readScalingOffset_short(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the scaling offset from the given source buffer as short and 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 source buffer.
readTimeDt_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the time interval between two consecutive samples Delta_t from the given source buffer.
readTimeDt_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the time interval between two consecutive samples Delta_t from the given source buffer.
readTimeT0_double(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the reference timestamp t_0 from the given source buffer.
readTimeT0_long(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the reference timestamp t_0 from the given source buffer.
readTimeType(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Read the timestamp data type from the source buffer.

W

write(ByteBuffer, Object, Object, Object) - Static method in class de.labathome.BinaryTimeseries
Create a BinaryTimeseries with the timebase parameters t0 and dt and the unscaled rawData.
write(ByteBuffer, Object, Object, Object, Object, Object) - Static method in class de.labathome.BinaryTimeseries
Create a BinaryTimeseries with the timebase parameters t0 and dt and the unscaled rawData and the scaling parameters scalingOffset and scalingFactor.
writeData(ByteBuffer, byte[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeData(ByteBuffer, double[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeData(ByteBuffer, float[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeData(ByteBuffer, int[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeData(ByteBuffer, long[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeData(ByteBuffer, short[]) - Static method in class de.labathome.BinaryTimeseries
Write the raw data values into the target buffer.
writeEndianessCheckValue(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Write a 1 as short to the target file.
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 target buffer.
writeScaling(ByteBuffer, double, double) - Static method in class de.labathome.BinaryTimeseries
Write the scaling parameters o and s into the target buffer.
writeScaling(ByteBuffer, float, float) - Static method in class de.labathome.BinaryTimeseries
Write the scaling parameters o and s into the target buffer.
writeScaling(ByteBuffer, int, int) - Static method in class de.labathome.BinaryTimeseries
Write the scaling parameters o and s into the target buffer.
writeScaling(ByteBuffer, long, long) - Static method in class de.labathome.BinaryTimeseries
Write the scaling parameters o and s into the target buffer.
writeScaling(ByteBuffer, short, short) - Static method in class de.labathome.BinaryTimeseries
Write the scaling parameters o and s into the target buffer.
writeScalingDisabled(ByteBuffer) - Static method in class de.labathome.BinaryTimeseries
Write the identifier value into the target buffer 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 target buffer.
writeTimebase(ByteBuffer, long, long) - Static method in class de.labathome.BinaryTimeseries
Write the timebase parameters t0 and dt to the target buffer.
B D E F H L M R W 
All Classes|All Packages