You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% the angstrom exponent for aerosol extinction coefficient
19
+
% window_size: integer
20
+
% window_size for smoothing the signal with sgolay filter.
21
+
% order: integer
22
+
% order of the implemented sgolay filter.
23
+
% method: char
24
+
% specify the method to calculate the slope of the signal. You can
25
+
% choose from 'moving', 'smoothing' and 'chi2'.
26
+
% measure_error: array
27
+
% measurement error for each bin.
28
+
% alpha_molecular_elastic: array
29
+
% molecular scattering coefficient at emitted wavelength in m^-1 sr^-1
30
+
% alpha_molecular_Raman: array
31
+
% molecular scattering coefficient at Raman wavelength in m^-1 sr^-1
32
+
% number_density: array
33
+
% molecular number density
34
+
% Mc_countNumber of MC iterations
35
+
% OUTPUTS:
36
+
% ext_aer: array
37
+
% aerosol extinction coefficient [m^{-1}]
38
+
%
39
+
% REFERENCES:
40
+
% https://bitbucket.org/iannis_b/lidar_processing
41
+
%
42
+
% Ansmann, A. et al. Independent measurement of extinction and backscatter profiles in cirrus clouds by using a combined Raman elastic-backscatter lidar. Applied Optics Vol. 31, Issue 33, pp. 7113-7131 (1992)
43
+
%
44
+
% HISTORY:
45
+
% - 2021-05-31: first edition by Zhenping
46
+
%
47
+
% .. Authors: - zhenping@tropos.de
48
+
49
+
% default method is movingslope
50
+
if ~ exist('method', 'var')
51
+
method ='movingslope';
52
+
end
53
+
54
+
if ~ exist('measure_error', 'var')
55
+
measure_error = zeros(size(sig));
56
+
end
57
+
58
+
temp =number_density./ (sig.*height.^2);
59
+
temp(temp<=0) =NaN;
60
+
ratio = log(temp);
61
+
62
+
if strcmpi(method, 'moving') || strcmpi(method, 'movingslope')
0 commit comments