|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.swri.swiftvis.filters.AbstractSingleSourceFilter
edu.swri.swiftvis.filters.WakePeakFilter
public final class WakePeakFilter
This is a simple filter intended to isolate the location of wake peaks in the two types of output data that I use for ring simulations. The input should be either a spatial binned file or a particle binned file. The output will be data elements with one value for the Y location of the slice and one value for the X location of the peak. This filter supports a single input.
Nested Class Summary | |
---|---|
private static interface |
WakePeakFilter.BinningStyle
|
private class |
WakePeakFilter.ParticleBinStyle
|
private class |
WakePeakFilter.SpaceBinStyle
|
Field Summary | |
---|---|
private WakePeakFilter.BinningStyle |
inputStyle
|
private static long |
serialVersionUID
|
private EditableDouble |
threshold
|
private static java.lang.String[] |
valueDescription
|
private javax.swing.JTextField |
valueField
|
private DataFormula |
valueFormula
|
private DataFormula |
xFormula
|
private DataFormula |
yFormula
|
Fields inherited from class edu.swri.swiftvis.filters.AbstractSingleSourceFilter |
---|
bounds, changed, dataVect, input, propPanel, sinkVector |
Constructor Summary | |
---|---|
|
WakePeakFilter()
|
private |
WakePeakFilter(WakePeakFilter c,
java.util.List<GraphElement> l)
|
Method Summary | |
---|---|
private DataElement |
buildElement(double y,
double x,
double val)
|
WakePeakFilter |
copy(java.util.List<GraphElement> l)
|
java.lang.String |
getDescription()
|
int |
getNumParameters()
|
int |
getNumValues()
|
java.lang.String |
getParameterDescription(int which)
Tells you what a particular parameter is used for. |
java.lang.String |
getParameterName(int which,
int paramVal)
Tells you the text that should be used to describe a particular value of a given parameter. |
static java.lang.String |
getTypeDescription()
|
java.lang.String |
getValueDescription(int which)
Tells you what a particular value is used for. |
protected void |
redoAllElements()
For this class, this method runs through all of the input elements and for each column it locates the wake peaks above the threshold and |
protected void |
setupSpecificPanelProperties()
This method should add any tabbed panes to the propPanel that are specific to the given filter. |
boolean |
useParameterNameString(int which)
If this returns true then the value of a parameter for this type should be listed as the strong value returned by getParameterName. |
Methods inherited from class edu.swri.swiftvis.filters.AbstractSingleSourceFilter |
---|
abstractRedoAllElements, addInput, addOutput, clearData, getBounds, getElement, getNumElements, getNumOutputs, getNumSources, getOutput, getOutputInfoPanel, getPaint, getPropertiesPanel, getSource, getSourceInfoPanel, relink, removeInput, removeOutput, setBounds, sourceAltered, validInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String[] valueDescription
private WakePeakFilter.BinningStyle inputStyle
private EditableDouble threshold
private DataFormula xFormula
private DataFormula yFormula
private DataFormula valueFormula
private transient javax.swing.JTextField valueField
private static final long serialVersionUID
Constructor Detail |
---|
public WakePeakFilter()
private WakePeakFilter(WakePeakFilter c, java.util.List<GraphElement> l)
Method Detail |
---|
public java.lang.String getDescription()
public static java.lang.String getTypeDescription()
public java.lang.String getParameterDescription(int which)
public boolean useParameterNameString(int which)
public java.lang.String getParameterName(int which, int paramVal)
public java.lang.String getValueDescription(int which)
public int getNumParameters()
public int getNumValues()
public WakePeakFilter copy(java.util.List<GraphElement> l)
protected void redoAllElements()
redoAllElements
in class AbstractSingleSourceFilter
protected void setupSpecificPanelProperties()
AbstractSingleSourceFilter
setupSpecificPanelProperties
in class AbstractSingleSourceFilter
private DataElement buildElement(double y, double x, double val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |