Compute Signal Power Matrix for MUSIC Algorithm
Source:R/SeaSondeRCS_MUSIC.R
seasonder_MUSICComputeSignalPowerMatrix.Rd
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.
Value
The updated SeaSondeRCS object with the MUSIC data containing the computed power matrices for both dual and single solutions.
Details
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 usingseasonder_computePowerMatrix
and updatesDOA_sol$dual$P
.For single steering vectors (
DOA_sol$single$a
), computes the power matrix usingseasonder_computePowerMatrix
and updatesDOA_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.