comnum.PointingError#
- class comnum.PointingError(beam_radius_m, aperture_radius_m, jitter_m)#
The misalignment of a Gaussian beam on a circular aperture, a Rayleigh radial displacement (Farid & Hranilovic 2007).
- Parameters:
- Raises:
ValueError – for an invalid parameter (the message names it).
- collected(r_m)#
The fraction of the power collected at a radial displacement.
- Parameters:
r_m (float | array_like) – the displacements (m).
- Returns:
the fraction, of the shape of
r_m.- Return type:
- Raises:
ValueError – for values that are not real numbers.
- draw(n, rng)#
Independent draws of the collected fraction (a Rayleigh displacement).
- Parameters:
- Returns:
(n,)(float64).- Return type:
- Raises:
ValueError – for a negative count.
- pdf(h)#
The density of the collected fraction.
- Parameters:
h (float | array_like) – the fractions, in
(0, A₀].- Returns:
the density, of the shape of
h.- Return type:
- Raises:
ValueError – for values that are not real numbers.