AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

NEW: Hard theshold ptycho object magnitude to <= 1.0 #208

Closed carterbox closed 2 years ago

carterbox commented 2 years ago

This constrains the probe power ambiguity where the probe can increase in power and have an equivalent solution.

Purpose

Prevent power creep and ambiguity in the object and probe multiplication by force clipping the object magnitude to less than or equal to 1.

Approach

I also tried dividing the object and multiplying the probe by the maximum object magnitude each epoch, but this approach did not work well because it caused the ADAM algorithm to diverge.

Pre-Merge Checklists

Submitter

Reviewer