IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
pre_deconv.m
Go to the documentation of this file.
1 %> @brief Deconvolution
2 %>
3 %> @sa MATLAB's deconvolve() function
4 classdef pre_deconv < pre
5  properties
6  %> =[.5, 1., .5]. Odd-length filter.
7  h = [.5, 1., .5];
8  end;
9 
10 
11  methods
12  function o = pre_deconv()
13  o.classtitle = 'Deconvolution';
14  o.flag_ui = 0;
15  end;
16  end;
17 
18  methods(Access=protected)
19  % Applies block to dataset
20  function data = go_use(o, data)
21  [data.X, data.fea_x] = deconvolve(data.X, data.fea_x, o.h);
22  end;
23  end;
24 end
25