pyTomoAO.slodar.slope_noise_covariance

pyTomoAO.slodar.slope_noise_covariance(noiseVariance, reconstructor=None, d=None, nValidSubap=None, wavelength=None)[source]

Per-slope noise variances for build_reconstructor(noiseCovariance=...).

Converts per-WFS angle-of-arrival noise variances [rad^2] – from slodarProfiler.temporal_noise_variance() (recommended) or a SLODAR fit – to the units of the reconstructor’s slope covariance Gamma Cxx Gamma^T: rad^2 of phase difference across a subaperture at the atmosphere wavelength, (2 pi d / wavelength)^2 * noiseVariance.

Parameters:
  • noiseVariance (array_like) – (nGS,) per-sensor angle-of-arrival noise variances [rad^2].

  • reconstructor (tomographicReconstructor, optional) – Takes d (the physical subaperture size D / nLenslet, not the padded DSupport), nValidSubap and wavelength (the atmosphere model’s) from it. Explicit arguments override it.

  • d (float, optional) – Subaperture size [m].

  • nValidSubap (int, optional) – Valid subapertures per sensor (each sensor contributes 2 * nValidSubap slopes).

  • wavelength (float, optional) – Wavelength of the reconstructor’s atmosphere model [m].

Returns:

numpy.ndarray – (nGS * 2 * nValidSubap,) variances.