Science Camera¶
A science camera class to measure system performance
soapy.SCI module¶
-
class
soapy.SCI.
PSF
(soapyConfig, nSci=0, mask=None)[source]¶ Bases:
object
-
calcFocalPlane
()[source]¶ Takes the calculated pupil phase, scales for the correct FOV, and uses an FFT to transform to the focal plane.
-
calc_wavefronterror
()[source]¶ Calculates the wavefront error across the telescope pupil
Returns: RMS WFE across pupil in nm Return type: float
-
frame
(scrns, correction=None)[source]¶ Runs a single science camera frame with one or more phase screens
Parameters: - scrns (ndarray, list, dict) – One or more 2-d phase screens. Phase in units of nm.
- phaseCorrection (ndarray) – Correction phase in nm
Returns: Resulting science PSF
Return type: ndarray
-