| Package | Description |
|---|---|
| de.gsi.dataset | |
| de.gsi.dataset.locks | |
| de.gsi.dataset.serializer.spi.iobuffer | |
| de.gsi.dataset.spi | |
| de.gsi.dataset.testdata | |
| de.gsi.dataset.testdata.spi | |
| de.gsi.dataset.utils |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CategoryHistogram
Deprecated.
Work in Progress, don't use yet
|
interface |
DataSet2D
Basic interface for two-dimensional observable data sets.
|
interface |
DataSet3D
A
DataSet extension used to represent 3-dimensional data points. |
interface |
DataSetError
The
DataSetError is a basic interface that specifies all methods needed to read and modify data point
error. |
interface |
EditableDataSet |
interface |
Histogram |
interface |
Histogram1D |
| Modifier and Type | Method and Description |
|---|---|
<D extends DataSet> |
DataSet.lock() |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSet.recomputeLimits(int dimension) |
DataSet |
DataSet.setStyle(String style)
A string representation of the CSS style associated with this specific
DataSet. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataSetLock<D extends DataSet>
A Simple ReadWriteLock for the DataSet interface and its fluent-design approach
Some implementation recommendation: write lock guards behave the same as ReentrantLock with the additional
functionality, that a
writeLock() and subsequent writeUnLock() mute and, respectively,
un-mute the given DataSet's auto-notification states, e.g. |
class |
DefaultDataSetLock<D extends DataSet>
A Simple ReadWriteLock for the DataSet interface and its fluent-design approach Some implementation recommendation:
write lock guards behave the same as ReentrantLock with the additional functionality, that a
writeLock()
and subsequent writeUnLock() mute and, respectively, un-mute the given DataSet's auto-notification
states, e.g. |
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
DataSetSerialiser.readDataSetFromByteArray(IoBuffer readBuffer)
Read a Dataset from a byte array containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DataSetSerialiser.writeDataLabelsToStream(IoBuffer buffer,
DataSet dataSet) |
static void |
DataSetSerialiser.writeDataSetToByteArray(DataSet dataSet,
IoBuffer buffer,
boolean asFloat)
Write data set into byte buffer.
|
protected static void |
DataSetSerialiser.writeHeaderDataToStream(IoBuffer buffer,
DataSet dataSet) |
protected static void |
DataSetSerialiser.writeMetaDataToStream(IoBuffer buffer,
DataSet dataSet) |
protected static void |
DataSetSerialiser.writeNumericBinaryDataToBuffer(IoBuffer buffer,
DataSet dataSet,
boolean asFloat) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStylable<D extends DataSet>
Class to define CSS-based style features N.B.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataSet<D extends AbstractStylable<D>>
The abstract implementation of DataSet interface that provides implementation of some methods.
|
class |
AbstractDataSet3D<D extends AbstractDataSet3D<D>>
An abstract implementation of
DataSet3D interface. |
class |
AbstractErrorDataSet<D extends AbstractErrorDataSet<D>>
The abstract implementation of DataSet and DataSetError interface that provides implementation of some methods.
|
class |
AbstractHistogram |
class |
AbstractStylable<D extends DataSet>
Class to define CSS-based style features N.B.
|
class |
AveragingDataSet
TODO: Change to ErrorDataSet and calculate standard deviation.
|
class |
CircularDoubleErrorDataSet |
class |
DefaultDataSet
Redirect to the reference implementation declared as 'default'.
|
class |
DefaultErrorDataSet
Redirect to the reference implementation declared as 'default'.
|
class |
DimReductionDataSet
Reduces 3D data to 2D DataSet either via slicing, min, mean, max or integration
|
class |
DoubleDataSet
Implementation of the
DataSet interface which stores x,y values in two separate arrays. |
class |
DoubleDataSet3D
Implementation of a AbstractDataSet3D backed by arrays.
|
class |
DoubleErrorDataSet
Implementation of the
DataSetError interface which stores x,y, +eyn, and -eyn values in separate double
arrays. |
class |
FifoDoubleErrorDataSet |
class |
FloatDataSet
Implementation of the
DataSet interface which stores x,y values in two separate arrays. |
class |
FragmentedDataSet |
class |
Histogram
Class implements simple one dimensional binned histogram backed internally by double arrays
|
class |
Histogram2 |
class |
LabelledMarkerDataSet
Minor extension to
DefaultDataSet to easier handle labelled markers. |
class |
LimitedIndexedTreeDataSet
DataSet implementation based on a sorted indexed TreeDataSets.
|
class |
ListDataSet
Deprecated.
due to poorer CPU performance (this is kept for reference reasons)
|
class |
ListErrorDataSet
Deprecated.
due to poorer CPU performance (this is kept for reference reasons)
|
class |
MultiDimDoubleDataSet
Implementation of the
DataSet interface which stores x,y,... |
class |
RollingDataSet |
class |
TransposedDataSet
Allows permutation of the axes of an underlying DataSet, for applications like: - transposed display - reduction of
multi-dimensional DataSets to lower dimensions To be able to handle different DataSet Interface types, the
constructors are private and only accessible via the static class methods, which return the correct sub-type.
|
static class |
TransposedDataSet.TransposedDataSet3D
TODO: allow permutations to change number of grid dimensions, while enforcing contract, that all grid axes must
come before data axes.
|
class |
WrappedDataSet
A data set implementation which wraps another data set.
|
| Modifier and Type | Field and Description |
|---|---|
protected DataSet |
TransposedDataSet.dataSet |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<DataSet> |
FragmentedDataSet.list |
| Modifier and Type | Method and Description |
|---|---|
<D extends DataSet> |
TransposedDataSet.lock() |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSetBuilder.build() |
protected DataSet |
DataSetBuilder.buildRawDataSet(String dsName) |
DataSet |
DimReductionDataSet.getSourceDataSet() |
DataSet |
TransposedDataSet.recomputeLimits(int dimension) |
DataSet |
TransposedDataSet.setStyle(String style) |
| Modifier and Type | Method and Description |
|---|---|
Collection<DataSet> |
FragmentedDataSet.getDatasets() |
DataSetLock<? extends DataSet> |
AbstractDataSet.lock() |
| Modifier and Type | Method and Description |
|---|---|
void |
RollingDataSet.add(DataSet set) |
void |
FragmentedDataSet.add(DataSet set) |
protected void |
DataSetBuilder.addDataLabelStyleMap(DataSet dataSet) |
protected void |
DataSetBuilder.addDataRanges(DataSet dataSet) |
protected void |
DataSetBuilder.addMetaData(DataSet dataSet) |
protected boolean |
AbstractDataSet.equalDataLabels(DataSet other)
checks for equal data labels, may be overwritten by derived classes
|
protected boolean |
AbstractDataSet.equalEditConstraints(DataSet other)
checks for equal EditConstraints, may be overwritten by derived classes
|
protected boolean |
AbstractDataSet.equalErrorValues(DataSet other,
double epsilon)
checks for equal 'get' error values, may be overwritten by derived classes
|
protected boolean |
AbstractDataSet.equalMetaData(DataSet other)
checks for equal meta data, may be overwritten by derived classes
|
protected boolean |
AbstractDataSet.equalValues(DataSet other,
double epsilon)
checks for equal 'get' values with tolerance band, may be overwritten by derived classes
|
static TransposedDataSet |
TransposedDataSet.permute(DataSet dataSet,
int[] permutation) |
MultiDimDoubleDataSet |
MultiDimDoubleDataSet.set(DataSet other)
clear old data and overwrite with data from 'other' data set (deep copy)
|
DoubleDataSet |
DoubleDataSet.set(DataSet other)
clear old data and overwrite with data from 'other' data set (deep copy)
|
DoubleErrorDataSet |
DoubleErrorDataSet.set(DataSet other)
clear old data and overwrite with data from 'other' data set (deep copy)
|
static TransposedDataSet |
TransposedDataSet.transpose(DataSet dataSet) |
static TransposedDataSet |
TransposedDataSet.transpose(DataSet dataSet,
boolean transpose) |
| Constructor and Description |
|---|
DefaultAxisDescription(DataSet dataSet,
AxisDescription axisDesc)
Copy constructor to generate axisDescriptions for datasets from existing Axis Descriptions
|
DefaultAxisDescription(DataSet dataSet,
String axisName,
String... axisUnit) |
DefaultAxisDescription(DataSet dataSet,
String axisName,
String axisUnit,
double rangeMin,
double rangeMax) |
DoubleDataSet(DataSet another)
Creates a new instance of
DoubleDataSet as copy of another (deep-copy). |
DoubleErrorDataSet(DataSet another)
Creates a new instance of
DoubleErrorDataSet as copy of another (deep-copy). |
MultiDimDoubleDataSet(DataSet another)
Creates a new instance of
MultiDimDoubleDataSet as copy of another (deep-copy). |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TestDataSet<D extends TestDataSet<D>>
Standard interface for test data set
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTestFunction<D extends AbstractTestFunction<D>>
abstract error data set for graphical testing purposes
|
class |
CosineFunction
abstract error data set for graphical testing purposes this implementation generates a cosine function
|
class |
GaussFunction
abstract error data set for graphical testing purposes this implementation generates a Gaussian function
|
class |
RandomStepFunction
abstract error data set for graphical testing purposes this implementation generates a random step function
|
class |
RandomWalkFunction
abstract error data set for graphical testing purposes this implementation generates a random walk (Brownian noise)
function.
|
class |
SincFunction
abstract error data set for graphical testing purposes this implementation generates a sinc function
|
class |
SineFunction
abstract error data set for graphical testing purposes this implementation generates a sine function
|
class |
SingleOutlierFunction
abstract error data set for graphical testing purposes this implementation generates a function with a single random
outlier
|
class |
TriangleFunction
abstract error data set for graphical testing purposes this implementation generates a triangular function
|
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
DataSetUtils.readDataSetFromByteArray(byte[] byteArray)
Read a Dataset from a byte array containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
static DataSet |
DataSetUtils.readDataSetFromFile(String fileName)
Read a Dataset from a file containing comma separated values.
Automatically determines compression from the file extension. The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
static DataSet |
DataSetUtils.readDataSetFromFile(String fileName,
DataSetUtils.Compression compression)
Read a Dataset from a file containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
static DataSet |
DataSetUtils.readDataSetFromStream(de.gsi.dataset.utils.DataSetUtils.SplitCharByteInputStream inputStream)
Read a Dataset from a stream containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
protected static DataSet |
DataSetUtils.readNumericDataFromFile(BufferedReader inputFile,
String dataSetName,
boolean is3D,
int nSamplesGuessed) |
| Modifier and Type | Method and Description |
|---|---|
static double |
DataSetUtils.error(DataSet dataSet,
DataSetUtils.ErrType eType,
double x)
convenience short-hand notation for getting error variable at an exact x value.
|
static double |
DataSetUtils.error(DataSet dataSet,
DataSetUtils.ErrType eType,
int index)
convenience short-hand notation for getting error variable at a specific data point index.
|
protected static double |
DataSetUtils.error(DataSet dataSet,
DataSetUtils.ErrType eType,
int index,
double x,
boolean interpolate)
convenience short-hand notation for getting error variables.
|
static double[] |
DataSetUtils.errors(DataSet dataSet,
DataSetUtils.ErrType eType)
convenience short-hand notation for getting error variables (if defined for dataset)
|
static String |
DataSetUtils.getFileName(DataSet dataSet,
String fileName)
Produce a filename from a dataSet and a String that can contain {datafield;type;format} style placeholders.
|
protected static double |
DataSetUtilsHelper.integralSimple(DataSet function) |
static void |
DataSetUtils.writeDataSetToByteArray(DataSet dataSet,
ByteArrayOutputStream byteOutput,
boolean binary,
boolean asFloat)
Write data set into byte buffer.
|
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName,
boolean binary)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName,
DataSetUtils.Compression compression)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName,
DataSetUtils.Compression compression,
boolean binary)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
protected static void |
DataSetUtils.writeHeaderDataToStream(OutputStream outputStream,
DataSet dataSet) |
protected static void |
DataSetUtils.writeMetaDataToStream(OutputStream outputStream,
DataSet dataSet) |
protected static void |
DataSetUtils.writeNumericDataToStream(OutputStream outputFile,
DataSet dataSet) |
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.