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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.2.22.tar.gz
  • Upload date:
  • Size: 21.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.2.22.tar.gz
Algorithm Hash digest
SHA256 f0dcae684e5a1c3d7cccb61f31371df5596f21643f98aaf10fab8209c34f95ee
MD5 f74fde56f772aed7d98e084f9eb3f0b7
BLAKE2b-256 3eded3eb1d1fa1c91e2cc2f1ef0f96c1b3ed57487f584187dec1d49f3469a1ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 e2ecd5f3b725d12391032d072b9f4b1e4bbfdb303682fd569314908e89715198
MD5 0a720f08f78b757a168a2ccd411e8f1b
BLAKE2b-256 3da7c3fc4720489f9b5c3b18b4b4f8d1759030879b92908141306714b27a6d38

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