# Define typed command arguments for the above commands.
self.keys = keys.KeysDictionary("agcc_agcc", (1, 1),
keys.Key("exptime", types.Float(), help="The exposure time"),
keys.Key("cameras", types.String(), help="List of active cameras[1-6]"),
keys.Key("bx", types.Int(), help="Serial Binning"),
keys.Key("by", types.Int(), help="Parallel Binning"),
keys.Key("cx", types.Int(), help="Corner x coordinate"),
keys.Key("cy", types.Int(), help="Corner y coordinate"),
keys.Key("sx", types.Int(), help="Serial size"),
keys.Key("sy", types.Int(), help="Parallel size"),
keys.Key("mode", types.Int(), help="Readout mode"),
keys.Key("temperature", types.Float(), help="CCD temperature"),
keys.Key("camera", types.Int(), help="Camera ID"),
keys.Key("regions", types.String(), help="Regions of interest, x1,y1,d1,x2,y2,d2"),
keys.Key("sequence", types.Int(), help="Sequence ID"),
keys.Key("count", types.Int(), help="Number of exposures in sequence"),
keys.Key("pfsVisitId", types.Int(), help="pfs_visit_id assigned by IIC"),
keys.Key("combined", types.Int(), help="0/1: multiple FITS files/single FITS file"),
keys.Key("centroid", types.Int(), help="0/1: if 1 do centroid else don't"),
keys.Key("fwhmx", types.Float(), help="X fwhm for centroid routine"),
keys.Key("fwhmy", types.Float(), help="Y fwhm for centroid routine"),
keys.Key("boxFind", types.Int(), help="box size for finding spots"),
keys.Key("boxCent", types.Int(), help="box size for centroiding spots"),
keys.Key("nmin", types.Int(), help="minimum number of points for spot"),
keys.Key("nmax", types.Int(), help="max number of points for spot"),
keys.Key("maxIt", types.Int(), help="maximum number of iterations for centroiding"),
keys.Key("findSigma", types.Float(), help="threshhold for finding spots"),
keys.Key("centSigma", types.Float(), help="threshhold for calculating moments of spots"),
keys.Key("threshSigma", types.Float(), help="threshhold calculating background level"),
keys.Key("threshFact", types.Float(), help="factor for engineering threshold measurements"),
keys.Key("cMethod", types.String(), help="method to use for centroiding (win, sep)"),
)