public class PlotOpFractalGenerator extends AbstractOperator
Changes
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
PlotOpFractalGenerator() |
| Modifier and Type | Method and Description |
|---|---|
private void |
calcDFT(Vector<Double> inReal,
Vector<Double> outReal,
Vector<Double> outImag)
This method calculates the DFT of a real number
|
private void |
calcDFT(Vector<Double> inReal,
Vector<Double> inImag,
Vector<Double> outReal,
Vector<Double> outImag)
This method calculates the DFT of a complex number
|
private Vector<Double> |
calcDFTofAC_Equ6a(Vector<Double> inReal)
This method calculates the DFT of a real numbered auto correlation
function according to DHM Method Caccia et al 1997 Equ 6a
|
private Vector<Double> |
calcDFTofRSA_Equ6f(Vector<flanagan.complex.Complex> signalV)
This method calculates the simulated time series
|
private Vector<Double> |
calcPowerSpectrum(Vector<Double> signal)
This method calculates the power spectrum of a signal
|
private Vector<flanagan.complex.Complex> |
calcRSA_Equ6be(Vector<Double> signalS) |
private boolean |
checkIfDataPointsAreNotNegative(Vector<Double> signal) |
private Vector<Double> |
convert_fBmTofGn(Vector<Double> signal)
This method converts a fBm signal into a fGn signal
|
private Vector<Double> |
convert_fGnTofBm(Vector<Double> signal)
This method converts a fGn signal into a fBm signal
|
private Vector<Double> |
generateAC(int M,
double hurst)
this method generates an auto covariance function with defined length and
Hurst coefficient
|
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.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate Vector<Double> convert_fBmTofGn(Vector<Double> signal)
signal - private Vector<Double> convert_fGnTofBm(Vector<Double> signal)
signal - private Vector<Double> generateAC(int M, double hurst)
M - hurst - private void calcDFT(Vector<Double> inReal, Vector<Double> inImag, Vector<Double> outReal, Vector<Double> outImag)
inReal - inImag - outReal - outImag - private void calcDFT(Vector<Double> inReal, Vector<Double> outReal, Vector<Double> outImag)
inReal - inImag - outReal - outImag - private Vector<Double> calcDFTofAC_Equ6a(Vector<Double> inReal)
inReal - private boolean checkIfDataPointsAreNotNegative(Vector<Double> signal)
private Vector<Double> calcDFTofRSA_Equ6f(Vector<flanagan.complex.Complex> signalV)
signalV - private Vector<Double> calcPowerSpectrum(Vector<Double> signal)
signal - public IResult run(IWorkPackage wp)
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.run in interface IOperatorrun in class AbstractOperatorwp - the parameters and sourcesIResult containing all processed datapublic 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.