get_strehl_from_pupil¶
-
hcipy.metrics.
get_strehl_from_pupil
(aperture, ref_aperture)¶ Get the Strehl ratio from a pupil-plane electric field.
- Parameters
- apertureField or array_like
The pupil-plane electric field.
- ref_apertureField or array_like
The reference pupil-plane electric field without aberrations.
- Returns
- scalar
The Strehl ratio.