Exemplary parameters that you would use to compute the acf would be
i-pi-getacf -ifile
simulation.vc.xyz -mlag 3072 -ftpad 1024 -ftwin cosine-hanning -dt '0.25 femtosecond' -oprefix vv
which would create the file "vv_facf.data". Note that the output will be in a.u. To perform the deconvolution I would use
i-pi-gleacf -a deconv -ifacf vv_facf.data -ixml input.xml -dp 1000, 50 -op deconv
which will produce files deconv_*. If you look at the header of one of these files, you will see that it the error and the laplacian is printed at each step. You can extract these diagnostics using : grep "#" deconv_* | awk '{print $6, $7}' > log
The optimal step number can be found by plotting
gnuplot> p "log" us 1:2:0 w labels
which should on a log-log plot should give you an "L-curve". Looking for the step number with the maximum curvature.
In the example (attached), the optimal point is close to 16 but since I am printing every 10 steps, it should correspond to the 160th file.
This approach is completely data driven and hence avoids bias. Let me know if you have further questions.