Skip to main content

tiptilt

Differentiable wavefront-error generation and wavefront control for the HWO direct imaging simulation suite.

Named for tip and tilt, the humblest wavefront correction.

What it is

tiptilt owns the two halves of the wavefront program that the propagation engine (physicaloptix) deliberately leaves out:

  1. Aberration generation. A physically meaningful mode basis (segment piston/tip/tilt, deformable-mirror influence functions, Zernikes) plus per-mode temporal statistics produce a drifting wavefront-error realization. It is delivered as a time-varying speckle residual implementing the optixstuff.AbstractSpeckleField contract, built on the (E_nom, G) linearization physicaloptix provides, so the image and yield layers consume it unchanged.
  2. Wavefront control. Wavefront-sensor estimators, a reconstructor over the same (E_nom, G) product (electric-field conjugation in space, a modal loop on the ground), and a differentiable control loop that commands the deformable mirror.

Space wavefront control is the priority; atmospheric turbulence shares the loop, the mode basis, and the residual interface.

What is here

  • Aberration sources (speckle, turbulence): a stationary spectrally-factorized drift field, a tabulated replay field, correlated multi-channel realizations, and von Karman / frozen-flow screens.
  • Sensing (sensing): pairwise probe estimation, Zernike wavefront sensor calibration and reconstruction, and Kalman field estimators behind a common AbstractEstimator seam.
  • Control (control): electric-field conjugation, stroke minimization, and a predictive law behind a common AbstractController seam, with close_dark_hole as the driver.
  • Operations (maintenance, multichannel): dark-hole maintenance under injected drift with honest model/truth separation, and cross-channel feed-forward on a shared deformable mirror.
  • Hardware (dm): a programmable actuator-grid deformable mirror (Gaussian influence functions, per-actuator stroke limits) whose command vector is actuator-space, the language published control algorithms speak.
  • Benchmarking (testbed): an algorithm registry, scenario builders (dig from cold, hold against drift, NCPA-limited, dual-channel), metrics, and run/sweep drivers. Custom laws plug in by implementing one method; see examples/custom_controller.py.

The mode-basis constructors it builds on (zernike_basis, segment_ptt_basis, fourier_dm_basis) live in physicaloptix.

Layout

  • src/tiptilt/ -- the package.
  • tests/ -- the test suite (pytest, CPU/x64-pinned like physicaloptix).
  • examples/ -- worked examples (bring-your-own control algorithm).

Metadata

Release files for tiptilt 0.2.0

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

Source distribution (sdist)

Source distribution for tiptilt 0.2.0
File Size Uploaded Provenance Actions
tiptilt-0.2.0.tar.gz 76.0 kB With provenance Details for tiptilt-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 126.9 kB

Release files / tiptilt-0.2.0.tar.gz

Download URL tiptilt-0.2.0.tar.gz
Size 76.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d6aacd738a688f979933ccc8684d8ba4c100be5cebdb3eae400eefba69ab90d
BLAKE2b-256 checksum
How to use checksums
437691871a41ac34eecf91ab3625c5e7f0bdc50720782edddf9750362eb96929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Release files / tiptilt-0.2.0-py3-none-any.whl

Download URL tiptilt-0.2.0-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bad9f5253ec017134474f1ac59dc245512d8e8b57f9c1fef423827d7018d8e9a
BLAKE2b-256 checksum
How to use checksums
84e1d5a03d9b5bc683a81c14eeb6a9675f2f971852339bf4895ae1ade1fe424c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Security for tiptilt 0.2.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tiptilt-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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