Contains:
- Contains demo code for the papers:
and
The optimization part of second-order optimization approach described in the latter paper is contained in https://github.com/saugatkandel/sopt as more general opitmization code, whereas this repository contains the wrappers for the ptycohgraphy applications.
- Tutorials for simple ptychography reconstruction applications with tensorflow (contained in tensorflow_tutorials). It is safe to ignore the python package setup procedure.
- A generic, modular tensorflow-based simulation and reconstruction framework in ptychoSampling. The documentation, however, is quit e sparse and sometimes unchanged from that for older versions of the code.
- Simulation and reconstruction examples for far-field cases.
Warning:
The documentation is completely out-of-date.
Notes:
-
For ease of application, the forward model simulation code uses numpy. Only the reconstruction code uses Tensorflow.
-
Uses Tensorflow 1.14 for now. In the future, I am planning on switching away from the static computational graphs to a dynamic framework (Tensorflow 2.0, Pytorch, Autograd, Jax, etc) for ease of usage.