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.10.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.10-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.5.10.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.10.tar.gz
Algorithm Hash digest
SHA256 86ae6206c1943c05150e443548b378b1c0010a7f0f475e0c5b4a9c3118f28a9a
MD5 6240939b57f1bc2cdb96aa8604c12783
BLAKE2b-256 359304d20f64c97b3f09b1a1676ac9301dbd27ea7bb22b991710a1b7a5c32693

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 77355ee16ac7266096b2f177aea0db5c02150ea08ffec6ea284358e19a645282
MD5 dec322e5f74a3bbc2b498d1ec4df0a2f
BLAKE2b-256 b9dd88cbbdc933ba20d0d62aef046ba7b12a10de729f33920380811590a08f98

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