Skip to main content

Ptychography through differentiable programming in JAX

Project description

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

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.5.7.tar.gz (24.4 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.5.7-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.5.7.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ptyrodactyl-2025.5.7.tar.gz
Algorithm Hash digest
SHA256 be81e9f16692cfae3f90b3ceb1b80c57f526e7483a226b77982820a16d7bc2d8
MD5 101334959b2ea2193fe44e85fc90680f
BLAKE2b-256 172d548b831b4125feff3198d00a51f41ca2cd453db2494c4df8965b8ac5bc32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.5.7-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ptyrodactyl-2025.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0f5293ce2384d7e1a64bd4aa4d4b2ea22410ae470c67d2d141ead91da93ada78
MD5 e8b2ff5eb745f8a99729351288ab6518
BLAKE2b-256 070d2259e7aa69221e161599c7a70d813533c6fc5926c17123495a444bc59cae

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