- 07 Apr, 2017 3 commits
-
-
alexander.dornheim authored
JWST computation is now double precision, changed type of variables in JWST_data_processor to float64, complex128 Compared result to matlab result: After 1 iteration: Maximum norm of difference: 2.25868816441e-12 Frobenius norm of difference: 1.9427347826e-11 After 500 iterations: Maximum norm of difference: 8.35619946335e-05 Frobenius norm of difference: 0.00514996012436 So JWST seems to be working now... Also epsilon in magproj was changed back to 1e-30 (no overflow with double precision)
-
alexander.dornheim authored
-
alexander.dornheim authored
Do some precalculations in Approx_P_JWST_Poisson for better performance. This modification results in ~20% less computation time for JWST (500 Iterations).
-
- 06 Apr, 2017 5 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
In phase moved comparision with matlab results to method compare_to_matlab. This is only intended to be used for testing. Note u_0 needs to be fixed in a specific way, noise should be switched off. Added test for 1 Iteration: After 1 Iteration maximum norm of difference is 5.4e-06, Forbenius norm of difference is 2.5e-05.
-
-
alexander.dornheim authored
ProxPython is now using the built-in random generator numpy.random.poisson. According to the comments in PossionRan the argument is the mean (often called lambda). I also checked Numerical Recipes p. 294. Therefore calling numpy.random.poisson(x) should yield the same as calling PoissonRan(x). This resolves the overflow issue with PoissonRan, but I still get the following warnings: ../proxtoolbox/ProxOperators/proxoperators.py:265: RuntimeWarning: divide by zero encountered in true_divide tmp = U_sq/data_sq[:,:,j]; ../proxtoolbox/ProxOperators/proxoperators.py:265: RuntimeWarning: invalid value encountered in true_divide tmp = U_sq/data_sq[:,:,j]; Therefore I had a look at the following line in JWST_data_processor: k[:,:,i]=np.round(k[:,:,i]) From my understanding it is very likely to get zeros when rounding. I noted that after commenting out above line, there were no further warnings and the algorithm did converge nicely.
-
Russell Luke authored
-
- 05 Apr, 2017 2 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
Adjusted Input, import paths in JWST_data_processor
-
- 03 Apr, 2017 1 commit
-
-
Russell Luke authored
-
- 30 Mar, 2017 2 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
-
- 29 Mar, 2017 6 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
-
alexander.dornheim authored
Fixed bug in RAAR
-
alexander.dornheim authored
-
alexander.dornheim authored
-
alexander.dornheim authored
Fixed bugs in phase.py
-
- 28 Mar, 2017 3 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
-
alexander.dornheim authored
-
- 27 Mar, 2017 5 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
-
alexander.dornheim authored
Added argument dim to JWST_in, was required by ProxOperators
-
alexander.dornheim authored
Added ProxOperator P_amp
-
alexander.dornheim authored
Added ProxOperator Approx_P_JWST_Poisson: still needs to be tested
-
- 25 Mar, 2017 1 commit
-
-
alexander.dornheim authored
Changed comments in JWST_in and deleted duplicate Modified Phase_JWST_demo.py to test phase.py
-
- 24 Mar, 2017 4 commits
-
-
alexander.dornheim authored
JWST_data_processor is now using the right Resize function from Utilities, norm_rt_data now matches norm_rt_data from the matlab version, but other values still need to be checked.
-
alexander.dornheim authored
Continued fixing JWST_data_processor, but JWST_data_prcessor is still not working correctly
-
alexander.dornheim authored
Moved and renamed phase test script script.py Made some progress on JWST_data_processor
-
alexander.dornheim authored
-
- 23 Mar, 2017 4 commits
-
-
alexander.dornheim authored
-
alexander.dornheim authored
Added FFT in Utilities/Utilities.py , FFT was tested and should work like the equivalent in the ProxMatlab. But there are still issues with row-major order vs. column-major order, therefore implementation might not be efficient.
-
alexander.dornheim authored
-
alexander.dornheim authored
-
- 24 Feb, 2017 4 commits
-
-
Christoph Ruegge authored
-
Jochen Schulz authored
-
Jochen Schulz authored
-
Jochen Schulz authored
-