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

WHERE detNormalizedImfile.det_id = detRun.det_id

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

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

TAIL PHP insert_log ('LOG.IMFILE');
