AdvancedPhotonSource / tike

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

NEW: Simple Multi-grid reconstruction method #230

Closed carterbox closed 2 years ago

carterbox commented 2 years ago

Purpose

Add a user-friendly wrapper around ptycho.reconstruct that implements a simple multi-grid reconstruction.

Approach

Downsamples the ptychography problem by powers of 2 a requested number of times. Then performs the requested number of iterations at all levels. Each level provides the initial guess for the next higher-resolution level via upsampling. Parameters are upsampled using scipy.ndimage.zoom which uses spline interpolation. Used zoom because it was convenient, but also the splines provide smooth transition from low resolution to high.

Comparison of different re-gridding methods here: https://anl.box.com/s/uwbh80n0vz37dmtjbbnsig53m53as0fr

Pre-Merge Checklists

Submitter

Reviewer

carterbox commented 2 years ago

Rebased to remove an unrelated commit