seasonder_setFOR_nsm {SeaSondeR} | R Documentation |
Set FOR Doppler Smoothing Factor (nsm)
Description
This function sets the Doppler smoothing factor (nsm
) in the SeaSondeRCS object
for FOR processing.
Usage
seasonder_setFOR_nsm(seasonder_cs_object, nsm)
Arguments
seasonder_cs_object |
A SeaSondeRCS object containing FOR-related information. |
nsm |
A numeric value specifying the new smoothing factor. |
Value
The updated SeaSondeRCS object with the new nsm
value.
Examples
# Set sample file paths
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
# Read the antenna pattern file to create a SeaSondeRAPM object
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
# Create a SeaSondeRCS object from a spectral file
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
cs_obj <- seasonder_setFOR_nsm(cs_obj, 3)
[Package SeaSondeR version 0.2.8 Index]