| 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 AbstractDataSet<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
Implementation of the
DataSet interface which keeps the x,y
values in an observable list. |
class |
DefaultErrorDataSet
Default implementation of
DataSet and DataSetError interface. |
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, -eyn values
in separate double arrays. |
class |
FifoDoubleErrorDataSet |
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 |
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 |
WrappedDataSet.getDataset() |
| Modifier and Type | Method and Description |
|---|---|
void |
RollingDataSet.add(DataSet set) |
void |
AveragingDataSet.add(DataSet ds) |
void |
FragmentedDataSet.add(DataSet set) |
DoubleDataSet |
DoubleDataSet.set(DataSet other)
clear old data and overwrite with data from 'other' data set
|
DoubleErrorDataSet |
DoubleErrorDataSet.set(DataSet other)
replace/overwrite data points with those from another data set
|
DoubleDataSet |
DoubleDataSet.set(DataSet other,
boolean copy)
clear old data and overwrite with data from 'other' data set
|
DoubleErrorDataSet |
DoubleErrorDataSet.set(DataSet other,
boolean copy)
replace/overwrite data points with those from another data set
|
void |
WrappedDataSet.setDataset(DataSet dataset)
update/overwrite internal data set with content from other data set
|
| 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 |
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 |
DataSetUtils.integralSimple(DataSet function) |
static void |
DataSetUtils.writeDataSetToByteArray(DataSet dataSet,
ByteArrayOutputStream byteOutput,
boolean binary)
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 © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.