Smooth Self-Spectra for First Order Region (FOR)
Source:R/SeaSondeRCS_FOR.R
seasonder_SmoothFORSS.RdThis function applies a smoothing operation to the self-spectra (SS) matrix of antenna 3 in a SeaSondeR cross-spectral object, specifically for First Order Region (FOR) processing. The smoothed self-spectra are stored as an attribute within the object.
Details
The function retrieves the default Doppler smoothing factor (nsm) from
seasonder_getFOR_parameters and applies the smoothing operation
using seasonder_SmoothSS on the self-spectra of antenna 3.
Steps:
Retrieve the Doppler smoothing factor (
nsm).Apply the sliding mean smoothing to the self-spectra of antenna 3.
Store the smoothed matrix as an attribute within the
SeaSondeRCSobject.
The smoothing process helps stabilize the estimation of nulls between first- and second-order regions, preventing over-smoothing that could distort boundaries or under-smoothing that could introduce jagged edges.
See also
seasonder_SmoothSSfor performing the smoothing operation.seasonder_setSeaSondeRCS_FOR_SS_Smoothedfor storing the smoothed self-spectra.seasonder_getFOR_parametersfor retrieving defaultnsmvalues.