Skip to main content

Ptychography through differentiable programming in JAX

Project description

PyPI Downloads License: MIT PyPI version Documentation Status DOI Code style: black codecov Tests

Ptychography through Differentiable Programming

The aim of this project is to write the forward problem: aka writing the microscope data generation, both for electron and optical microscopes in JAX so that it's end to end differentiable and using this differentiability to run modern optimizers such as Adam and Adagrad to solve for the inverse problem - which is ptychography in our case.

All the work here is in Python, performed on a x64 based processor workstation, running Ubuntu Linux 22.04. However, none of the packages here have Linux as a dependency, so this should run in Windows/Mac environments too -- just the path commands may be a bit different.

This will install the package as ptyrodactyl, which is the package that all the codes are.

The codes themselves are in the src directory, following the modern toml convention as the ptyrodactyl folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptyrodactyl-2026.3.24.tar.gz (110.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ptyrodactyl-2026.3.24-py3-none-any.whl (124.8 kB view details)

Uploaded Python 3

File details

Details for the file ptyrodactyl-2026.3.24.tar.gz.

File metadata

  • Download URL: ptyrodactyl-2026.3.24.tar.gz
  • Upload date:
  • Size: 110.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for ptyrodactyl-2026.3.24.tar.gz
Algorithm Hash digest
SHA256 867623011bee751e739151a0cab35c0d5ce9029411448713b1c49560f4ba0f1f
MD5 dcf0251d7b64ab019588ffdfca566b8b
BLAKE2b-256 121c0c8880abb45bbf042c2cfe326e2d382429e6333238b57efa01984654482c

See more details on using hashes here.

File details

Details for the file ptyrodactyl-2026.3.24-py3-none-any.whl.

File metadata

File hashes

Hashes for ptyrodactyl-2026.3.24-py3-none-any.whl
Algorithm Hash digest
SHA256 aa88641995207016aa07330d8f3295449ba0defdb49f12a081835a45d6a0fd90
MD5 85d2312cdbf3d183385aa1260c0420a3
BLAKE2b-256 e6a5f12a830de4152b6ff8ef2012212eab7ffc5e53fa367025c3dcddb9ec68cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page