Uses of Interface
de.gsi.dataset.DataSet
-
Packages that use DataSet Package Description de.gsi.dataset de.gsi.dataset.locks 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 interfaceCategoryHistogramDeprecated.Work in Progress, don't use yetinterfaceDataSet2DBasic interface for two-dimensional observable data sets.interfaceDataSet3DADataSetextension used to represent 3-dimensional data points.interfaceDataSetErrorTheDataSetErroris a basic interface that specifies all methods needed to read and modify data point error.interfaceEditableDataSetinterfaceGridDataSetInterface for accessing data on a cartesian grid.interfaceHistogramSpecialized DataSet interface for storing and processing Histogram data.interfaceHistogram1DinterfaceHistogram2DMethods in de.gsi.dataset with type parameters of type DataSet Modifier and Type Method Description <D extends DataSet>
DataSetLock<D>DataSet. lock()Methods in de.gsi.dataset that return DataSet Modifier and Type Method Description DataSetDataSet. recomputeLimits(int dimIndex)default DataSetDataSet. set(DataSet other)DataSetDataSet. set(DataSet other, boolean copy)DataSetDataSet. setStyle(java.lang.String style)A string representation of the CSS style associated with this specificDataSet.Methods in de.gsi.dataset with parameters of type DataSet Modifier and Type Method Description default DataSetDataSet. set(DataSet other)DataSetDataSet. set(DataSet other, boolean copy) -
Uses of DataSet in de.gsi.dataset.locks
Classes in de.gsi.dataset.locks with type parameters of type DataSet Modifier and Type Interface Description interfaceDataSetLock<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 awriteLock()and subsequentwriteUnLock()mute and, respectively, un-mute the given DataSet's auto-notification states, e.g.classDefaultDataSetLock<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 awriteLock()and subsequentwriteUnLock()mute and, respectively, un-mute the given DataSet's auto-notification states, e.g. -
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.classAbstractErrorDataSet<D extends AbstractErrorDataSet<D>>The abstract implementation of DataSet and DataSetError interface that provides implementation of some methods.classAbstractGridDataSet<U>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'.classDimReductionDataSetReduces 3D data to 2D DataSet either via slicing, min, mean, max or integrationclassDoubleDataSetImplementation of theDataSetinterface which stores x,y values in two separate arrays.classDoubleErrorDataSetImplementation of theDataSetErrorinterface which stores x,y, +eyn, and -eyn values in separate double arrays.classDoubleGridDataSetImplementation of the GridDataSet.classFifoDoubleErrorDataSetLimited Fifo DoubleErrorDataSet.classFloatDataSetImplementation 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 labeled markers.classLimitedIndexedTreeDataSetDataSet implementation based on a sorted indexed TreeDataSets.classMultiDimDoubleDataSetImplementation of theDataSetinterface which stores x,y,...classRollingDataSetclassTransposedDataSetAllows 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 classTransposedDataSet.TransposedGridDataSetclassWrappedDataSetA data set implementation which wraps another data set.Fields in de.gsi.dataset.spi declared as DataSet Modifier and Type Field Description protected DataSetTransposedDataSet. dataSetFields 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 with type parameters of type DataSet Modifier and Type Method Description <T extends DataSet>
TDataSetBuilder. build(java.lang.Class<T> clazz)Tries to build a DataSet of the specified type<D extends DataSet>
DataSetLock<D>TransposedDataSet. lock()Methods in de.gsi.dataset.spi that return DataSet Modifier and Type Method Description DataSetDataSetBuilder. build()protected DataSetDataSetBuilder. buildRawDataSet(java.lang.String dsName, int dim, int[] size)DataSetWrappedDataSet. getDataset()DataSetDimReductionDataSet. getSourceDataSet()DataSetAbstractDataSet. recomputeLimits(int dimIndex)DataSetAbstractGridDataSet. recomputeLimits(int dimIndex)DataSetAbstractHistogram. recomputeLimits(int dimIndex)DataSetTransposedDataSet. recomputeLimits(int dimension)DataSetAveragingDataSet. set(DataSet other, boolean copy)DataSetCircularDoubleErrorDataSet. set(DataSet other, boolean copy)DataSetFifoDoubleErrorDataSet. set(DataSet other, boolean copy)DataSetFragmentedDataSet. set(DataSet other, boolean copy)DataSetHistogram. set(DataSet other, boolean copy)DataSetHistogram2. set(DataSet other, boolean copy)DataSetLabelledMarkerDataSet. set(DataSet other, boolean copy)DataSetLimitedIndexedTreeDataSet. set(DataSet other, boolean copy)DataSetTransposedDataSet. set(DataSet other, boolean copy)DataSetWrappedDataSet. set(DataSet other, boolean copy)DataSetTransposedDataSet. setStyle(java.lang.String style)Methods in de.gsi.dataset.spi that return types with arguments of type DataSet Modifier and Type Method Description java.util.Collection<DataSet>FragmentedDataSet. getDatasets()DataSetLock<? extends DataSet>AbstractDataSet. lock()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)protected voidDataSetBuilder. addDataLabelStyleMap(DataSet dataSet)protected voidDataSetBuilder. addDataRanges(DataSet dataSet)protected voidDataSetBuilder. addMetaData(DataSet dataSet)protected voidAbstractDataSet. copyAxisDescription(DataSet other)protected voidAbstractDataSet. copyDataLabelsAndStyles(DataSet other, boolean copy)protected booleanAbstractDataSet. copyMetaData(DataSet other)protected booleanAbstractDataSet. equalDataLabels(DataSet other)checks for equal data labels, may be overwritten by derived classesprotected booleanAbstractDataSet. equalEditConstraints(DataSet other)checks for equal EditConstraints, may be overwritten by derived classesprotected booleanAbstractDataSet. equalErrorValues(DataSet other, double epsilon)checks for equal 'get' error values, may be overwritten by derived classesprotected booleanAbstractDataSet. equalMetaData(DataSet other)checks for equal meta data, may be overwritten by derived classesprotected booleanAbstractDataSet. equalValues(DataSet other, double epsilon)checks for equal 'get' values with tolerance band, may be overwritten by derived classesstatic TransposedDataSetTransposedDataSet. permute(DataSet dataSet, int[] permutation)DataSetAveragingDataSet. set(DataSet other, boolean copy)DataSetCircularDoubleErrorDataSet. set(DataSet other, boolean copy)DoubleDataSetDoubleDataSet. set(DataSet other, boolean copy)clear old data and overwrite with data from 'other' data setDoubleErrorDataSetDoubleErrorDataSet. set(DataSet other, boolean copy)clear old data and overwrite with data from 'other' data set (deep copy)GridDataSetDoubleGridDataSet. set(DataSet another, boolean copy)DataSetFifoDoubleErrorDataSet. set(DataSet other, boolean copy)FloatDataSetFloatDataSet. set(DataSet other, boolean copy)clear old data and overwrite with data from 'other' data set (deep copy)DataSetFragmentedDataSet. set(DataSet other, boolean copy)DataSetHistogram. set(DataSet other, boolean copy)DataSetHistogram2. set(DataSet other, boolean copy)DataSetLabelledMarkerDataSet. set(DataSet other, boolean copy)DataSetLimitedIndexedTreeDataSet. set(DataSet other, boolean copy)MultiDimDoubleDataSetMultiDimDoubleDataSet. set(DataSet other, boolean copy)clear old data and overwrite with data from 'other' data set (deep copy)DataSetTransposedDataSet. set(DataSet other, boolean copy)DataSetWrappedDataSet. set(DataSet other, boolean copy)voidWrappedDataSet. setDataset(DataSet dataset)update/overwrite internal data set with content from other data setstatic TransposedDataSetTransposedDataSet. transpose(DataSet dataSet)static TransposedDataSetTransposedDataSet. transpose(DataSet dataSet, boolean transpose)Constructors 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 ofDoubleErrorDataSetas copy of another (deep-copy).FloatDataSet(DataSet another)Creates a new instance ofFloatDataSetas copy of another (deep-copy).MultiDimDoubleDataSet(DataSet another)Creates a new instance ofMultiDimDoubleDataSetas 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 outlierclassTriangleFunctionabstract error data set for graphical testing purposes this implementation generates a triangular functionMethods in de.gsi.dataset.testdata.spi that return DataSet Modifier and Type Method Description DataSetAbstractTestFunction. set(DataSet other, boolean copy)Methods in de.gsi.dataset.testdata.spi with parameters of type DataSet Modifier and Type Method Description DataSetAbstractTestFunction. set(DataSet other, boolean copy) -
Uses of DataSet in de.gsi.dataset.utils
Methods in de.gsi.dataset.utils that return DataSet Modifier and Type Method Description static DataSetDataSetUtils. 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 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.static DataSetDataSetUtils. readDataSetFromStream(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 DataSetDataSetUtils. readNumericDataFromFile(java.io.BufferedReader inputFile, java.lang.String dataSetName, boolean is3D, int nSamplesGuessed)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)
-