This function calculates the center Doppler bin for a SeaSondeRCS object based on the total number of Doppler bins. The center bin corresponds to the bin representing zero Doppler frequency.
Value
A numeric value representing the center Doppler bin. The calculation assumes zero-based indexing from CODAR data files, but note that R uses one-based indexing, which may result in differences compared to CODAR's Radia Suite outputs.
Details
The center Doppler bin is computed as: \(center\_bin = nDoppler/2\) where nDoppler is the total number of Doppler bins. This represents the bin at zero Doppler frequency in a zero-indexed system. Since R uses one-based indexing, users might observe an offset when comparing the output of this function to CODAR's Radia Suite programs.
See also
seasonder_getSeaSondeRCS_MUSIC_nDopplerCells
to retrieve the number
of Doppler cells from a SeaSondeRCS object.