✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
学习与研究拉曼光谱数据处理技术及判别分析方法,考察各种常见的光谱预处理方法,重点研究并实现拉曼光谱的去尖峰、去基线、去噪声方法,并基于matlab进行实现。 |
⛄ 部分代码
close all;
threshold_method_name ={'sqrt','linear','quartic'};
wnames={'haar','db3','sym2','coif1','bior1.1','rbio1.1','dmey'}
lev =3; %% one parameter determining the wavelet level, if 2^n = number of data point, wavelet level m=n-lev;s
foldername = './CGT_185k'; %% test folder, all the Raman files are included in this folder
addfilename='wlprocessed'; %% addtion string name add to the wavelet processed file
file_token = 'txt'; %% a string that contains in the original Raman file name.
threshold_method_name = threshold_method_name{1}; %% three different strategy to set the cluster radius on different level.
treshold_step =20; %% radius of the level 1 cluster
wtname = wnames{5}; %% choose one of the waveletpectra_range=[-200,600]; %% spectra range to process%%% the following function perform the spike-removal alogrithm and save all
%%% the processed file into a folder named "processed" under the original Raman file folder.
waveletprocessing_nobackgroundcorrection( foldername,addfilename,file_token,threshold_step,lev,wtname,spectra_range ,threshold_method_name);
⛄ 运行结果
⛄ 参考文献
[1]彭宇涵, 陈伟根, 张薷月,等. 基于导数光谱和三次平滑的拉曼光谱尖峰去除方法和系统:.
❤️ 关注我领取海量matlab电子书和数学建模资料
❤️部分理论引用网络文献,若有侵权联系博主删除