public class ZeroCrossingPeakCount extends Histogram
original text:
Das Spitzenwertverfahren I
Es werden nur die dem Betrag nach grössten Spitzen (Amplituden) zwischen zwei
Durchgängen durch die Bezugslinie erfasst und in der entsprechenden Klasse registriert.
Eine Hystere zur Ausschlatung kleinerer Schwankungen um die Bezugslinie kann vorgesehen werden.
Das Klassierergebnis ist abhängig von der Lage der Bezugslinie.
ZeroPeakCount
,
MaxMinCount
,
Serialized FormHistogram.Extrema
INCREASE, isClassMaximumValid, isClassMinimumValid, parameters
Constructor and Description |
---|
ZeroCrossingPeakCount() |
ZeroCrossingPeakCount(double[] values,
double min,
double max)
Build the rainflow obejct using double values.
|
ZeroCrossingPeakCount(float[] values,
double min,
double max)
Build the rainflow obejct using float values.
|
ZeroCrossingPeakCount(int[] values,
double min,
double max)
Build the rainflow obejct using int values.
|
ZeroCrossingPeakCount(long[] values,
double min,
double max)
Build the rainflow obejct using long values.
|
ZeroCrossingPeakCount(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 ZeroCrossingPeakCount()
public ZeroCrossingPeakCount(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 ZeroCrossingPeakCount(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 ZeroCrossingPeakCount(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 ZeroCrossingPeakCount(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 ZeroCrossingPeakCount(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)