Class AverageSubtraction
java.lang.Object
spectrogramNoiseReduction.SpecNoiseMethod
spectrogramNoiseReduction.averageSubtraction.AverageSubtraction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDelay()
Get a longer description of the method in html format for hover texts in dialogs.Get a component to include in the overall noise reductino dialoggetName()
Get a name for the method.getNode()
Get the FX node for the spectrogram method.Get the noise params for this method for storage between eunsboolean
initialise
(int channelMap) Set up the noise reduction processboolean
runNoiseReduction
(FFTDataUnit fftDataUnit) Run the noise reduction on the data in place.boolean
setParams
(Serializable noiseParams) Set the params for this method - will check class is OK before casting.Methods inherited from class spectrogramNoiseReduction.SpecNoiseMethod
getAnnotation
-
Constructor Details
-
AverageSubtraction
public AverageSubtraction()
-
-
Method Details
-
getDialogComponent
Description copied from class:SpecNoiseMethod
Get a component to include in the overall noise reductino dialog- Specified by:
getDialogComponent
in classSpecNoiseMethod
- Returns:
- component
-
getName
Description copied from class:SpecNoiseMethod
Get a name for the method.- Specified by:
getName
in classSpecNoiseMethod
- Returns:
- String
-
getDescription
Description copied from class:SpecNoiseMethod
Get a longer description of the method in html format for hover texts in dialogs.- Specified by:
getDescription
in classSpecNoiseMethod
- Returns:
- html description
-
getDelay
public int getDelay()- Specified by:
getDelay
in classSpecNoiseMethod
- Returns:
- the delay imposed on the data by this operation.
-
getParams
Description copied from class:SpecNoiseMethod
Get the noise params for this method for storage between euns- Specified by:
getParams
in classSpecNoiseMethod
- Returns:
-
initialise
public boolean initialise(int channelMap) Description copied from class:SpecNoiseMethod
Set up the noise reduction process- Specified by:
initialise
in classSpecNoiseMethod
- Returns:
- true if initialised OK.
-
runNoiseReduction
Description copied from class:SpecNoiseMethod
Run the noise reduction on the data in place.- Specified by:
runNoiseReduction
in classSpecNoiseMethod
- Returns:
- true if ran OK/
-
setParams
Description copied from class:SpecNoiseMethod
Set the params for this method - will check class is OK before casting.- Specified by:
setParams
in classSpecNoiseMethod
- Returns:
- true if parameters match
-
getAverageSubtractionParameters
-
getNode
Description copied from class:SpecNoiseMethod
Get the FX node for the spectrogram method.- Specified by:
getNode
in classSpecNoiseMethod
- Returns:
- the FX node for the spectrogram method.
-