public class ZeroPeakCount extends Histogram
original text:
Das Spitzenwertverfahren II
Es werden im Bereich oberhalb der Bezuglinie alle Maxima und unterhalb der
Bezugslinie alle Minima erfasst.
ZeroCrossingPeakCount
,
MaxMinCount
,
Serialized FormHistogram.Extrema
INCREASE, isClassMaximumValid, isClassMinimumValid, parameters
Constructor and Description |
---|
ZeroPeakCount() |
ZeroPeakCount(double[] values,
double min,
double max)
Build the rainflow obejct using double values.
|
ZeroPeakCount(float[] values,
double min,
double max)
Build the rainflow obejct using float values.
|
ZeroPeakCount(int[] values,
double min,
double max)
Build the rainflow obejct using int values.
|
ZeroPeakCount(long[] values,
double min,
double max)
Build the rainflow obejct using long values.
|
ZeroPeakCount(short[] values,
double min,
double max)
Build the rainflow obejct using short values.
|
Modifier and Type | Method and Description |
---|---|
void |
calculate()
calculate the rainflow matrix.
|
protected void |
count(int[] arr,
int zero)
Do the counting of the classified data.
|
int[] |
getMatrix()
Get the histogram matrix.
|
double |
getZero()
Get the zeor level.
|
static void |
main(java.lang.String[] args)
The main testing method.
|
void |
setZero(double zero)
Set the zero value.
|
java.lang.String |
toString() |
getClasses, getClasses, getClasses, getClasses, getClasses, getClassMaximum, getClassMinimum, getFilterWidthRelative, getMaximum, getMinimum, getNumberOfBins, getParameters, getUnit, setClassMaximum, setClassMinimum, setFilterWidthRelative, setMaximum, setMinimum, setNumberOfBins, setParameters, setUnit
public ZeroPeakCount()
public ZeroPeakCount(double[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public ZeroPeakCount(float[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public ZeroPeakCount(long[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public ZeroPeakCount(int[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public ZeroPeakCount(short[] values, double min, double max)
values
- the value.min
- the minimum of the values, if maximum and minimum is equal the method will determine it again.max
- the maximum of the values, if maximum and minimum is equal the method will determine it again.public void setZero(double zero)
zeor
- the zeor value.public double getZero()
public void calculate()
protected void count(int[] arr, int zero)
arr
- the classified data.public int[] getMatrix()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)