mkdetrend is the interface to the Elixir detrend creation system.

All date/times are in the form YYYY/MM/DD,HH:MM:SS, with HH:MM:SS optional.

By default, commands apply to the currently active camera/run, but these may be specified on the command line with the -camera (camera) and -run (run) flags.

## primary user commands

create (camera) (run) (start) (stop) | create a new mkdetrend run for the given camera, normally automatically performed by ert.
create run (runid) | create a new mkdetrend run based on the mkrun table information.
config (camera) (run) | set the current active config
state | show the state of the active config
init | start the init stage of mkdetrend processing
run | start the main processing, or re-processing
reg | register the completed images in the detrend database
clean | clean the camera/run directories; recovery from this command will require a complete reprocessing.
reset (level) | reset the configs. if level is 'hard', all will be reset. if level is 'update', configs may be reset to 'init' or 'update', depending on their state.
update | perform an update run (identify new images, process residuals, but do not generate master).
auto (cmd) | automatic processing commands

## low-level user comands

dup (config) | duplicate the given config
del (config) | delete the given config
def (config) (start) (stop) | set the start & stop times for the given config
set (config) (state) | manually set the config state
list.init | run just the list.init stage
split | run just the split stage
flips | run just the flips stage
norm | run just the norm stage
scat | run just the scat stage
merge | run just the merge stage
update.list | run just the update.list stage
update.stats | run just the update.stats stage

## HTML cgibin commands

htmldup |
htmldef |
htmldel |
htmlmod |
htmlkeep |
htmlconfig |
html1 |
html2 |
html3 |

## other support commands

dads |
dads.top |
meval |
eval |
fix.masters |
check.splits |