| Package | Description |
|---|---|
| de.gsi.dataset | |
| de.gsi.dataset.spi | |
| de.gsi.dataset.testdata | |
| de.gsi.dataset.testdata.spi | |
| de.gsi.dataset.utils |
| Modifier and Type | Interface and Description |
|---|---|
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 |
|---|---|
DataSet |
DataSet.lock()
Locks access to the data set.
|
DataSet |
DataSet.setAutoNotifaction(boolean flag)
Set the automatic notification of invalidation listeners.
|
DataSet |
DataSet.setStyle(String style)
A string representation of the CSS style associated with this specific
DataSet. |
DataSet |
DataSet.unlock()
Unlock the data set.
|
| 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 |
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 |
RollingDataSet |
class |
WrappedDataSet
A data set implementation which wraps another data set.
|
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<DataSet> |
FragmentedDataSet.list |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSetBuilder.build() |
protected DataSet |
DataSetBuilder.buildRawDataSet(String dsName) |
DataSet |
WrappedDataSet.getDataset() |
| Modifier and Type | Method and Description |
|---|---|
void |
RollingDataSet.add(DataSet set) |
void |
AveragingDataSet.add(DataSet ds) |
void |
FragmentedDataSet.add(DataSet set) |
protected void |
DataSetBuilder.addDataLabelStyleMap(DataSet dataSet) |
protected void |
DataSetBuilder.addDataRanges(DataSet dataSet) |
protected void |
DataSetBuilder.addMetaData(DataSet dataSet) |
FloatDataSet |
FloatDataSet.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)
|
void |
WrappedDataSet.setDataset(DataSet dataset)
update/overwrite internal data set with content from other data set
|
| Constructor and Description |
|---|
DefaultDataSet(DataSet another)
Creates a new instance of
DefaultDataSet as copy of another
(deep-copy). |
DefaultErrorDataSet(DataSet another)
Creates a new instance of
DoubleDataSet as copy of another
(deep-copy). |
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). |
FloatDataSet(DataSet another)
Creates a new instance of
FloatDataSet 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
|
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
DataSetSerialiser.readDataSetFromByteArray(FastByteBuffer 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. |
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. |
| Modifier and Type | Method and Description |
|---|---|
static AbstractDataSet<?> |
DataSetUtils.copyDataSet(DataSet ds)
perform and return a deep copy of the data set
|
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) |
protected static void |
DataSetSerialiser.writeDataLabelsToStream(FastByteBuffer buffer,
DataSet dataSet) |
static void |
DataSetUtils.writeDataSetToByteArray(DataSet dataSet,
ByteArrayOutputStream byteOutput,
boolean binary,
boolean asFloat)
Write data set into byte buffer.
|
static void |
DataSetSerialiser.writeDataSetToByteArray(DataSet dataSet,
FastByteBuffer buffer,
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 |
DataSetSerialiser.writeHeaderDataToStream(FastByteBuffer buffer,
DataSet dataSet) |
protected static void |
DataSetUtils.writeHeaderDataToStream(OutputStream outputStream,
DataSet dataSet) |
protected static void |
DataSetSerialiser.writeMetaDataToStream(FastByteBuffer buffer,
DataSet dataSet) |
protected static void |
DataSetUtils.writeMetaDataToStream(OutputStream outputStream,
DataSet dataSet) |
protected static void |
DataSetSerialiser.writeNumericBinaryDataToBuffer(FastByteBuffer buffer,
DataSet dataSet,
boolean asFloat) |
protected static void |
DataSetUtils.writeNumericDataToStream(OutputStream outputFile,
DataSet dataSet) |
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.