Commit 1003205c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

don't use double accumulation for now

parent a9493f0f
Pipeline #91203 passed with stages
in 13 minutes and 20 seconds
...@@ -55,7 +55,7 @@ template<typename T> py::array vis2dirty2(const py::array &uvw_, ...@@ -55,7 +55,7 @@ template<typename T> py::array vis2dirty2(const py::array &uvw_,
auto dirty2 = to_mav<T,2>(dirty, true); auto dirty2 = to_mav<T,2>(dirty, true);
{ {
py::gil_scoped_release release; py::gil_scoped_release release;
ms2dirty<T,double>(uvw,freq,vis,wgt2,mask2,pixsize_x,pixsize_y,epsilon, ms2dirty<T,T>(uvw,freq,vis,wgt2,mask2,pixsize_x,pixsize_y,epsilon,
do_wgridding,nthreads,dirty2,verbosity,flip_v,divide_by_n, sigma_min, do_wgridding,nthreads,dirty2,verbosity,flip_v,divide_by_n, sigma_min,
sigma_max, center_x, center_y, allow_nshift); sigma_max, center_x, center_y, allow_nshift);
} }
...@@ -156,7 +156,7 @@ template<typename T> py::array dirty2vis2(const py::array &uvw_, ...@@ -156,7 +156,7 @@ template<typename T> py::array dirty2vis2(const py::array &uvw_,
auto vis2 = to_mav<complex<T>,2>(vis, true); auto vis2 = to_mav<complex<T>,2>(vis, true);
{ {
py::gil_scoped_release release; py::gil_scoped_release release;
dirty2ms<T,double>(uvw,freq,dirty,wgt2,mask2,pixsize_x,pixsize_y,epsilon, dirty2ms<T,T>(uvw,freq,dirty,wgt2,mask2,pixsize_x,pixsize_y,epsilon,
do_wgridding,nthreads,vis2,verbosity,flip_v,divide_by_n, sigma_min, do_wgridding,nthreads,vis2,verbosity,flip_v,divide_by_n, sigma_min,
sigma_max, center_x, center_y, allow_nshift); sigma_max, center_x, center_y, allow_nshift);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment