seasonder_createSeaSondeRAPM | R Documentation |
This function creates a SeaSondeRAPM object to store antenna pattern calibration data.
seasonder_createSeaSondeRAPM(
calibration_matrix = matrix(complex(real = NA_real_, imaginary = NA_real_), nrow = 3,
ncol = 0),
...
)
calibration_matrix |
A 3 x b complex matrix, where b is the number of bearings for calibration. |
... |
Additional named attributes that will be passed to |
The function performs the following operations:
Validates the calibration_matrix
with seasonder_validateCalibrationMatrixSeaSondeRAPM
.
Initializes all other attributes either with default or user-provided values.
Merges the initialized attributes into calibration_matrix
.
Sets the object's class to 'SeaSondeRAPM'.
For more details on the attributes, see seasonder_initializeAttributesSeaSondeRAPM
.
A SeaSondeRAPM object containing a complex matrix with class attribute 'SeaSondeRAPM' and additional attributes for metadata. Row names are set "A13", "A23" and "A33" and column names are set to be the values in BEAR.
seasonder_validateCalibrationMatrixSeaSondeRAPM
,
seasonder_initializeAttributesSeaSondeRAPM
# Create a test SeaSondeRAPM object by reading sample file
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
obj <- seasonder_readSeaSondeRAPMFile(apm_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.