public class PlotOpPointFinder extends AbstractOperator
| Modifier and Type | Field and Description |
|---|---|
(package private) Vector<Double> |
coordinateY |
(package private) Vector<Double> |
dataX2 |
(package private) Vector<Double> |
dataY2 |
(package private) Vector<Double> |
deltaHeights |
(package private) Vector<Double> |
energies |
(package private) Vector<Double> |
heights |
(package private) Vector<Double> |
intervals |
(package private) Vector<Double> |
rangeNew |
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
PlotOpPointFinder() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
private void |
lookingForPeakPoints(float threshold,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
Looking for Peaks
2917-07-Adam Dolgos
A peak is searched for all values that are higher than the threshold and are in between two values that are equal to the threshold
The last peak of a signal may be lost because the threshold value may not be reached any more.
|
private void |
lookingForSlopePointsUsingMAC(float threshold,
int tau,
float offset,
int intersections,
int slope,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal) |
private void |
lookingForSlopePointsUsingThresholding(float threshold,
int slope,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal) |
private void |
lookingForValleyPoints(float threshold,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
Looking for Valleys
2917-07-Adam Dolgos
A valley is searched for all values that are lower than the threshold and are in between two values that are equal to the threshold
The last peak of a signal may be lost because the threshold value may not be reached any more.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate void lookingForSlopePointsUsingThresholding(float threshold,
int slope,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
private void lookingForSlopePointsUsingMAC(float threshold,
int tau,
float offset,
int intersections,
int slope,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
throws Exception
Exceptionprivate void lookingForPeakPoints(float threshold,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
private void lookingForValleyPoints(float threshold,
int outputoptions,
Vector<Double> rangeOld,
Vector<Double> signal)
public IResult run(IWorkPackage wp) throws Exception
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.public String getName()
IOperatorIOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.getName in interface IOperatorgetName in class AbstractOperatorpublic OperatorType getType()
IOperatorgetType in interface IOperatorgetType in class AbstractOperatorOperatorTypeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.