input,f,a," ",,, ">input pha data file" intphd,f,a,"intphd",,, ">output integral phd file" difphd,f,a,"difphd",,, ">output differential phd file" fitphd,f,a,"fitphd",,, ">output fitted phd file" table,f,a,"phay",,, ">output threshold table file" t0,r,h,50.0,1.0,255.0, ">initial threshold level in infile" delt,r,h,1.0,1.0,200.0, ">step size in threshold levels in infile" center,r,h,175.0,0,256.0,">initial guess for peak center" sigma,r,h,15.0,1.0,50.0, ">initial guess for sigma of peaks" niter,i,h,10,1,100, ">number of iterations of least squares fit" tmin,r,h,125.0,0.0,255.0, ">Minimum threshold to fit" tmax,r,h,255.0,0.0,255.0,">Maximum threshold to fit" order,i,h,1,0,2, ">Order of the polynomial baseline" fwidth,i,h,5,3,29, ">Width of the differential filter" hmin,r,h,50.0,0.0,, ">Minimum peak height needed to fit"