skip to main content

gaia data release 4 documentation

16.3 Apsis modules

16.3.12 TGE

Author(s): Ronald Drimmel, Douglas Marshall

16.3.12.1 Goal

The Apsis module TGE (Total Galactic Extinction) produced all-sky (2D) HEALPix maps of the total Galactic extinction at various resolutions (i.e. HEALPix levels), provided in two tables for the purpose of supporting extragalactic studies and Galactic studies of the ISM. These are the tables total_galactic_extinction_map and total_galactic_extinction_map_opt. For further details on the HEALPix scheme used by Gaia, see Bastian and Portell (2025).

16.3.12.2 Inputs

The estimation of the total Galactic extinction in each HEALPix pixel is based on a selected subset of sources in the pixel, referred to as extinction tracers, with extinction estimates provided by GSP-Phot for each tracer (Section 16.3.3). In particular, the extinction parameter A0 (a0_gspphot) for the individual sources selected as extinction tracers is used to estimate all the total_galactic_extinction_map parameters for each HEALPix. A0 is the extinction parameter in the adopted Gordon extinction curve (Gordon et al. 2023), taken as the monochromatic extinction at 542.9 nm. For further details on the meaning of A0 as an extinction parameter, and its relation to the extinction in a particular passband, see Section 16.2.3.2.

16.3.12.3 Outputs

The table total_galactic_extinction_map provides the total Galactic extinction map at six different resolutions, at HEALPix levels 6 through 11 (see Figure 16.20). The fields healpix-id and healpix-level are used to identify the HEALPix pixels and their corresponding levels. Using the selected extinction tracers, the main extinction parameters provided in the table are the median A0 (a0_median), the mean A0 (a0_mean), the mean absolute deviation of A0 from the median (a0_mean_absolute_deviation), and the number of tracers used Nt⁢r⁢a⁢c⁢e⁢r⁢s (num_tracers_used). As a measure of the uncertainty (a0_uncertainty) we use the uncertainty of the mean, that is, the standard deviation of the A0 values of the tracers divided by Nt⁢r⁢a⁢c⁢e⁢r⁢s. These statistical parameters are only provided if the number of tracers is at least three in number, otherwise they are set to null. In addition, the minimum and maximum A0 values in the HEALPix are given and, for those HEALPix pixels with at least 10 extinction tracers, the mode of the distribution of A0 values of the tracers is estimated ((a0_mode)). Finally, a status flag is provided, which for nominal processing has a value of 0, and non-zero values indicating the reason why an insufficient number of tracers were found. Further details are given in the following subsection, or in the individual parameter descriptions linked above.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 16.20: TGE maps of the median A0 for HEALPix levels 6, 7, 8, 9, 10 & 11, in magnitudes. Colour bar shows A0.

The second table, total_galactic_extinction_map_opt, is a reduced version of total_galactic_extinction_map, provided for convenience. The total_galactic_extinction_map_opt map is a level 9 HEALPix map where the pixels are filled with parameter values from the subset of pixels in total_galactic_extinction_map that are flagged with the boolean optimum_hpx_flag to be at the ‘optimum’ resolution. This flag is meant to indicate, for any direction on the sky, the highest HEALPix level that gives a reliable estimate of the total Galactic extinction. This map, as well as the extinction maps for each specific HEALPix level, can also be accessed through the dustmaps python package.

The algorithm for setting the optimum_hpx_flag flag starts by setting this flag to true for all level 6 HEALPix pixels, as this is the lowest resolution of the map. Then, starting at level 6, the sub-pixels at the next highest HEALPix level are considered as possibly optimal only if all four sub-pixels have 4 or more tracers. If this condition is met, then the flag is set to false for level 6, and true for level 7. This algorithm is then repeated for the pixels at level 7 that are set to true, and so on until level 9. With this scheme in any given direction there will be no more than one optimum HEALPix pixel at one of the four HEALPix levels between 6 and 9. As level 6 is our base level, any pixels with null values at level 6 are likewise null in the total_galactic_extinction_map_opt table. Meanwhile the parameter optimum_hpx_level in the total_galactic_extinction_map_opt table indicates at which HEALPix level is the optimum pixel that was used to fill the TGE parameters of a given HEALPix.

16.3.12.4 Method

For each HEALPix pixel a subset of sources in the pixel are selected as extinction tracers. For this data release giants brighter than G=19 mag, as well as any star brighter than G=15 mag, are used as extinction tracers if they are at least 300 pc above or below the galactic plane (b=0∘), or have a galactocentric radius Rg>14 kpc, assuming the Sun to be at R⊙=8.2 kpc and Z⊙=0. A maximum allowed distance of 50 kpc was applied to filter out sources with unreliable APs. The selection of giants is done based on GSP-Phot parameters teff_gspphot (effective temperature 3000<Teff<5500 K) and ag_gspphot (absolute G magnitude 2>MG>−10 mag). The distance criteria are applied to all candidate tracers using the estimated distance from GSP-Phot, distance_gspphot, and the position of the source in galactic coordinates. In addition to these selection criteria, extinction tracers are required to be classified as stars by DSC (Section 16.3.2). A final two-sigma cut is made to remove outliers for which the individual azero_gspphot differs from the (pre-cut) median A0 of the tracers in the HEALPix pixel by more than two standard deviations, as measured before outlier removal.

For a given HEALPix pixel, if three or more tracers are present in the pixel after outlier removal, the median A0 (a0_median) or mean A0 (a0_mean) of the selected extinction tracers can be used as a measure of the total Galactic extinction, though the former is less sensitive to outliers. These parameters are determined using the individual measures of the extinction A0 from GSP-Phot (a0_gspphot) where A0 is the extinction parameter in the adopted Gordon extinction curve (Gordon et al. 2023), equivalent to the monochromatic extinction at 542.9 nm (see Section 16.2.3.2). Other extinction parameters (statistics) provided are described in the previous subsection. We note that to recover the sample standard deviation of the distribution of A0 measures for the selected tracers in a HEALPix pixel, one should multiply the given uncertainty, a0_uncertainty, by the square root of the number of tracers used, num_tracers_used.

16.3.12.5 Scope

The total Galactic extinction maps are meant to describe the total foreground extinction from the Milky Way to extragalactic sources. The extinction map is given for the monochromatic extinction parameter A0, from which extinction in standard photometric bands can be derived following the procedure outlined in Section 16.2.3.2. Also, a python tool has been made available to convert A0 to other passbands, given the effective temperature and log⁡g of a source, see the Gaia DR4 software and tools web pages.

As mentioned above, a HEALPix pixel must have three or more tracers to determine the total galactic extinction assigned to the parameter a0_median; if a pixel at any HEALPix level should have less than 3 tracers, a0_median has no assigned value and the status flag will have a value greater than 0. There are 4 out of 49 152  pixels at the base HEALPix level 6 lacking sufficient tracers for a determination of a0_median. All of these are at very low galactic latitudes (|b|<1∘), as a result of the lack of extinction tracers brighter than G=19 that are far enough away to be outside the ISM layer (|z|>300 pc) due to extinction. Indeed, the total_galactic_extinction_map should not be used at very low galactic latitudes. At higher HEALPix levels, the fraction of HEALPix pixels lacking sufficient tracers increases and occur also at higher galactic latitudes, see Figure 16.20.

16.3.12.6 Uses and limitations

The user is recommended to make use of the status flag to exclude null values and to remember that HEALPix pixels for which the estimates are based on a small num_tracers_used will have less reliable estimates and uncertainties. The total_galactic_extinction_map_opt map is at HEALPix level 9, but captures the intrinsic variable resolution that a map based on background extinction tracers must have due to the large variation across the sky of available tracers: if a pixel at lower HEALPix level is designated as optimum, then all the level 9 HEALPix pixels in that HEALPix will have the same extinction value. Nevertheless, the table total_galactic_extinction_map, with extinction values for HEALPix pixels up to HEALPix level 11, does allow the construction of a higher resolution optimum map. This is possible using the tool available at the Gaia DR4 software and tools web pages.

As selected extinction tracers were required to be beyond a certain distance to assure that they were outside the ISM layer of the Milky Way’s disk, as well as within 50 kpc, sources in nearby galaxies were also potentially selected as tracers. This means that in some directions the total Galactic extinction maps might include not only the foreground extinction of the Milky Way’s disk, but also the extinction in these nearby galaxies. In particular, while the Large and Small Magellanic Clouds are not obviously evident in the extinction maps, the TGE estimates in these directions may be biased.

As mentioned above, for our measure of the uncertainty (a0_uncertainty) we use the uncertainty of the mean A0 (a0_mean) of the extinction tracers in the HEALPix. The user should note however that this uncertainty estimate is not equal to the intrinsic (i.e. ‘cosmic’) scatter of the extinction within the HEALPix. The intrinsic (unresolved) variation of extinction within the HEALPix likely dominates the spread in the distribution of the measured extinction values, especially at higher extinction values. A measure of this spread is the standard deviation of A0 in the HEALPix, which can be recovered by multiplying the a0_uncertainty by the square root of the number of tracers used (num_tracers_used). Alternatively the user can use a0_mean_absolute_deviation as a measure of the variation of the extinction with the HEALPix.

Finally, during the scientific validation of TGE, and specifically when comparing to the Planck derived extinction maps, a 0.1 magnitude offset in A0 is seen at all extinction values. This offset is apparently inherited from the GSP-Phot extinction estimates. For further details see Section 16.4.10.1 below and Heiter (2026).

As mentioned in Section 16.3.12.5 above, the extinction map should not be used at very low galactic latitudes toward the Galactic centre (|l|<90∘). See Section 16.4.10.1 below for further discussion.

16.3.12.7 Changes with respect to Gaia DR3

With respect to Gaia DR3, the main changes are the inclusion of bright Gaia sources (G<15 mag) in the selected extinction tracers. Their inclusion allows us to reach a significantly higher resolution and higher precision at high galactic latitudes with respect to Gaia DR3. Indeed, in Gaia DR3 the total number of sources used as extinction tracers was 12 818 335  at level 6, while for DR4 it is 45 755 825 . This also allows an increase in the sky coverage at higher HEALPix levels. For example, in DR4 73% of the level 9 HEALPix pixels have median A0 values, while in Gaia DR3 this was only 33%.

In this data release the parameter a0_median replaces the parameter a0 in the DR3 release. Also, we have provided additional (new) extinction statistics ( a0_mean, a0_mean_absolute_deviation, and the a0_mode).

Another difference of note is for the table total_galactic_extinction_map_opt, where in this release only a minimum of four extinction tracers are required for a pixel to be tagged as an optimum HEALPix, rather than 10 tracers. This, together with the addition of the bright Gaia sources to the set of selected tracers mentioned above, produces an optimum HEALPix map at a much higher effective resolution than that produced for DR3. Although maps at HEALPix levels 10 and 11 are also produced, these are not used in the generation of the optimum HEALPix map. A tool is however available on the Gaia cosmos software tools web pages. that allows the generation of optimal maps at any HEALPix level between 6 and 11, with the minimum number of tracers also selectable as a parameter.