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.6.16.tar.gz (41.9 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.6.16-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ptyrodactyl-2025.6.16.tar.gz
Algorithm Hash digest
SHA256 8e0ee2b81b4f8adde386659c40bd3b3bb8c59d4dd3db0127da5b24992e6a4cd2
MD5 407ec548d735c2c952414bff66698238
BLAKE2b-256 ecb93f7bf89d08831a399205eec740f7dbd4b723055c1ea5bbd22e4d22cbf271

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.6.16-py3-none-any.whl
Algorithm Hash digest
SHA256 dc121b8d1004846238f50af9b7f7c1d3a196cacc5780f464ef6b7da87b0edf24
MD5 291c56438d093c41ff27a7b15a2c8168
BLAKE2b-256 88961fcf110057deca0c6e5cd599ec0beace99be6d26188b4d457843223ba5dc

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