Retrieve MUSIC Options from a SeaSondeRCS Object
Source:R/SeaSondeRCS_MUSIC.R
seasonder_getMUSICOptions.Rd
This function extracts the MUSIC options from a SeaSondeRCS object.
Details
The function retrieves the MUSIC options from the object's MUSIC_data attribute.
In the absence of user-defined options, it returns the default options provided by seasonder_defaultMUSICOptions()
.
Examples
# Minimal example for seasonder_getMUSICOptions
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)
#> seasonder_createSeaSondeRAPM: APM object created successfully.
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
#> new_SeaSondeRCS: SeaSondeRCS object created successfully.
opts <- seasonder_getMUSICOptions(cs_obj)
print(opts)
#> $PPMIN
#> NULL
#>
#> $PWMAX
#> NULL
#>
#> $smoothNoiseLevel
#> [1] FALSE
#>
#> $doppler_interpolation
#> [1] 2
#>
#> $MUSIC_parameters
#> [1] 40 20 2 20
#>
#> $discard_low_SNR
#> [1] TRUE
#>
#> $discard_no_solution
#> [1] TRUE
#>