Open Access
Issue
A&A
Volume 689, September 2024
Article Number A93
Number of page(s) 19
Section Stellar atmospheres
DOI https://doi.org/10.1051/0004-6361/202449998
Published online 06 September 2024

© The Authors 2024

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1 Introduction

Since the beginning of the 21st century, large-area, multi-filter surveys have provided photometric information for millions of astronomical objects. For instance, some widely used surveys are the Gaia mission (Gaia; Gaia Collaboration 2016), the Sloan Digital Sky Survey (SDSS; York et al. 2000), and the Panoramic Survey Telescope and Rapid Response System survey (Pan-STARRS; Chambers et al. 2016) at visible wavelengths, or the Visible and Infrared Survey Telescope for Astronomy (VISTA; Sutherland et al. 2015), the UKIRT Infrared Deep Sky Survey (UKIDSS; Lawrence et al. 2007), the Two Micron All Sky Survey (2MASS; Skrutskie et al. 2006), and the Wide-Field Infrared Survey Explorer (WISE; Wright et al. 2010) at infrared wavelengths, to name a few.

Astronomical photometry refers to measuring the apparent brightness of an astrophysical object. A photometric system can be defined as a set of filters at different wavelengths with a well-characterised response to the incident radiation. They are typically designed to be sensitive to regions of the electromagnetic spectrum in which the variations in a given parameter (for instance, stellar effective temperature, surface gravity, and metallicity) are more prominent. A compilation of photometric systems is of great importance for many astrophysical purposes. Although some compilations were already available in the last decades of the 20th century, the first big work in this field was the Asiago Database on Photometric Systems (ADPS; Moro & Munari 2000), which provided information on 218 optical, ultraviolet, and infrared photometric systems in its latest updates (Fiorucci & Munari 2003) and played an important role in the design of the Gaia photometric system (Jordi et al. 2006).

The combination of photometric data coming from different resources requires these measurements to be described and characterised in sufficient detail to enable the conversion into compatible flux density and spectral energy units. Nevertheless, information on the properties of filters is not always easily available; sometimes it is only specified in manuals (or in the literature) and often it is not in a digital form.

To unambiguously understand the (typically) heterogeneous information provided by the different photometric systems and to allow comparisons to be made between them, it is therefore mandatory to establish a common set of parameters for all photometric systems. The International Virtual Observatory Alliance (IVOA1) in 2013 developed the IVOA Photometry Data Model (Salgado et al. 2013) to describe in a homogeneous way the essential elements of flux density measurements made across the full electromagnetic spectrum.

By comparing information at different wavelengths using colours, it is possible to estimate physical parameters that can be used in very diverse research projects. Of particularly interest to many astrophysical studies is the separation between giant and dwarf stars. For instance, studies of the structure, kinematics, and chemical distribution of our Galaxy, in particular the outer disc and halo, need a clean sample of red giants (Thomas et al. 2018). Also, studies on the star formation history in the solar neighbourhood or on the occurrence rate of exoplanets as a function of the mass of the host stars require a clean sample of giants (see, for instance Wolthoff et al. 2022). In both cases, contamination from members of the non-desired class may lead to incorrect conclusions. Furthermore, working with contaminated samples may result in telescope time being wasted when researchers attempt, for instance, to spectroscopically characterise these objects.

The above-mentioned cases are only a few recent examples; the question of how to discriminate between giant and dwarf stars has been of interest for a long time. Lindblad (1919) found that stars on the list of Adams & Joy (1917) could be arranged in two distinct series: one representing giants, the other dwarf stars. Neff (1966) showed that late-type (G5-M0) dwarfs could be distinguished from giants by using filters in the blue part of the electromagnetic spectrum. Later, Geisler (1984) used the strong surface gravity (log g) sensitivity of the Mg I triplet and MgH bands to define a good discrimination colour index in the optical for G and K stars also. More recently, Bilir et al. (2006b) used near-infrared 2MASS J, H, and K, and optical V photometry to determine a linear separation between dwarfs and giants. They applied their results to member stars of the open cluster NGC 752 (Bilir et al. 2006a).

In recent years, machine-learning techniques have joined the cause. Klement et al. (2011) used a support vector machine algorithm, reduced proper motions, and different apparent magnitudes in the optical and the infrared (USNO-B B2R2, Monet et al. 2003; DENIS IJK, Epchtein et al. 1999; and 2MASS JHK, Skrutskie et al. 2006) to separate giants and dwarfs in a sample of bright stars with log g estimates from the RAVE DR2 survey (Steinmetz et al. 2006), achieving a contamination rate (giants classified as dwarfs) that remained above 20%. Thomas et al. (2019) present a random forest algorithm to discriminate between dwarf and giant stars using optical photometry from the Canada–France Imaging Survey, Pan-STARRS, and Gaia, reaching a dwarf contamination fraction below 30% for the metallicity regime of [Fe/H]<−1.2 dex. More recently, Yuan et al. (2023a) used a deep-learning technique to address the selection of red giants. Their method used data from the SkyMapper Southern Survey (SMSS; Wolf et al. 2018) and the Large Sky Area Multi-Object Fiber Spectroscopic Telescope (LAMOST; Wang et al. 2020), obtaining over 20 thousand potential red giant candidates out of more than 304 thousand observed stars. Their model has a precision rate of 0.92 and an estimated contamination of 6.4%.

One approach to reduce contamination rates is to use narrowband filters, since the features that show temperature, gravity, or metallicity dependence can be better constrained, and thus provide better physical parameter estimations. Apart from the work mentioned by Geisler (1984), Casey et al. (2018) used a combination of wide and narrow filters (g and i bands and the DDO51 filter from the David Dunlap Observatory; McClure & van den Bergh 1968) to obtain a sample of giant stars to be used as tracers of the disc, bulge, and halo. They got a contamination rate (dwarfs classified as giants) of less than 1% and a completeness of 80% for giants with an effective temperature (Teff) of less than 5250 K.

More recently, Yuan et al. (2023b) explored the discrimination of dwarfs and giants in the miniJPAS sample (Bonoli et al. 2021), using a extreme gradient boosting classification model and the collection of 56 J-PAS narrow-band filters, from the Javalambre Physics of the Accelerating universe Astrophysical Survey (J-PAS; Benitez et al. 2014), plus 4 SDSS-like filters. They ranked the J-PAS filters by their ability to separate giant and dwarf stars, finding that two filters, J0510 and J0520, may play an important role in the classification.

The segregation of FGK dwarf and giant stars may seem evident and easy after 100 yr of papers presenting different colour-magnitude, colour-colour, colour-index, or index-index discriminating diagrams. However, this separation is not so straightforward. From a compromise between filter width and gravity-dependent features, we further explore this topic of research and present new results using J-PAS narrow filters and the photometric services from the Spanish Virtual Observatory (SVO).

The paper is structured as follows. In Sec. 2, we describe the Filter Profile Service (FPS), a key resource with which to efficiently obtain photometric filters information. In Sec. 3, we present the adopted dataset. The separation between giant and dwarf FGK stars using narrow-band filters is shown in Sec. 4. Our discussions are presented in Sec. 5, in which a comparison to the classical approach using broad-band colours is given, followed by the application of our results to the miniJPAS sample. Additionally, in Sec. 5, we present a colour-temperature relation for FGK dwarfs and the case of M stars. Finally, the conclusions are summarised in Sec. 6.

2 The Filter Profile Service

The FPS is a web service built and maintained by the SVO project2. It was originally conceived as a mechanism to efficiently manage the photometric information required by the VO Sed Analyzer3 (VOSA; Bayo et al. 2008), a Virtual Observatory (VO) tool also built and maintained by the SVO project. VOSA is designed for the analysis of the spectral energy distribution (SED) of stellar objects based on the comparison of photometric observations and theoretical models. In particular, VOSA needs to transform observed magnitudes, either provided by the user or from multiple photometric databases available through VO archives, into fluxes and calculate synthetic photometry from theoretical spectra in order to compare them. In this sense, the FPS is not only a repository of information but also a central resource around which other services and applications can be built.

To accomplish the previous tasks, it is mandatory to have well-controlled, well-structured information on the photometric filters. In this sense, the information provided by the FPS is in compliance with the IVOA Photometry Data Model. The FPS is regularly updated with new photometric systems found in the literature or requested by the astronomical community. At the time of writing (March 2024), it contains the largest public collection of filters available to the community. It provides information on more than 10 000 filters, including not only astronomical but also Solar System and Earth-observation collections of filters.

Most of the filter properties are calculated, by default, directly from the transmission curve. Nevertheless, in those cases in which there is a quantity provided by the filter’s owners or developers (for instance, a zero point), the service uses that value instead. The information is accessible not only through a web interface4 but also through VO protocols5.

The service has been heavily used by the community, as is demonstrated by the fact that, during the last 4 yr, it has received an average of around 720000 requests a month. Likewise, 115 refereed papers making use of the FPS for very different purposes6 have been published in the period 2020–2022. Moreover, archives like the Canadian Astronomy Data Center7 or Vizier8 make heavy use of the FPS. Special mention goes to GaiaXPy9, which, used in combination with the FPS, allows one to generate photometric information in a plethora of photometric systems using spectra from Gaia Data Release 3 (Gaia DR3; Gaia Collaboration 2023).

A detailed description of the FPS can be found at Appendix A. In addition to the FPS, other photometric services and tools developed by the SVO have been used in this paper (see Sec. 3.1). They are all described in Appendix B.

3 Observational spectral data and synthetic photometry

To explore the photometric segregation of dwarfs and giants among FGK stars, we made use of spectroscopic data available at SVO archives, as is described below, as well as several SVO photometric services to obtain from these spectra the synthetic photometry used later in the analysis.

3.1 Adopted stellar libraries

We selected several spectra from libraries that contain observational data from both dwarf and giants stars, with spectra covering the visible wavelength range. We used three libraries, which are briefly described below:

  • The Medium-resolution Isaac Newton telescope Library of Empirical Spectra (MILES; Sánchez-Blázquez et al. 2006; Cenarro et al. 2007) contains spectra with a wavelength coverage from 3525 to 7500 Å at a (full width at half maximum, FWHM) spectral resolution of 2.5 Å. The library covers a large range of atmospheric parameters, with Teff up to 9 950 K, log g from ~0 to 5.5 dex, and [Fe/H] from −2.93 to +1.65 dex. The SVO service contains spectra of 985 stars10.

  • The STELIB Stellar Library (Le Borgne et al. 2003) contains spectra from 3200 to 9500 Å at a (FWHM) spectral resolution of 3.0 Å. The covered atmospheric parameters go from 3252 to 31 500 K in Teff, from 0.2 to 4.8 dex in log g, and from −2.64 to +0.67 dex in [Fe/H], and thus include stars of all spectral types. The SVO service contains spectra of 254 stars11.

  • The ELODIE.3.1 library (Prugniel et al. 2007, and references therein)12 includes 1962 spectra of 1388 stars in the wavelength range from 3900 to 6800 Å, with a nominal resolution of R = 42 000. The library provides a large coverage of Teff, ranging from 3100 to 50 000 K, log g from −0.25 to 4.9 dex, and [Fe/H] from −3.0 to +1.0 dex.

In all cases, only stars with effective temperatures varying from 4000 to 7000 K, roughly corresponding to FGK spectral types according to Pecaut & Mamajek (2013)13, were kept. Also, the samples of dwarf and giant stars were defined according to the available surface gravity values, assigning stars with log g ≥ 4 to our sample of dwarf stars and with log g ≤ 3 to our sample of giant stars. Sources with 3 < log g < 4 dex were not used to avoid the transitional subgiant phase with its fast evolution (e.g. Cayrel de Strobel et al. 2001), which may hamper the separation among both classes. In total, we selected 1200 spectra from the above-described libraries, consisting of 701 from dwarfs and 499 from giants. The distribution of their Teff is presented in Fig. 1, where the blue and the red histograms show the distributions of giant and dwarf stars, respectively.

thumbnail Fig. 1

Distribution of effective temperatures of the selected spectra from the adopted sample from MILES, STELIB, and ELODIE espectral libraries together, from 4000 to 7000 K, where the blue and the red histograms show the distributions for giant and dwarf stars, respectively.

Table 1

Fe II lines that are sensitive to gravity changes within the wavelength range covered by the libraries described in Sect. 3.1

3.2 Selection of narrow-band J-PAS filters

To estimate the stellar luminosity class through photometry, we need to choose a collection of photometric filters that can offer both a large spectral coverage in the optical and enough resolution for our purpose. The J-PAS filter system14 (Bonoli et al. 2021, and references therein) is the largest collection of narrowband filters available to date, with a total of 56 filters (54 narrow filters plus two broader ones) that cover the visible wavelength range from 3 200 to 10 800 Å, approximately. The narrow-band filters have a typical width of ~145 Å, which all together can generate a photo spectrum with a resolution of R ~ 60 (Bonoli et al. 2021). Thus, the J-PAS filter system seems suitable for our purposes.

One way to address the problem is through colour-colour diagrams. Considering the 56 J-PAS narrow-band filters, it would be extremely costly computationally to explore all possible combinations among them, as they generate 1540 different colours, which in turn can produce 1 185 030 different diagrams. So, we needed to select some of the J-PAS filters and generate a manageable number of colours considering the differences seen in the stellar spectra.

Dwarf and giant stars present different spectral features. For instance, the intensities of ionised-metal lines are frequently used to derive the stellar surface gravity, as they are sensitive to such changes in FGK stars. According to Gray & Corbally (2009, and references therein), ionised lines such as Fe II and Ti II discriminate well between FGK dwarfs and giants, not only due to the electron density in the ionisation equilibrium but also due to micro-turbulence, which increases with luminosity in these stars.

We gathered from the literature a set of 36 Fe II lines that are sensitive to gravity changes and that have been frequently used for luminosity classification in spectroscopic analyses (Sousa et al. 2008, 2014, and references therein). These lines are listed in Table 1. We did not explore stellar features beyond 6600 Å to avoid contamination by telluric lines, which may appear in this spectral range as strong absorption features, as is shown in the atlas of the solar spectrum by Moore et al. (1966). Additionally, there are other spectral features important for the luminosity classification of FGK stars that are present in the region of interest; for instance, those involving magnesium, such as the Mg I triplet (λλ 5167, 72, 83 Å), especially for late-G to mid-K, and the MgH/TiO blend near 4 770 Å, which is dominant in dwarf stars for mid-K or later types (Gray & Corbally 2009, and references therein).

After having selected the sample of Fe II lines, we selected 15 J-PAS narrow-band filters, which cover the electromagnetic spectrum range in which the gravity-sensitive Fe II lines mentioned in Table 1 are present. These filters are listed in Table 2, along with their main characteristics.

In addition to the Fe II lines mentioned, we have identified other gravity-sensitive spectral features (once-ionised metal lines) covered by the selected 15 J-PAS filters, which may help to segregate dwarfs and giants. These lines were selected from the atlas of the solar spectrum by Moore et al. (1966) and are listed in Table 3. These spectral features are very weak and may appear blended in low- and intermediate-resolution spectra. However, since this study is focused on the integrated flux, the accumulative effect of several tenuous spectral features affected by luminosity changes may have an impact on the photometry.

For the set of 1200 spectra gathered from the libraries presented in Sec. 3.1, the great majority of them (1182 spectra) have enough wavelength coverage to completely cover the 15 J-PAS narrow-band filters listed in Table 2. These 1182 spectra were adopted as our final set. Among them, 690 are dwarfs (log g ≥ 4) and 492 are giant stars (log g ≤ 3), according to their libraries of origin.

Once we had defined the final set of spectra, we used the SVO utilities described in Appendix B to obtain their corresponding 105 J-PAS photometric colours, associated with the adopted 15 J-PAS filters. In particular, we used the tool COLCA15. This calculates photometric colours using the synthetic photometry available at the SVO Synthetic Photometry Server16.

Table 2

Selected J-PAS filters and their characteristics.

Table 3

Additional once-ionised metal lines with a measured equivalent width (EW) equal to or greater than 30 mÅ in the solar spectrum atlas by Moore et al. (1966).

thumbnail Fig. 2

Two-dimensional UMAP projection of our sample of giants (filled squares with darker contours) and dwarfs (crosses), colour-coded by effective temperature.

4 Photometric characterisation of giant and dwarf FGK stars

The full dataset of 105 colours can be grouped two by two into 5460 different colour-colour diagrams. This number of possibilities is too high to be visually explored, and therefore we adopted machine-learning techniques to select the best discriminators, as is described below.

To estimate the extent to which the selected colours can be used to separate giants from dwarf stars, we used the uniform manifold approximation and projection (UMAP; McInnes et al. 2018) algorithm, which firstly constructs a graph representation of the high-dimensional data and then finds a low-dimensional representation that preserves as much of the topology as possible. Figure 2 shows a two-dimensional (2D) UMAP projection for our sample of giants and dwarfs, represented by filled squares and crosses, respectively. Although there is an overlap for temperatures above approximately 5500 K, both classes are clearly distinguishable for lower temperatures. This confirms the suitability of the selected colours for separating giants and dwarfs.

To select the combination of colours that best discriminates both sets, we adopted the Gaussian mixture model (GMM; Scrucca 2016), a clustering algorithm capable of assigning membership probability to each group (giants or dwarfs) based on a combination of Gaussian distributions. From the adopted 105 colours, we sought the pairs of colours that best discriminate dwarfs from giants. This means that the locus of each type of stars in the colour-colour space has the maximum possible separation. Once the sources in our sample were classified as dwarfs or giants, this was compared with their true classification from the spectral libraries. For that, we used the Rand index (RI), which is a metric that evaluates the quality of the results of classification algorithms. It is defined as (1)

where TP is the number of true positives, FP is the number of false positives, FN is the number of false negatives, and TN is the number of true negatives. The RI value is equal to unity when the classification given by the algorithm and the true classification are the same, and it tends to nullity when there is a high discrepancy.

The highest RI value (~0.887) was found for the pair of colours J0460−J0490 versus J0610−J0630. However, J0610−J0630 presents a small dynamic range of colour values (~0.15 mag), which seems to be good enough for the synthetic photometry obtained from the spectra collections used in this work (see Sect. 3.1). Nevertheless, when working with observed data from photometric surveys, like J-PAS, the observational errors will make the colour-colour diagram get blurred, hampering the segregation of luminosity classes. Thus, additional criteria were needed.

The miniJPAS survey (Bonoli et al. 2021), which observed around 1 deg2 of the sky with the J-PAS filter system, is the only data collection available to date made using such a filter system. We queried the miniJPAS database17 for stars adopting CLASS_STAR ≥0.6, which is a morphological parameter provided by SExtractor18 (Bertin & Arnouts 1996) that indicates a point-like source. We considered the aperture-corrected magnitudes obtained from a 6-arcsec aperture in the dual-mode catalogue. We also adopted other criteria, as r < 22 mag, to avoid faint sources and quality flags equal to zero (both SExtractor FLAGS and MASK_FLAGS; see Bonoli et al. 2021 for details). Moreover, we selected those objects with magnitudes and error estimates available in all studied bands. This returned photometry data for 2059 stars. Using these data, we estimated for each of the 105 studied J-PAS colours its mean observational error and its dynamic range.

Figure 3 shows the distribution of the estimated mean colour errors. After different tests, we concluded that an observational error less than 0.12 mag and a dynamic colour range six times larger is an adequate combination to distinguish between dwarf and giants in colour-colour diagrams. So, in addition to imposing a high RI ≥0.75, two more conditions were defined from this diagram: (i) a mean observational colour error of less than 0.12 mag, shown with a dashed vertical line; (ii) and a dynamic colour range greater than 0.75 mag, to ensure a range of approximately six times the expected colour error.

By considering the three criteria mentioned above, we ended up with the five pairs of colours listed in Table 4, which are ranked by RI value19. The first, second, and fourth pairs of colours have similar behaviour, as they have three of the four filters in common. The presence of the J0510 filter among the selected colours is not a surprise, as it contains the Mg I triplet). As was mentioned in Sec. 3.2, this spectral feature is sensitive to luminosity changes from G- to K-type stars (Gray & Corbally 2009, and references therein), which appear to be more intense in dwarf stars than in giants. Yuan et al. (2023b) also stated that J0510 in one of the most important J-PAS filters for the discrimination of both luminosity classes, which is in agreement with our results.

The corresponding colour-colour diagrams are presented in Fig. 4, in which all dwarf and giant stars from the sample are presented as crosses and squares, respectively. They are colour-coded according to their Teff values to show that the separation between the classes is not caused by their differences in temperature. In each plot, a 2D kernel density plot is also presented, which helps to visualise the distribution of stars across the 2D space, highlighting regions where there is a strong concentration of stars in each sample (zones with darker contours). This representation shows that the higher-probability-density zone of one type of stars is well differentiated from the other’s.

Based on the GMM solutions, we were able to segregate a very high percentage of dwarfs and giants using the proposed J-PAS colour pairs. From the GMM results, we defined regions of the colour–colour plane where we expect to find more likely dwarf or giant stars. To establish these regions, we adopted the support vector machine (SVM; Cortes & Vapnik 1995) technique, a method that creates a separation hyperplane between the two samples by maximising the distance between the closest data points from different classes, also known as support vectors.

The SVM gives a hyperplane (or a kernel) as a result for each colour-colour diagram as the best possible separator between dwarfs and giants, according to the training set, the synthetic photometry, and the luminosity class from the used libraries. We adopted a linear kernel, since more complex functions did not achieve a better performance. The linear kernels obtained as SVM solutions for the five colour-colour diagrams are: (2a) (2b) (2c) (2d) (2e)

These boundary functions are shown in Fig. 4 as solid lines.

Although SVM is a robust method in determining classes in different types among samples, the standard approach of dividing the sample into 70% for training and 30% for testing can be challenging for small datasets like ours. Thus, we first followed this approach, using the test set to assess that there was no over-fitting, and then we trained the SVM model on the full set of 1182 spectra to obtain the final solutions.

In order to estimate the accuracy and the amount of contamination in each group, which means the false discovery rate or how many giants were classified as dwarfs and vice versa, we compared the label (dwarf or giant) predicted by the SVM solution to the original label (according to the log g value) available in the stellar libraries. We obtained an accuracy of 0.976, 0.976, 0.969, 0.976, and 0.977 for the five diagrams, respectively, as is shown in the confusion matrices of Fig. 5. It is worth mentioning that the accuracy may change for samples containing other luminosity classes than those considered in this work (e.g. subgiants with 3 < log g < 4). The contamination obtained on average for the five diagrams is only of ~2.9% of the giants classified as dwarfs, and only ~1.9% of the dwarfs classified as giants, considering the analysed sample.

As was anticipated by the UMAP in Fig. 2, it is not possible to find a kernel of complete separation between the two groups across the whole temperature range for FGK stars. So, we expect larger contamination at higher temperatures, as this is located in the lower left part of each plot in Fig. 4. Thus, to further explore this issue, we divided the studied sample into sources with Teff higher or lower than 5 500 K, and analysed both sub-samples separately. As was expected, the accuracy obtained was smaller for higher Teff and larger for lower Teff. Nevertheless, the accuracy was very high in both cases, 0.969 and 0.982 on average for the five J-PAS colour pairs for higher and lower Teff, respectively.

Furthermore, a closer look at the results shows that the rate of true classification depends on the class of star and the temperature range considered. In the case of dwarf stars, they are better classified in the higher temperature range, with just ~0.3% of misclassifications on average for the five pairs of colours, while this percent increases to ~5.3% on average for the lower temperature range. More extreme and in the opposite sense is the case of the giant stars. They are better classified in the lower temperature range, as was expected, with only ~0.8% of misclassifications, while the misclassification rate increases to as high as ~60% for the higher range of temperatures. It is worth highlighting that these rates were obtained based on the studied sample, which lacks a significant number of giants with higher temperatures and dwarfs with lower temperatures, as is illustrated in Fig. 1.

The spectra of a dwarf and a giant star present different features indeed. However, for F and early-G type stars, such discrepancies are more subtle because the majority of metal lines at these temperatures are shallow, and they grow in strength towards lower effective temperatures until mid-K types (Gray & Corbally 2009). Therefore, when considering the integrated flux from a photometric filter (i.e. the synthetic photometry), the photometric colours in both luminosity classes, dwarfs and giants, are very similar, making discriminating between them extremely difficult at this higher Teff range. Similar results were found by Casey et al. (2018), who achieved a very low rate (~1%) of dwarf contamination in giants, but only for temperatures under 5250 K. They remark that gravity sensitivity is lost for giants at higher temperatures, for all metallicities, and cannot separate between classes with their photometry.

The above results reflect, in fact, a limitation of photometric data, an issue that not even the excellent collection of ~145 Å narrow-band filters from J-PAS can solve completely. Despite all that, we have been able to achieve a very high accuracy not achieved in previous works with other filter collections, as is further discussed in Sec. 5.

thumbnail Fig. 3

Mean colour error of the 105 J-PAS colours considered in this work, estimated from 2059 stars from the miniJPAS survey. The dashed vertical line depicts the threshold imposed in the mean colour error (see text).

Table 4

Five pairs of J-PAS colours selected to discriminate between giant and dwarf stars, according to the criteria described in Sec. 4.

thumbnail Fig. 4

Colour-colour diagrams from J-PAS filters obtained with the GMM method, based on RI values, colour ranges, and expected colour errors. The dwarf stars from spectral libraries – MILES, STELIB, and ELODIE – are represented by crosses and giant stars by squares, both colour-coded according to their Teff values. The grey curves represent probability density contours across a 2D density plot. The darker the curve is, the higher the density is. The solid lines show the best separation between the two groups according to the SVM solution (see text).

thumbnail Fig. 5

Confusion matrices from the dwarf-giant classification obtained from the SVM solutions for the five colour-colour diagrams presented in Table 4, and following the same order shown in the table, from left to right and from top to bottom. The accuracy of our method for each pair of colours is 0.976, 0.976, 0.969, 0.976, and 0.977, respectively.

5 Discussion

5.1 The classical approach: A comparison with broad-band colours

At this point, it is important to quantify how much the separation between giant and dwarf stars is improved using the narrow J-PAS filters, instead of a collection of broader photometric filters.

In the literature, one can find several works related to this topic. For example, Huang et al. (2019) and Zhang et al. (2021) study different combination of SDSS colours, using parallaxes from Gaia in the first case and estimating the dependence with metallicity in both cases. They find that the best separation is achieved when the u or v filters are included. Unfortunately, the vast majority of our targets have no accurate SDSS photometry, since they are much brighter than the saturation limit (r ~ 14, Stoughton et al. 2002). As an alternative approach, we attempted to calculate the SDSS colours for the spectra in our sample using the tool COLCA. However, due to the gaps present in the spectra, this approach was unsuccessful. Thus, we were not able to compare our results with those obtained using SDSS colours.

Alternatively, and as we mentioned in the introduction, Bilir et al. (2006b) used 2MASS J, H, and K, and V photometry to search for a methodology that discriminates between dwarf and giants. Since there is a degeneration between the infrared colours of dwarfs and giants, except for the latest types (Majewski et al. 2003), they combined J, H, and K with the V band to discriminate between them. They used 196 field dwarfs and 156 field giants from the catalogues of Cayrel de Strobel et al. (2001), and defined linear fits to separate between the field dwarfs (log g > 4) and giants (log g < 3). Although Fig. 1 of their paper shows good separation, no quantification of the procedure is given.

In order to compare our results with those published in Bilir et al. (2006b), we cross-matched our sample with the 2MASS catalogue to obtain the near infrared photometry and with the SIMBAD20 database (Wenger et al. 2000) to obtain the available V photometry. In total, we ended up with a sample of 437 giants and 637 dwarfs that have both 2MASS and V photometry. Figure 6 reproduce Fig. 1 from Bilir et al. (2006b), but for our samples of giants (blue dots) and dwarfs (red dots), including their functions (Eqs. (1)(3) of their paper) as a linear separation between dwarfs and giants (black line in each panel). With this method and criteria, we obtained a contamination rate of ~17–18% and ~3–5% for dwarfs and giants, respectively, which is very similar in the three panels and significantly higher than the degree of contamination estimated in Sec. 4 (~2.9% for dwarfs and ~1.9% for giants).

Therefore, and according to these results, we can certainly conclude that the segregation of dwarf and giant stars is substantially improved when using our methodology based on J-PAS narrow-band filters.

thumbnail Fig. 6

Panels representing the J, H, and K magnitudes versus the V magnitude for the sample of 437 giants and 637 dwarfs described in Sect. 5.2, with the linear separation found by Bilir et al. (2006b) in each respective diagram. The dwarf and giant stars are represented by red and blue dots, respectively.

5.2 Application to miniJPAS stars

As was mentioned in Sec. 4, the miniJPAS survey was the only data collection available with the J-PAS photometric system, and therefore it is the only one that we can use (at the moment) to test our methodology of separating giants and dwarfs using real data (for further details on the miniJPAS survey, see Bonoli et al. 2021).

Aiming to have a well-defined sample and minimise any odd behaviour in the measured magnitudes of the miniJPAS stars, we applied some additional criteria to the miniJPAS data, more restrictive than those adopted in Sec. 4. Firstly, we chose those objects that presented a CLASS_STAR parameter greater than 0.8, to ensure the stellar nature of the miniJPAS sources. We also considered the TOTAL_PROB_STAR parameter, which is another morphological classifier designed to distinguish between point-like and extended sources through a Bayesian method (see López-Sanjuan et al. 2019, for details), to be greater than 0.8, as a second indicator of a point-like source. In order to have a good determination of the Teff from their SEDs, a good spectral coverage was required. Thus, we selected only those objects with magnitudes and error estimates available in all 56 J-PAS bands. Lastly, we kept those that presented photometric errors smaller than 0.1 mag in the seven J-PAS filters needed to generate the colour-colour diagrams listed in Table 4. We ended up with a total sample of 594 miniJPAS stars.

We used VOSA to estimate the effective temperatures of the objects in our sample. For this, we adopted the same steps described in Yuan et al. (2023b), which are outlined as follows. For the SED fitting, we used the BT-Settl stellar atmospheric model (Allard et al. 2011), which covers Teff from 400 to 70 000 K, log g from 2.0 to 6.0 dex, and metallicities from −4.0 to +0.5 dex. It is worth mentioning that SEDs usually have a low sensitivity to changes in surface gravity and metallicity, which were allowed to vary with the aim of getting better-fitting solutions. This had a minimum effect on the determination of Teff. VOSA also corrects the photometric data from interstellar extinction using a known value or a range of values. We adopted the same range suggested for the miniJPAS region, Aυ = 0 to 0.1, according to Bonoli et al. (2021). The obtained Teff values span from 3100 to 9000 K from the analysis of 592 miniJPAS stars. The remaining objects were excluded for presenting unsatisfactory SED fittings; that is, they presented a visual goodness-of-fit, Vgfb21, greater than three (for more details, see Yuan et al. 2023b).

We then plotted the stars from the miniJPAS sample, with extinction-corrected magnitudes, on the five colour-colour diagrams explored in Sec. 4 and presented in Table 4. These diagrams are presented in Fig. 7, in which the objects from miniJPAS classified as FGK stars (508 objects; 4000 ≤ Teff ≤ 7000 K) are colour-coded according to their estimated effective temperature. The control sample (from the spectral libraries) is presented in grey, with dwarf and giant stars represented by crosses and squares, respectively.

By applying the results obtained from SVM in Sec. 4, we classified the 508 miniJPAS stars as dwarfs or giants according to their locations in the colour-colour diagrams. A classification was given only if it was the same in all five diagrams. Thus, we classified 448 sources as dwarfs, 32 as giants, and the remaining 28 as inconclusive (those with a diverging class among the five diagrams). Since the training sample was defined to avoid transitional stages, with 3 < log g < 4 dex, we expect this to be the case at least for some of these unclassified objects. A table with the 508 miniJPAS objects and their classifications, in addition to the parameters obtained from the SED fitting with VOSA, is available online at Vizier.

To verify our results, we constructed the Gaia colour-absolute magnitude diagram (CMD) for those objects with known distances from Gaia DR3. Of our sample of 508 objects, only 291 stars have good parallax (π) measurements (those with positive parallaxes and a relative error of less than 20%), good astrometric solutions (RUWE < 1.4), and Gaia G, Bp, Rp photometry with relative flux errors below 10%. These objects are shown in the CMD presented in Fig. 8, in which stars defined as dwarfs and giants by our method are represented by red and blue dots, respectively. The black crosses are the objects with an inconclusive classification. A set with over 40 000 Gaia nearby stars taken from Torres et al. (2022), with the quality metric from Riello et al. (2021) already applied, is also illustrated for reference (small grey dots).

From their position on the CMD, we estimated a correct identification of dwarfs and giants with an accuracy of 0.996. This result shows a great improvement in accuracy when compared with previous results in the literature from broad-band photometry, such as those from Bilir et al. (2006b), as is described in Sec. 5.1.

thumbnail Fig. 7

Colour-colour diagrams for 508 stars from the miniJPAS survey classified as FGK stars (4 000 ≤ Teff ≤ 7 000 K), colour-coded according to their derived effective temperature. The comparison sample – from the MILES, STELIB, and ELODIE libraries – is shown in grey, and dwarfs and giants are represented by crosses and squares, respectively. The solid lines show the best separation between the two groups according to the SVM solutions.

thumbnail Fig. 8

Colour-magnitude diagram showing FGK miniJPAS objects with good parallax, photometry, and RUWE measurements from Gaia. Red and blue dots represent stars that were identified as dwarf and giant stars according to our method, respectively, and black crosses are the objects with an inconclusive classification. Gaia nearby objects are represented by small dots, for reference.

thumbnail Fig. 9

Colour-colour diagram showing our spectroscopic FGK dwarf sample (690 stars with 4000 ≤ Teff ≤ 7000 K and log g ≥ 4 dex). The side bar is colour-coded with the stellar spectroscopic effective temperature obtained from the libraries.

5.3 A photometric scale for Teff

The reader may have noticed that the colour-colour diagram (J0510−J0550 versus J0450−J0620) also presents a well-defined trend with the stellar Teff for dwarf stars, as is shown in Fig. 9. Therefore, we also explored the possibility of defining a mathematical colour-temperature relation that could be used to estimate Teff for FGK dwarf stars based on these two J-PAS colours. With that aim, we considered all of the FGK dwarfs from our libraries (690 stars with log g ≥ 4 dex; Fig. 9) that have well-established Teff from spectroscopy.

To build the colour-temperature relation, we performed a polynomial multivariate regression of the two colours of the form (3)

where y represents the Teff, x1 and x2 are the colours J0450−J0620 and J0510−J0550, respectively, and βi are the regression coefficients. The model fitting was performed using the ordinary least squares (OLS) method. The results are shown in Table 5. The residual standard error, ϵ, is 204.6 K.

To verify the validity of the fitted polynomial, we used Eq. (3) to estimate the photometric temperatures of the objects from our sample and compared them to the spectroscopic values available from the libraries. This comparison is shown in Fig. 10 (top panel), where the solid line represent the identity function. To assess the quality of the estimated values using the polynomial fit, we generated a Bland-Altman plot (Fig. 10; bottom panel), in which the horizontal axis represents the mean values between the two temperatures and the vertical axis represents the difference between them (Teff,fitTeff,spec). The mean Teff difference is ΔTeff ~ 0 K, represented by a horizontal line, which shows that both methods are in accordance, and the standard deviation, σ, is 203.8 K. Dotted lines show the confidence limits of the measurements adopted as 2σ to define a confidence level of ~95%. Therefore, we can see that both the spectroscopic Teff measurements and the values estimated from J-PAS colours are in general in very good agreement.

Table 5

Table with polynomial multivariate regression coefficients.

5.4 The case of M stars

As the miniJPAS sample has a range of temperatures that extends beyond the K type, we assessed the effectiveness of the colour-colour diagrams presented in Table 4 at also discriminating between giant and dwarf M stars. To separate dwarf and giant M stars, we applied the same techniques described in Sec. 4. For that, we selected from the same libraries presented in Sect. 3.1 a sample of 87 M stars, those with Teff ≤ 3 900 K, of which only nine are dwarf stars. In order to enlarge the number of M dwarfs, we selected sources from the miniJPAS survey for which the Teff obtained with VOSA (see Sect. 5.2) was also lower than 3 900 K. To ensure that these objects are in fact dwarf stars, we plotted them in the Gaia colour-magnitude diagram, as is shown in Fig. 11, in which the selected mimiJPAS sources, shown in red, appear in the M dwarf region. The 69 miniJPAS stars depicted in this figure are those with the same quality criteria described in Sect. 5.2, and they were added to the M dwarf sample.

Applying the SVM method to discriminate between dwarf and giant M stars, as was done in Sec. 4, it is interesting to note how three of the J-PAS colour pairs used to classify FGK stars can also be used for M stars. In this case, diagrams 1, 2, and 4 proved to be very useful, as shown in Fig. 12. The solutions obtained from the SVM are represented by the following linear decision boundary functions: (4a) (4b) (4c)

They are shown in Fig. 12 as solid lines.

From the SVM solutions obtained for M stars, we achieved an accuracy of 0.974, 0.955, and 0.968 for the three diagrams shown in Fig. 12, respectively, as is shown by their confusion matrices of Fig. 13. Considering the three colour-colour diagrams, we estimated an average contamination of only ~4.2% of giants classified as dwarfs and ~2.6% of dwarfs classified as giants. It is worth emphasising that these results are based on a smaller sample than the previous one, with a total of 78 dwarfs and 78 giant stars, and also a more heterogeneous one, as it combines spectroscopic and photometric data. Nonetheless, although further validation is required, the results are very promising given its high accuracy. This validation will be possible in the near future with the upcoming J-PAS survey data releases.

thumbnail Fig. 10

Comparison between photometric and spectroscopic temperatures. Top panel: the x axis shows the estimated photometric temperatures using the derived polynomial function and the y axis shows the spectroscopic values from libraries. Bottom panel: the Bland–Altman plot comparing both values, in which the x axis shows the mean values between the two temperatures and the y axis shows the difference between them.

thumbnail Fig. 11

Gaia colour–magnitude diagram showing M stars from the miniJPAS sample (red dots) with good parallax, photometry, and RUWE measurements from Gaia (see Sect. 5.2 for details). Other miniJPAS stars with high-quality data from Gaia are shown as grey crosses. Gaia nearby objects (described in Sect. 5.2) are represented by small dots, for reference.

6 Conclusions

This paper has two main goals. On the one hand, it aims to present the SVO FPS and the associated photometric tools that allow, in the framework of the VO, the combination and comparison of heterogeneous information coming from different photometric systems. On the other hand, the other natural objective is to show the power and capabilities of this service and tools by means of addressing one important issue in today’s stellar astrophysics: the discrimination of dwarf and giant stars using photometry data.

We used 15 J-PAS narrow filters, especially selected to cover spectral features that are known to be sensitive to gravity, to develop a methodology of discriminating between dwarf and giant stars, limited to the F, G, and K spectral types. For this purpose, we selected a sample of known stars from the MILES, STELIB, and ELODIE stellar libraries, and used the SVO photometric tools to derive the J-PAS synthetic photometry from their spectra.

We first selected the 15 J-PAS filters more suitable for our purposes, which resulted in 105 J-PAS colours with a larger probability of separating both types of stars. We then conducted a machine-learning approach to identify the colour-colour pairs adequate for the dwarf-giant segregation among the total of 5 460 possible pairs generated.

Then, using a Gaussian mixture model, we selected the most promising five colour-colour diagrams to discriminate between giant and dwarf stars. Finally, we used the support vector machine technique to define a criteria that maximises the separation of the two luminosity classes, which performs excellently, with an average accuracy of approximately 0.97 for FGK stars. We notice, though, that the rate of accurate classification depends on the type of star and the range of temperature, being better for dwarf stars in the higher temperature range (Teff >5500 K) and better for giants in the lower temperature range, according to the adopted sample. The effectiveness of our methodology was demonstrated by comparing the results obtained from broad-band photometry to those obtained using J-PAS filters.

Additionally, we defined a colour-temperature relation for the FGK dwarf stars that allows one to estimate the effective temperature of a star with an error of ~200 K from the photometric data of four J-PAS filters (J0450, J0510, J0550, and J0620). Finally, we extended our method of distinguishing between FGK giants and dwarfs to M-type stars with very promising results, also achieving an average accuracy of ~0.97. Nevertheless, a validation with a larger sample of both dwarf and giant M stars is needed to draw definitive conclusions.

It has definitely been demonstrated that the publicly available services provided by the SVO and presented in this work are powerful tools for research in astrophysics. The capacity of these services to work with either observational or theoretical data enhances their usefulness and power. The science case presented in this work is just one drop in an ocean of possibilities, the only limit of which is the creativity of the researcher. These kinds of services are foreseen to play a fundamental role in the current era of huge photometric and astrometric surveys.

thumbnail Fig. 12

Colour-colour diagrams for M stars (Teff ≤ 3 900 K). The miniJPAS M-dwarf sample is colour-coded according to the derived effective temperature. The M stars from the libraries – MILES, STELIB, and ELODIE – are shown in black, and dwarfs and giants are represented by crosses and squares, respectively. The FGK sample from the libraries is presented in light grey, for reference.

thumbnail Fig. 13

Confusion matrices from the dwarf-giant classification of M stars, obtained from the SVM solutions for the colour-colour diagrams 1, 2, and 4 presented in Table 4 (from left to right, respectively). The accuracy of correctly identifying dwarfs and giants is 0.974, 0.955, and 0.968, respectively.

Acknowledgements

P.C. and A.A. acknowledge financial support from the Government of Comunidad Autónoma de Madrid (Spain) via postdoctoral grants ‘Atracción de Talento Investigador’ 2019-T2/TIC-14760 and 2018-T2/TIC-11697, respectively. P.C. and F.J.E. acknowledge financial support from the Spanish Virtual Observatory project funded by the Spanish Ministry of Science and Innovation/State Agency of Research MCIN/AEI/10.13039/501100011033 through grant PID2020-112949GB-I00. J.A.’s contribution to this work is a product of his academic exercise as a professor at the Universidad Militar Nueva Granada, Bogotá, Colombia. M.C.G.O. acknowledges financial support from the Agencia Estatal de Investigación (AEI/10.13039/501100011033) of the Ministerio de Ciencia e Innovación and the ERDF “A way of making Europe” through project PID2022-137241NB-C42. P.M.B. is funded by INTA through grant PRE-OVE. A.B. acknowledges support from the Deutsche Forschungsgemeinschaft (Germany’s Excellence Strategy — EXC 2094 -– 39078331). M.C.C. acknowledges financial support from the Universidad Complutense de Madrid (UCM) and the Agencia Estatal de Investigación (AEI/10.13039/501100011033) of the Ministerio de Ciencia e Innovación and the ERDF “A way of making Europe” through projects PID2019-109522GB-C5[4] and PID2022-137241NBC4[4]. R.M.O. is funded by INTA through grant PRE-OBSERVATORIO. This research has made use of the Spanish Virtual Observatory (https://svo.cab.inta-csic.es) project funded by the Spanish Ministry of Science and Innovation/State Agency of Research MCIN/AEI/10.13039/501100011033 through grant PID2020-112949GB-I00. This research has made use of the SVO Filter Profile Service (http://svo2.cab.inta-csic.es/theory/fps/). This publication makes use of VOSA, developed under the Spanish Virtual Observatory project. VOSA has been partially updated by using funding from the European Union’s Horizon 2020 Research and Innovation Programme, under Grant Agreement no. 776403 (EXOPLANETS-A). This research has made use of TOPCAT (Taylor 2005). This research has made use of the SIMBAD and VizieR databases, operated by CDS at Strasbourg, France. We made use of several Python packages, including pandas22, seaborn (Waskom 2021), numpy (Harris et al. 2020), matplotlib, and umap-learn (McInnes et al. 2018). Based on observations made with the JST/T250 telescope and JPCam at the Observatorio Astrofísico de Javalambre (OAJ), in Teruel, owned, managed, and operated by the Centro de Estudios de Física del Cosmos de Aragón (CEFCA). We acknowledge the OAJ Data Processing and Archiving Unit (UPAD) for reducing and calibrating the OAJ data used in this work. Funding for the J-PAS Project has been provided by the Governments of Spain and Aragón through the Fondo de Inversión de Teruel, European FEDER funding and the Spanish Ministry of Science, Innovation and Universities, and by the Brazilian agencies FINEP, FAPESP, FAPERJ and by the National Observatory of Brazil. Additional funding was also provided by the Tartu Observatory and by the J-PAS Chinese Astronomical Consortium. Funding for OAJ, UPAD, and CEFCA has been provided by the Governments of Spain and Aragón through the Fondo de Inversiones de Teruel and their general budgets; the Aragonese Government through the Research Groups E96, E103, E16_17R, E16_20R and E16_23R; the Spanish Ministry of Science and Innovation (MCIN/AEI/10.13039/501100011033 y FEDER, Una manera de hacer Europa) with grants PID2021-124918NB-C41, PID2021-124918NB-C42, PID2021-124918NA-C43, and PID2021-124918NB-C44; the Spanish Ministry of Science, Innovation and Universities (MCIU/AEI/FEDER, UE) with grant PGC2018-097585-B-C21; the Spanish Ministry of Economy and Competitiveness (MINECO) under AYA2015-66211-C2-1-P, AYA2015-66211-C2-2, AYA2012-30789, and ICTS-2009-14; and European FEDER funding (FCDD10-4E-867, FCDD13-4E-2685).

Appendix A Description of the information provided by the Filter Profile Service

The information provided for each filter by the FPS is structured into four main blocks.

A.1 Description

  • Filter identifier: Filter identifiers are uniquely assigned to each filter. They follow a predictable syntax defined as a Category/Subcategory.Filter. In many cases, a ‘category’ is a physical facility (for instance, a telescope or an observatory), a ‘subcategory’ is the name of the instrument, and a ‘filter’ is the name of the photometric band (e.g. Paranal/NACO.J). For surveys, we often use the survey name both as a category and subcategory (e.g. 2MASS/2MASS.J). This nomenclature also applies to filter collections of a given observatory (e.g. CAHA/CAHA.353_41). Finally, a ‘generic’ category was created to include standard filters not associated with any particular observatory (e.g. Generic/Johnson.R). These rules are not rigid, as it is difficult to define a unique best way to label filters. In all cases, we tried to find intuitive names to ease the filter identification. Moreover, a short readable description of the filter and the photometric system is also provided.

  • Detector type associated with the photometric system. This property defines how the transmission curve must be used to compute the average flux associated with a given band. Two types of detectors are considered: energy counters and photon counters, for which the averaged flux is respectively calculated as follows: (A.1)

    and (A.2)

    where T(λ) is the filter transmission and f(λ) is the flux.

  • Band name: This is an standard representation of the spectral band associated with this filter when appropriate (e.g. B, J, V,...). It is sometimes useful for human interpretation but it is not very useful for discovery purposes as it is empty for many filters that are not associated with any standard band.

  • Observational facility: In most cases, this is the name of the observatory where the filter is used. In some other cases it corresponds to the name of a survey or a space mission (e.g. Paranal, 2MASS, or Herschel).

  • Instrument: This corresponds to the name of the instrument associated with the filter (e.g. MIPS, VISIR, or BUSCA).

  • Comments: This includes a text description of some matters relating to the filter that could be of interest to the user.

A.2 Transmission curve

The transmission curve is a 2D set of data, the wavelength in Å and the transmission normalized to the unit, which describes the transmission properties of the filter over the wavelength range defined by the filter bandpass. In addition to the graphical representation (Fig. A.1), the system also offers the possibility of downloading the transmission curve in two formats (aSc II and VOTable). The VOTable also provides the origin of the information and the components (filter, instrument, atmosphere) considered in the transmission curve.

thumbnail Fig. A.1

2MASS H transmission curve.

A.3 Mathematical properties

A total of 13 properties (nine different wavelengths, the effective width, the FWHM, the extinction ratio, and the solar flux) are provided. The IVOA Photometry Data Model (Salgado et al. 2013) only requires one to define a value for a ‘reference wavelength’, another for a ‘width’ of the filter, and two wavelengths identifying where the transmission starts and ends. But, in practice, different authors have their own preferences about how to define these quantities in the most useful way. That is why we have included up to nine different definitions of wavelengths that can characterize the filter. If any of these properties are computed by the owner or developer of the photometric system, they are used by default. Otherwise, they are calculated following these equations:

  • Mean wavelength λmean). It is calculated by the service as (A.3)

    where T(λ) is the filter transmission.

  • Full width at half maximum (FWHM). This is defined as the difference between the two wavelengths for which the filter transmission is half maximum (Fig. A.2, upper left panel).

  • Central wavelength (λcen). This is defined as the wavelength at the middle position between the two wavelengths used to compute the FWHM (Fig. A.2, upper central panel).

  • Effective wavelength (λeff). It is obtained by: (A.4)

    where Vg(λ) is the Vega spectrum. For this calculation, and all other calculations that involve the Vega spectrum, the system uses the alpha_lyr_stis_010.fits spectrum from the CALSPEC23 database (Bohlin et al. 2014).

  • Peak wavelength (λpeak). This is defined as the wavelength value with the largest transmission (Fig. A.2, upper right panel).

  • Pivot wavelength (λpiv; Fig. A.2, lower left panel). This is defined as (A.5)

    This is the reference wavelength for the FPS.

  • Photon distribution wavelength (λphot). This is defined as (A.6)

  • Minimum or maximum wavelength (λmin, λmax). This is defined as the first or last wavelength value with a transmission at least 1% of the maximum transmission (Fig. A.2, lower central panel).

  • Effective width (Weff). This is defined as the width of a rectangle with a height equal to the maximum transmission and with the same area that the one covered by the filter transmission curve (Fig. A.2, lower right panel), where (A.7)

  • Ratio between extinction at the effective wavelength and at the V band (Aλ/AV). It is calculated using the extinction law of Fitzpatrick (1999), improved by Indebetouw et al. (2005) in the infrared (Fig. A.3).

  • Solar flux (Fsun). This is defined as (A.8)

    where T(λ) is the filter transmission, and Sun(λ) is the solar spectrum. The FPS uses a solar spectrum, which is a concatenation of two files – the sun_reference_stis_002.fits and sun_mod_001.fits (for larger wavelengths) – available at the CALSPEC database.

thumbnail Fig. A.2

Definitions of several quantities illustrated using the 2MASS H filter: the FWHM (upper left panel); the central wavelength (upper central panel); the peak wavelength (upper right panel); the pivot wavelength (lower left panel); the minimum and maximum wavelengths (lower central panel); and the effective width (lower right panel). For more details, see Sect. A.3.

thumbnail Fig. A.3

Opacity as a function of wavelength used for calculating the extinction (Aλ = AV · kλ/kV, where kV = 211.4).

A.4 Calibration properties

Zero points are used to transform magnitudes into fluxes and vice versa. This transformation is made in different ways depending on the magnitude system (Vega, AB, ST) and zero-point type (Pogson, Asinh, Linear). In fact, the same filter could be used in different surveys, catalogues, or observations with a different calibration (and thus different zero points).

A.4.1 Magnitude systems

The different magnitude systems are defined in terms of which spectrum is used as a reference.

The zero point in the Vega system is calculated by the service as (A.9)

where T(λ) is the filter transmission and Vg(λ) is the Vega spectrum.

To calculate the zero point in the AB system (Oke 1974), we made use of a reference spectrum of constant flux density per unit frequency equal to 3631 Jy. Thus, unless otherwise specified by the filter provider, this implies that F0,ν (AB) = 3631 Jy.

To calculate the zero point in the ST system (Koornneef et al. 1986), we used a reference spectrum of constant flux density per unit wavelength equal to 3.631e-9 erg/cm2/s/Å, which implies that F0,λ(ST) = 3.631e-9 erg/cm2/s/Å.

In all cases, the transformation between erg/cm2/s/Å and Jy is given by the following relationship: (A.10)

where F0,ν is given in Jy and F0,λ in erg/cm2/s/Å.

A.4.2 Zero-point type

The zero-point type specifies how fluxes are calculated from magnitudes or vice versa. This parameter can take three values (Pogson, Asinh, or Linear) with the corresponding transformation equations:

  • Pogson (A.11)

    or (A.12)

  • Asinh (A.13)

    or (A.14)

  • Linear (A.15)

    or (A.16)

In the above-mentioned equations, F0 is the zero-point value, mag0 the reference magnitude, and b the softening parameter. More details about Asinh magnitudes can be found in Girardi et al. (2004) and the SDSS documentation.24

Appendix B The synthetic photometry services

One of the main utilities of the FPS is to calculate synthetic photometry from either observational or theoretical spectra, defined as the averaged flux of a spectrum weighted by a photometric filter, using the following expression: (B.1)

where F(λref) is the synthetic flux at the reference wavelength and T(λ) and F(λ) are the filter transmission and spectra flux density, respectively.

Synthetic photometry for ~ 70 collections of both theoretical and observational spectra in all the filters included in the FPS and within the wavelength coverage of the collection are available at the SVO Theoretical Model Services.25 This encompasses 290 000 spectra and 3 × 109 synthetic photometry values. All this information is available through the SVO Synthetic Photometry Server web interface.26

Using the interface, the user can select a collection of spectra, a range of physical parameters, and a set of filters. For each combination of a filter and the physical parameters, the system returns the associated synthetic photometry, which can be downloaded in either an aSc II or VOTable format (See Fig. B.1).

For those cases, like the one described in this paper, in which the handling of a large number of colours is required, the previous service is nicely complemented with a second facility, COLCA,27 also developed by the SVO, to directly obtain photometric colours given a collection of theoretical models or an observational templates, a range of physical parameters (Teff, log g, [M/H],...), and a collection of filters. COLCA allows the user to calculate up to a maximum of 20 colours at a time for a particular collection of theoretical models. Here, it is important to note that, if a theoretical spectrum does not cover the entire wavelength range of selected filters, the value for the corresponding colour will be empty.

Finally, in addition to the generation of synthetic photometry from theoretical spectra, there are other cases (e.g. filling in the gaps in photometric SEDs using spectra, obtaining photometric information for bright sources that can appear saturated in the photometric catalogues...) in which it may be useful to convert spectroscopic information into photometry.

Specphot28 is the tool that makes this type of operations in the Virtual Observatory framework. It is a web application that allows one to upload user spectra, grouped as collections, and then calculate the synthetic photometry from these spectra for the filters available at the SVO FPS.

As an example, Fig. B.2 illustrates the output obtained from Specphot for the spectrum of HD 142666 taken from the BESS database.29 Overplotted on the input spectrum, there are two collections of synthetic photometry values obtained using J-PAS filters (orange dots) and TYCHO30 V band (green dot). Moreover, if information on coordinates (right ascension and declination) is provided, the computed photometry can be used by other SVO tools like VOSA. Detailed information on the Specphot capabilities can be found in the Help31 section.

thumbnail Fig. B.1

Example of an output from the SVO Synthetic Photometry Server. Once the spectral collection (the CFIST version of the BT-Settl models), the range of physical parameters (4000 K < Teff< 4 250 K; 4 < log g< 5.5 dex), and the collection of filters (2MASS and J-PLUS) have been selected, the system returns, for each combination of a filter and the physical parameters, the corresponding spectrum (in red), the filter transmission curves (in different colours at the bottom), and the computed synthetic photometry in absolute flux units (erg/cm2/s/Å; blue dots overplotted on the red spectrum).

thumbnail Fig. B.2

Output from Specphot for the input spectrum of HD 142666. The synthetic photometry for J-PAS filters are shown in orange and for TYCHO V-band in green. A subset of the filters are listed on the left.

References

  1. Adams, W. S., & Joy, A. H. 1917, ApJ, 46, 313 [NASA ADS] [CrossRef] [Google Scholar]
  2. Allard, F., Homeier, D., & Freytag, B. 2011, 16th Cambridge Workshop on Cool Stars, Stellar Systems, and the Sun, eds. C. Johns-Krull, M. K. Browning, & A. A. West, ASP Conf. Ser., 448, 91 [Google Scholar]
  3. Bayo, A., Rodrigo, C., Barrado Y Navascués, D., et al. 2008, A&A, 492, 277 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  4. Benitez, N., Dupke, R., Moles, M., et al. 2014, arXiv e-prints [arXiv:1403.5237] [Google Scholar]
  5. Bertin, E., & Arnouts, S. 1996, A&AS, 117, 393 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Bilir, S., Güver, T., & Aslan, M. 2006a, Astron. Nachr., 327, 693 [CrossRef] [Google Scholar]
  7. Bilir, S., Karaali, S., Güver, T., Karataş, Y., & Ak, S. G. 2006b, Astron. Nachr., 327, 72 [NASA ADS] [CrossRef] [Google Scholar]
  8. Bohlin, R. C., Gordon, K. D., & Tremblay, P. E. 2014, PASP, 126, 711 [NASA ADS] [Google Scholar]
  9. Bonoli, S., Marín-Franch, A., Varela, J., et al. 2021, A&A, 653, A31 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Casey, A. R., Kennedy, G. M., Hartle, T. R., & Schlaufman, K. C. 2018, MNRAS, 478, 2812 [CrossRef] [Google Scholar]
  11. Cayrel de Strobel, G., Soubiran, C., & Ralite, N. 2001, A&A, 373, 159 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  12. Cenarro, A. J., Peletier, R. F., Sánchez-Blázquez, P., et al. 2007, MNRAS, 374, 664 [Google Scholar]
  13. Chambers, K. C., Magnier, E. A., Metcalfe, N., et al. 2016, arXiv e-prints [arXiv:1612.05560] [Google Scholar]
  14. Cortes, C., & Vapnik, V. 1995, Mach. Learn., 20, 273 [Google Scholar]
  15. Epchtein, N., Deul, E., Derriere, S., et al. 1999, A&A, 349, 236 [NASA ADS] [Google Scholar]
  16. Fiorucci, M., & Munari, U. 2003, A&A, 401, 781 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  17. Fitzpatrick, E. L. 1999, PASP, 111, 63 [Google Scholar]
  18. Gaia Collaboration (Prusti, T., et al.) 2016, A&A, 595, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  19. Gaia Collaboration (Vallenari, A., et al.) 2023, A&A, 674, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  20. Geisler, D. 1984, PASP, 96, 723 [NASA ADS] [CrossRef] [Google Scholar]
  21. Girardi, L., Grebel, E. K., Odenkirchen, M., & Chiosi, C. 2004, A&A, 422, 205 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  22. Gray, R. O., & Corbally, Christopher, J. 2009, Stellar Spectral Classification (Princeton University Press) [Google Scholar]
  23. Harris, C. R., Millman, K. J., van der Walt, S. J., et al. 2020, Nature, 585, 357 [Google Scholar]
  24. Huang, Y., Chen, B. Q., Yuan, H. B., et al. 2019, ApJS, 243, 7 [CrossRef] [Google Scholar]
  25. Indebetouw, R., Mathis, J. S., Babler, B. L., et al. 2005, ApJ, 619, 931 [NASA ADS] [CrossRef] [Google Scholar]
  26. Jordi, C., Høg, E., Brown, A. G. A., et al. 2006, MNRAS, 367, 290 [NASA ADS] [CrossRef] [Google Scholar]
  27. Klement, R. J., Bailer-Jones, C. A. L., Fuchs, B., Rix, H. W., & Smith, K. W. 2011, ApJ, 726, 103 [Google Scholar]
  28. Koornneef, J., Bohlin, R., Buser, R., Horne, K., & Turnshek, D. 1986, Highlights Astron., 7, 833 [NASA ADS] [CrossRef] [Google Scholar]
  29. Lawrence, A., Warren, S. J., Almaini, O., et al. 2007, MNRAS, 379, 1599 [Google Scholar]
  30. Le Borgne, J. F., Bruzual, G., Pelló, R., et al. 2003, A&A, 402, 433 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  31. Lindblad, B. 1919, AJ, 49, 289 [Google Scholar]
  32. López-Sanjuan, C., Vázquez Ramió, H., Varela, J., et al. 2019, A&A, 622, A177 [Google Scholar]
  33. Majewski, S. R., Skrutskie, M. F., Weinberg, M. D., & Ostheimer, J. C. 2003, ApJ, 599, 1082 [NASA ADS] [CrossRef] [Google Scholar]
  34. McClure, R. D., & van den Bergh, S. 1968, AJ, 73, 313 [Google Scholar]
  35. McInnes, L., Healy, J., & Melville, J. 2018, arXiv e-prints [arXiv:1802.03426] [Google Scholar]
  36. Monet, D. G., Levine, S. E., Canzian, B., et al. 2003, AJ, 125, 984 [Google Scholar]
  37. Moore, C. E., Minnaert, M. G. J., & Houtgast, J. 1966, The solar spectrum 2935 A to 8770 A (Washington: US Government Printing Office) [Google Scholar]
  38. Moro, D., & Munari, U. 2000, A&AS, 147, 361 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  39. Neff, J. S. 1966, AJ, 71, 202 [Google Scholar]
  40. Oke, J. B. 1974, ApJS, 27, 21 [Google Scholar]
  41. Pecaut, M. J., & Mamajek, E. E. 2013, ApJS, 208, 9 [Google Scholar]
  42. Prugniel, P., Soubiran, C., Koleva, M., & Le Borgne, D. 2007, VizieR On-line Data Catalog: III/251 [Google Scholar]
  43. Riello, M., De Angeli, F., Evans, D. W., et al. 2021, A&A, 649, A3 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  44. Salgado, J., Osuna, P., Rodrigo, C., et al. 2013, IVOA Photometry Data Model Version 1.0, IVOA Recommendation 05 October 2013 [Google Scholar]
  45. Sánchez-Blázquez, P., Peletier, R. F., Jiménez-Vicente, J., et al. 2006, MNRAS, 371, 703 [Google Scholar]
  46. Scrucca, L. 2016, Computat. Statist. Data Anal., 93, 5 [CrossRef] [Google Scholar]
  47. Skrutskie, M. F., Cutri, R. M., Stiening, R., et al. 2006, AJ, 131, 1163 [Google Scholar]
  48. Sousa, S. G., Santos, N. C., Mayor, M., et al. 2008, A&A, 487, 373 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  49. Sousa, S. G., Santos, N. C., Adibekyan, V., et al. 2014, A&A, 561, A21 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  50. Steinmetz, M., Zwitter, T., Siebert, A., et al. 2006, AJ, 132, 1645 [Google Scholar]
  51. Stoughton, C., Lupton, R. H., Bernardi, M., et al. 2002, AJ, 123, 485 [Google Scholar]
  52. Sutherland, W., Emerson, J., Dalton, G., et al. 2015, A&A, 575, A25 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  53. Taylor, M. B. 2005, Astronomical Data Analysis Software and Systems XIV, eds. P. Shopbell, M. Britton, & R. Ebert, ASP Conf. Ser., 347, 29 [NASA ADS] [Google Scholar]
  54. Thomas, G. F., McConnachie, A. W., Ibata, R. A., et al. 2018, MNRAS, 481, 5223 [NASA ADS] [CrossRef] [Google Scholar]
  55. Thomas, G. F., Annau, N., McConnachie, A., et al. 2019, ApJ, 886, 10 [NASA ADS] [CrossRef] [Google Scholar]
  56. Torres, S., Canals, P., Jiménez-Esteban, F. M., Rebassa-Mansergas, A., & Solano, E. 2022, MNRAS, 511, 5462 [NASA ADS] [CrossRef] [Google Scholar]
  57. Wang, H. F., López-Corredoira, M., Huang, Y., et al. 2020, ApJ, 897, 119 [NASA ADS] [CrossRef] [Google Scholar]
  58. Waskom, M. 2021, J. Open Source Softw., 6, 3021 [CrossRef] [Google Scholar]
  59. Wenger, M., Ochsenbein, F., Egret, D., et al. 2000, A&AS, 143, 9 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  60. Wolf, C., Onken, C. A., Luvaul, L. C., et al. 2018, PASA, 35, e010 [Google Scholar]
  61. Wolthoff, V., Reffert, S., Quirrenbach, A., et al. 2022, A&A, 661, A63 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  62. Wright, E. L., Eisenhardt, P. R. M., Mainzer, A. K., et al. 2010, AJ, 140, 1868 [Google Scholar]
  63. York, D. G., Adelman, J., Anderson, John E., J., et al. 2000, AJ, 120, 1579 [NASA ADS] [CrossRef] [Google Scholar]
  64. Yuan, H., Liu, M., Yang, Z., et al. 2023a, AJ, 166, 244 [Google Scholar]
  65. Yuan, H. B., Yang, L., Cruz, P., et al. 2023b, MNRAS, 518, 2018 [Google Scholar]
  66. Zhang, R.-Y., Yuan, H.-B., Liu, X.-W., et al. 2021, Res. Astron. Astrophys., 21, 319 [CrossRef] [Google Scholar]

18

SExtractor was used to detect objects in miniJPAS images. See Bonoli et al. (2021) for details.

19

The complete table with all solutions for the 5460 combinations is available online at http://svocats.cab.inta-csic.es/fps_jpascolours/index.php.

21

The description of the Vgfb parameter can be found at VOSA’s help page at http://svo2.cab.inta-csic.es/theory/vosa/helpw4.php?otype=star&action=help.

All Tables

Table 1

Fe II lines that are sensitive to gravity changes within the wavelength range covered by the libraries described in Sect. 3.1

Table 2

Selected J-PAS filters and their characteristics.

Table 3

Additional once-ionised metal lines with a measured equivalent width (EW) equal to or greater than 30 mÅ in the solar spectrum atlas by Moore et al. (1966).

Table 4

Five pairs of J-PAS colours selected to discriminate between giant and dwarf stars, according to the criteria described in Sec. 4.

Table 5

Table with polynomial multivariate regression coefficients.

All Figures

thumbnail Fig. 1

Distribution of effective temperatures of the selected spectra from the adopted sample from MILES, STELIB, and ELODIE espectral libraries together, from 4000 to 7000 K, where the blue and the red histograms show the distributions for giant and dwarf stars, respectively.

In the text
thumbnail Fig. 2

Two-dimensional UMAP projection of our sample of giants (filled squares with darker contours) and dwarfs (crosses), colour-coded by effective temperature.

In the text
thumbnail Fig. 3

Mean colour error of the 105 J-PAS colours considered in this work, estimated from 2059 stars from the miniJPAS survey. The dashed vertical line depicts the threshold imposed in the mean colour error (see text).

In the text
thumbnail Fig. 4

Colour-colour diagrams from J-PAS filters obtained with the GMM method, based on RI values, colour ranges, and expected colour errors. The dwarf stars from spectral libraries – MILES, STELIB, and ELODIE – are represented by crosses and giant stars by squares, both colour-coded according to their Teff values. The grey curves represent probability density contours across a 2D density plot. The darker the curve is, the higher the density is. The solid lines show the best separation between the two groups according to the SVM solution (see text).

In the text
thumbnail Fig. 5

Confusion matrices from the dwarf-giant classification obtained from the SVM solutions for the five colour-colour diagrams presented in Table 4, and following the same order shown in the table, from left to right and from top to bottom. The accuracy of our method for each pair of colours is 0.976, 0.976, 0.969, 0.976, and 0.977, respectively.

In the text
thumbnail Fig. 6

Panels representing the J, H, and K magnitudes versus the V magnitude for the sample of 437 giants and 637 dwarfs described in Sect. 5.2, with the linear separation found by Bilir et al. (2006b) in each respective diagram. The dwarf and giant stars are represented by red and blue dots, respectively.

In the text
thumbnail Fig. 7

Colour-colour diagrams for 508 stars from the miniJPAS survey classified as FGK stars (4 000 ≤ Teff ≤ 7 000 K), colour-coded according to their derived effective temperature. The comparison sample – from the MILES, STELIB, and ELODIE libraries – is shown in grey, and dwarfs and giants are represented by crosses and squares, respectively. The solid lines show the best separation between the two groups according to the SVM solutions.

In the text
thumbnail Fig. 8

Colour-magnitude diagram showing FGK miniJPAS objects with good parallax, photometry, and RUWE measurements from Gaia. Red and blue dots represent stars that were identified as dwarf and giant stars according to our method, respectively, and black crosses are the objects with an inconclusive classification. Gaia nearby objects are represented by small dots, for reference.

In the text
thumbnail Fig. 9

Colour-colour diagram showing our spectroscopic FGK dwarf sample (690 stars with 4000 ≤ Teff ≤ 7000 K and log g ≥ 4 dex). The side bar is colour-coded with the stellar spectroscopic effective temperature obtained from the libraries.

In the text
thumbnail Fig. 10

Comparison between photometric and spectroscopic temperatures. Top panel: the x axis shows the estimated photometric temperatures using the derived polynomial function and the y axis shows the spectroscopic values from libraries. Bottom panel: the Bland–Altman plot comparing both values, in which the x axis shows the mean values between the two temperatures and the y axis shows the difference between them.

In the text
thumbnail Fig. 11

Gaia colour–magnitude diagram showing M stars from the miniJPAS sample (red dots) with good parallax, photometry, and RUWE measurements from Gaia (see Sect. 5.2 for details). Other miniJPAS stars with high-quality data from Gaia are shown as grey crosses. Gaia nearby objects (described in Sect. 5.2) are represented by small dots, for reference.

In the text
thumbnail Fig. 12

Colour-colour diagrams for M stars (Teff ≤ 3 900 K). The miniJPAS M-dwarf sample is colour-coded according to the derived effective temperature. The M stars from the libraries – MILES, STELIB, and ELODIE – are shown in black, and dwarfs and giants are represented by crosses and squares, respectively. The FGK sample from the libraries is presented in light grey, for reference.

In the text
thumbnail Fig. 13

Confusion matrices from the dwarf-giant classification of M stars, obtained from the SVM solutions for the colour-colour diagrams 1, 2, and 4 presented in Table 4 (from left to right, respectively). The accuracy of correctly identifying dwarfs and giants is 0.974, 0.955, and 0.968, respectively.

In the text
thumbnail Fig. A.1

2MASS H transmission curve.

In the text
thumbnail Fig. A.2

Definitions of several quantities illustrated using the 2MASS H filter: the FWHM (upper left panel); the central wavelength (upper central panel); the peak wavelength (upper right panel); the pivot wavelength (lower left panel); the minimum and maximum wavelengths (lower central panel); and the effective width (lower right panel). For more details, see Sect. A.3.

In the text
thumbnail Fig. A.3

Opacity as a function of wavelength used for calculating the extinction (Aλ = AV · kλ/kV, where kV = 211.4).

In the text
thumbnail Fig. B.1

Example of an output from the SVO Synthetic Photometry Server. Once the spectral collection (the CFIST version of the BT-Settl models), the range of physical parameters (4000 K < Teff< 4 250 K; 4 < log g< 5.5 dex), and the collection of filters (2MASS and J-PLUS) have been selected, the system returns, for each combination of a filter and the physical parameters, the corresponding spectrum (in red), the filter transmission curves (in different colours at the bottom), and the computed synthetic photometry in absolute flux units (erg/cm2/s/Å; blue dots overplotted on the red spectrum).

In the text
thumbnail Fig. B.2

Output from Specphot for the input spectrum of HD 142666. The synthetic photometry for J-PAS filters are shown in orange and for TYCHO V-band in green. A subset of the filters are listed on the left.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.