ratt-ru / pfb-imaging

Preconditioned forward/backward clean algorithm
MIT License
7 stars 5 forks source link

Limit number of w planes #27

Closed bennahugo closed 4 years ago

bennahugo commented 4 years ago

It would be nice to have the ability to limit the number of w planes to similar numbers used in wsclean. Currently PSF synthesis takes substantially longer than the current wsclean gridder

landmanbester commented 4 years ago

The wgridder performs gridding at a specified accuracy and automatically computes the number of w layers required. You could speed it up by decreasing the gridding accuracy, I have just hard-wired it to 1e-5 for the time being

bennahugo commented 4 years ago

This is at the edge of the fov? We should perhaps lower it to e-3

landmanbester commented 4 years ago

Yes, it stes the number of w planes required for the worst case error. You can use the epsilon argument to set this to anything from 1e-1 to 1e-6 for single precision and 1e-1 to 1e-12 for double precision