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-2025.9.18.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

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

ptyrodactyl-2025.9.18-py3-none-any.whl (75.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ptyrodactyl-2025.9.18.tar.gz
Algorithm Hash digest
SHA256 87ce69f2ea9c0fd757ec95e318610cffa0df78fa338597ccf94d10a50ed59482
MD5 a8ed774b1b2c7a64e6762b825561217d
BLAKE2b-256 9bb72722f833e3bdedcf2b1481ee47b76dbd2476cf01c798a0c8ceeb1d5840e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.9.18-py3-none-any.whl
Algorithm Hash digest
SHA256 2316d261d207740cd9ad48ba6fa982be337b37c2f02520bfa8bee86aa67afce2
MD5 554b53a46da136cfb44a2a12fd70e058
BLAKE2b-256 cb13675ca8c01ea8671afecf2c290a020d6a308b0988e6d4f2071262f6793f97

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