Description Usage Arguments Value References Examples
calculates the background of a thermogram according to Tangent-area-proportional method
1 | TAPPA(T, dAlpha, interval = 10, tol = 0.001)
|
T |
temperature |
dAlpha |
the da/dt values |
interval |
number of points to use for interpolating the two lines that will merge according to the area of the peak |
tol |
tollerance for the iterative process |
B baseline values
1. Svoboda R. Tangential area-proportional baseline interpolation for complex-process DSC data - Yes or no? Thermochim Acta. 2017;658:55-62. doi:10.1016/J.TCA.2017.10.011.2. Svoboda R. Linear baseline interpolation for single-process DSC data-Yes or no? Thermochim Acta. 2017;655:242-250. doi:10.1016/J.TCA.2017.07.008.
1 2 3 4 5 6 7 8 | npoints=1000
x=seq(1,npoints)
y=(dnorm(seq(1,npoints), mean=npoints/2, sd=npoints/10)) #simulated peak
y2=y+(dnorm(seq(1,npoints), mean=npoints, sd=npoints/10)) #secondary simulated peak
y2[seq(npoints*0.735,npoints)]=y2[763] #flat the curve at the end of first peak
ytap=TAPPA(x,y2)
plot(x,y2)
lines(x,ytap,col="red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.