doFolder was not saving error bars in chi files
This commit is contained in:
parent
5a050bb5a3
commit
18430895ad
|
@ -274,7 +274,7 @@ def doFolder(folder,files='*.edf*',nQ = 1500,force=False,mask=None,dark=10,norm=
|
||||||
err[ifname] = e
|
err[ifname] = e
|
||||||
if saveChi:
|
if saveChi:
|
||||||
chi_fname = utils.removeExt(fname) + ".chi"
|
chi_fname = utils.removeExt(fname) + ".chi"
|
||||||
utils.saveTxt(chi_fname,q,i,e,info=ai_as_str(ai),overwrite=True)
|
utils.saveTxt(chi_fname,q,np.vstack((i,e)),info=ai_as_str(ai),overwrite=True)
|
||||||
|
|
||||||
files = [ utils.getBasename(f) for f in files ]
|
files = [ utils.getBasename(f) for f in files ]
|
||||||
files = np.asarray(files)
|
files = np.asarray(files)
|
||||||
|
|
Loading…
Reference in New Issue