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.
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)
#> seasonder_createSeaSondeRAPM: APM object created successfully.
smoothed_obj <- seasonder_smoothAPM(obj, 5)