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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptyrodactyl-2025.2.28.tar.gz
  • Upload date:
  • Size: 22.0 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.28.tar.gz
Algorithm Hash digest
SHA256 15f91c0d29fb6f6ef3bc197f4c6813aa0828ce22af23e1518aa6174dde1951bb
MD5 dfc8ab1a94b481c4e25b0cb86ee11cc3
BLAKE2b-256 ca113191eb3e2e068af83d278844e673a06f0a0dfa4e1f2c564235b8614b7fbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ptyrodactyl-2025.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 8759c8082b6a812ef4d05218a170864be910819c650febfd59ac4309a892da68
MD5 580c8795059c12cf66104f7759ac4197
BLAKE2b-256 38c0c9c5ba73f4f240c742e582314a7726ddfc3a998eb38727d33c567ff6b4c6

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