TABLE detRunSummary, detRun
TITLE Detrend Run Iterations (does not list registered frames)
FILE  detRunSummary.php
MENU  ipp.detrend.dat

WHERE detRunSummary.det_id = detRun.det_id

ARGS  ARG1  detInputExp.det_id=$detRunSummary.det_id
ARGS  ARG1  detInputExp.iteration=$detRunSummary.iteration

ARGS  ARG2  detResidExp.det_id=$detRunSummary.det_id
ARGS  ARG2  detResidExp.iteration=$detRunSummary.iteration

#     field                   size  format  name  show      link to           extras
FIELD detRunSummary.det_id,     7,  %s,     det_id    
FIELD detRunSummary.iteration,  5,  %s,     iter
FIELD detRunSummary.accept,     4,  %s,     keep
FIELD *,                       20,  %s,     choose,    value=input, detInputExp.php,  ARG1
FIELD *,                       20,  %s,     choose,    value=proc,  detProcessedExp.php,      ARG3
FIELD *,                       20,  %s,     choose,    value=resid, detResidExp.php,  ARG2
FIELD detRunSummary.bg,        20,  %s,     bg
FIELD detRunSummary.bg_stdev,  20,  %s,     bg_stdev
FIELD detRun.state,            20,  %s,     state,     none

TD_CLASS list_off $detRun.state == 'drop'
TD_CLASS list_run $detRun.state == 'run'
