get_strehl_from_focal

hcipy.metrics.get_strehl_from_focal(img, ref_img)

Get the Strehl ratio from a focal-plane image.

Parameters
imgField or array_like

The focal-plane image.

ref_imgField or array_like

The reference focal-plane image without aberrations.

Returns
scalar

The Strehl ratio.