Code Monkey home page Code Monkey logo

ptypy's Introduction

PTYPY - Ptychography Reconstruction for Python

Ptypy (pronounced typy, forget the p, as in ptychography or psychology) is a reconstruction package for ptychographic datasets.

To get started quickly, look at the examples in the template directory. You will also need to prepare your data in a hdf5 file and following a structure that ptypy can understand. Ptypy provides already routines to prepare data from three beamlines (cSAXS, PSI; I13, Diamond; and I22, ESRF) and more will come.

Features

Ptypy was designed with flexibility in mind: it should allow rapid development of new ideas. To this end, much of the "ugly" details have been hidden in advanced containers that manage data and access "views" onto them.

Currently implemented:

  • Fully parallelized (using MPI)
  • Difference map algorithm with power bound constraint
  • Maximum Likelihood with preconditioners and regularizers.
  • Mixed-state reconstructions of probe and object
  • Multiple-wavelength reconstruction
  • On-the-fly reconstructions (while data is being acquired)

Installation

Installation should be as simple as sudo python setup.py install or, as a user, python setup.py install --user

Dependencies

Ptypy depends on standard python packages:

  • numpy
  • scipy
  • matplotlib
  • h5py
  • mpi4py (optional - required for parallel computing)
  • zeromq (optional - required for the offline plotting client)
  • maybe some more we forgot to put in this list.

Contribute

  • Issue Tracker: github.com/ptycho/ptypy/issues
  • Source Code: github.com/ptycho/ptypy

Support

If you are having issues, please let us know.

License

The project is licensed under a GPLv2 license.

ptypy's People

Contributors

chameleon-lizard avatar pierrethibault avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.