Skip to content

some functions do not work in Larch 0.9.70 #450

Closed Answered by newville
zhangnaichi2020 asked this question in Q&A
Discussion options

You must be logged in to vote

@zhangnaichi2020 I think this because xas_deconvolve expects to work on normalized XAFS data, that is after running pre_edge().

 dat = read_ascii('./Cr_standards/CrOH3_Cr_K.xdi')
pre_edge(dat)
xas_deconvolve(dat, esigma=1.0) 

because otherwise it is just not clear what to do the deconvolution on

And, yes, we did see that pre_edge() could get very slow for some input data (especially, with repeated energy values) with changes in 0.9.70. That should be fixed in the master branch, which you can install with

  python -m pip install https://millenia.cars.aps.anl.gov/xraylarch/downloads/xraylarch-latest-py3-none-any.whl

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zhangnaichi2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants