AdvancedPhotonSource / tike

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

NEW: Additional ptychography gradient-based approach using ADAM #161

Closed carterbox closed 3 years ago

carterbox commented 3 years ago

Purpose

Add an additional ptychography solver based on the ADAptive moment gradient descent algorithm. Also adds a constraint which aims to keep probe illuminations centered.

Approach

ADAM is a gradient descent accelerator which uses a momentum and velocity variable (which are the same shape as the gradient) to push the search direction towards directions that often appear in the gradient. These terms provide the search direction with a short-term memory (momentum).

Pre-Merge Checklists

Submitter

Reviewer

pep8speaks commented 3 years ago

Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 499:81: E501 line too long (81 > 80 characters)

Comment last updated at 2021-09-30 22:04:16 UTC