standardise_eigenvectors

ska_sdp_func_python.calibration.ionosphere_utils.standardise_eigenvectors(evec)[source]

Fix arbitrary eigenvector signs.

Different eigenvector solvers generate vectors with arbitrary scaling by +1 or -1. And for Numpy, this has been seen to change from one version to the next. While the scaling is arbitrary and will not affect the desired statistics, it will affect the resulting phase screens. This routine standardises the scaling to avoid randomness during testing.

Parameters:

evec – eigenvector matrix to standardise