Code covered by the BSD License
-
lorentzian(x,position,width)
...
-
norm(q-yobsd);
-
CalculateTfit(x,y,InstFunctio...
Performs calculation and plots graph for DemoTFit
-
TFit3A1(n,h)
Changes absorbance when the A1 slider is moved.
-
TFit3A2(n,h)
Changes absorbance when the A2 slider is moved.
-
TFit3A3(n,h)
Changes absorbance when the A3 slider is moved.
-
TFit3InstWidth(n,h)
Changes absorbance when the A1 slider is moved.
-
TFit3Noise(n,h)
Changes absorbance when the Noise slider is moved.
-
TFit3Redraw(x,y,InstFunction,...
Performs calculation and plots graph for TFit3
-
TFit3separation(n,h)
Changes absorbance when the separation slider is moved.
-
TFitSliders1(n,h)
Changes absorbance when the Peak Abs slider is moved.
-
TFitSliders2(n,h)
Changes SpectralBandpass when the InstWidth slider is moved.
-
TFitSliders3(n,h)
Changes linewidth when the AbsWidth slider is moved.
-
TFitSliders4(n,h)
Changes straylight when the straylight slider is moved.
-
TFitSliders5(n,h)
Recalculates NoiseArray when the Noise slider is moved.
-
broaden(y,a,fa)
Function to convolute y by a (whose Fourier transform is fa),
-
exp(-((x-pos)./(0.6006.*wid))...
-
lorentzian(x,position,width)
...
-
lorentzian(x,position,width)
...
-
norm(q-yobsd);
-
rtslid(fig,f,hh,varargin)
RTSLID Slider widget that responds to dragging realtime
-
DemoTFit.m
-
Redraw.m
-
TFit3.m
-
View all files
from
Method for quantitative absorption spectroscopy, version 2.1
by Tom O'Haver
A computational method for quantitative analysis by multiwavelength absorption spectroscopy
|
| Redraw.m |
global x y z InstFunction c width absorbance InstWidth
global straylight noise NoiseArray IzeroShift
% Called by TFitSliders to set up axes and call CalculateTFit for DemoTFit
axes(h);
ArrayLength=length(x);
CalculateTfit(x,y,InstFunction,width,absorbance,InstWidth,straylight,noise,NoiseArray,IzeroShift)
axis([1 ArrayLength 0 1.1]); % Update plot
|
|
Contact us at files@mathworks.com