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.2.12.tar.gz (22.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.2.12-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ptyrodactyl-2025.2.12.tar.gz
Algorithm Hash digest
SHA256 7f61691b43109126d4609045aeb3fdf50706df89135260075adf76a9b34b03f1
MD5 6861cba3a9f531720c74022452695b40
BLAKE2b-256 cedc6aecab97c5a35e36bfc304eab1a174bfcbb23fa783e01224bd56cfd6121c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 688a7655054bf22cda0551dc72e1464e17ed3e1c9aa8e756c168f7ac1a422b35
MD5 eae44f827c615b52135b6eac05088997
BLAKE2b-256 c3cc23f827a22c35a87221304d801a6c0204801fe2684c3c462fd43cebb1b129

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