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

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

ARGS  ARG1  rawImfile.exp_tag=$detInputExp.exp_tag

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

ARGS  ARG2  detProcessedImfile.exp_tag=$detInputExp.exp_tag
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_tag,   20,   	exposure,   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
