Radiative transfer (source code)

= Radiative transfer
{wiki}

<Radiative transfer> follows how <emission>, <absorption> and <scattering> change <specific intensity>. Along a ray, the <radiative transfer equation> has the form
$$
\frac{dI_\nu}{ds}=j_\nu-\alpha_\nu I_\nu,
$$
where $j_\nu$ adds radiation and $\alpha_\nu$ removes it from the ray. Scattering into the ray can couple this equation to other directions.

The <optical depth> measures attenuation along a path; the <source function> compares emission with extinction. Their variation explains why <spectral lines> probe different depths of a <stellar atmosphere> rather than a single emitting surface.<Radiative Transfer in Stellar Atmospheres by Robert J. Rutten (8th edition)>[§2.2, equations (2.25)–(2.26): transfer along a ray and the source-function description]{ref}