fold_slice icon indicating copy to clipboard operation
fold_slice copied to clipboard

object constraints in GPU engines do not work for multiple scans with shared object

Open yijiang1 opened this issue 4 years ago • 0 comments

In ptycho_solver.m, the loop "ll = 1:max(par.object_modes, par.Nscans)" for object constraints (e.g. apply_smoothness_constraint) will result in error if multiple scans share the same object. In this case, the number of object modes is less than par.Nscans. Need to find a way to determine the correct number of objects based on eng. share_object.

yijiang1 avatar Feb 22 '21 22:02 yijiang1