View source: R/SeaSondeRCS_FOR.R
seasonder_findFORNulls | R Documentation |
This function locates the null points in the First Order Region (FOR) of a SeaSondeR cross-spectral object. It smooths the self-spectra (SS) data, extracts the relevant Doppler bins, and determines the boundaries of the first-order Bragg region for each range cell.
seasonder_findFORNulls(seasonder_cs_object)
seasonder_cs_object |
A |
The function follows these steps:
Smooth the Self-Spectra Data: Calls seasonder_SmoothFORSS
to apply a running mean filter.
Extract Smoothed Self-Spectra: Retrieves the processed SS matrix using seasonder_getSeaSondeRCS_FOR_SS_Smoothed
.
Identify the Doppler Center Bin: Determines the central Doppler bin using seasonder_getCenterDopplerBin
.
Segment the Spectrum: Splits the smoothed SS data into:
The negative Bragg region (left side of the Doppler spectrum).
The positive Bragg region (right side of the Doppler spectrum).
Find Nulls in Each Region: Uses seasonder_findFORNullsInSSMatrix
to identify the null positions.
Store Results: Extracts:
The First Order Region (FOR
).
The maximum power (MAXP
).
The Doppler bin index of the maximum power (MAXP.bin
).
Update the SeaSondeRCS Object: Saves the detected FOR boundaries and related metrics.
The updated SeaSondeRCS
object with the computed FOR nulls, maximum power, and bin indices.
seasonder_findFORNullsInSpectrum
for processing individual spectra.
seasonder_findFORNullsInSSMatrix
for batch processing spectra across multiple range cells.
seasonder_getSeaSondeRCS_FOR_SS_Smoothed
for retrieving smoothed SS data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.