Hardware abstractions for the HWO direct imaging simulation suite
Project description
optixstuff
Shared hardware objects — with standard values — for the HWO direct-imaging simulation suite.
What optixstuff is
optixstuff is a thin shared dependency that defines the observatory's
hardware as composable JAX modules: primary aperture, throughput-affecting
elements, coronagraph backend, detector. Its job is to be the single source of
truth for the hardware configuration that downstream tools consume.
Both coronagraphoto
(2D image simulation) and jaxEDITH
(exposure-time and yield calculations) import the same OpticalPath class and
the same detector / throughput / primary types from optixstuff. Change a value
here and both downstream tools pick it up on the next import.
What optixstuff is not
- Not a wavefront tool. Diffraction, E-field propagation, and PSFs-from-first-principles belong to dLux and HCIPy.
- Not a PSF interpolator. That's yippy's job;
optixstuff wraps a PSF backend via
YippyCoronagraphbut does not compute PSFs. - Not a scene model. Stars, planets, disks, and zodi live in skyscapes.
- Not a simulator. Downstream tools (coronagraphoto, jaxEDITH) consume an
OpticalPathto produce images or count rates.
Architecture
Built on JAX and
Equinox, optixstuff provides:
- Abstract interfaces —
AbstractPrimary,AbstractOpticalElement,AbstractCoronagraph,AbstractDetector - Concrete implementations —
SimplePrimary,ConstantThroughput,IdealDetector - Container —
OpticalPath, a composable hardware configuration passed to all simulators
Every abstract method accepts three fidelity axes — wavelength, position, and time — with defaults so that simple implementations can ignore unused axes while future high-fidelity models (wavelength-dependent coatings, position-dependent vignetting, time-dependent detector degradation) can use them without breaking the interface.
Ecosystem position
flowchart TB
physopt["<b>Physical optics</b><br/>dLux · HCIPy · PROPER<br/>E-fields → PSFs"]
yippy["<b>yippy</b><br/>PSF interpolation"]
optix["<b>optixstuff</b><br/>Telescope · Coronagraph · Detector · OpticalPath<br/>Throughput chains · QE · Noise rates"]
jaxedith["<b>jaxEDITH</b><br/>Scalar count rates<br/>Exposure-time calculations"]
corono["<b>coronagraphoto</b><br/>2D image simulation<br/>Multi-epoch scenes"]
physopt -- YIP --> yippy
yippy -- flux patterns --> optix
optix --> jaxedith
optix --> corono
Installation
pip install optixstuff
Status
This package is in early development (pre-v0.1.0).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optixstuff-1.1.0.tar.gz.
File metadata
- Download URL: optixstuff-1.1.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3347900ce34cf9c45e89330907ece419aa3a733871df8f3447e4591b51ec3ac1
|
|
| MD5 |
b5a0f7cd6b91223fd38e328e897a44aa
|
|
| BLAKE2b-256 |
6d4a119fdba85bd7c852fe9c0f1f1acd05a6fa39890b4bd3cdd0b145f99ebbe8
|
Provenance
The following attestation bundles were made for optixstuff-1.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on CoreySpohn/optixstuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
optixstuff-1.1.0.tar.gz -
Subject digest:
3347900ce34cf9c45e89330907ece419aa3a733871df8f3447e4591b51ec3ac1 - Sigstore transparency entry: 1676258186
- Sigstore integration time:
-
Permalink:
CoreySpohn/optixstuff@4a217966c95ae7c73124389d03c682098d673607 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/CoreySpohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@4a217966c95ae7c73124389d03c682098d673607 -
Trigger Event:
push
-
Statement type:
File details
Details for the file optixstuff-1.1.0-py3-none-any.whl.
File metadata
- Download URL: optixstuff-1.1.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11584044ab799cae6c6cfa2361f4c30e51e6c6e4e3610cd279b1381ed5bed7b1
|
|
| MD5 |
a8b3b526695a66c88b5cd55a429d0392
|
|
| BLAKE2b-256 |
6ae48be9ebf8dbffdfd4316deac600256bf38fe761e0fa9cf4b332fe5530f9fa
|
Provenance
The following attestation bundles were made for optixstuff-1.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on CoreySpohn/optixstuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
optixstuff-1.1.0-py3-none-any.whl -
Subject digest:
11584044ab799cae6c6cfa2361f4c30e51e6c6e4e3610cd279b1381ed5bed7b1 - Sigstore transparency entry: 1676258199
- Sigstore integration time:
-
Permalink:
CoreySpohn/optixstuff@4a217966c95ae7c73124389d03c682098d673607 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/CoreySpohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@4a217966c95ae7c73124389d03c682098d673607 -
Trigger Event:
push
-
Statement type: