Build: #4 was successful Changes by Hendrik Muller <hmuller@smurf.aoc.nrao.edu>

Stages & jobs

  1. Default Stage

  2. Test

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
48 minutes
Labels
None
Revision
2381a3c694792c2f6af7a9f60eb05309cc8ebd63
Total tests
696
Successful since
#1 ()

Tests

Code commits

Author Commit Message Commit date
Hendrik Muller <hmuller@smurf.aoc.nrao.edu> Hendrik Muller <hmuller@smurf.aoc.nrao.edu> 2381a3c694792c2f6af7a9f60eb05309cc8ebd63 Add a first option for running imaging as an optimization problem. OptimizationHandler derives from SynthesisImager, and implements both the chi2 evaluation (in visibility space), as well as its gradient (through the major cycle).
Python optimization could now induced by, e.g.:
optim = SynthesisOptimizationHandler(paramList)
x = optim.x0.copy()
for i in range(100):
        x += 1e-5 * optim.gradient(x) #gradient descent
        print(optim(x))

or more sophisticated through scipys optimization framework. Note that the chi2 function is also the Bayesian likelihood, so sampling with the help of python MCMC should also be possible, as well Plug-and=Play AI denoising. For RML and sparse imaging, one needs to add the regularization function (and its gradient) in python, and add functionals, e.g. by lambda framework.

Most desirable would be an integration into a framework such as regpy.

This is not the final version and likely to change.

Shared artifacts

Artifact File size
ManyLinux228 Casatestutils 157 KB
ManyLinux228 Python 3.12 Tool wheel 75 MB