seasonder_setFOR_noisefact {SeaSondeR} | R Documentation |
Set FOR Noise Factor (noisefact)
Description
This function sets the noise factor (noisefact
) used in FOR processing
for the given SeaSondeRCS object.
Usage
seasonder_setFOR_noisefact(seasonder_cs_object, noisefact)
Arguments
seasonder_cs_object |
A SeaSondeRCS object with FOR parameters. |
noisefact |
A numeric value that specifies the noise factor. |
Value
The updated SeaSondeRCS object with the new noisefact
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_noisefact(cs_obj, 4)
[Package SeaSondeR version 0.2.8 Index]