scieee AI-readable full text Open interactive document viewer

Photometric catalogue for space and ground night-time remote-sensing calibration: RGB synthetic photometry from Gaia DR3 spectrophotometry

Carrasco, J. M.,Cardiel, Nicolás,Masana, Eduard,Zamorano, Jaime,Pascual, Sergio,Sánchez de Miguel, A.,González, Rafael,Izquierdo, Jaime

Abstract

This article belongs to the Special Issue Light Pollution Monitoring Using Remote Sensing Data II.

Full text

Citation: Carrasco, J.M.; Cardiel, N.; Masana, E.; Zamorano, J.; Pascual, S.; Sánchez de Miguel, A.; González, R.; Izquierdo, J. Photometric Catalogue for Space and Ground Night-Time Remote-Sensing Calibration: RGB Synthetic Photometry from Gaia DR3 Spectrophotometry. Remote Sens. 2023,15, 1767. https://doi.org/ 10.3390/rs15071767 Academic Editor: Miroslav Kocifaj Received: 31 January 2023 Revised: 22 March 2023 Accepted: 23 March 2023 Published: 25 March 2023 Copyright: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). remote sensing Article Photometric Catalogue for Space and Ground Night-Time Remote-Sensing Calibration: RGB Synthetic Photometry from Gaia DR3 Spectrophotometry Josep Manel Carrasco 1,2,3,* , Nicolas Cardiel 4,5 , Eduard Masana 1,2,3, Jaime Zamorano 4,5 , Sergio Pascual 4,5 , Alejandro Sánchez de Miguel 4,5,6 , Rafael González 4and Jaime Izquierdo 4 1Institut de Ciències del Cosmos (ICCUB), Universitat de Barcelona (IEEC-UB), Martí i Franquès 1, 08028 Barcelona, Spain 2Departament de Física Quàntica i Astrofísica (FQA), Universitat de Barcelona (UB), Martí i Franquès 1, 08028 Barcelona Barcelona, Spain 3Institut d’Estudis Espacials de Catalunya (IEEC), c. Gran Capità, 2-4, 08034 Barcelona, Spain 4Departamento de Física de la Tierra y Astrofísica, Facultad de CC. Físicas, Universidad Complutense de Madrid, Plaza de las Ciencias 1, 28040 Madrid, Spain 5 Instituto de Física de Partículas y del Cosmos, IPARCOS, Facultad de CC. Físicas, Universidad Complutense de Madrid, Plaza de las Ciencias 1, 28040 Madrid, Spain 6Environment and Sustainability Institute, University of Exeter, Penryn TR10 9FE, Cornwall, UK *Correspondence: [email protected] Abstract: Recent works have made strong efforts to produce standardised photometry in RGB bands. For this purpose, we carefully defined the transmissivity curves of RGB bands and defined a set of standard sources using the photometric information present in Gaia EDR3. This work aims not only to significantly increase the number and accuracy of RGB standards but also to provide, for the first time, reliable uncertainty estimates using the BP and RP spectrophotometry published in Gaia DR3 instead of their integrated photometry to predict RGB photometry. Furthermore, this method allows including calibrated sources regardless of how they are affected by extinction, which was a major shortcoming of previous work. The RGB photometry is synthesised from the Gaia BP and RP low-resolution spectra by directly using their set of coefficients multiplied with some basis functions provided in the Gaia catalogue for all sources published in Gaia DR3. The output synthetic magnitudes are compared with the previous catalogue of RGB standards available. Keywords: ISS; light pollution; multispectral properties of lighting; calibration; GAIA; photometry 1. Introduction RGB photometry has been increasingly used in recent decades for amateur and professional astronomical studies due to the high-quality and economically accessible digital cameras. In recent works [ 1 , 2 ], a strong effort was made to produce a standardised system for RGB photometry to enhance the quality of the studies to be performed with these kind of devices. This is relevant not only for ground measurements but also for satellite observations as stars are also being used to calibrate night-time remote-sensing platforms, such as the images taken from the International Space Station (ISS) [ 3 ] and the Suomi North Polar Partnership and NOAA-20, Visible Infrared Imaging Radiometer Suite Day Night Band (VIIRS) [4,5]. Ref. [ 1 ] defined the transmissivity passbands for RGB filters derived from 28 different types of cameras analysed by [ 6 ]. Ref. [ 1 ] also established standardised synthetic RGB photometry for a set of 1346 bright stars belonging to the Bright Star Catalogue [ 7 ]. This small set of standards was expanded in number (about 15 million sources) by [ 2 ] (hereafter, C21) using photometric transformations derived from integrated photometry in Gaia EDR3 [ 8 , 9 ]. This work aims to further expand the quality and number of sources in the sky with known Remote Sens. 2023,15, 1767. https://doi.org/10.3390/rs15071767 https://www.mdpi.com/journal/remotesensing Remote Sens. 2023,15, 1767 2 of 22 RGB photometry that could be used as standards. For that purpose, we use synthetic photometry derived from the Gaia DR3 low-resolution spectra [10–12]. In Gaia DR3 [ 13 ], a set of 220 million sources were released together with their blue (BP) and red (RP) low-resolution spectra. When compared with RGB passbands (Figure 1), we can see that RGB passbands mostly cover only the wavelength range covered by BP instrument (In order to avoid confusion, specifically with the G band, in this paper, we used GGaia , GBP and GRP to refer to Gaia magnitudes and RRGB , GRGB and BRGB for magnitudes in the RGB system.). It is known [ 11 , 12 , 14 ] that the BP instrument has more calibration issues present than RP. Fortunately, most of these issues are assigned to difficulties in the ultraviolet region ( λ< 400 nm), where the Gaia response decreases abruptly, and the amount of standards with enough flux in that range diminishes substantially. As none of the RGB passbands extends to so short wavelengths, we can still use Gaia spectrophotometry to derive synthetic RGB photometry from them. Figure 1. Comparison of RGB transmissivity curves (in colour lines) used in this work, extracted from [ 1 ] with the Gaia DR3 transmissivity curves by [ 9 ] (in grey). In order to distinguish between the G passband from the RGB system and the G passband from the Gaia system, we add ’RGB’ as a subscript to the first and ’Gaia’ as a subscript to the latter. We describe, in Section 2, the methodology used to derive the synthetic photometry from Gaia spectrophometry, producing the synthetic photometry for all sources with BP and RP spectra (hereafter, XP is used to refer to BP or RP spectra indistinctly) present in Gaia DR3 and not flagged as variable in the catalogue. In Section 3, we compare the samples of sources in this work with the ones used by C21, comparing also the RGB magnitudes obtained in both studies. In Section 4, we study the validity of the polynomials defined in C21 for those sources in Gaia DR3 without XP spectra available. Section 5explains how to access the final catalogue of RGB magnitudes created in this work (in form of an online table and through a Python code called RGBLOOM. Finally, we present a brief summary of the results and conclusions of this work in Section 6. Remote Sens. 2023,15, 1767 3 of 22 2. RGB Catalogue Construction Gaia [ 15 ] is a survey mission, which allows homogeneously observing all sources in the sky up to magnitude 21. In addition to the 3D positions, motions and broad band photometry, Gaia also provides spectrophotometry for 219 million sources [ 10 – 12 ]. The astrophysical information contained in these spectra allows the study of the physical properties of the observed sources to analyse, for instance, their spectral features as performed in [16]. The homogeneity of the spectrophotometry over all sky positions also makes Gaia a suitable mission to be used as a reference to establish a catalogue of standard sources in any photometric system covering the optical range. This possibility to derive synthetic photometry from the Gaia spectrophotometry has been previously explored by several works [ 11 , 14 , 17 , 18 ]. We use here the same methodology (briefly described in the following paragraphs) to derive the synthetic photometry in RGB bands from XP Gaia DR3 spectrophotometry. Notice that, as recommended by [ 11 ], we do not use, in this work, the sampled spectra to derive the synthetic photometry; instead, we directly work with the source coefficients to obtain our estimations of the RGB magnitudes. From the externally calibrated Gaia mean spectra, fs(λ) , for a given source, s , we can derive its synthetic integrated flux ( Fsj ) in a given passband, j , with transmissivity equal to Tj(λ)by deriving the following integral expression with wavelength λ: Fsj =Rfs(λ)·Tj(λ)·λdλ RTj(λ)·c λdλ, (1) where the ABMAG system is considered for the zeropoint [ 19 – 21 ] with c as the speed of light. The Gaia externally calibrated mean spectra fs(λ) is described as the weighted sum of the BP and RP contributions, fBP s(λ)and fRP s(λ), respectively: fs(λ) = wBP(λ)·fBP s(λ) + wRP(λ)·fRP s(λ), (2) with wBP(λ) and wRP(λ) as their weighted contributions to the total flux of each wavelength from the XP instruments. In its turn, fBP s(λ) and fRP s(λ) are described as a set of N coefficients, bsn , multiplied by a set of basis functions, ϕn: fXP s(λ) = N ∑ n=1 bXP sn ·ϕXP n(λ), (3) The set of basis functions, ϕXP n(λ) , and weights, wXP(λ) , were published together with Gaia DR3 and are available on this webpage: https://www.cosmos.esa.int/web/gaia/dr3- xpmergexpsampling, accessed on 12 July 2022. Combining Equations (1)–(3), we can derive the synthetic flux, Fsj , in a given passband jas: Fsj = N ∑ n=1 bBP sn · RwBP(λ)·ϕBP n(λ)·Tj(λ)·λdλ RTj(λ)·c λdλ!+ + N ∑ n=1 bRP sn · RwRP(λ)·ϕRP n(λ)·Tj(λ)·λdλ RTj(λ)·c λdλ!≡ ≡ N ∑ n=1 bBP sn ·XBP nj + N ∑ n=1 bRP sn ·XRP nj , (4) where the XXP nj terms do not depend on the source and can be derived and stored previously for any passbands and then applied to any required source using their bXP sn coefficients without the need to recompute XXP nterms again. Remote Sens. 2023,15, 1767 4 of 22 These integrated fluxes can be also expressed in terms of ABMAG system magnitudes, msj , by using the flux in that passband measured for an input flux of 3.631 ×10−23 W/Hz/m2 . We name that flux as ZPj. Thus, the magnitude can be expressed as: msj =−2.5 log Fsj ZPj!. (5) From the covariance matrix, CXP nm , assigned to the source coefficients, we can also derive the uncertainty in the derived magnitudes as: σsj =qABP j+ARP j, (6) where AXP jcan be derived using: AXP j= N ∑ n=1 XXP nj · N ∑ m=1 CXP nm ·XXP mj !. (7) Gaia DR3 published a total of 219,197,643 sources (see De Angeli et al. [ 11 ]) with XP continuous spectra. From these, a total of 6,093,025 sources have the flag phot_- variable_flag=’VARIABLE’ . We show the variable sources subtracted from the sample in colour-magnitude diagrams (Figure 2) as well as their GGaia and GBP −GRP histograms (Figure 3). Figure 2. Magnitude-colour diagrams for sources with phot_variable_flag=’VARIABLE’ (excluded from our study) with continuous XP spectra in Gaia DR3 using the apparent ( left ) and absolute (right) magnitude. Figure 3. GGaia magnitude ( left ) and GBP −GRP ( right ) histograms for sources with phot_variable_- flag=’VARIABLE’ (excluded from our study) with continuous XP spectra in Gaia DR3. Remote Sens. 2023,15, 1767 5 of 22 These variable sources cannot be considered here for our purposes of establishing a set of reliable RGB standards. We also aimed to select only sources with phot_variable_flag= ’CONSTANT’ ; however, no sources with Gaia DR3 XP spectra have this flag value, as only sources with phot_variable_flag=’NOT_AVAILABLE’ and ’VARIABLE’ are present in the catalogue. This is because Gaia DR3 is still an intermediate release and because the mission has not yet finished to be completely sure that a given source is really constant. Future Gaia releases could identify some sources finally included in the catalogue as variables when considering a larger time interval covering the full mission. Although other types of sources (quasars, galaxies, crowded fields, etc.) were not suitable to be used as RGB standards, we decided to keep them in the catalogue in order to allow a wider range of applications for this catalogue, and only explicit variable sources identified by the Gaia catalogue were excluded from it. With the large density of sources available in the new catalogue, a posterior outlier identification, based on statistical analysis, can be conducted in order to exclude them from the calibration procedure. Thus, we derived the RGB synthetic magnitudes for all 213,104,618 sources with phot_variable_flag6=’VARIABLE’ . After removing 40,616 sources with unreliable RGB magnitude estimates, a final sample of 213,064,002 objects was created—hereafter, the 200 M sample. In a small subsample of this collection, the RGB magnitude estimates are missing in some of the 3 bands (159,456, 14,546 and 486 objects in BRGB , GRGB and RRGB , respectively). This is likely due to very low signal in these wavelength ranges present in the Gaia spectrophotometry. We decided to keep the affected sources because, in all these cases, a magnitude estimate is available in at least one of the RGB bands. As the number of variable sources represents less than 3% of the total number of Gaia DR3 sources with XP data, the general plots included in [ 11 ] to describe Gaia DR3 XP data, can also be used here to describe the main characteristics of our catalogue of RGB standards. The only missing sources in our sample are the ones represented in Figures 2and 3. 3. Comparison with the C21 Sample The new 200 M sample exhibits clear advantages over its predecessor published by C21. The most obvious advantage is the fact that the RGB magnitude estimates are directly computed from the source spectrum without the need to employ any approximate calibration, nor introducing constraints on the source colour or extinction. In this section, we provide a more detailed description of the benefits of using the new 200 M sample provided with this paper. 3.1. Number of Calibrated Sources With this work, we move from the ∼ 15 million sources in C21 to more than 200 million objects. This can be easily visualized in the maps displayed in Figure 4, which represent the density of sources on the celestial sphere in Galactic coordinates (using a Mollweide projection with HEALPIX of level 6 with a pixel size of 0.84 square degrees). Not surprisingly, the 200 M sample is concentrated towards the Galactic plane, not being affected by the scarcity of sources in the directions of high interstellar extinction as seen with the C21 sample. The corresponding histograms of the source density are displayed in Figure 5. Panel (a) shows that, as expected, there are many directions in the celestial sphere in which the density of stars corresponding to the 200 M sample is clearly larger than as shown by the sources in the C21 sample. The zoom near the origin, panel (b), reveals that the density distribution of the C21 sample is bimodal with a first peak in the first histogram bin, corresponding to the interval [ 0, 10 ] objects/pixel and a second peak in the interval [ 120, 130 ] objects/pixel. The first peak corresponds to the directions of high extinction that are purposely excluded by C21. Remote Sens. 2023,15, 1767 6 of 22 Galactic Source density (C21 sample) 0 5000 Number of sources/pixel Galactic Source density (200M sample) 0 5000 Number of sources/pixel Figure 4. Source density maps, in Galactic coordinates, corresponding to the C21 ( top ) and the 200 M ( bottom ) samples. These maps were created using HEALPIX of level 6 (providing a pixel size of 0.84 square degrees) and are colour coded depending on the number of sources within the pixel. Note that the colour scale is the same in both maps. See Figure 5for a histogram comparison of the source density in these maps. The 200 M histogram is also bimodal with a first peak in the interval [ 210, 240 ] objects/pixel and a higher second peak in the interval [ 470, 480 ] sources/pixel. This reflects the selection criteria chosen to publish XP spectra for Gaia DR3 (see De Angeli et al. [ 11 ]). In both samples, the histogram distributions are clearly asymmetric as indicated by the location of their respective means (vertical dotted lines) and medians (vertical dashed lines), whose values are given in the figure caption. Considering that the pixel size employed in the maps displayed in Figure 4is slightly below 1 square degree, we confirm that the 200 M sample offers several hundred sources per square degree in most regions of the sky. A more detailed calculation indicates that 99.7% of the celestial sphere is covered with a source density above 100 sources/(square degree) by this catalogue. The rest of the sky with less sources present corresponds to regions in the Gaia mission with less transits and without Gaia spectrophotometry available in Gaia DR3 [11]. Remote Sens. 2023,15, 1767 7 of 22 0 10,000 20,000 30,000 40,000 50,000 60,000 70,000 Number of sources/pixel 100 101 102 103 104 Number of pixels per 500-stars bin (a) 200M sample C21 sample 0 1000 2000 3000 4000 Number of sources/pixel 100 101 102 103 Number of pixels per 10-stars bin (b) 200M sample C21 sample Figure 5. Panel ( a ): histograms of the source density (i.e., number of sources/pixel, where each pixel corresponds to 0.84 square degrees) in the maps displayed in Figure 4for the 200 M sample (blue) and for the C21 sample (orange). Panel ( b ): zoom of the previous plot near the origin. The vertical lines indicate the mean values (302 and 4335 objects/pixel for C21 and 200 M, respectively; dotted lines) and median values (183 and 1668 objects/pixel for C21 and 200 M; dashed lines) for each sample. Note that a different bin size is employed in each panel as indicated in the label of the vertical axis. Clearly, the above numbers should be taken with some caution because, in a practical way, the number of usable sources will also be a function of the magnitude limit reached. In this sense, Figure 6displays the variation in the number of sources as a function of the magnitude in the GRGB band. The plot shows the histogram (dotted lines) and the cumulative sum (thick full lines) for the C21 (orange) and the 200 M samples (blue). In both samples, there is a sudden decrease in the number of sources for GRGB &17.5 mag. Remote Sens. 2023,15, 1767 8 of 22 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0 G RGB [mag] 101 103 105 107 Number of sources with RGB predictions stars in the 200M sample stars in the C21 sample cumulative sum in the 200M sample cumulative sum in the C21 sample Figure 6. Variation in the number of sources with RGB magnitude predictions as a function of GRGB for both the 200 M (blue) and the C21 (orange) samples. The dotted lines show the histograms in bins of 0.1 mag, whereas the thick full lines display the cumulative sums. This is because most of the sources published in Gaia DR3 were selected to have GGaia < 17.65 mag, although the XP spectra for some sources (including white dwarfs, galaxies and quasars) were also explicitly published above this magnitude limit (see De Angeli et al. [ 11 ]). The cumulative number of stars down to some particular GRGB values are listed in Table 1 . The M200 sample clearly outnumbers the C21 sample in number of sources at any magnitude value. Table 1. Cumulative sums down to some particular GRGB value for the C21 and the 200 M samples. GRGB Interval [mag] Sources in C21 Sources in 200 M <10 133,019 299,041 <11 344,349 775,526 <12 761,279 1,948,176 <13 1,431,314 4,636,535 <14 2,484,448 10,495,506 <15 3,977,325 22,967,532 <16 6,546,925 48,355,681 <17 10,346,030 97,464,183 <18 13,820,929 182,081,668 <19 14,854,959 209,094,405 <20 14,854,959 212,129,751 .21 14,854,959 213,064,002 Remote Sens. 2023,15, 1767 9 of 22 3.2. Source Characteristics Apart from the different number of sources included in the 200 M and C21 samples, important differences in some specific characteristics of the sources are worth mentioning. In particular, the C21 subsample was restricted to sources with −0.5 ≤GBP −GRP ≤2.0 mag , whereas the 200 M sample does not include this constraint. This is clearly manifested in the histogram displayed in Figure 7, which shows that the new 200 M sample (blue filled histogram) also includes much redder objects that were not included in the C21 sample (black line). 02468 G BP G RP [mag] 100 101 102 103 104 105 106 107 Number of sources per 0.1-mag bin Whole 200M sample Binary stars QSO candidates Galaxy candidates C21 sample Figure 7. Histogram of the 200 M sample as a function of GBP −GRP colour in bins of 0.1 mag. The whole 200 M sample is displayed in blue, whereas the subsamples corresponding to sources flagged in Gaia DR3 as non_single_star , in_qso_candidates and in_galaxy_candidates are displayed in orange, green and red, respectively. In addition, the histogram corresponding to the C21 sample is displayed with a thin black line, which is limited to −0.5 ≤GBP −GRP ≤2.0 mag. In addition, this figure also represents the histograms corresponding to the 200 M subsamples corresponding to particular sources not classified as simple stars in Gaia DR3 (namely the sources flagged as non_single_star , in_qso_candidates and in_galaxy_- candidates ), for which the polynomial RGB calibration in C21, derived only for single stars, is not suitable. We also explore, in Figure 8, the histogram distribution of some additional parameters derived from the Gaia DR3 data, in particular, the distance_gspphot (in kpc, panel (a)) and extinction in the G Gaia band ag_gspphot (in magnitudes, panel (b)) as well as typical stellar parameters, such as the effective temperature teff_gspphot (in K, panel (c)), surface gravity logg_gspphot (logarithm of cgs units, panel (d)) and global metallicity mh_gspphot (dex units, panel (e)). The 200 M sample contains proportionally more distant sources than does the C21 sample, although the most noticeable difference is the inclusion of more sources with much larger extinction. The 200 M catalogue incorporates proportionally more stars with large effective temperature, low surface gravity and low metallicity. Remote Sens. 2023,15, 1767 16 of 22 5 10 15 G Gaia [mag] 0.5 0.0 0.5 B = B syn B C21 [mag] (a) 100 102 104 106 Number of sources 5 10 15 G Gaia [mag] 0.5 0.0 0.5 B = B syn B C21 [mag] (d) 0.0 0.5 1.0 1.5 2.0 Extinction in G Gaia [mag] 5 10 15 G Gaia [mag] 0.5 0.0 0.5 B = B syn B C21 [mag] (g) 0.6 0.8 1.0 1.2 1.4 G BP G RP [mag] 5 10 15 G Gaia [mag] 0.5 0.0 0.5 G = G syn G C21 [mag] (b) 100 102 104 106 Number of sources 5 10 15 G Gaia [mag] 0.5 0.0 0.5 G = G syn G C21 [mag] (e) 0.0 0.5 1.0 1.5 2.0 Extinction in G Gaia [mag] 5 10 15 G Gaia [mag] 0.5 0.0 0.5 G = G syn G C21 [mag] (h) 0.6 0.8 1.0 1.2 1.4 G BP G RP [mag] 5 10 15 G Gaia [mag] 0.5 0.0 0.5 R = R syn R C21 [mag] (c) 100 102 104 106 Number of sources 5 10 15 G Gaia [mag] 0.5 0.0 0.5 R = R syn R C21 [mag] (f) 0.0 0.5 1.0 1.5 2.0 Extinction in G Gaia [mag] 5 10 15 G Gaia [mag] 0.5 0.0 0.5 R = R syn R C21 [mag] (i) 0.6 0.8 1.0 1.2 1.4 G BP G RP [mag] Figure 13. 2D histograms representing the number of sources (left column, panels ( a – c )), the extinction in G Gaia (middle column, panels ( d – f )) and the colour GBP −GRP (right column, panels ( g – i )) as a function of G Gaia (the horizontal axis; using 0.4 mag bins) and ∆X=Xsyn −XC21 =0 mag with X = BRGB,GRGB and RRGB (the vertical axis; employing 0.05 mag bins). Each row displays the results for the BRGB , G RGB and RRGB bands (from top to bottom, respectively). These plots are an expanded version of the blue histograms shown in Figure 12, i.e., we are using the subset of the 200 M sample verifying −0.5 ≤GBP −GRP ≤2.0 mag. 5. Accessing the 200 M Sample The 200 M sample produced in this work is accessible through an online table ( Table 2 shows the first rows of the catalogue), which is available as a large, (5.0 GB) single, compressed CSV file (available at https://nartex.fis.ucm.es/~ncl/rgbphot/gaiaDR3 /RGBsynthetic_NOVARIABLES/sortida_XpContinuousMeanSpectrum_RGB_NOVARIABLES_ final.csv.gz, accessed on 24 March 2023) (15 GB after decompressing). The flag − 99.0 is employed in this table to indicate missing values in any of the RGB magnitudes or in their associated uncertainties. As mentioned in Section 2, we have not removed the small fraction of objects in the 200 M sample classified in Gaia DR3 as belonging to one of the following categories: non_single_star (0.31% of the sample), in_qso_candidates (0.03%) and in_galaxy_- candidates (0.01%). Although none of them have been thus far identified as a variable by Gaia, their use as reliable RGB calibrators should be properly checked through the statistical comparison with reliable sources located in their neighbourhood. All these sources are identified with the flag objtype in Table 2. In addition, we also assigned a global quality flag to each source, qlflag, provided in the last column of Table 2). We define qlflag = 0 for reliable sources (74.2% of the 200 M sample) and assign qlflag = 1 for those objects suspicious of suffering any potential problem (blending, contamination or non-stellar identification; 25.8% of the sample). As expected, the uncertainties in the RGB synthetic magnitudes are larger for the qlflag = 1 sources as displayed in Figure 14. Remote Sens. 2023,15, 1767 17 of 22 0.0 0.2 0.4 0.6 0.8 1.0 Uncertainty in B RGB [mag] 102 103 104 105 106 107 108 Number of sources per 0.01-mag bin (a) qlflag=0 qlflag=1 0.0 0.2 0.4 0.6 0.8 1.0 Uncertainty in G RGB [mag] 101 103 105 107 Number of sources per 0.01-mag bin (b) qlflag=0 qlflag=1 0.0 0.2 0.4 0.6 0.8 1.0 Uncertainty in R RGB [mag] 101 103 105 107 Number of sources per 0.01-mag bin (c) qlflag=0 qlflag=1 Figure 14. Histograms displaying the differences in the predicted uncertainties in the RGB synthetic magnitudes (panels ( a – c ) for BRGB , GRGB and RRGB , respectively) as a function of the global quality parameter qlflag (last column in Table 2). As expected, the objects with poorer quality ( qlflag = 1 ) exhibit larger uncertainties. Remote Sens. 2023,15, 1767 18 of 22 Table 2. First rows of the online table with the synthetic RGB magnitudes ( BRGB , GRGB and RRGB ) and their associated uncertainties ( σB , σG and σR ) derived for the 200 M sample from the Gaia DR3 XP spectra for non-variable sources in the Gaia catalogue with id number equal to source_id. The column objtype is a flag that indicates the type of object in Gaia DR3: 1 for sources flagged as non_- single_star , 2 for objects in in_qso_candidates , 3 for sources in in_galaxy_candidates and 0 for the rest of the sample. In addition, the last column, qlflag, provides a global quality flag, which is 0 for reliable sources and 1 for objects with any indication of potential problem (blending, contamination or non-stellar identification). The full table can be downloaded from the link provided in the text, and will also be available at the CDS. Source_id BRGB GRGB RRGB σBσGσRobjtype qlflag 4295806720 18.245 17.935 17.678 0.011 0.009 0.011 0 0 38655544960 15.003 14.570 14.171 0.003 0.002 0.002 0 0 1275606125952 16.849 16.519 16.266 0.005 0.004 0.006 0 0 1653563247744 16.544 16.336 16.196 0.005 0.004 0.005 0 0 2851858288640 12.779 12.550 12.387 0.001 0.001 0.002 0 0 3332894779520 13.335 12.894 12.539 0.002 0.001 0.002 0 0 3371550165888 15.314 14.938 14.615 0.003 0.002 0.003 0 1 3508989119232 15.736 15.431 15.199 0.003 0.003 0.003 0 0 4711579935744 14.736 14.481 14.300 0.002 0.002 0.003 0 0 4814659150336 18.490 17.854 17.297 0.013 0.009 0.009 0 1 5192616270720 18.370 17.551 16.964 0.013 0.007 0.007 0 0 5291399870976 17.301 17.033 16.842 0.006 0.005 0.007 0 0 5291399871488 18.935 18.296 17.686 0.019 0.012 0.011 0 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · Complementary to the online table, in order to ease access to synthetic RGB photometry, we created a Python package called RGBLOOM (available at https://github.com/guaixucm/rgbloom, accessed on 24 March 2023), which performs cone search queries around any position on the celestial sphere. This code is an updated version of RGBLUES (available at https://github.com/guaix-ucm/rgblues, accessed on 24 March 2023), the tool created by C21 to retrieve RGB magnitudes from the 15 M sample. Once installed, the code can be easily executed from the command line—for example, using a command like this one: $ rgbloom 56.66 24.10 1.0 12 The four numerical arguments correspond to the position search values (RA, DEC and search radius) in decimal degrees and the limiting GGaia magnitude. In the example command shown here, we are searching for sources brighter that GGaia = 12 mag within a circular aperture of radius 1 degree with centre at right ascension RA = 56.66 deg and declination DEC = 24.10 deg (corresponding to the Pleiades star cluster). The steps followed by RGBLOOM to provide its output are the following: 1. Cone search in Gaia DR3 down to the pre-defined limiting GGaia magnitude, retrieving the following parameters: source_id , ra , dec , phot_g_mean_mag , phot_bp_mean_mag , phot_rp_mean_mag and phot_variable_flag. 2. Initial RGB magnitude estimation using the polynomial transformations given in Equations (2)–(4) by C21. 3. Retrieval of the RGB synthetic magnitudes for sources in the 200 M sample within the HEALPIX level-8 tables enclosing the region of the sky defined in the initial cone search. 4. Cross-matching between the Gaia DR3 and the 200 M subsamples to identify sources with RGB synthetic magnitudes estimated from the XP low-resolution spectra. 5. Generation of the output files. In particular, two files (in CSV format) are generated: rgbloom_200m.csv , which contains the sources belonging to the 200 M sample with RGB synthetic magnitudes; and rgbloom_no200m.csv , which includes sources that do not belong to the 200 M sample. In this latter case, the RGB magnitudes provided in Remote Sens. 2023,15, 1767 19 of 22 the file correspond to the estimates derived using the polynomial relationships in C21. It is important to remember (see Section 3) that these estimates are more uncertain than the new RGB values computed in this work and that they can be biased due to systematic effects introduced by interstellar extinction by exhibiting a colour outside the −0.5 ≤GBP −GRP ≤2.0 interval (where the C21 calibrations were computed) or by variability of the source. 6. Creation of a finding chart of the results (see the example in Figure 15 for the region around the Pleiades star cluster). The users of RGBLOOM should rely more strongly on the RGB estimates corresponding to sources belonging to the 200 M sample (labelled with red numbers in Figure 15) and make judicious use of the predictions that rely on the C21 polynomial calibration (labelled with black numbers in the same figure) as discussed in Section 4. Nevertheless, since the sky coverage of the 200 M sample is still not very good at certain high Galactic latitudes (see Figure 4), the RGB estimates from the C21 polynomial calibration may still be useful after discarding the sources with large interstellar extinction. 3h51m48m45m42m 25°00' 24°30' 00' 23°30' 00' 55°30'56°00'30'57°00'30'58°00' 23°00' 30' 24°00' 30' 25°00' ra dec ra dec 184 56 174 224 215 140 87 247 189 143 146 100 107 155 241 212 145 150 89 16 76 112 27 211 44 49 18 178 101 142 72 134 199 159 132 65 99 78 149 165 59 64 71 46 57 226 192 218 231 106 118 120 82 136 210 4 137 83 93 219 17 151 230 23 73 163 90 52 162 110 154 232 124 21 171 133 187 148 105 80 5 92 79 180 98 2 114 33 25 117 166 246 167 191 37 139 181 156 61 48 102 125 85 126 47 40 198 204 94 221 122 244 75 43 96 30 9 200 70 15 186 60 58 39 13 193 63 138 129 168 201 8 50 188 144 205 161 66 95 20 6 91 109 28 242 45 235 243 239 127 130 51 190 103 236 207 216 152 19 176 35 38 26 141 54 34 123 173 228 234 240 157 237 203 227 108 170 86 229 88 238 62 131 67 202 217 69 248 53 183 113 220 195 164 77 158 185 10 74 115 31 194 179 22 169 111 147 182 42 213 84 214 7 160 172 197 12 32 208 41 175 209 24 68 14 36 11 55 225 3 153 177 1 135 223 104 29 81 233 206 245 128 222 97 119 121 196 116 40 51 9 20 27 12 52 11 21 37 50 23 32 62 41 15 60 56 48 36 2 26 46 18 16 31 38 61 28 53 1 43 19 22 58 29 6 49 54 44 39 7 17 4 24 57 3 5 45 34 8 55 25 33 30 10 59 14 13 42 35 47 variable in Gaia DR3 outside colour range Field radius: 1.0000 degree center :56.6600 degree center :+24.1000 degree rgbloom, version 1.2 012 G BP G RP Figure 15. Example of a finding chart generated by the Python package RGBLOOM after performing a cone search centred in the Pleiades star cluster with a search radius of 1 degree . The objects in this plot are colour coded based on the Gaia G BP − G RP colour and are numbered with labels of different colours (red or black for objects belonging or not to the 200 M sample, respectively) with numbers matching the first column of the output files rgbloom_200m.csv and rgbloom_no200m.csv generated during the execution of the code. The identification number of the less reliable sources in rgbloom_- 200m.csv (those with qlflag = 1 ) appear within a rectangle with a light-gray colour. For sources that do not belong to the 200 M sample, and where RGB estimates correspond to the polynomial transformations from C21, which can be affected by systematic biases, the program overplots a blue square when the Gaia DR3 phot_variable_flag is set to VARIABLE and a grey diamond when the source colour is outside the −0.5 ≤GBP −GRP ≤2.0 mag interval. Remote Sens. 2023,15, 1767 20 of 22 6. Conclusions We provided, in this work, synthetic photometry in RGB passbands derived from Gaia DR3 XP spectrophotometry. The RGB magnitudes derived in this work represent a significant improvement over those published by C21 as they were directly derived from space-based SED observations and not predicted through photometric relationships as in C21. Although it is true that the Gaia XP spectra are of low spectral resolution by astrophysical standards, they constitute a clear improvement over the predictions obtained by the Gaia EDR3 GGaia , GBP and GRP integrated photometry employed by C21 to derive their polynomial calibration. In addition, the new RGB estimates were derived employing the Gaia DR3 XP spectra, directly using their XP coefficients and their associated basis functions, which allows for preservation of the maximum information contained in the Gaia spectra as well as confident estimation of the propagation of uncertainties in the derived results. The number of calibrated sources increased significantly, passing from ∼ 15 million sources in C21 to slightly more that 200 million in this work. The new 200 M sample can now include sources without extinction restrictions and does not rely on any approximate calibration only valid for isolated solar metallicity stars. In addition, the RGB magnitude estimates are provided with their associated uncertainties, which, in the C21 sample, were roughly estimated to be within a ± 0.1 mag interval and are now more robustly determined. In addition, the uncertainties for a considerable number of sources were within ± 0.01 mag, which constitutes a significant improvement. This means that, contrary to what happened with the C21 sample, whose RGB estimates should not be considered to be extremely accurate on a star-by-star basis, the availability of reliable uncertainties in the new 200 M catalogue allows us to infer quality photometric calibration even with a very small number of reference sources. This work demonstrates that RGB photometry can already be performed using a vast catalogue of reliable calibration sources, available in a wide range of magnitudes and for a significant fraction of the celestial sphere. The astronomical magnitudes can easily be transformed into radiometric units by using the formulas published in [23]. Author Contributions: Conceptualization, J.M.C., A.S.d.M., J.Z. and N.C.; Computation J.M.C., N.C., S.P. and R.G.; Data analysis on the NightUp database J.M.C., N.C., S.P. and R.G.; Field test A.S.d.M., J.I., J.Z., J.M.C. and E.M. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding. Data Availability Statement: The BP/RP coefficients for all sources used here were obtained from the Gaia catalogue (https://gea.esac.esa.int/archive/, accessed on 12 July 2022). From them, we derived the RGB synthetic photometry, which can be accessed by following the detailed instructions in Section 5. Acknowledgments: This work was (partially) funded by the Spanish MICIN/AEI/10.13039/ 501100011033 and by “ERDF A way of making Europe” by the European Union through grants RTI2018-095076-B-C21 and PID2021-122842OB-C21 and the Institute of Cosmos Sciences University of Barcelona (ICCUB, Unidad de Excelencia ’María de Maeztu’) through grant CEX2019-000918-M. Funding for the DPAC has been provided by national institutions—in particular, the institutions participating in the Gaia Multilateral Agreement. This project received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska- Curie grant agreement No 847635 (UNA4CAREER). RALAN map project. This work made use of data from the European Space Agency (ESA) mission Gaia (https://www.cosmos.esa.int/gaia, accessed on 12 July 2022) processed by the Gaia Data Processing and Analysis Consortium (DPAC, https://www.cosmos.esa.int/web/gaia/dpac/consortium, accessed on 12 July 2022). This work was possible thanks to the extensive use of IPython and Jupyter notebooks [ 24 ]. This research made use of ASTROPY (http://www.astropy.org, accessed on 24 March 2023), a community-developed core Python package for Astronomy [ 25 , 26 ], NUMPY [ 27 ], SCIPY [ 28 ], MATPLOTLIB [ 29 ], PANDAS [ 30 ] and VAEX [ 31 ]. Some of the results in this paper were derived using the healpy and HEALPix packages [32,33]. Remote Sens. 2023,15, 1767 21 of 22 Conflicts of Interest: A. Sánchez de Miguel discloses that he does consulting work sporadically for Savestars Consulting S.L. and is a member of the board of Cel Fosc. The authors are not aware of any affiliations, memberships, funding or financial holdings that might be perceived as affecting the objectivity of this article. References 1. Cardiel, N.; Zamorano, J.; Bará, S.; Sánchez de Miguel, A.; Cabello, C.; Gallego, J.; García, L.; González, R.; Izquierdo, J.; Pascual, S.; et al. Synthetic RGB photometry of bright stars: Definition of the standard photometric system and UCM library of spectrophotometric spectra. Mon. Not. R. Astron. Soc. 2021,504, 3730–3748. 2. Cardiel, N.; Zamorano, J.; Carrasco, J.M.; Masana, E.; Bará, S.; González, R.; Izquierdo, J.; Pascual, S.; Sánchez de Miguel, A. RGB photometric calibration of 15 million Gaia stars. Mon. Not. R. Astron. Soc. 2021,507, 318–329. [CrossRef] 3. Sánchez de Miguel, A.; Zamorano, J.; Aubé, M.; Bennie, J.; Gallego, J.; Ocana, F.; Pettit, D.R.; Stefanov, W.L.; Gaston, K.J. Colour remote sensing of the impact of artificial light at night (II): Calibration of DSLR-based images from the International Space Station. Remote Sens. Environ. 2021,264, 112611. [CrossRef] 4. Fulbright, J.P.; Xiong, X. Suomi-NPP VIIRS day/night band calibration with stars. In Earth Observing Systems XX; SPIE: San Diego, CA, USA, 2015; Volume 9607, pp. 488–508. 5. Wilson, T.; Xiong, X. Intercomparison of the SNPP and NOAA-20 VIIRS DNB high-gain stage using observations of bright stars. IEEE Trans. Geosci. Remote Sens. 2020,58, 8038–8045. [CrossRef] 6. Jiang, J.; Liu, D.; Gu, J.; Süsstrunk, S. What is the space of spectral sensitivity functions for digital color cameras? In Proceedings of the 2013 IEEE Workshop on Applications of Computer Vision (WACV), Clearwater Beach, FL, USA, 15–17 January 2013; pp. 168–179. [CrossRef] 7. Hoffleit, D. Catalogue of Bright Stars; Yale University Observatory: New Haven, CT, USA, 1964. 8. Gaia Collaboration; Brown, A.G.A.; Vallenari, A.; Prusti, T.; de Bruijne, J.H.J.; Babusiaux, C.; Biermann, M.; Creevey, O.L.; Evans, D.W.; Eyer, L.; et al. Gaia Early Data Release 3. Summary of the contents and survey properties. Astron. Astrophys. 2021 ,649, A1. [CrossRef] 9. Riello, M.; De Angeli, F.; Evans, D.W.; Montegriffo, P.; Carrasco, J.M.; Busso, G.; Palaversa, L.; Burgess, P.W.; Diener, C.; Davidson, M.; et al. Gaia Early Data Release 3. Photometric content and validation. Astron. Astrophys. 2021,649, A3. [CrossRef] 10. Carrasco, J.M.; Weiler, M.; Jordi, C.; Fabricius, C.; De Angeli, F.; Evans, D.W.; van Leeuwen, F.; Riello, M.; Montegriffo, P. Internal calibration of Gaia BP/RP low-resolution spectra. Astron. Astrophys. 2021,652, A86. [CrossRef] 11. De Angeli, F.; Weiler, M.; Montegriffo, P.; Evans, D.W.; Riello, M.; Andrae, R.; Carrasco, J.M.; Busso, G.; Burgess, P.W.; Cacciari, C.; et al. Gaia Data Release 3: Processing and validation of BP/RP low-resolution spectral data. arXiv 2022, arXiv:2206.06143. 12. Montegriffo, P.; De Angeli, F.; Andrae, R.; Riello, M.; Pancino, E.; Sanna, N.; Bellazzini, M.; Evans, D.W.; Carrasco, J.M.; Sordo, R.; et al. Gaia Data Release 3: External calibration of BP/RP low-resolution spectroscopic data. arXiv 2022, arXiv:2206.06205. 13. Gaia Collaboration; Vallenari, A.; Brown, A.G.A.; Prusti, T.; de Bruijne, J.H.J.; Arenou, F.; Babusiaux, C.; Biermann, M.; Creevey, O.L.; Ducourant, C.; et al. Gaia Data Release 3: Summary of the content and survey properties. arXiv 2022, arXiv:2208.00211. 14. Gaia Collaboration; Montegriffo, P.; Bellazzini, M.; De Angeli, F.; Andrae, R.; Barstow, M.A.; Bossini, D.; Bragaglia, A.; Burgess, P.W.; Cacciari, C.; et al. Gaia Data Release 3: The Galaxy in your preferred colours. Synthetic photometry from Gaia low-resolution spectra. arXiv 2022, arXiv:2206.06215. 15. Gaia Collaboration; Prusti, T.; de Bruijne, J.H.J.; Brown, A.G.A.; Vallenari, A.; Babusiaux, C.; Bailer-Jones, C.A.L.; Bastian, U.; Biermann, M.; Evans, D.W.; et al. The Gaia mission. Astron. Astrophys. 2016,595, A1. 16. Weiler, M.; Carrasco, J.M.; Fabricius, C.; Jordi, C. Analysing spectral lines in Gaia low-resolution spectra. Astron. Astrophys. 2023 , 671, A52. [CrossRef] 17. Carrasco, J.M.; Weiler, M.; Jordi, C.; Fabricius, C. Gaia, an all-sky survey for standard photometry. In Highlights on Spanish Astrophysics IX; Arribas, S., Alonso-Herrero, A., Figueras, F., Hernández-Monteagudo, C., Sánchez-Lavega, A., Pérez-Hoyos, S., Eds.; Spanish Astronomical Society: Bilbao, Spain, 2017; pp. 622–627. 18. Weiler, M.; Carrasco, J.M.; Fabricius, C.; Jordi, C. Spectrophotometric calibration of low-resolution spectra. Astron. Astrophys. 2020,637, A85. 19. Fukugita, M.; Ichikawa, T.; Gunn, J.E.; Doi, M.; Shimasaku, K.; Schneider, D.P. The Sloan Digital Sky Survey Photometric System. Astron. J. 1996,111, 1748. [CrossRef] 20. Bessell, M.S. Standard Photometric Systems. Annu. Rev. Astron. Astrophys. 2005,43, 293–336. [CrossRef] 21. Sirianni, M.; Jee, M.J.; Benítez, N.; Blakeslee, J.P.; Martel, A.R.; Meurer, G.; Clampin, M.; De Marchi, G.; Ford, H.C.; Gilliland, R.; et al. The Photometric Performance and Calibration of the Hubble Space Telescope Advanced Camera for Surveys. Publ. Astron. Soc. Pac. 2005,117, 1049–1112. 22. Crowley, C.; Kohley, R.; Hambly, N.C.; Davidson, M.; Abreu, A.; van Leeuwen, F.; Fabricius, C.; Seabroke, G.; de Bruijne, J.H.J.; Short, A.; et al. Gaia Data Release 1. On-orbit performance of the Gaia CCDs at L2. Astron. Astrophys. 2016,595, A6. 23. Sánchez de Miguel, A.; Aubé, M.; Zamorano, J.; Kocifaj, M.; Roby, J.; Tapia, C. Sky Quality Meter measurements in a colourchanging world. Mon. Not. R. Astron. Soc. 2017,467, 2966–2979. [CrossRef] 24. Pérez, F.; Granger, B.E. IPython: A System for Interactive Scientific Computing. Comput. Sci. Eng. 2007,9, 21–29. [CrossRef] Remote Sens. 2023,15, 1767 22 of 22 25. Astropy Collaboration; Robitaille, T.P.; Tollerud, E.J.; Greenfield, P.; Droettboom, M.; Bray, E.; Aldcroft, T.; Davis, M.; Ginsburg, A.; Price-Whelan, A.M.; et al. Astropy: A community Python package for astronomy. Astron. Astrophys. 2013,558, A33. 26. Astropy Collaboration; Price-Whelan, A.M.; Sip˝ocz, B.M.; Günther, H.M.; Lim, P.L.; Crawford, S.M.; Conseil, S.; Shupe, D.L.; Craig, M.W.; Dencheva, N.; et al. The Astropy Project: Building an Open-science Project and Status of the v2.0 Core Package. Astron. J. 2018,156, 123. 27. Harris, C.R.; Millman, K.J.; van der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Wieser, E.; Taylor, J.; Berg, S.; Smith, N.J.; et al. Array programming with NumPy. Nature 2020,585, 357–362. [CrossRef] [PubMed] 28. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nat. Methods 2020 ,17, 261–272. [CrossRef] [PubMed] 29. Hunter, J.D. Matplotlib: A 2D Graphics Environment. Comput. Sci. Eng. 2007,9, 90–95. [CrossRef] 30. McKinney, W. Data Structures for Statistical Computing in Python. In Proceedings of the Ninth Python in Science Conference, Austin, TX, USA, 28 June–3 July 2010; van der Walt, S., Millman, J., Eds.; pp. 56–61. [CrossRef] 31. Breddels, M.A.; Veljanoski, J. Vaex: Big data exploration in the era of Gaia. Astron. Astrophys. 2018,618, A13. 32. Górski, K.M.; Hivon, E.; Banday, A.J.; Wandelt, B.D.; Hansen, F.K.; Reinecke, M.; Bartelmann, M. HEALPix: A Framework for High-Resolution Discretization and Fast Analysis of Data Distributed on the Sphere. Astrophys. J. 2005,622, 759–771. 33. Zonca, A.; Singer, L.; Lenz, D.; Reinecke, M.; Rosset, C.; Hivon, E.; Gorski, K. healpy: Equal area pixelization and spherical harmonics transforms for data on the sphere in Python. J. Open Source Softw. 2019,4, 1298. [CrossRef] Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.