## examples/xafs/doc_autobk1.lar

fname = '../xafsdata/cu_rt01.xmu'
cu = read_ascii(fname)
autobk(cu.energy, cu.mu, rbkg=1.0, group=cu)

plot_bkg(cu, emin=-100, emax=400)

plot_chik(cu, kweight=1, win=2)
## end of examples/xafs/doc_autobk1.lar
