optixstuff.exposure#

ExposureConfig: physical parameters defining a single detector integration.

Relocated from coronagraphoto so the same object can be consumed by both image-level (coronagraphoto) and analytic (jaxedith) code paths.

Classes#

ExposureConfig

The physical parameters defining a single detector integration.

Module Contents#

class optixstuff.exposure.ExposureConfig[source]#

Bases: equinox.Module

The physical parameters defining a single detector integration.

All fields can be scalars (for a single event) or vectors (for a sequence), depending on how the factories are composed.

start_time_jd: jax.numpy.ndarray#
exposure_time_s: jax.numpy.ndarray#
central_wavelength_nm: jax.numpy.ndarray#
bin_width_nm: jax.numpy.ndarray#
position_angle_deg: jax.numpy.ndarray#
classmethod in_axes(**vectorized_axes)[source]#

Helper to generate in_axes structure for JAX vmap over an ExposureConfig.

Usage:

# Vectorize over wavelength (axis 0), keep time constant in_axes = ExposureConfig.in_axes(central_wavelength_nm=0, bin_width_nm=0)