Coverage for /Users/Newville/Codes/xraylarch/larch/xrf/__init__.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-11-09 10:08 -0600

1__DOC__ = ''' 

2X-ray Fluorescence Routines 

3 

4The functions here include (but are not limited to): 

5 

6function description 

7------------ ------------------------------ 

8create_roi create an ROI 

9''' 

10 

11from .mca import MCA, isLarchMCAGroup, Environment, create_mca 

12from .roi import ROI, split_roiname, create_roi 

13from .deadtime import calc_icr, correction_factor 

14from .xrf_bgr import xrf_background 

15 

16from .xrf_calib import (xrf_calib_fitrois, xrf_calib_compute, 

17 xrf_calib_apply, xrf_calib_init_roi) 

18 

19from .xrf_peak import xrf_peak 

20from .xrf_model import xrf_model, xrf_fitresult, FanoFactors 

21 

22_larch_groups = (ROI, MCA) 

23 

24_larch_builtins = {'_xrf': dict(create_roi=create_roi, 

25 create_mca=create_mca, 

26 xrf_model=xrf_model, 

27 xrf_fitresult=xrf_fitresult, 

28 xrf_peak=xrf_peak, 

29 xrf_background=xrf_background, 

30 xrf_calib_fitrois=xrf_calib_fitrois, 

31 xrf_calib_init_roi=xrf_calib_init_roi, 

32 xrf_calib_compute=xrf_calib_compute, 

33 xrf_calib_apply=xrf_calib_apply)}