Template Function icrar::cpu::pseudo_inverse

Function Documentation

template<typename T>
Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> icrar::cpu::pseudo_inverse(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &a)

Invert as a function If non-negative RefAnt is provided it only forms the matrix for baselines with that antenna.

This function generates and returns the inverse of the linear matrix to solve for the phase calibration (only) given a MS. The MS is used to fill the columns of the matrix, based on the baselines in the MS (and RefAnt if given)

The output will be the inverse matrix to cross with the observation vector.

Parameters:

A