seasonder_getMUSICInterpolatedData {SeaSondeR} | R Documentation |
Retrieve Interpolated MUSIC Data from a SeaSondeRCS Object
Description
This function extracts the interpolated MUSIC cross-spectra data from a SeaSondeRCS object.
Usage
seasonder_getMUSICInterpolatedData(seasonder_cs_object)
Arguments
seasonder_cs_object |
A SeaSondeRCS object containing interpolated MUSIC data as an attribute. |
Details
The function first checks if the interpolated data is set in the MUSIC_data attribute.
If absent, it initializes the data with seasonder_MUSICInitInterpolatedData()
.
Value
A list representing the interpolated cross-spectra data.
Examples
# Minimal example for seasonder_getMUSICInterpolatedData
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")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
interp_data <- seasonder_getMUSICInterpolatedData(cs_obj)
str(interp_data)
[Package SeaSondeR version 0.2.8 Index]