This is a running kernel for phase averaging. This uses Eigen::Tensor instead of Eigen::Matrix as it offers advanced slicing methods and can even be mapped back to a matrix using Eigen::Map and Eigen::Stride.
Tests are currently naive as I realized I still need to read UVW from the MeasurementSet (or hard code the data).
This is a running kernel for phase averaging. This uses Eigen::Tensor instead of Eigen::Matrix as it offers advanced slicing methods and can even be mapped back to a matrix using Eigen::Map and Eigen::Stride.
Tests are currently naive as I realized I still need to read UVW from the MeasurementSet (or hard code the data).