As in single-frame images, bright stars also produce various artifacts in the coadded images. Among these are diffraction spikes, scattered-light halos, optical ghosts, and latents. The multiframe version of ARTID treats diffraction spikes and halos separately and employs a number of functions that predict artifact behavior and govern flagging. The parameters are often somewhat different from those used in the single frame pipeline due to the scaling of magnitudes to relate coadd image depth to S/N. The output of multiframe ARTID is the same as the single frame version, with the exception that diffraction halos are treated separately from the spikes. A description of the artifacts, predictive functions, flagging procedures, and parameter determination, as they apply to the atlas tiles (coadds), follows.
Diffraction spikes are linear features caused by diffracted light from the telescope's secondary mirror support structure. For the Preliminary Data Release, sources contaminated by the four primary diffraction spikes originating from a bright object are flagged. Diffraction spikes are treated differently in multiframe processing than single-frames. First and foremost, in multiframe ARTID, diffraction spikes are flagged separately from halos (a description of the latter can be found in a separate section). Rather than employing a look-up table that defines the values of LS, functional relations are empirically derived to predict these parameters as a function of parent star brightness. This allows for a continuous spectrum of spike lengths vs. parent star brightness. Spike widths also employ a functional form relating WS to parent star brightness, however, given the relative lack of dependence WS shows over small changes in parent magnitude, the functional form used is a step function (see below).
Parameter determination:
In order to derive a functional form relating LS to parent magnitude, mp, a series of "source-space" images, generated using source extractions from WISE operational coadds. This is accomplished in a similar manner to the single-frame source-space images. For a bright source that produces diffraction spikes in a coadd image, the positions of the surrounding source extractions are plotted. This produces a source-space image for that parent. This process is repeated for a large number of parents in a given magnitude bin. These source-space images are then stacked (typically thousands of stars per magnitude bin, but significantly fewer, down to a few, for the brightest objects), with a common center for the parent stars. This produces an aggregate source-space image for a given magnitude bin (Fig. 1).
Values of LS and WS are determined for each magnitude bin by inspection of these source-space images. LS and WS values are plotted versus mp, and a function is fit to them (Fig. 6 through 9). The functional form for LS was determined to be:
where 'aL' and ' bL' are tunable parameters, LS is in arcseconds, and mp is the parent star's magnitude. Note that in all cases, the fit tends to lie above the data points. This is because the linear fits were chosen to err on the side of overflagging; that is, the functions estimate the spike lengths to be somewhat longer than the actual spikes. The purpose of this is to ensure that real sources lying at the faint ends of the spikes are flagged as potentially contaminated. Since our initial evaluation of spike lengths were done using source-space images, the derived values are dependent on spurious sources being extracted from the diffraction spikes. At the faint end of the diffraction spikes, it is possible that no spurious extractions are being made, but there may still be a low level of flux capable of contaminating the photometry of real sources. Some minor overflagging is likely to occur because our parameters are tuned in this way, but this was done to ensure all affected sources were flagged.
To determine the optimal values of these parameters, a "test set" of 15 atlas coadds, spanning a range of ecliptic latitude, was used. These coadds were generated over a range of ecliptic latitudes and were constructed using the procedure used to create the atlas tiles for the WISE preliminary data release. The ARTID multiframe flagging algorithms were run on this test set, and adjustments were made to the parameters.
Figure 3 - Same as Fig. 2, but for Band 2. |
Figure 4 - Same as Fig. 2, but for Band 3. |
Figure 5 - Same as Fig. 2, but for Band 4. |
We also evaluate the parent star brightness at which spikes no longer appear, mthr_d, for each band. This is also done using the source space images. Spikes are considered to have disappeared once their lengths are well inside the radius of the halo. We list the final values of aL, bL, and mthr_d below in Table 3.
Band | aL | bL | mthr_d |
---|---|---|---|
1 | -0.195 | 3.38 | 9.0 |
2 | -0.178 | 3.14 | 9.0 |
3 | -0.177 | 2.83 | 5.5 |
4 | -0.122 | 2.52 | 2.0 |
Spike widths, WS, were also determined by inspection of the source-space images described above. Values of WS were plotted vs. parent star brightness (mp), and fit to a function. Due to the large break in the relation at bright magnitudes, and the relative insensitivity in WS with respect to mp after the break, a step function was used, with the general form:
Like the values of LS, values of WS were also overestimated. This was primarily done to account for the width of a source in close proximity to a spike, possibly resulting in the overlap of the object's point-spread function with the spike, even though the extraction at the center of the source may lie outside the spike's formal width. Figures 10 through 13 illustrate the WS vs. mp dependences. Table 4 shows the parameters used for spike widths. Initial determinations were subsequently tuned through test runs of ARTID on a set of 15 atlas-type coadds. Adjustments were made to the parameters after inspection of the atlas tiles.
Figure 7 - The same as Fig. 6 except for Band 2. |
Figure 8 - The same as Fig. 6 except for Band 3. |
Figure 9 - The same as Fig. 6 except for Band 4. |
Band | aW | bW | cW | m1 | m2 |
---|---|---|---|---|---|
1 | 45.0 | 20.0 | 10.0 | 2.0 | 5.0 |
2 | 40.0 | 20.0 | 10.0 | 2.0 | 5.0 |
3 | 50.0 | 15.0 | 7.0 | 1.0 | 4.0 |
4 | 50.0 | 25.0 | 10.0 | 1.5 | 3.0 |
In the multiframe flagging, a source is determined to be spurious or real/contaminated using a threshold, Δmspur_d. Given a magnitude of the source in question, ms, and a parent-star magnitude of mp, if ms gt; mp + Δmspur_d, then the source is flagged as spurious (i.e., if ms ≤ mp + Δmspur_d, the source is flagged as a real/contaminated extraction).
The difference compared to scan/frame processing is the incorporation of variable thresholds for differentiating spurious extractions from real sources that are contaminated by the artifact. Since diffraction spikes become fainter as they move farther out from the center of the parent star, the spurious-real threshold, Δmspur_d, will be a function of distance from the parent, rparent. Hence we derive functions relating Δmspur_d to r by examining the magnitudes of spurious extractions along the diffraction spikes of several stars spanning a range of brightnesses and ecliptic latitude. The procedure is outlined below.
Parameter determination:
In order to determine the functional dependence of Δmspur_d on r
For each band, a separate function relating Δmspur_d was determined, following the general form:
where aspur, bspur, and cspur are the parameters to be determined. The parameters are tuned not for the best fit (lowest residuals) to the data points, but to ensure that all spurious extractions are flagged as such. Therefore, the parameters are chosen so that the predicted value of Δmspur_d is lower at any given point along the spike, than the large majority of actual spurious extractions. This ensures that spurious sources are flagged as spurious, but has the side effect that some real sources will also be flagged as spurious. This is unavoidable, since there is no clear cut threshold where all spurious extractions lie on one side, and all real sources lie on the other. In this way, reliability of the source catalog is favored over completeness. Table 5 lists the parameters for spurious vs. real determination in each band. It should be noted that there does seem to be some mild dependence of Δmspur_d on ecliptic latitude. This dependence is only accounted for insofar as the parameters are tuned to ensure that all spurious sources at any ecliptic latitude is flagged as such.
Figure 11 - The same as Fig. 10 except for Band 2. |
Figure 12 - The same as Fig. 10 except for Band 3. |
Figure 13 - The same as Fig. 10 except for Band 4. |
Band | aspur | bspur | cspur | Band 4 Δm |
---|---|---|---|---|
1 | 0.4 | 0.5 | 3.5 | N/A |
2 | 0.4 | 0.5 | 3.5 | N/A |
3 | 0.4 | 0.5 | 3.5 | N/A |
4 | N/A | N/A | N/A | 6.5 |
Cautionary Notes for Multiframe Diffraction Spikes
Figure 14 - Example (band 4) of halo radius, rh, vs. parent magnitude for several sources in the atlas coadds. The blue line indicates the fit used. |
We determine the optimum values for 'a' and 'b' in order to best predict a halo's radius. The fit overestimates the halo radius for the majority of magnitudes in order to ensure that all halo sources are flagged for all parent stars.The fitted parameter values are shown in Table 6. These values were subsequently tuned using test runs of ARTID on numerous atlas coadds.
Band | a | b |
---|---|---|
1 | -0.144 | 2.76 |
2 | -0.113 | 2.49 |
3 | -0.157 | 2.48 |
4 | -0.150 | 2.20 |
To begin, we selected a set of atlas tiles that contained bright stars (m > 5), separating bands 1 and 2 from bands 3 and 4 because the bright stars in bands 1 and 2 are not the same sources as those in bands 3 and 4. We examined the coadd images for each band and tile in the set, and overlayed the complete coadd source list in that band and the list of sources already marked as "halo" objects in that band. We next adjusted the image stretch so that we could see as many faint (and moderately bright) sources as possible in the image, so there was a clear difference between the diffuse halo emission and the background level; often we had to carefully find a balance between those two criteria.
For each of the brightest sources in the image, we selected the parent from the coadd [coadd_ID]-mfflag-3.tbl file and marked it as such in a sorted copy of that file. We then examined each individual source in the halo region on the image and determined if it had the correct flag value. The method we used to determine the "correct" flag value was as objective as possible under the circumstances: we decided if the marked source is obviously a real source, i.e. it lies on top of a distinct local flux maximum, or obviously a false source, i.e. it lies on top of an area of confused, bright diffuse emission quite close to the parent or an area without any apparent source detection at all. If we felt we could not clearly determine the correct flag value, we ignored the source so the results would be as reliable as possible. This method results in a selection bias towards finding the real sources, since they are more obvious to the eye.
Below the parent source data, we added all the sources from the same file that were not marked as halo objects but which we believed should have been flagged, and appended the correct cc_flags value to the data ('H' or 'h' in the correct band's character). We did the same for the sources that were marked as halo objects but that we believed should have been flagged, and appended the correct cc_flags value ('0' in the correct band's character). We added the sources that were marked as real or spurious halo sources ('h' or 'H', respectively) but which we thought should be marked as the opposite type, and again appended the correct cc_flags value to the data. And finally, we added some sources with flags that we agreed were correct.
We performed this analysis for as many parents in each coadd as possible, in order to get as large a range of parent magnitudes as possible. However, we concentrated on the brightest parents because the algorithm differentiating between the spurious and real halo sources should not depend on the parent magnitude; it only depends on the band, the distance between the parent and halo source, and the magnitude difference between the same.
After gathering all the results from this analysis, we ran them through a program that calculated the distance and magnitude differences between each parent and its corresponding halo sources. We then performed fits to this data, deriving a functional form for the relation:
In the following figures (19 through 22), the green circles in the plots indicate real halo sources, and the red triangles indicate spurious sources. The open vs. filled marks only indicate different sets of images that were examined at different times;
both sets of images apparently follow the same relationship between Δm and log10(d).
Figure 15 - Δm (parent - source magnitude) vs. distance from parent, d, for sources in the coadds, Band 1. |
Figure 16 - Same as Figure 15, but for Band 2. |
Figure 17 - Same as Figure 16, but for Band 3. |
Figure 18 - Same as Figure 16, but for Band 4. |
Band | a | c |
1 | 6.3 | -2.6 |
2 | 7.3 | -4.3 |
3 | 5.6 | -2.7 |
4 | 4.9 | -3.4 |
Since optical ghosts are always located in the same position relative to a bright parent star, they will appear, quite prominently, in coadded images. Optical ghosts in the multiframe version of ARTID are treated in much the same manner as single-frame flagging. The major changes are noted below. The definition of the parameters remains the same as single-frame ghost flagging, however their values do change. For a description of the parameters, refer to single frame ghost flagging. Changes in coadd ghost flagging that were implemented include:
As with single-frame ghost flagging, parameters for ghosts include the radius of the circular region inside which sources are flagged (Rghost). The positional offset from the center of the parent star, Δx and Δy, are also parameters. Additional parameters are mthr_o, the parent star magnitude at which ghosts appear, and Δmspur_o, the magnitude threshold used to differentiate spurious extractions on the ghosts from real sources whose photometry is contaminated by the ghost. The value of mthr_o was determined by inspection of a 20-40 of bright sources and their ghosts taken from the atlas-type coadd test set (described in the Diffraction Spike section above), over a range in brightness. Values of Δmspur_o were assessed in a manner similar to the single-frame determination, but using stars from the atlas coadd test set. The final values of the parameters are listed in Table 8, with positional offsets and Rghost given in arcseconds (as opposed to single-frame pixels which were used in Table 2).
Band | Δx | Δy | Rghost | mthr_o | Δmspur_o |
---|---|---|---|---|---|
1 | 313.5 | 0.0 | 35.8 | 2.0 | 12.0 |
2 | 313.5 | 0.0 | 35.8 | 4.5 | 9.0 |
3 (1st ghost) | 0.0 | -566.5 | 75.6 | 4.0 | 6.5 |
3 (2nd ghost) | 0.0 | -1130.3 | 123.8 | -1.6 | 7.5 |
4 | 0.0 | -566.5 | 89.4 | 1.0 | 6.5 |
In the V3.5 WISE coadd (MFF) pipeline, the radius for short-term latent flagging is set at 3 pixels for the HgCdTe arrays and 100 arcsec for the Si:As arrays. Short-term latents, especially the large ones seen in the W3/W4 arrays, tend to add constructively in the coadded images and can be seen somewhat further downstream of their parent sources than in the single frames except in areas near the ecliptic poles. Long-term latents are not flagged in the coadd pipeline. As the scan angle changes over time in regions other than the ecliptic plane, long-term latents will tend to spread out and not constructively stack causing them to be rejected as outliers. Their presence is shown in the coadd coverage images as the many sets of contiguous pixels in which there are diminished coverage.
Band | Δmspur | Parent Flux Density(Jy) |
---|---|---|
1 | 7.0 | 0.2 |
2 | 7.0 | 0.3 |
3 | 8.5 | 1.1 |
4 | 7.0 | 1.65 |