seasonder_smoothAPM {SeaSondeR} | R Documentation |
Smooth APM Data
Description
This function smooths the antenna pattern data for each channel of a SeaSonde RAPM object by applying a moving average with a specified number of points.
Usage
seasonder_smoothAPM(seasonder_apm_object, smoothing)
Arguments
seasonder_apm_object |
A SeaSonde RAPM object containing raw antenna pattern data. |
smoothing |
The number of points to use for the moving average smoothing. |
Value
The SeaSonde RAPM object with smoothed antenna pattern data and an updated processing step.
Examples
# Smooth antenna pattern data from a test SeaSondeRAPM object
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
obj <- seasonder_readSeaSondeRAPMFile(apm_file)
smoothed_obj <- seasonder_smoothAPM(obj, 5)
[Package SeaSondeR version 0.2.8 Index]