public class DimReductionDataSet extends DoubleDataSet implements EventListener
| Modifier and Type | Class and Description |
|---|---|
static class |
DimReductionDataSet.Option
The possible reduction options if integrated over a value range
|
xValues, yValuesTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
DimReductionDataSet(DataSet3D source,
int dimIndex,
DimReductionDataSet.Option reductionOption)
Reduces 3D data to 2D DataSet either via slicing, min, mean, max or integration
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxIndex() |
double |
getMaxValue() |
int |
getMinIndex() |
double |
getMinValue() |
DimReductionDataSet.Option |
getReductionOption() |
DataSet |
getSourceDataSet() |
void |
handle(UpdateEvent event)
This method needs to be provided by an implementation of
UpdateListener. |
void |
setMaxValue(double val) |
void |
setMinValue(double val) |
void |
setRange(double min,
double max) |
protected void |
updateMeanIntegral(boolean isMean) |
protected void |
updateMinMax(boolean isMin) |
protected void |
updateSlice() |
add, add, add, add, add, add, add, clearData, get, getCapacity, getDataCount, getValues, increaseCapacity, remove, remove, resize, set, set, set, set, set, set, set, trimaddDataLabel, addDataStyle, autoNotification, binarySearch, clearMetaInfo, equalDataLabels, equalEditConstraints, equalErrorValues, equalMetaData, equals, equals, equalValues, fireInvalidated, getAxisDescriptions, getDataLabel, getDataLabelMap, getDataStyleMap, getDimension, getEditConstraints, getErrorList, getIndex, getInfoList, getMetaInfo, getName, getStyle, getThis, getWarningList, hashCode, lock, minNeigbourSearchX, recomputeLimits, removeDataLabel, removeStyle, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEditConstraints, setEditConstraints, setNamegetDimension, getValue, getValue, getX, getXIndex, getXValues, getY, getYIndex, getYValuesgetAxisDescription, getAxisDescriptions, getDataCount, getDataLabel, getIndex, getName, getStyle, getStyle, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerpublic DimReductionDataSet(DataSet3D source, int dimIndex, DimReductionDataSet.Option reductionOption)
source - 3D DataSet to take projections fromdimIndex - the axis index onto which the projection should be performed (ie. DIM_X <-> integrate over the Y axis within given value ranges and vice versa)reductionOption - one of the reduction options given in DimReductionDataSet.Optionpublic int getMaxIndex()
public double getMaxValue()
public int getMinIndex()
public double getMinValue()
public DimReductionDataSet.Option getReductionOption()
public DataSet getSourceDataSet()
public void handle(UpdateEvent event)
EventListenerUpdateListener. It is called if an
EventSource has been modified/updated.
In general is is considered bad practice to modify the observed value in this method.
handle in interface EventListenerevent - The UpdateEvent issued by the modified UpdateSourcepublic void setMaxValue(double val)
public void setMinValue(double val)
public void setRange(double min,
double max)
protected void updateMeanIntegral(boolean isMean)
protected void updateMinMax(boolean isMin)
protected void updateSlice()
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.