public final class DataSetMath extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSetMath.ErrType |
static class |
DataSetMath.Filter |
static class |
DataSetMath.MathOp |
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
addFunction(DataSet function1,
DataSet function2) |
static DataSet |
addFunction(DataSet function,
double value) |
static DataSet |
addGaussianNoise(DataSet function,
double sigma) |
static DataSet |
averageDataSetsFIR(List<DataSet> dataSets,
int nUpdates) |
static DataSet |
averageDataSetsIIR(DataSet prevAverage,
DataSet prevAverage2,
DataSet newDataSet,
int nUpdates) |
static DataSet |
dbFunction(DataSet function) |
static DataSet |
dbFunction(DataSet function1,
DataSet function2) |
static DataSet |
derivativeFunction(DataSet function) |
static DataSet |
derivativeFunction(DataSet function,
double sign) |
static DataSet |
divideFunction(DataSet function1,
DataSet function2) |
static DataSet |
divideFunction(DataSet function,
double value) |
static double |
error(DataSet dataSet,
DataSetMath.ErrType eType,
double x)
convenience short-hand notation for getting error variables (if defined for dataset)
|
static double |
error(DataSet dataSet,
DataSetMath.ErrType eType,
int index)
convenience short-hand notation for getting error variables (if defined for dataset)
|
protected static double |
error(DataSet dataSet,
DataSetMath.ErrType eType,
int index,
double x,
boolean interpolate) |
static double[] |
errors(DataSet dataSet,
DataSetMath.ErrType eType)
convenience short-hand notation for getting error variables (if defined for dataset)
|
static DataSet |
filterFunction(DataSet function,
double width,
DataSetMath.Filter filterType) |
static DataSet |
geometricMeanFilteredFunction(DataSet function,
double width) |
static DataSet |
getSubRange(DataSet function,
double xMin,
double xMax) |
static DataSet |
iirLowPassFilterFunction(DataSet function,
double width) |
static DoublePointError |
integral(DataSet function) |
static DoublePointError |
integral(DataSet function,
double xMin,
double xMax) |
static double |
integralSimple(DataSet function) |
static DataSet |
integrateFunction(DataSet function) |
static DataSet |
integrateFunction(DataSet function,
double xMin,
double xMax) |
static DataSet |
inversedbFunction(DataSet function) |
static DataSet |
log10Function(DataSet function) |
static DataSet |
log10Function(DataSet function1,
DataSet function2) |
static DataSet |
lowPassFilterFunction(DataSet function,
double width) |
static DataSet |
magnitudeSpectrum(DataSet function) |
static DataSet |
magnitudeSpectrum(DataSet function,
Apodization apodization,
boolean dbScale,
boolean normalisedFrequency) |
static DataSet |
magnitudeSpectrumDecibel(DataSet function) |
static DataSet |
mathFunction(DataSet function1,
DataSet function2,
DataSetMath.MathOp op) |
static DataSet |
mathFunction(DataSet function,
double value,
DataSetMath.MathOp op) |
static DataSet |
maxFilteredFunction(DataSet function,
double width) |
static DataSet |
medianFilteredFunction(DataSet function,
double width) |
static DataSet |
minFilteredFunction(DataSet function,
double width) |
static DataSet |
multiplyFunction(DataSet function1,
DataSet function2) |
static DataSet |
multiplyFunction(DataSet function,
double value) |
static DataSet |
normalisedFunction(DataSet function) |
static DataSet |
normalisedFunction(DataSet function,
double requiredIntegral) |
static DataSet |
normalisedMagnitudeSpectrumDecibel(DataSet function) |
static DataSet |
peakToPeakFilteredFunction(DataSet function,
double width) |
static DataSet |
rmsFilteredFunction(DataSet function,
double width) |
static EditableDataSet |
setFunction(EditableDataSet function,
double value,
double xMin,
double xMax) |
static DataSet |
sqrFunction(DataSet function) |
static DataSet |
sqrFunction(DataSet function1,
DataSet function2) |
static DataSet |
sqrtFunction(DataSet function) |
static DataSet |
sqrtFunction(DataSet function1,
DataSet function2) |
static DataSet |
subtractFunction(DataSet function1,
DataSet function2) |
static DataSet |
subtractFunction(DataSet function,
double value) |
static double[] |
values(int dimIndex,
DataSet dataSet)
convenience short-hand notation for getting value array
|
public static DataSet averageDataSetsIIR(DataSet prevAverage, DataSet prevAverage2, DataSet newDataSet, int nUpdates)
public static double error(DataSet dataSet, DataSetMath.ErrType eType, double x)
dataSet - the source data seteType - the error typex - the data set x-value for which the error should be interpolatedpublic static double error(DataSet dataSet, DataSetMath.ErrType eType, int index)
dataSet - the source data seteType - the error typeindex - the data set indexprotected static double error(DataSet dataSet, DataSetMath.ErrType eType, int index, double x, boolean interpolate)
public static double[] errors(DataSet dataSet, DataSetMath.ErrType eType)
dataSet - the source data seteType - the error typepublic static DataSet filterFunction(DataSet function, double width, DataSetMath.Filter filterType)
public static DataSet geometricMeanFilteredFunction(DataSet function, double width)
public static DataSet iirLowPassFilterFunction(DataSet function, double width)
public static DoublePointError integral(DataSet function)
public static DoublePointError integral(DataSet function, double xMin, double xMax)
public static double integralSimple(DataSet function)
public static DataSet integrateFunction(DataSet function, double xMin, double xMax)
public static DataSet magnitudeSpectrum(DataSet function, Apodization apodization, boolean dbScale, boolean normalisedFrequency)
public static DataSet mathFunction(DataSet function1, DataSet function2, DataSetMath.MathOp op)
public static DataSet mathFunction(DataSet function, double value, DataSetMath.MathOp op)
public static DataSet normalisedFunction(DataSet function, double requiredIntegral)
public static DataSet normalisedMagnitudeSpectrumDecibel(DataSet function)
public static DataSet peakToPeakFilteredFunction(DataSet function, double width)
public static EditableDataSet setFunction(EditableDataSet function, double value, double xMin, double xMax)
public static final double[] values(int dimIndex,
DataSet dataSet)
dimIndex - the dimension indexdataSet - the source data setCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.