Nuclear Techniques ›› 2018, Vol. 41 ›› Issue (6): 60401-060401.doi: 10.11889/j.0253-3219.2018.hjs.41.060401

• NUCLEAR ELECTRONICS AND INSTRUMENTATION • Previous Articles     Next Articles

Research on the spectrum smoothing method based on MATLAB GUI

CHEN Wei1,2, MO Lei1, ZHOU Jianbin2, FANG Fang2, HONG Xu2, DING Weicheng2, YU Jie2, ZHOU Wei2   

  1. 1 College of Information Engineering, Chengdu Aeronautic Polytechnic, Chengdu 610100, China;
    2 College of Nuclear Technology and Automation Engineering, Chengdu University of Technology, Chengdu 610059, China
  • Received:2017-11-28 Revised:2018-03-10 Online:2018-06-10 Published:2018-06-06
  • Supported by:
    Supported by the National Key Research and Development Program of China (No.2016YFC1402505), National Natural Science Foundation of China (No.11675028, No.41774140), Scientific Research Fund of Sichuan Provincial Education Department (No.18ZA0041), Chengdu Aeronautic Polytechnic Project (No.061758)

Abstract: [Background] Spectrum smoothing can remove the statistical fluctuations in the measured energy spectrum and retain important information of the spectral peaks. Each spectrum smoothing method has its own advantages, and is not always effective in any case.[Purpose] This study aims at the application of spectrum smoothing methods with different smoothing times and parameters, and evaluate smoothing methods based on smoothness and correlation coefficient respectively.[Methods] A spectrum analysis tool which is integrated Gauss smoothing and Savitzky-Golay (SG) methods is designed based on Matrix Laboratory Graphical User Interface, (MATLAB GUI). It is applicable to real-time and off-line batch processing of spectral data with a few necessary steps. One spectrum captured by the graphite pre-diffraction X fluorescence analyzer is processed by the designed tool, and the correlation coefficient is introduced to evaluate the smoothness.[Results] Experimental results show that the smoothness of the Gauss smoothing is better than SG when the peak amplitude is larger. Whilst SG outperform Gauss smoothing when the peak amplitude is small. The Gauss smoothing parameters are more flexible than that of SG, but the operation is more complex that needs matrix manipulation. The SG smoothing algorithm is simple and the execution time of the code is short.[Conclusion] The smoothing methods and parameters should be selected in accordance with actual conditions to maintain good smoothness and correlation coefficient for spectrum smoothing.

Key words: Spectrum smoothing, Smoothness, Correlation coefficient, MATLAB GUI

CLC Number: 

  • TL311.1