Ptycho: add continuous scan improve analysis using translated probe modes
When performing a continuous scan, use probe modes to better model the intensity:
- for each position
i
, generatenb_continuous_shift
modes by using a single probe, and interpolated positions aroundx[i]
- this would not support multiple probe modes
- this could be costly in terms of memory
This follows Odstrcil et al, Opt. Express 26, 12585(2018)
In practice:
- add
nb_continuous_shift
to thePtycho
object - update
ObjProbe2Psi
,Calc2Obs1
,ApplyAmplitude
,Psi2Obj
,Psi2PosShift
,Psi2Probe
,DM1
,DM2
,RAAR1
,RAAR2
,_Grad
,_CGGamma
,CUOperatorPtycho.prepare_data
etc... any code which currently usesnb_probe
ornb_obj
- It may be interesting to re-organise a bit the code so the Psi stack has only one dimension for all modes, i.e. switch from
[nb_obj, nb_probe, stack_size, ny, nx]
to[nb_mode, stack_size, ny, nx]
or[stack_size, nb_mode, ny, nx]
?- Generic modes are implemented in the argparse-multibeam branch - now need to implement the shifting-position modes..
Edited by Vincent Favre-Nicolin