Comparion JupyFluo and PyMca

The aim of this notebook is to compare quantitavely some results from fits usinf JupyFluo and PyMca. The conclusion is that the differences between the two approaches are negligible.

SIRIUS_Fluo_2020_02_16_02289

Fit with JupyFluo

Session ID: 20220207_203848

Fit results for file SIRIUS_Fluo_2020_02_16_02289.nxs
Parameters and results saved in:
save/SIRIUS_Fluo_2020_02_16_02289/20220207_203848/

Extraction parameters
Spectrum interval = [0, 1405]
Channel interval = [140, 1250]
SDD elements used = [4]

Fit parameters
List of fitted parameters: ['sl', 'ct']
beam energy = 12000; min. strength = 0.01
Params for conversion to eVs
gain = 9.9279; eV0 = -18.4341
Params for linear background
slope = 0.001; constant = 2.163
Fit the background on the subset [4000 eV, 6000 eV]
Params for elastic peaks
noise = 0.1051; tail fraction (low energy side) = 0
tail width (low energy side) = 0; shelf fraction = 0.6993
Params for Compton peaks
broadening factor = 1; tail fraction (low energy side) = 0.1089; tail fraction (high energy side) = 0
tail width (low energy side) = 5; tail width (high energy side) = 0

Comparison with PyMca

Curves

Fit results

Area Au

Area S

Area El

Ratio Area Au / Area El

SIRIUS_Fluo_2021_07_10_0172

Fit with JupyFluo

Session ID: 20220208_203103

Fit results for file SIRIUS_Fluo_2021_07_10_0172.nxs
Parameters and results saved in:
save/SIRIUS_Fluo_2021_07_10_0172/20220208_203103/

Extraction parameters
Spectrum interval = [0, 1201]
Channel interval = [150, 1250]
SDD elements used = [4]

Fit parameters
List of fitted parameters: ['ct']
beam energy = 12000; min. strength = 0.01
Params for conversion to eVs
gain = 9.928; eV0 = -19.6691
Params for linear background
slope = 0; constant = 1.5411
Fit the background on the subset [3800 eV, 4100 eV]
Params for elastic peaks
noise = 0.1353; tail fraction (low energy side) = 0.05
tail width (low energy side) = 1.3054; shelf fraction = 1
Params for Compton peaks
broadening factor = 1; tail fraction (low energy side) = 0.2647; tail fraction (high energy side) = 0
tail width (low energy side) = 3; tail width (high energy side) = 0

Comparison with PyMca

Curves

Fit results

Area Au

Area Cl

Area El

Ratio Area Au / Area El

Comparison with ROI (from PyMca)

Area Au

SIRIUS_Fluo_2021_04_16_0161

Fit with JupyFluo

Session ID: 20220215_115348

Fit results for file SIRIUS_Fluo_2021_04_16_0161.nxs
Parameters and results saved in:
save/SIRIUS_Fluo_2021_04_16_0161/20220215_115348/

Extraction parameters
Spectrum interval = [0, 114]
Channel interval = [180, 830]
SDD elements used = [4]

Fit parameters
List of fitted parameters: ['ct']
beam energy = 8000; min. strength = 0.01
Params for conversion to eVs
gain = 9.933; eV0 = -9.443
Params for linear background
slope = 0; constant = 9.6843
Fit the background on the subset [4000 eV, 4600 eV]
Params for elastic peaks
noise = 0.1084; tail fraction (low energy side) = 0
tail width (low energy side) = 0; shelf fraction = 1.8687
Params for Compton peaks
broadening factor = 1.437; tail fraction (low energy side) = 0.1342; tail fraction (high energy side) = 0
tail width (low energy side) = 3.1664; tail width (high energy side) = 0

Comparison with PyMca

Curves

Fit results

Area S

Area Cl

Area El

Area Compton

Playing around with the hypermet function of PyMca