Skip to main content

Interactive tools – Generate Input Files & Convert Parameters

Generate Input Files

This section provides an interface to generate custom .ini files by selecting the desired instrument and parameter values below.

⚠️ For now, only SCAO mode is available. Other modes coming soon.

.ini Parameter File Generator - For Available AO Instruments

NGS only system ✴️
HO part: Science - NGS

[telescope]
[atmosphere]
[sources_science]
[sources_HO]
NGS Wavelength set at 750 nm | Band: I
[sensor_HO]

(1) Distance corresponds to the Zenith parameter in the[sources_science] section, and either the [sources_HO] or[sources_LO] section, depending on the system. ⚠️ It should not be confused with the ZenithAngle parameter in the [telescope] section, which... ▶ Show more
(2) The calculation of the NumberPhotons parameter, along with a dedicated interface, is detailed here.

Conversion from Magnitude to Number of Photons per Subaperture per Frame

The value of the parameter NumberPhotons in (expressed in photons per subaperture per frame) for a natural guide star of a given magnitude is calculated using the following formula:

NumberPhotons=ZP(TotthroughputSensorframerate)(D2(DObscurationRatio)2Nlenslets2)10Mag2.5\text{NumberPhotons} = ZP \left(\frac{Tot_{throughput}}{Sensor_{framerate}}\right) \left(\frac{D^{2}-(D*ObscurationRatio)^2}{N_{lenslets}^2}\right) 10^{\textstyle -\frac{Mag}{2.5}}

Parameter definitions

B bandV bandR bandI bandJ bandH bandK band
ZPZP (Zero Point) (ph/s/m2)(ph/s/m^2)1.24e101.24e108.37e98.37e91.36e101.36e108.93e98.93e94.11e94.11e92.87e92.87e91.70e91.70e9
TotthroughputTot_{throughput}0.070.070.160.160.190.190.20.20.240.240.260.260.260.26

Spectral band extinction correction

For a spectral class M0V star, the apparent magnitude is corrected by an extinction term that varies by band:

Mag=MagV+extinction_correctionMag = Mag_V + \text{extinction\_correction}
B bandV bandR bandI bandJ bandH bandK band
extinction_correction\text{extinction\_correction}1.371.37001.26-1.262.15-2.152.49-2.493.03-3.033.29-3.29

This formula converts the visual magnitude, corrected for spectral band extinction, into the expected number of photons detected per subaperture per frame. It takes into account instrumental parameters such as the telescope’s effective collecting area, the number of wavefront sensor lenslets, the total system throughput, and the wavefront sensor's frame rate.

Below is an interactive interface that allows you to calculate the NumberPhotons TipTop parameter from a given magnitude for the selected instrument.

Conversion from Magnitude to Number of Photons

NGS only system ✴️
Number of lenslets: 40
Sensor frame rate: 1000 Hz

[sources_HO]
NGS Wavelength set at 750 nm | Band: I
[sensor_HO]