Spitzer Documentation & Tools
MOPEX User's Guide

6.5.16    APEX Modules: Select Detect

Command Line Equivalent: run_select_detect

Default Output Directory: <output_dir>

Depends On: Detect or input user list

Relevant Pipelines: APEX Single Frame; APEX Multiframe

 

PURPOSE

This module selects columns and rows from the Detect output table that satisfy user specified constraints.

 

INPUT

Columns selection:

 

srcid:            Extracted source number.

x:                  x-coordinate of source in the mosaic (pixels).

y:                  y-coordinate of source in the mosaic (pixels).

            flux:              Peak pixel flux of the point source. Units are specified in the header. Currently set to microJy.

blendId:        Keeps track of the sequential number of a detection blend in the table.

Blend_size:   Gives the number of detections in the blend.

 

Condition Builder: Some simple selection ranges, such as > and <, can be added.

 

COMMAND LINE  INPUT

In Global Parameters:

select_columns = "srcid, x, y, flux, BlendId, BlendSize"

select_conditions = "BlendSize < 5 and flux > 20"

 

OUTPUT

Output Table: The Detect table (mosaic_detect.tbl) is overwritten with the selected data. The full output of Detect is retained in the raw Detect table (mosaic_detect_raw.tbl).

 

DISCUSSION

Normally, the user might want to select out very big blends, since point source extraction may not be reliable for them. Another use would be to remove the BlendSize (column header “deblend_size”) and BlendId (column header “deblend_id”) columns, which prevents MOPEX from carrying out passive deblending.