TABLE detRegisteredImfile, detRun
TITLE detRegisteredImfile
FILE  detRegisteredImfile.php
MENU  ipp.imfiles.dat

WHERE detRegisteredImfile.det_id = detRun.det_id

ARGS  ARG1 detRegisteredImfile.det_id=$detRegisteredImfile.det_id
ARGS  ARG1 detRegisteredImfile.iteration=$detRegisteredImfile.iteration
ARGS  ARG1 detRegisteredImfile.class_id=$detRegisteredImfile.class_id
ARGS  ARG1 camera=$detRun.camera
ARGS  ARG1 basename=$detRegisteredImfile.path_base
ARGS  ARG1 class=$detRegisteredImfile.class_id

#     field                             size  format  name      show   link to                  extras
FIELD detRegisteredImfile.det_id,          7, %s,     det_id
FIELD detRegisteredImfile.iteration,       5, %s,     iter
FIELD detRegisteredImfile.class_id,        8, %s,     class_id, value, detRegisteredImfile.php, ARG1
FIELD detRegisteredImfile.fault,           5, %d,     fault
FIELD detRegisteredImfile.bg,              8, %f,     backgnd
FIELD detRegisteredImfile.bg_stdev,        8, %f,     stdev
FIELD detRegisteredImfile.bg_mean_stdev,   8, %f,     [stdev]
FIELD detRegisteredImfile.path_base,      10, %s,     path_base
FIELD detRun.camera,                      10, %s,     camera, none

TAIL PHP insert_log ('LOG.IMFILE');
