Skip to main content

PyPI Downloads License PyPI version Python Versions Documentation Status DOI Code style: black codecov jax_badge Lines of Code

Janssen: Optical Microscopy with JAX

Janssen is a JAX-based library for optical microscopy simulations and ptychographic reconstructions. It provides differentiable implementations of optical propagation, lens simulations, and phase retrieval algorithms, all optimized for GPU acceleration through JAX.

Architecture

Janssen Architecture

Janssen follows a layered architecture built on JAX's functional paradigm:

  • Foundation Layer: Core data structures (types) as JAX PyTrees for automatic differentiation, plus math utilities (utils) including Bessel functions and Wirtinger gradients
  • Physics Core: Optical propagation (prop), lens models (lenses), beam profiles (models), and wavefront manipulation (optics)
  • Coherence Layer: Partial coherence simulation (cohere) with spatial/temporal modes and source models
  • Application Layer: Forward microscope models (scopes), phase retrieval algorithms (invert), and visualization (plots)

Every optical element is a pure function Wavefront → Wavefront, enabling JAX to trace computation graphs and compute gradients automatically for inverse problems like ptychography.

Metadata

Release files for janssen 2025.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for janssen 2025.11.1
File Size Uploaded Provenance Actions
janssen-2025.11.1.tar.gz 164.0 kB Without provenance Details for janssen-2025.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for janssen 2025.11.1
File Interpreter ABI Platform Actions
janssen-2025.11.1-py3-none-any.whl Python 3 none any Details for janssen-2025.11.1-py3-none-any.whl

Total release size: 354.2 kB

Release files / janssen-2025.11.1.tar.gz

Download URL janssen-2025.11.1.tar.gz
Size 164.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eef3317eb1525f1388528f94280a90df0edc9a18d80da9932320eaf81c12a018
BLAKE2b-256 checksum
How to use checksums
7e6a0497c960a171fdcb1ff30ce7333e467f5a0444aba4a61df5028f8613f3ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / janssen-2025.11.1-py3-none-any.whl

Download URL janssen-2025.11.1-py3-none-any.whl
Size 190.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfbcaa8a85c9c63ad868e8cfd66cd7b8be0a8ec38d1842bd0c736edea6ad6463
BLAKE2b-256 checksum
How to use checksums
cfe9ea572954deb695c258e7c50950d2a4dac1ba7815cbb4b040c878847c5d81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for janssen 2025.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page