Function icrar::cuda::AvgDataToPhaseAngles

Function Documentation

__host__ void icrar::cuda::AvgDataToPhaseAngles(const device_vector<int> &I1, const device_matrix<std::complex<double>> &avgData, device_vector<double> &phaseAnglesI1)

Copies the argument of the 1st column/polarization in avgData to phaseAnglesI1.

Parameters:
  • I1 – the index vector for unflagged antennas

  • avgData – the averaged data matrix

  • phaseAnglesI1 – the output phaseAngles vector