bruceravel / demeter

Process and analyze X-ray Absorption Spectroscopy data using Feff and either Larch or Ifeffit.
http://bruceravel.github.io/demeter
Other
67 stars 32 forks source link

Flatten seems incorrect with Larch backend #39

Closed newville closed 8 years ago

newville commented 8 years ago

It looks like the flatten calculation is messed up with the Larch backend, as the spectra have an unusually large discontinuity at E0. I have not investigated the template.

A few of the other Larch templates might need some attention too, especially as many of the pre_edge and autobk "details" got moved into sub-groups a while ago.

bruceravel commented 8 years ago

You hit the nail on the head. d6e7d89925da325010b64ad991523199ce20463f fixes the immediate problem with plotting normalized data. There are probably things from the autobk_details subgroup that I am failing to grab, but nothing is obvious. I wanted to resolve this issue immediately, so....