seasonder_getSeaSondeRCS_MUSIC_parameters {SeaSondeR} | R Documentation |
Retrieve MUSIC Parameters from a SeaSondeRCS Object
Description
This function extracts the MUSIC algorithm parameters from a SeaSondeRCS object.
Usage
seasonder_getSeaSondeRCS_MUSIC_parameters(seasonder_cs_object)
Arguments
seasonder_cs_object |
A SeaSondeRCS object containing MUSIC data as an attribute. |
Details
The function checks for the presence of MUSIC parameters in the object's MUSIC_data attribute.
If not found, it defaults to the values returned by seasonder_defaultMUSIC_parameters()
.
Value
A numeric vector of MUSIC parameters.
Examples
# Minimal example for seasonder_getSeaSondeRCS_MUSIC_parameters
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)
params <- seasonder_getSeaSondeRCS_MUSIC_parameters(cs_obj)
print(params)
[Package SeaSondeR version 0.2.8 Index]