mehta-lab / waveorder

Wave optical models and inverse algorithms for label-agnostic imaging of density & orientation.
BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

Automatically choose regularization parameters with L-curve #35

Closed tiffchien closed 3 years ago

camFoltz commented 3 years ago

May be making a change in the auto-regularization to be compatible with recOrder napari plugin. Will update this PR

camFoltz commented 3 years ago

@lihaoyeh @tiffchien I have added one small feature to output lambda after the regularization, I will use this value for the reconstruction autoregularizer UI.

Just to confirm last_opt.reg_x is the regularization value correct? I.e. I could pass this value directly back into this function as reg_re?