Commit 9dbdef7a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fixes

parent 6bc37688
......@@ -1488,8 +1488,13 @@ template<typename T> pyarr_c<T> vis2dirty_wstack(const Baselines<T> &baselines,
cout << "data w range: " << wmin << " to " << wmax << endl;
//FIXME temporary
double psz=gconf.Pixsize_x();
double dw = psz;// distance between two w planes, FIXME
double dw;
{
double x0 = -0.5*nx_dirty*psx,
y0 = -0.5*ny_dirty*psy;
double nmin = sqrt(1.-x0*x0-y0*y0)-1.;
dw = 1./(2*abs(nmin));
}
cout << "delta w: " << dw << endl;
double w_eps=1e-7; // FIXME
......
Supports Markdown
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