Tried fft from pyfftw (is a bit fast than fft from numpy.fft, but commented out pyfftw)
Tried naive implementation of magproj, should work now, but commented out Replaced u*conj(u) by u.real**2+u.imag**2 in magproj. Computation time for 500 JWST iterations is down from 1.3s to 0.5 s (much faster!!!). Computation before was complex!!! Did the same in Approx_P_JWST_Poisson (also somewhat faster, since using real muliplication, log now). Implemented P_S
File deleted
Please register or sign in to comment