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.21.tar.gz (69.6 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.21-py3-none-any.whl (76.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.9.21.tar.gz
  • Upload date:
  • Size: 69.6 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.21.tar.gz
Algorithm Hash digest
SHA256 01e14aec022243228be0210c0c87aa1675b6d575233d16c52c368c4204e1831a
MD5 fac09510468de13f5338e17fb0836c52
BLAKE2b-256 0880365114581533fb1b9a21464187a5c0a307825e358c8ba2454120d608331a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.9.21-py3-none-any.whl
Algorithm Hash digest
SHA256 63fb090605ef20dd36d3a4d54cf0b5c00bf9eff6f4ea1e843a94c500f7f05723
MD5 611beccbc11595a9955f36055984e7e1
BLAKE2b-256 89ae061c7c65a6ec6f67d492ab7b4ae29622b22016b6b9297f9105922c7aa118

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