
fname = '../xafsdata/cu_rt01.xmu'
cu = read_ascii(fname, labels='energy mu i0')

pre_edge(cu)
autobk(cu, rbkg=1.0, kweight=2)

xftf(cu, kmin=2, kmax=16, dk=3, window='hanning', kweight=2)

plot_chik(cu, kweight=2)

plot_chir(cu, win=2)
