|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.wavelet.SimpleSignal
util.wavelet.Signal
public class Signal
Wrapper for an array of signal values and an array of noise values and their multiplier.
| Constructor Summary | |
|---|---|
Signal(float[] value)
Construct using signal array, the noise multiplier equal to 1 and the noise array must be set at a later time. |
|
Signal(float[] value,
float[] noise)
Construct using signal and noise array, the noise multiplier equal to 1. |
|
Signal(float[] value,
float[] noise,
float noiseMultiplier)
Construct using signal and noise array and the given noise multiplier. |
|
Signal(SimpleSignal signal)
Copy constructor, the noise multiplier equal to 1 and the noise array must be set at a later time. |
|
Signal(SimpleSignal signal,
float[] noise)
Construct using signal and noise array, the noise multiplier equal to 1. |
|
Signal(SimpleSignal signal,
float[] noise,
float noiseMultiplier)
Construct using signal and noise array and the given noise multiplier. |
|
| Method Summary | |
|---|---|
SimpleSignal |
getNoise()
Get a defensive copy of the noise for this signal. |
float |
getNoise(int position)
Get the noise value at the given position and deal with boundary conditions when position is out of range. |
float |
getNoiseMultiplier()
Get the noise multiplier. |
boolean |
isAboveNoise(int position)
Test if the signal at the given position is above the noise times times the noise multiplier. |
boolean |
isBelowNoise(int position)
Test if the signal at the given position is below the noise times times a given noise multiplier. |
void |
setNoise(int position,
float noiseValue)
Set the noise value at the given position and deal with boundary conditions when position is out of range. |
void |
setNoise(SimpleSignal noiseSignal)
Set the noise for this signal (using defensive copy). |
| Methods inherited from class util.wavelet.SimpleSignal |
|---|
add, add, convolve, estimateNumberOfScales, getBoundaryCondition, getChirp, getDirac, getGaussianDeviate, getGaussianNoise, getScalingFunction, getSubset, getValue, getWavelet, multiply, multiply, multiply, multiply, setBoundaryCondition, setValue, size, square, square, subtract, subtract |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Signal(float[] value)
value - signal arraypublic Signal(SimpleSignal signal)
signal - the signal
public Signal(float[] value,
float[] noise)
value - the signal valuenoise - the noise
public Signal(SimpleSignal signal,
float[] noise)
signal - the signalnoise - the noise
public Signal(float[] value,
float[] noise,
float noiseMultiplier)
value - the signal arraynoise - the noise arraynoiseMultiplier - the noise multiplier (when sigmas = 3.0 confidence = 99.9 percent)
public Signal(SimpleSignal signal,
float[] noise,
float noiseMultiplier)
signal - the signalnoise - the noise arraynoiseMultiplier - the noise multiplier (when sigmas = 3.0 confidence = 99.9 percent)| Method Detail |
|---|
public float getNoise(int position)
position - the position
public SimpleSignal getNoise()
public void setNoise(SimpleSignal noiseSignal)
noiseSignal - the noise signal
public void setNoise(int position,
float noiseValue)
index ≤ size().
position - the positionnoiseValue - the value to set the signal topublic float getNoiseMultiplier()
public boolean isAboveNoise(int position)
position - the position
public boolean isBelowNoise(int position)
position - the position
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||