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.Quantityor float) – Wavelength Strehl Ratio is given at; if float units must be in metertoWavelength (
astropy.units.quantity.Quantityor 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.Quantityor float) – Wavelength to compute Strehl Ratio; if float units must be in meter
- Returns:
wavefrontRms – Wavefront aberration rms
- Return type:
- arte.utils.marechal.wavefront_rms_2_strehl_ratio(wavefrontRms, wavelength)#
Compute Strehl ratio from wavefront aberration according to Marechal approximation
- Parameters:
wavefrontRms (
astropy.units.quantity.Quantityor float) – Wavefront aberration rms; if float units must be in meterwavelength (
astropy.units.quantity.Quantityor float) – Wavelength to compute Strehl Ratio; if float units must be in meter
- Returns:
results – Strehl ratio
- Return type:
float