YSOTAG Name
YSOTAG
Purpose
This function tags sources with IR excess based on their colors
in Spitzer IRAC bands 1-4. The cut used comes from Megeath et al
2004, ApJS 154:367. Sources are tagged as source 0/I, II, or
III/main sequence
Category
catalog processing
Calling Sequence
result=YSOTAG(i1,i2,i3,i4,[/VERBOSE]) Inputs
i1: IRAC band 1 magnitude(s)
i2: IRAC band 2 magnitude(s)
i3: IRAC band 3 magnitude(s)
i4: IRAC band 4 magnitude(s)
Keyword Parameters
VERBOSE: if set, then a summary of the sources is printed to the screen.
Outputs
A vector of bytes the same length as i1-i4. The value at slot i is
1, 2, or 3 depending on whether the source at slot i has colors
like a class I, II or III/Main Sequence star. Only sources marked
as 1 or 2 should be considered as candidate excess stars.
Modification History
Written by: Chris Beaumont, June 2008.
November 2008: Changed name from SOURCETAG to YSOTAG