View source: R/SeaSondeRCS_FOR.R
seasonder_validateFOR_parameters | R Documentation |
This function validates and assigns default values to the parameters used in defining the First Order Region (FOR) in a SeaSondeR cross-spectral object. It ensures that all necessary parameters are present and assigns appropriate defaults where values are missing.
seasonder_validateFOR_parameters(
seasonder_cs_object,
FOR_parameters,
method = "SeaSonde"
)
seasonder_cs_object |
A |
FOR_parameters |
A named list containing the parameters for first-order region detection. |
method |
A character string specifying the validation method. Default is |
The function validates FOR parameters and assigns default values where necessary.
If the selected method is "SeaSonde", the function ensures that each parameter is
defined and, if missing, assigns it a default value based on seasonder_defaultFOR_parameters
.
The parameters validated include:
nsm (Doppler Smoothing): Number of points used for spectral smoothing.
fdown (Peak Power Dropoff): Defines how far below peak power the algorithm descends before searching for the null.
flim (Null Below Peak Power): Specifies a power threshold for identifying the first-order region.
noisefact (Signal to Noise): Threshold above the noise floor that a spectral bin must exceed to be considered first-order.
currmax (Maximum Velocity): Maximum radial velocity allowed in the first-order region.
reject_distant_bragg: Logical flag indicating whether to reject Bragg regions that are too distant from the central Bragg frequency.
reject_noise_ionospheric: Logical flag indicating whether to reject Bragg regions affected by ionospheric noise.
reject_noise_ionospheric_threshold: Threshold (in dB) for rejecting first-order regions based on noise contamination.
reference_noise_normalized_limits: Estimated reference noise range in normalized Doppler frequency,
computed using seasonder_estimateReferenceNoiseNormalizedLimits
.
A named list containing validated and completed FOR parameters.
seasonder_defaultFOR_parameters
for default FOR settings.
seasonder_estimateReferenceNoiseNormalizedLimits
for computing reference noise limits.
seasonder_validateFORMethod
for validating the processing method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.