IACTrace¶
Differentiable optical ray tracing for Imaging Atmospheric Cherenkov Telescopes
IACTrace is a ray tracing library for simulating the optical properties of IACT systems. Built on JAX and Equinox, it enables gradient-based optimization and differentiable simulations.
import jax
from iactrace import MCIntegrator, load_telescope
# Load a telescope configuration
key = jax.random.key(0)
integrator = MCIntegrator(n_samples=1024)
telescope = load_telescope("configs/HESS/CT3.yaml", integrator, key)
# Simulate a star field
sources = jax.numpy.array([[0.0, 0.0, -1.0]]) # Direction vector
values = jax.numpy.array([1.0]) # Intensity
# Render the image
image = telescope.render(sources, values, source_type='parallel')
About This Project
Getting Started
Example Gallery
API Reference