π’ TipTop v1.8.0, P3 v1.7.1 and MASTSEL v1.7.1 released!
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.
| Change | Package | What is affected |
|---|---|---|
| Diffraction-limited reference PSF computed as the true pupil autocorrelation, correct sampling for pixels coarser than Ξ»/D, edge cases of FWHM/EE | P3 1.7.0 | Strehl 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.0 | PSF peak and Strehl (up to ~2/N, N the pupil size in pixels) |
| Encircled energy reported at the radius of the disc of equal area | TipTop 1.7.0 | EE 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 measured | TipTop 1.8.0 | LO residuals (noise term) |
| LO aliasing: diffraction-limited NGS PSF on the same grid as the NGS PSFs | TipTop 1.8.0 | LO residuals |
| NGS/focus PSF pixel scale handled correctly with several science wavelengths | TipTop 1.8.0 | LO residuals in multi-wavelength runs |
WindowRadiusWCoG = 'optimize' now picks the radius that minimises the noise-equivalent variance (see below) | MASTSEL 1.7.0 | LO residuals when 'optimize' is used |
maskSA: one array per star, so each NGS can have its own list of sub-apertures | MASTSEL 1.7.0 | LO residuals when maskSA is used |
| x/y swap fixed in the SCAO anisoplanatism phase term | P3 1.6.3 | Off-axis SCAO PSFs |
Tomographic double piston filter, bright-WFS tomography and multi-entry NoiseVariance fixed | P3 1.6.4 | Tomographic (LTAO/MCAO) PSDs |
| Open-loop PSF computed without piston filter | TipTop 1.6.0 | Open-loop reference PSF |
β¨ What's newβ
π New options in the parameter fileβ
PerfectCoronagraph([sensor_science], defaultFalse) β 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]), withoutjitter_FWHMand without static aberrations.PixelResponse([sensor_science], defaultFalse) β 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,ObscurationRatioin[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 withLoopGain_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 π
