NSLS-II / PyXRF

Fluorescence fitting GUI.
http://nsls-ii.github.io/PyXRF
BSD 3-Clause "New" or "Revised" License
31 stars 23 forks source link

Request: use absolute energy of user peaks in 'Fitting Parameters for Individual Emission Lines' window. #282

Closed dmgav closed 2 years ago

dmgav commented 2 years ago

If fitting parameters have selected user peaks (e.g. Userpeak1), the emission line data for user peak in 'Fitting Parameters for Individual Emission Lines' have .._delta_center parameter displayed as a difference between the peak position and the default user peak position (arbitrarily placed at 5 keV). The default position of user peaks is hard coded in scikit-beam and may be difficult to change, but it may be more intuitive to display the absolute position of the user peak as Value, Min, and Max of _delta_center for user peaks (_delta-center has different meaning for elements and indicates deviation of the peak position from the expected position of the emission line).

image

dmgav commented 2 years ago

Resolved in https://github.com/NSLS-II/PyXRF/pull/284