4. Star – Galaxy Discrimination

 

The ability to separate real extended sources (e.g., galaxies, nebulae, H II regions, etc) from stars is what fundamentally limits the reliability of any extended source catalog. Single isolated point sources represent the purest construct at which extended sources are compared and separated. More complicated constructs include ‘double’ stars and ‘triple+’ stars. The ‘double’ and ‘triple’ monikers are generic labels that include physical multiple systems and, more likely, chance superposition of stars on the sky. There are endless permutations and combinations of multiple-star characteristics (radial separation, flux difference, color difference, etc) which provide a thorny challenge toward separation from real galaxies. What is more, for 2MASS and most other all surveys, stars greatly outnumber extended sources by a ratio of something like ~10:1 in most of the sky (near the galactic plane the ratio is yet orders of magnitude larger), so for every resolved galaxy in the sky there are plenty of double+ stars camouflaged as extended sources. The art of separating stars from galaxies is generally at a mature state in the field of astronomy with many competing methods that are for the most part very effective at their job. From the simplest "CART" methods (i.e., linearly measuring one attribute versus another) to the more sophisticated Bayesian-based methods (e.g., FOCAS; see Valdes 1982), decision trees (cf. Weir, Fayyad & Djorgovski, 1995) and neural networks (cf. Odewahn et al, 1992), each designed in response to increasingly more complicated data sets. For 2MASS, we were faced with the rather unique combination of near-infrared imaging and under-sampled data (2" pixels with a PSF that is quasi-stable) that called for yet a new approach at star-galaxy discrimination to satisfy the rigorous level-1 specifications. Early experimentation with tried and true algorithms (e.g., FOCAS) were unsatisfactory primarily due to the severely undersampled 2MASS PSF that changes width (and symmetry) over real times scales of minutes. Accordingly, the bulk of the 2MASS extended source processor, GALWORKS, is dedicated to the multi-layered task of star-galaxy separation. The basic approach is for GALWORKS to accurately measure and track the time-varying PSF and compare it with several different object attributes (i.e., parameterization) by applying some simple CART-like rules to cull out most of the multiple stars and other non-galaxies that mimic real extended sources. The resultant extended source database is approximately 80% reliable for most of the sky. In a post-processing phase, further refinements, including more complicated attribute combinations and decisions trees, are used to produce the extended source catalog at a reliability of greater than 98% for K < 13.5. Below we describe and discuss some of the more critical parametric measurements and decision tree operations to that end.

 

 

4.1 Stellar Ridgelines and Basic Object Characteristics

 

Resolved sources are identified as such by comparing their radial profiles with that of the nominal point spread function. As is the case for all ground based observations, the PSF changes with time due to the changing thermal environment and dynamic atmospheric "seeing" (see section 2.4), and additionally, the PSF has an intrinsic spread caused by the pixel undersampling and dither pattern. Both affects are measured and tracked using our generalized exponential function (Eq. 1) and stellar ridge profiles (e.g., Fig.??). The radial "shape" (a ´ b), or simply "sh", of a source is compared to the stellar ridge value, sh0, and a N-sigma "score" is computed thusly,

where sh0(t’) and Dsh0(t’) denote the time variable ridgeline value and its associated uncertainty and sh(t) the source value, with time t’ as close to real t as possible. The PSF ridgeline value is stable over all flux levels, so only one value is needed per time interval. The "sh" uncertainty folds in both measurement error and the intrinsic PSF spread. However, since SNR > 10 stars are generally plentiful, the measurement error is for the most part minimal compared to the real spread in the PSF. The uncertainty represents the RMS in the "sh" distribution and is used analogously to a gaussian dispersion, but we note that the distribution is not gaussian shaped in reality, instead it has triangular-shaped wings (i.e., the scatter in "sh" falls of linearly). Consequently, stars will not have "sh" values above a threshold of ~2*Dsh0, but galaxies and other relatively ‘extended’ objects (e.g., double stars) will have scores >2. In Figure 1 we illustrate with the J-band "shape" score (Eq. 2) three kinds of objects that 2MASS is likely to encounter, in order of numerical importance: stars, multiple stars (double stars and triple+ stars), and galaxies. Stars occupy a locus about zero "sh" score (essentially defining the ridgeline), while multiple stars lie well above the ridgeline along with galaxies and other "fuzzy" sources. The "sh" score is very effective at separating isolated stars from galaxies at flux levels as faint as ~15.4 in J band.

 

 

Figure 1-- Distribution of stars, multiple stars and galaxies in the J-band "sh" versus magnitude parameter plane. The sources do not come from the same sample; e.g., the triple stars are derived from high stellar source density fields in the galactic plane. Stars generally outnumber galaxies by a ratio of 10:1 for J brighter than 15th mag.

 

Other GALWORKS-derived image parameters that are effective at separating isolated stars from galaxies include the 1st and 2nd intensity-weighted moments, ratio of the central surface brightness to the integrated brightness, and areal measures (e.g., isophotal area).

Unfortunately, like the radial "sh" parameter, all of these diagnostics are ineffective at separating galaxies from sky-projected star clusters. Double stars are in particular a vexing component due to their sheer numbers at galactic latitudes < 20° . Figure 2 shows the expected number of double stars and triple stars as a function of galactic latitude (with longitude fixed at 90° ) for K (system) < 13.5. Sky-projected doubles contribute ~2% of the total at high glat, but quickly begin to dominate the total numbers for latitudes less than 5 degrees. Even at low stellar number density, double stars still outnumber galaxies in number density for typical 2MASS flux levels. We clearly see that double stars (and triple+ stars near the galactic plane) are the primary contaminant of the galaxy database. More intricate attributes are needed to exploit the differences between groupings of point sources and real fuzzy objects (resolved galaxies).

 

Figure 2-- The expected fractional percentage (of the total) of doubles stars (triangles) and triple stars (crosses) with galactic latitude. The longitude is fixed at 90 degrees. The calculations are based on the starcount models of Jarrett (1992). Double stars, dominated by sky-projected associations, represent ‘primary-secondary’ separations of less than 6 arcsec (the 2MASS PSF for comparison has a FWHM > 2 arcsec).

 

    1. Multiple Star – Galaxy Separation using Symmetry Metrics

 

In the near-infrared galaxies consistently exhibit the morphological feature of smooth radial and azimuthal profiles. Their ‘symmetric’ near-infrared light distribution is the composite outcome of photospheric emission from the older stellar populations, including low mass dwarfs (e.g., G & K dwarfs) and intrinsically bright evolved stars (e.g., K giants), generally spread evenly throughout the disk and bulge regions (spirals). Large-scale features commonly seen in the radio and optical wavelengths, including H II regions, supernovae remnants, disk warps, and dust lanes, are generally lacking in the near-infrared except for the largest (nearby large angular diameter) galaxies. Only the relatively rare cases of galaxies subject to tidal or hydrodynamical interaction exhibit significant asymmetry in the near-infrared bands. In contrast, multiple stars, and in particular double stars, are not symmetric about their ‘primary’ center. Here the center of a multiple star corresponds to the brightest member in the group, or more specifically, the peak pixel associated with the primary (again, we are, for the most part, referring to chance superposition of stars on the sky). The near-infrared symmetry of galaxies can be exploited to differentiate between multiple stars that otherwise mimic extended sources.

Figure 3 illustrates some of the kinds of double stars seen in 2MASS images. For comparison, a set of galaxies of approximately the same integrated brightness as that of the double stars is also shown.

Figure 3—Examples of 2MASS double stars and galaxies. The left panels demonstrate various kinds of doubles encountered. The right panels show galaxies with approximately the same flux as their double star counterparts (top panel: J = 11th mag; bottom panel, J = 15th mag).

For double stars, the ‘secondary’ component of the system is what breaks the symmetry of the primary, which otherwise would have the symmetric shape of the PSF. One of the obvious symmetry attributes is to ratio the integrated flux as measured on one side of the primary and on the opposite side (containing the secondary star). The system is defined as an ellipse with the primary at the center and the secondary along the major axis.

 

A different tact is to ‘remove’ the secondary and measure the resultant "sh" of the primary. We are of course faced with the problematic fact that the emission from both sources are entangled and the primary itself has changed both its radial ("sh") width and its azimuthal (symmetry) shape. If the PSFs were exceptionally stable and well characterized as such, then in principle it would be possible to satisfactorily de-blend the multiple sources into their constituent parts. Since this condition is never realized, and moreover the runtime for this kind of PSF c 2 fitting is prohibitively long, we are left with the only option of bluntly removing the secondary. The ‘blind’ approach is to remove the secondary using a median filter in annular shells about the primary (GALWORKS refers to the resultant measure as the "median shape" or just "msh"). The direct approach is to mask the secondary and measure the residual primary. We have developed a direct approach that uses a wedge or pie-shaped mask that is rotated about the vertex-anchored primary. The optimum configuration in which the secondary is effectively masked is found by rotating the wedge mask through all angles (see illustration below).

The "sh" score (Eq. 2) is then computed for the remaining (360° – 45° ) pixels. If the secondary star is masked, then the resultant "sh" score will be minimized, ideally with a value corresponding to an isolated star. In practice the secondary can never be fully masked, and the peak pixel does not represent the true center of the primary since it is slightly shifted toward the secondary – thus resulting in an artificially inflated "sh" score relative that of an isolated star. Nevertheless, the "wedge" shape score, or simply "wsh", turns out to be an effective discriminant, as demonstrated in Figure 3. Analogous to Figure 1, here we show the distribution of multiple stars and galaxies as measured in the "wsh" versus magnitude plane.

 

 

central surface brightness

 

The wedge shape score for double stars is considerably smaller than the corresponding "sh" score, having values typically less than 5 for J < 15, while galaxies remain "extended" in this measure with scores >5 for J < 15. Note however, triples+ stars are only minimally affected by the "wsh" score since by definition they have at least two secondary components which in the end defeats the single rotating mask method. For triple stars, yet more severe "symmetry" constraints are required.

 

Triple stars are geometrically more difficult to characterize due to the added complexity of an additional component (thus more possible combination of the integrated flux and the primary-secondary separations). The ‘Achilles' heel’ of triple stars, however, is that along some vector (anchored to the primary) there is minimal contamination from the two secondary components. If we measure the radial "sh" of this vector and compare it to the corresponding ridgeline value, the resultant ‘score’ should be close to that of an isolated star. Thus the basic method is to measure the "sh" along an azimuthally distributed set of vectors (angular separation 5 deg). Departures from this ideal solution are the usual culprits: contamination from the secondary(s) shift the primary peak pixel and drive flux into the radial/azimuthal profile of the primary. The vector corresponding to the ‘minimum’ shape score (referred to as the "R1" score) is susceptible to background noise fluctuations since we are restricting the (a,b) fitting operation to less than a dozen pixels. For galaxies, the "r1" score tends to select against galaxies that are edge-on and thus have minimal (but still measurable) extended emission along the minor axis (i.e., the vector corresponding to the minimum radial "sh" score). A more robust parameter (but slightly less effective at removing the influence of the secondary components) is to average the 2nd and 3rd lowest "sh" value vectors (that is, avoid the "r1" vector). This score is referred to as the "r23" shape score. Here we are relying upon the fact that most triple star configurations (but not all by any means) will have more than one vector that is minimally affected by the secondary components. Galaxies, meanwhile, are generally extended in all directions and so the "r23" score is not much different from the "sh" score except for the faintest galaxies (J > 15, K > 13.75) which are at the mercy of noise fluctuations. The effectiveness of the "r23" score is demonstrated in Figure 4. Here we plot the "r23" versus magnitude phase space. It can be seen that the triple stars are now well under control with minimal loss to the galaxies at J < 14, while for the faint mag bins, J > 14, galaxies are not well separated from triple stars. But, as it turns out, triple stars are only abundant when the stellar number density is very high (i.e., the galactic plane; see Fig 2), which means that the ‘confusion’ noise is also high (that is, the random fluctuations in the background due to faint stars) , rendering the sensitivity limits for galaxy detection itself from 0.5 to nearly 2 mags brighter than the nominal 2MASS limits. Thus, just as the problem with triple stars becomes significant, the detection thresholds are correspondingly decreased, thereby leaving the "r23" score as an effective star-galaxy discriminator for flux levels up to the detection limits. For the most extreme stellar number density cases (e.g., regions of Baade’s windows), >105 stars per deg2 brighter than 14th at K, quadruple ++ stars become significant, at which point there is no way to separate galaxies from clusters of stars.

 

 

 

 

 

 

 

\

 

We have developed additional parameters designed to minimized contamination from triple stars, including flux gradients along radial vectors (referred to as the "vgrad" score) and integrated flux along radial ‘column’ vectors (referred to as the "vint" score). Similar to the "r1" and "r23" scores, these methods rely upon the ‘minimum’ column integrated flux or gradient in the column flux to be similar to that of isolated stars. They are not quite as effective as the "sh" vector scores, but since they are only slightly correlated, they can be used in combination with the other attributes to using a decision tree.

 

 

4.3 The Color Attribute

 

For similar reasons that galaxies appear smooth and symmetric in the near-infrared (section 4.2), they also display consistently redder colors relative to typical field stars. Two effects conspire to make galaxies "red" in the 1-2 mm window: their light is dominated by older and redder stellar populations (e.g., K and M giants), and their redshift tends to transfer additional stellar light into the 2mm window (for z < 0.5). The latter phenomenon is rectified with what is known as a "K correction", or a model-dependent flux correction to the observed colors. In view of that, the J-K color attribute can be used – in conjunction with color-independent discriminants, like the "wsh" score -- to cleanly separate extragalactic objects from stars. As a bonus, the color separation is enhanced in the galactic plane where double and triple star contamination is severe. Since galaxies lie behind the obscuring disk of the Milky Way, they are subject to a larger column density of gas and density compared to random field stars along the same line of sight and thus are redder due to selective extinction. We demonstrate the effectiveness of the J-K color to separate stars from resolved galaxies in a diverse set of fields, including areas well above the galactic plane, referred to as low stellar density fields (<103.1 stars per deg2 brighter than 14th at K), and areas closer to the plane (glat > 5 degrees) , referred to as moderate density fields ( <103.6 stars per deg2), and finally areas in the galactic plane in which the stellar number density is very high (>103.6 stars per deg2 brighter than 14th at K). For the latter case, the confusion noise is typically very high (>1 mag) so the sensitivity limits have been decreased accordingly.

 

The J-K color for galaxies and double stars located in low density areas is shown in Figure 6. Here we ignore the contribution of triple stars to the total mix (since their numbers are insignificant in these areas). Figures 7 shows the color distribution for sources located in moderate density fields, and Figure 8 sources from high density fields.

Figure 6—Histogram of the J-K color distribution for galaxies and double stars. The upper panel is restricted to sources with K < 13.5. The middle panel represents sources at the sensitivity limit of the survey (K < 13.75) and the last panel shows sources generally fainter than the K–band sensitivity limits (K > 13.75) but detected and extracted due in part to the superior sensitivity limit at J band. The data come from a diverse set of low stellar number density fields, comprising some 250 square degrees.

 

Figure 7-- Histogram of the J-K color distribution for galaxies and double stars in moderate stellar number density fields (103.1 – 10.3.6 stars/deg2). The upper panel is restricted to sources with K < 13.5, and the bottom panel K > 13.75. The data come from a diverse set of moderate stellar number density fields, comprising some 150 square degrees.

 

Figure 8-- Histogram of the J-K color distribution for galaxies and double stars in high stellar number density fields (>10.3.6 stars/deg2). The upper panel is restricted to sources with K < 13.0, and the bottom panel K > 13.0. The data come from a diverse set fields, comprising some 60 square degrees.

A J-K color of 1.0 appears to be a natural border separating stars from galaxies. For flux levels relevant to the 2MASS level-specifications, K < 13.5, a J-K color limit of 1.0 eliminates nearly all (>95%) double stars that mimic galaxies, while more than 90% of the total galaxy distribution has a color greater than this limit. The same trend is observed in the more confused regions of the sky (Figure 7 & 8) where star-galaxy discrimination is at a premium. Another way to view the color separation between stars and galaxies is within the J-H vs. H-K color plane, Figure 9. Here we include the stellar main sequence track, showing the divergence of giants from dwarfs at H-K > ?. In addition, we note the K-correction track for spiral galaxies derived from the models of Bruzual & Charlot (1993).

 

At fainter flux levels, K > 13.5, the scatter in the integrated flux (and thus colors) is large enough that false galaxies (i.e., double and triple stars) can scatter above the J-K color limit and galaxies can have colors that scatter below the limit to a degree that contamination and completeness is compromised if the J-K attribute were used as the lone discriminant. Moreover, for all flux levels, a J-K threshold would impart an undesirable selection bias against blue galaxies. To minimize color biases, the J-K attribute can be combined with the radial shape attributes (e.g., the "wsh" score) to form a new powerful discriminant. First, the color-color plots suggest a better method to use JHK colors to measure the "redness" of a galaxy. Galaxies are not only preferentially redder than 0.9 in J-K, but they also have H-K values, >0.2, redder than most stars. Consequently, we define the following "color score" as:

 

 

Color score = [(J-K) – 0.9] + {[ (H-K)>0.3] ´ [(H-K)-0.3]}

which adds the color ‘distance’ from the dotted line in Figures 9, 10 & 11. For sources with (H-K)>0.3, the color score reduces to:

Color score [(H-K) > 0.3 = (J-K) + (H-K) – 1.2

The color score can be directly combined with one of the color-independent attributes (e.g., "wsh") to provide additional star-galaxy separation. Figure 12 demonstrates the combination of color score and "wsh". This combination parameter alone is capable of providing better than 95% reliability (K < 13.5) with only a few % loss of galaxies to the total population. We can do better still by using all of the attributes with a decision tree.

 

 

4.4 Oblique Decision Tree Classifier

 

Three classes of attributes have been introduced thus far: radial extent or shape ("sh", "r1", "r23"), symmetry or azimuthal shape ("wsh", "msh", flux ratio) and flux or photometrics ("vint", "color score", total flux, and central surface brightness relative to the total flux). We have something like a ninth dimensional space to probe (per band) for any given source to decide if it is extended. To complicate matters, several of the attributes are highly correlated (e.g., "wsh" and "msh") and others weakly correlated (e.g., "wsh" and the bi-symmetric flux ratio), which ultimately prevents simple or weighted combination of the attributes to form a "super" attribute. We may either combine a few of the attributes that are not correlated (e.g., color score and "wsh" and "r23"), see Figure 12, or employ a decision tree induction method to effectively combine all of the attributes.