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

New API: 'autofind_emission_lines' #264

Closed dmgav closed 2 years ago

dmgav commented 2 years ago

A new function autofind_emission_lines. The function loads specified .h5 file, automatically searches for the emission lines and generates .json file with fitting parameters.

Example:

from pyxrf.api import autofind_emission_lines
autofind_emission_lines("scan2D_101042_xs_sum4ch.h5", "parameters.json")