|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectspectrogramNoiseReduction.SpecNoiseMethod
spectrogramNoiseReduction.threshold.SpectrogramThreshold
public class SpectrogramThreshold
| Field Summary | |
|---|---|
static int |
OUTPUT_BINARY
|
static int |
OUTPUT_INPUT
|
static int |
OUTPUT_RAW
|
private double |
powerThreshold
|
private ThresholdDialogComponent |
thresholdDialogComponent
|
protected ThresholdParams |
thresholdParams
|
| Constructor Summary | |
|---|---|
SpectrogramThreshold()
|
|
| Method Summary | |
|---|---|
void |
fillXMLParameters(org.w3c.dom.Element n)
|
int |
getDelay()
|
java.lang.String |
getDescription()
Get a longer description of the method in html format for hover texts in dialogs. |
SpecNoiseDialogComponent |
getDialogComponent()
Get a component to include in the overall noise reductino dialog |
java.lang.String |
getName()
Get a name for the method. |
java.io.Serializable |
getParams()
Get the noise params for this method for storage between euns |
boolean |
initialise(int channelMap)
Set up the noise reduction process |
void |
pickEarlierData(Complex[] earlyData,
Complex[] thresholdData)
go through an array of other data, and copy data that's in earlyData into thresholdData if the threhsoldData is > 0; |
boolean |
runNoiseReduction(FFTDataUnit fftDataUnit)
Run the noise reduction on the data in place. |
boolean |
setParams(java.io.Serializable noiseParams)
Set the params for this method - will check class is OK before casting. |
| Methods inherited from class spectrogramNoiseReduction.SpecNoiseMethod |
|---|
getAnnotation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OUTPUT_BINARY
public static final int OUTPUT_INPUT
public static final int OUTPUT_RAW
protected ThresholdParams thresholdParams
private double powerThreshold
private ThresholdDialogComponent thresholdDialogComponent
| Constructor Detail |
|---|
public SpectrogramThreshold()
| Method Detail |
|---|
public SpecNoiseDialogComponent getDialogComponent()
SpecNoiseMethod
getDialogComponent in class SpecNoiseMethodpublic java.lang.String getName()
SpecNoiseMethod
getName in class SpecNoiseMethodpublic java.lang.String getDescription()
SpecNoiseMethod
getDescription in class SpecNoiseMethodpublic int getDelay()
getDelay in class SpecNoiseMethodpublic java.io.Serializable getParams()
SpecNoiseMethod
getParams in class SpecNoiseMethodpublic boolean initialise(int channelMap)
SpecNoiseMethod
initialise in class SpecNoiseMethodpublic boolean runNoiseReduction(FFTDataUnit fftDataUnit)
SpecNoiseMethod
runNoiseReduction in class SpecNoiseMethod
public void pickEarlierData(Complex[] earlyData,
Complex[] thresholdData)
earlyData - data to pick from (generally raw input fft data to noise process)binaryChoice - output from runNoiseReduction()public boolean setParams(java.io.Serializable noiseParams)
SpecNoiseMethod
setParams in class SpecNoiseMethodpublic void fillXMLParameters(org.w3c.dom.Element n)
fillXMLParameters in class SpecNoiseMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||