TABLE detInputExp, rawExp
TITLE detInputExp
FILE  detInputExp.php
MENU  ipp.detrend.dat

# limit this table to non-OBJECT types of images
WHERE detInputExp.exp_id = rawExp.exp_id

ARGS  ARG1  rawImfile.exp_id=$detInputExp.exp_id

ARGS  ARG2  detResidImfile.exp_id=$detInputExp.exp_id
ARGS  ARG2  detResidImfile.det_id=$detInputExp.det_id
ARGS  ARG2  detResidImfile.iteration=$detInputExp.iteration

ARGS  ARG2  detProcessedImfile.exp_id=$detInputExp.exp_id
ARGS  ARG2  detProcessedImfile.det_id=$detInputExp.det_id
ARGS  ARG2  detProcessedImfile.iteration=$detInputExp.iteration

HEAD PHP if ($_GET['detInputExp_det_id']) { 
HEAD PHP   echo "<a href=detResidExp.php?" . $ID['link'] . "> resid </a>";
HEAD PHP   echo "<a href=detProcessedExp.php?" . $ID['link'] . "> proc </a>"; }

#     field                  width 	name        show         link to                 extras
FIELD detInputExp.det_id,     7,    	Det ID
FIELD detInputExp.iteration,  5,    	iteration
FIELD detInputExp.exp_id,     5,   	Exp ID,     value,       rawImfile.php,          ARG1
FIELD rawExp.exp_name,        5,   	Exp Name,   value,       rawImfile.php,          ARG1
FIELD detInputExp.include,    7,   	include
FIELD rawExp.telescope,      10,   	Telescope
FIELD rawExp.camera,         10,   	Camera
FIELD rawExp.exp_type,       10,   	Type    
FIELD rawExp.filter,         10,   	FILTER
FIELD rawExp.dateobs,        20,   	Date/Time
FIELD rawExp.exp_time,        5,   	exp_time    
FIELD rawExp.sat_pixel_frac,  5,   	f(sat pixels)
FIELD rawExp.airmass,         5,   	airmass     
FIELD rawExp.bg,              5,   	backgnd
FIELD rawExp.bg_stdev,        5,   	stdev    
FIELD rawExp.bg_mean_stdev,   5,   	&lt;backgnd&gt;
FIELD *,                      5,    	choose,     value=resid, detResidImfile.php,     ARG2
FIELD *,                      5,    	choose,     value=proc,  detProcessedImfile.php, ARG3
