seasonder_DopplerFreq2Bins | R Documentation |
This function converts a set of Doppler frequency values into their corresponding Doppler bin indices within a SeaSondeR
object.
seasonder_DopplerFreq2Bins(seasonder_cs_object, doppler_values)
seasonder_cs_object |
A |
doppler_values |
A numeric vector specifying the Doppler frequencies to be converted into bin indices. |
This function first retrieves the Doppler frequency bins from the given SeaSondeR
object using seasonder_getDopplerBinsFrequency
in non-normalized form.
The spectral resolution, which defines the frequency step size (\Delta f
), is obtained using seasonder_getDopplerSpectrumResolution
.
The number of Doppler bins is then determined using seasonder_getnDopplerCells
.
With this information, the function calls seasonder_computeDopplerFreq2Bins
to determine the corresponding bin indices for each input Doppler frequency.
An integer vector of Doppler bin indices corresponding to the input Doppler frequencies. Values that fall outside the valid bin range are assigned NA
.
seasonder_Bins2NormalizedDopplerFreq
for the reverse operation.
seasonder_computeDopplerFreq2Bins
for the core computation logic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.