#ifdef _OPENMP #include #endif #include "w-stacking.h" #include #include #include #ifdef __CUDACC__ #endif void phase_correction(double* gridss, double* image_real, double* image_imag, int xaxis, int yaxis, int num_w_planes, int xaxistot, int yaxistot) { double dnum_w_planes = (double)num_w_planes; double dxaxistot = (double)xaxistot; double dyaxistot = (double)yaxistot; for (int iw=0; iw