Uses of Interface
de.gsi.dataset.DataSet
-
Packages that use DataSet Package Description de.gsi.dataset de.gsi.dataset.spi de.gsi.dataset.testdata de.gsi.dataset.testdata.spi de.gsi.dataset.utils -
-
Uses of DataSet in de.gsi.dataset
Subinterfaces of DataSet in de.gsi.dataset Modifier and Type Interface Description interfaceDataSet3DADataSetextension used to represent 3-dimensional data points.interfaceDataSetErrorTheDataSetErroris a basic interface that specifies all methods needed to read and modify data point error.interfaceEditableDataSetinterfaceHistograminterfaceHistogram1DMethods in de.gsi.dataset that return DataSet Modifier and Type Method Description DataSetDataSet. lock()Locks access to the data set.DataSetDataSet. setAutoNotifaction(boolean flag)Set the automatic notification of invalidation listeners.DataSetDataSet. setStyle(java.lang.String style)A string representation of the CSS style associated with this specificDataSet.DataSetDataSet. unlock()Unlock the data set. -
Uses of DataSet in de.gsi.dataset.spi
Classes in de.gsi.dataset.spi with type parameters of type DataSet Modifier and Type Class Description classAbstractStylable<D extends DataSet>Class to define CSS-based style features N.B.Classes in de.gsi.dataset.spi that implement DataSet Modifier and Type Class Description classAbstractDataSet<D extends AbstractStylable<D>>The abstract implementation of DataSet interface that provides implementation of some methods.classAbstractDataSet3D<D extends AbstractDataSet3D<D>>An abstract implementation ofDataSet3Dinterface.classAbstractErrorDataSet<D extends AbstractErrorDataSet<D>>The abstract implementation of DataSet and DataSetError interface that provides implementation of some methods.classAbstractHistogramclassAbstractStylable<D extends DataSet>Class to define CSS-based style features N.B.classAveragingDataSetTODO: Change to ErrorDataSet and calculate standard deviation.classCircularDoubleErrorDataSetclassDefaultDataSetRedirect to the reference implementation declared as 'default'.classDefaultErrorDataSetRedirect to the reference implementation declared as 'default'.classDoubleDataSetImplementation of theDataSetinterface which stores x,y values in two separate arrays.classDoubleDataSet3DImplementation of a AbstractDataSet3D backed by arrays.classDoubleErrorDataSetImplementation of theDataSetErrorinterface which stores x,y, +eyn, -eyn values in separate double arrays.classFifoDoubleErrorDataSetclassFloatDataSetImplementation of theDataSetinterface which stores x,y values in two separate arrays.classFragmentedDataSetclassHistogramClass implements simple one dimensional binned histogram backed internally by double arraysclassHistogram2classLabelledMarkerDataSetMinor extension toDefaultDataSetto easier handle labelled markers.classLimitedIndexedTreeDataSetDataSet implementation based on a sorted indexed TreeDataSets.classListDataSetDeprecated.due to poorer CPU performance (this is kept for reference reasons)classListErrorDataSetDeprecated.due to poorer CPU performance (this is kept for reference reasons)classRollingDataSetclassWrappedDataSetA data set implementation which wraps another data set.Fields in de.gsi.dataset.spi with type parameters of type DataSet Modifier and Type Field Description protected java.util.ArrayList<DataSet>FragmentedDataSet. listMethods in de.gsi.dataset.spi that return DataSet Modifier and Type Method Description DataSetDataSetBuilder. build()DataSetWrappedDataSet. getDataset()Methods in de.gsi.dataset.spi with parameters of type DataSet Modifier and Type Method Description voidAveragingDataSet. add(DataSet ds)voidFragmentedDataSet. add(DataSet set)voidRollingDataSet. add(DataSet set)DoubleDataSetDoubleDataSet. set(DataSet other)clear old data and overwrite with data from 'other' data set (deep copy)DoubleErrorDataSetDoubleErrorDataSet. set(DataSet other)clear old data and overwrite with data from 'other' data set (deep copy)FloatDataSetFloatDataSet. set(DataSet other)clear old data and overwrite with data from 'other' data setFloatDataSetFloatDataSet. set(DataSet other, boolean copy)clear old data and overwrite with data from 'other' data setvoidWrappedDataSet. setDataset(DataSet dataset)update/overwrite internal data set with content from other data setConstructors in de.gsi.dataset.spi with parameters of type DataSet Constructor Description DefaultDataSet(DataSet another)Creates a new instance ofDefaultDataSetas copy of another (deep-copy).DefaultErrorDataSet(DataSet another)Creates a new instance ofDoubleDataSetas copy of another (deep-copy).DoubleDataSet(DataSet another)Creates a new instance ofDoubleDataSetas copy of another (deep-copy).DoubleErrorDataSet(DataSet another)Creates a new instance ofDoubleDataSetas copy of another (deep-copy).FloatDataSet(DataSet another)Creates a new instance ofFloatDataSetas copy of another (deep-copy). -
Uses of DataSet in de.gsi.dataset.testdata
Subinterfaces of DataSet in de.gsi.dataset.testdata Modifier and Type Interface Description interfaceTestDataSet<D extends TestDataSet<D>>Standard interface for test data set -
Uses of DataSet in de.gsi.dataset.testdata.spi
Classes in de.gsi.dataset.testdata.spi that implement DataSet Modifier and Type Class Description classAbstractTestFunction<D extends AbstractTestFunction<D>>abstract error data set for graphical testing purposesclassCosineFunctionabstract error data set for graphical testing purposes this implementation generates a cosine functionclassGaussFunctionabstract error data set for graphical testing purposes this implementation generates a Gaussian functionclassRandomStepFunctionabstract error data set for graphical testing purposes this implementation generates a random step functionclassRandomWalkFunctionabstract error data set for graphical testing purposes this implementation generates a random walk (Brownian noise) function.classSincFunctionabstract error data set for graphical testing purposes this implementation generates a sinc functionclassSineFunctionabstract error data set for graphical testing purposes this implementation generates a sine functionclassSingleOutlierFunctionabstract error data set for graphical testing purposes this implementation generates a function with a single random outlier -
Uses of DataSet in de.gsi.dataset.utils
Methods in de.gsi.dataset.utils that return DataSet Modifier and Type Method Description static DataSetDataSetUtils. readDataSetFromFile(java.lang.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 DataSetDataSetUtils. readDataSetFromFile(java.lang.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.Methods in de.gsi.dataset.utils with parameters of type DataSet Modifier and Type Method Description static AbstractDataSet<?>DataSetUtils. copyDataSet(DataSet ds)perform and return a deep copy of the data setstatic doubleDataSetUtils. error(DataSet dataSet, DataSetUtils.ErrType eType, double x)convenience short-hand notation for getting error variable at an exact x value.static doubleDataSetUtils. error(DataSet dataSet, DataSetUtils.ErrType eType, int index)convenience short-hand notation for getting error variable at a specific data point index.protected static doubleDataSetUtils. 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 java.lang.StringDataSetUtils. getFileName(DataSet dataSet, java.lang.String fileName)Produce a filename from a dataSet and a String that can contain {datafield;type;format} style placeholders.protected static doubleDataSetUtilsHelper. integralSimple(DataSet function)static voidDataSetUtils. writeDataSetToByteArray(DataSet dataSet, java.io.ByteArrayOutputStream byteOutput, boolean binary, boolean asFloat)Write data set into byte buffer.static java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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 java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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 java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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 java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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 voidDataSetUtils. writeHeaderDataToStream(java.io.OutputStream outputStream, DataSet dataSet)protected static voidDataSetUtils. writeMetaDataToStream(java.io.OutputStream outputStream, DataSet dataSet)protected static voidDataSetUtils. writeNumericDataToStream(java.io.OutputStream outputFile, DataSet dataSet)
-