marechal#

arte.utils.marechal.scale_strehl_ratio(strehlRatio, fromWavelength, toWavelength)#

Scale Strehl ratio from one wavelength to another one according to Marechal approximation

Parameters:
  • strehlRatio (float) – Strehl ratio (0.0-1.0)

  • fromWavelength (astropy.units.quantity.Quantity or float) – Wavelength Strehl Ratio is given at; if float units must be in meter

  • toWavelength (astropy.units.quantity.Quantity or float) – Wavelength to compute Strehl Ratio at; if float units must be in meter

Returns:

strehlRatio – Strehl Ratio computed at toWavelength

Return type:

float

arte.utils.marechal.strehl_ratio_2_wavefront_rms(strehlRatio, wavelength)#

Compute wavefront aberration from Strehl ratio according to Marechal approximation

Parameters:
  • strehlRatio (float) – Strehl ratio (0.0-1.0)

  • wavelength (astropy.units.quantity.Quantity or float) – Wavelength to compute Strehl Ratio; if float units must be in meter

Returns:

wavefrontRms – Wavefront aberration rms

Return type:

astropy.units.quantity.Quantity

arte.utils.marechal.wavefront_rms_2_strehl_ratio(wavefrontRms, wavelength)#

Compute Strehl ratio from wavefront aberration according to Marechal approximation

Parameters:
Returns:

results – Strehl ratio

Return type:

float