pyTomoAO.slope_conversion.specula_slope_scale

pyTomoAO.slope_conversion.specula_slope_scale(fovArcsec, nPxPerSubap)[source]

Radians per SPECULA slope unit for its Shack-Hartmann-like sensors.

SPECULA normalises slopes to the subaperture field of view: its IdealDerivativeSensor returns grad[m/m] * RAD2ARCSEC / (fov / 2) * (n - 1) / n (the last factor matches the pixel spacing of its SH slope computer).

Parameters:
  • fovArcsec (float) – Sensor field of view [arcsec], the fov parameter of the SPECULA sensor.

  • nPxPerSubap (int) – Pupil pixels per subaperture (pixel_pupil / nLenslet).

Returns:

float – Multiply SPECULA slopes by this to get angles of arrival in radians.