cherab.nagdis.tools.emission.complex_profileยถ

cherab.nagdis.tools.emission.complex_profile(x: float, y: float, z: float, peak: float = 1.0, radius_inner: float = 0.01, radius_outer: float = 0.03, dev_inner: float = 0.005, dev_ring: float = 0.005) floatSourceยถ

Generate a complex emission profile combining a central radiator and an outer ring radiator.

The profile \(f(r, \theta)\) is defined as:

\[f(r, \theta) = f_\mathrm{central}(r) + f_\mathrm{ring}(r, \theta)\]

where \(f_\mathrm{central}(r)\) is the central radiator profile and \(f_\mathrm{ring}(r, \theta)\) is the outer ring radiator profile. The central radiator profile is given by:

\[f_\mathrm{central}(r) = A \left[ \exp\left( -\frac{r^2}{\sigma_\mathrm{inner}^2} \right) - \exp\left( -\frac{r_\mathrm{inner}^2}{\sigma_\mathrm{inner}^2} \right) \right],\]

and the outer ring radiator profile is given by:

\[f_\mathrm{ring}(r, \theta) = A \cos(\theta) \exp\left( -\frac{(r - r_\mathrm{outer})^2}{\sigma_\mathrm{ring}^2} \right),\]

where \(r = \sqrt{x^2 + y^2}\) is the radial distance from the origin, \(\theta = \arctan2(y, x)\) is the bearing \(A\) is the peak value, \(r_\mathrm{inner}\) and \(r_\mathrm{outer}\) are the inner and outer radius, \(\sigma_\mathrm{inner}\) and \(\sigma_\mathrm{ring}\) are the standard deviations for the inner and ring radiators.

Parameters:
x: floatยถ

X coordinate.

y: floatยถ

Y coordinate.

z: floatยถ

Z coordinate.

peak: float = 1.0ยถ

Peak value of the emission profile, \(A\).

radius_inner: float = 0.01ยถ

Inner radius for the central radiator, \(r_\mathrm{inner}\).

radius_outer: float = 0.03ยถ

Outer radius for the ring radiator, \(r_\mathrm{outer}\).

dev_inner: float = 0.005ยถ

Standard deviation for the central radiator, \(\sigma_\mathrm{inner}\).

dev_ring: float = 0.005ยถ

Standard deviation for the ring radiator, \(\sigma_\mathrm{ring}\).

Returns:

float โ€“ Value of the complex emission profile at the given coordinates.