render

nyx.core.pipeline.render(scene)[source]

Render a single-observation scene to pixel rates.

Diffuse radiance is always map-scattered, and additionally extincted along the line of sight when direct=True. Point sources are always extincted and projected, and in-scattered individually when inscatter=True.

Parameters:

scene (RenderFrame) – Single-observation frame, or a compatible pytree.

Returns:

Photon detection rate per pixel, in p.e./s.

Return type:

jax.Array, shape (n_pixels,)