Skip to contents

This function applies amplitude and phase corrections to each antenna channel of a SeaSonde RAPM object based on the correction factors stored within the object.

Usage

seasonder_applyAPMAmplitudeAndPhaseCorrections(seasonder_apm_object)

Arguments

seasonder_apm_object

A SeaSonde RAPM object containing raw data and correction factors.

Value

The SeaSonde RAPM object with amplitude and phase corrections applied to the data.

Examples

# Apply amplitude & phase corrections to 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.
corrected_obj <- seasonder_applyAPMAmplitudeAndPhaseCorrections(obj)