Skip to main content

πŸ“’ TipTop v1.8.0, P3 v1.7.1 and MASTSEL v1.7.1 released!

Β· 5 min read
Astro-TipTop Team
Research & Development Group

TipTop v1.8.0, P3 v1.7.1 and MASTSEL v1.7.1 are now available! πŸŽ‰

This post summarises everything released since TipTop v1.5.1 (TipTop 1.5.2 β†’ 1.8.0, P3 1.6.3 β†’ 1.7.1, MASTSEL 1.5.3 β†’ 1.7.1): new physics and options, a much faster GPU pipeline, and a series of numerical fixes. Several of these fixes change the simulation outputs: please read the first section before comparing new results with older ones.

⚠️ Results have changed​

The following changes make TipTop more accurate, but they modify the numbers you get for the same parameter file. Differences are usually small, but they can matter if you compare with simulations made with an earlier version.

ChangePackageWhat is affected
Diffraction-limited reference PSF computed as the true pupil autocorrelation, correct sampling for pixels coarser than Ξ»/D, edge cases of FWHM/EEP3 1.7.0Strehl ratio (the previous diffraction-limited peak was 1–2 % too high; with coarse pixels the Strehl could be strongly overestimated), FWHM, EE
Pupil sampled with its exact diameter (no rounding to an integer number of pixels)TipTop 1.7.0PSF peak and Strehl (up to ~2/N, N the pupil size in pixels)
Encircled energy reported at the radius of the disc of equal areaTipTop 1.7.0EE at small radii (previously overestimated by 5–30 % below 2–3 pixels)
NGS and focus-star PSF FWHM: undersampled PSFs are upsampled before the contour is measuredTipTop 1.8.0LO residuals (noise term)
LO aliasing: diffraction-limited NGS PSF on the same grid as the NGS PSFsTipTop 1.8.0LO residuals
NGS/focus PSF pixel scale handled correctly with several science wavelengthsTipTop 1.8.0LO residuals in multi-wavelength runs
WindowRadiusWCoG = 'optimize' now picks the radius that minimises the noise-equivalent variance (see below)MASTSEL 1.7.0LO residuals when 'optimize' is used
maskSA: one array per star, so each NGS can have its own list of sub-aperturesMASTSEL 1.7.0LO residuals when maskSA is used
x/y swap fixed in the SCAO anisoplanatism phase termP3 1.6.3Off-axis SCAO PSFs
Tomographic double piston filter, bright-WFS tomography and multi-entry NoiseVariance fixedP3 1.6.4Tomographic (LTAO/MCAO) PSDs
Open-loop PSF computed without piston filterTipTop 1.6.0Open-loop reference PSF

✨ What's new​

πŸ”­ New options in the parameter file​

  • PerfectCoronagraph ([sensor_science], default False) β€” the PSF cube contains the long-exposure image behind a perfect coronagraph (Cavarroc et al. 2006), computed exactly for a Gaussian residual phase. SR, FWHM and EE remain those of the PSF without coronagraph. Available only without a LO loop ([sensor_LO]), without jitter_FWHM and without static aberrations.
  • PixelResponse ([sensor_science], default False) β€” the science, open-loop and diffraction-limited PSFs are integrated over the square detector pixel (OTF multiplied by a sinc). FWHM and EE then include the pixel.
  • PathPupil, PupilAngle, ObscurationRatio in [sensor_LO] and [sensor_Focus] β€” the NGS and focus-star PSFs can now use their own pupil instead of the telescope one.
  • WindowRadiusWCoG = 'optimize' ([sensor_LO], [sensor_Focus]) β€” TipTop now tests every integer radius and keeps the one that minimises the noise-equivalent variance (variance / optical gainΒ²), i.e. the LO residual. It is optimal together with LoopGain_LO = 'optimize'; with a fixed loop gain a numeric radius can be preferred.

See the Parameter files page for all details.

🌌 Parametric atmospheric profiles​

The new module tiptop.atmoProfile generates CnΒ² profiles for a given isoplanatic angle ΞΈβ‚€ and/or ground-layer fraction, consistent with the Stereo-SCIDAR Paranal statistics (2016–2021). It also provides helpers such as logGrid, layerWind, theta0FromProfile, seeingToR0 and r0ToSeeing. See the new Atmospheric profiles page.

🌈 Exact multi-wavelength PSDs​

overallSimulation has a new argument, exactMultiWavelengthPSD (default False). With several science wavelengths, it computes one exact PSD grid per wavelength, so that each PSF should be identical to a single-wavelength run. Memory and computing time grow roughly with the number of wavelengths. See the API Reference.

overallSimulation(path, 'MUSE_LTAO', outputDir, outputFile, exactMultiWavelengthPSD=True)

πŸ›°οΈ New physics in P3​

  • LGS below turbulent layers, e.g. Rayleigh laser guide stars, are now supported.
  • Reduced sensing volume: the footprint coverage geometry now accounts for the central hole and the gaps between LGS.

See Error terms coverage.


⚑ Faster simulations​

  • Fused GPU kernels for the aliasing and controller terms and batched tomography in P3.
  • Fused LO transfer functions on GPU and faster LO setup in MASTSEL.
  • Faster metrics, fewer CPU/GPU transfers and a single LO Γ— jitter convolution in TipTop.
  • Faster imports of all three packages.

These optimisations do not change the results beyond rounding.

πŸ–₯️ Mixed CPU/GPU backends​

P3 and MASTSEL can now run on different backends. For example, set the environment variable below to keep MASTSEL on the CPU while P3 uses the GPU:

export MASTSEL_DISABLE_GPU=TRUE

See Choosing CPU or GPU for each package.


πŸš€ Update now​

TipTop requires Python 3.11 or higher.

pip install --upgrade astro-tiptop

Check it out on PyPI πŸ‘‰