eradiate.scenes.phase.RayleighPhaseFunction#

class eradiate.scenes.phase.RayleighPhaseFunction(id='phase')[source]#

Bases: eradiate.scenes.phase._core.PhaseFunction

Rayleigh phase function [rayleigh].

The Rayleigh phase function models scattering by particles with a characteristic size much smaller than the considered radiation wavelength. It is typically used to represent scattering by gas molecules in the atmosphere.

Parameters

id (str, optional, default: "phase") – User-defined object identifier.

Fields

id (str or None) – User-defined object identifier.

kernel_dict(ctx)[source]#

Return a dictionary suitable for kernel scene configuration.

Parameters

ctx (KernelDictContext) – A context data structure containing parameters relevant for kernel dictionary generation.

Returns

KernelDict – Kernel dictionary which can be loaded as a Mitsuba object.