xraylarch icon indicating copy to clipboard operation
xraylarch copied to clipboard

[xas_viewer / CSV export] wrong master energy when two groups differs in absorption edge

Open maurov opened this issue 2 years ago • 0 comments

This is a follow-up of #393

In xas_viewer:

  • selects two groups that have two different absorption edges, let's say Fe and Co K-edge
  • export groups to CSV
  • select master energy scale for Fe group
  • the Co spectrum gets saved with Fe energy -> wrong

Solution:

  • if a master energy group is selected, check that the others selected groups have same element and edge as the master one.

maurov avatar Jul 13 '22 17:07 maurov