CGao-STEM / ptychoSampling

Code for ptychography with tensorflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ptychoSampling

Contains:

  1. Tutorials for simple ptychography reconstruction applications with tensorflow (contained in tensorflow_tutorials). It is safe to ignore the python package setup procedure.
  2. A generic, modular tensorflow-based simulation and reconstruction framework in ptychoSampling. The documentation, however, is quite sparse and sometimes unchanged from that for older versions of the code.
  3. Simulation and reconstruction examples for far-field, near-field, and bragg ptychography cases.

Does not contain (for now):

  1. Tests and timing benchmarks.

Notes:

  1. For ease of application, the forward model simulation code uses numpy. Only the reconstruction code uses Tensorflow.

  2. 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.

About

Code for ptychography with tensorflow


Languages

Language:Jupyter Notebook 95.6%Language:Python 4.4%Language:MATLAB 0.0%