View source: R/SeaSondeRCS_FOR.R
seasonder_filterFORAmplitudes | R Documentation |
This function filters the First Order Region (FOR) Doppler bins based on amplitude thresholds. It applies a combination of noise-based and peak power-based criteria to remove low-amplitude bins that do not meet the required signal-to-noise ratio.
seasonder_filterFORAmplitudes(seasonder_cs_object)
seasonder_cs_object |
A |
Steps in FOR Amplitude Filtering:
Retrieve First Order Parameters:
The function extracts flim
(Null Below Peak Power) and noisefact
(Signal-to-Noise Factor)
from seasonder_getFOR_parameters
.
Compute Noise Levels:
Calls seasonder_computeNoiseLevel
to estimate the average noise level across all range cells.
Converts the noise level into a filtering threshold by multiplying it by noisefact
.
Extract Smoothed Self-Spectra Data:
Retrieves the smoothed self-spectra (SSA3) using seasonder_getSeaSondeRCS_FOR_SS_Smoothed
.
Extracts the FOR spectral power for each range cell using seasonder_extractFOR
.
Determine Filtering Thresholds:
Computes a power threshold for each FOR region by taking the maximum amplitude in the FOR region
and dividing it by flim
.
Apply Filtering Conditions:
A Doppler bin is retained if its power is greater than:
The noise threshold (computed from noisefact
).
The power threshold computed from flim
.
Store Filtered FOR in Object:
Updates the SeaSondeRCS object with the filtered FOR bins.
This filtering ensures that only strong, reliable first-order Bragg signals are retained, reducing the impact of noise and second-order contamination.
The updated SeaSondeRCS
object with the filtered FOR bins.
seasonder_computeNoiseLevel
for computing noise levels.
seasonder_getSeaSondeRCS_FOR_SS_Smoothed
for retrieving smoothed self-spectra.
seasonder_extractFOR
for extracting FOR spectral power.
seasonder_setSeaSondeRCS_FOR
for storing the filtered FOR data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.