View source: R/SeaSondeRCS_MUSIC.R
seasonder_MUSICComputeSignalPowerMatrix | R Documentation |
This function computes the signal power matrix for each direction of arrival (DOA) solution obtained from the MUSIC algorithm. It updates the MUSIC data in the provided SeaSondeRCS object with the computed power matrices.
seasonder_MUSICComputeSignalPowerMatrix(seasonder_cs_object)
seasonder_cs_object |
A SeaSondeRCS object containing MUSIC data, including eigenvalues, eigenvectors, and DOA solutions. |
The function performs the following steps:
Retrieves the MUSIC data from the SeaSondeRCS object.
Defines an internal function to update the DOA solutions with computed power matrices:
For dual steering vectors (DOA_sol$dual$a
), computes the power matrix using
seasonder_computePowerMatrix
and updates DOA_sol$dual$P
.
For single steering vectors (DOA_sol$single$a
), computes the power matrix using
seasonder_computePowerMatrix
and updates DOA_sol$single$P
.
Iterates through the MUSIC data, applying the update function to each set of eigenvalues and DOA solutions.
Updates the SeaSondeRCS object with the modified MUSIC data.
The updated SeaSondeRCS object with the MUSIC data containing the computed power matrices for both dual and single solutions.
seasonder_computePowerMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.