Debian Codegraph @

docs/manual/PowerCepstrum__Draw_trend_line___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>PowerCepstrum: Draw trend line...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 PowerCepstrum: Draw trend line...
13 </b></font></table></table>
14 <p>Draws the line that models the background of the selected <a href="PowerCepstrum.html">PowerCepstrum</a>.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Quefrency range (s)</b>
18 <dd>define the extrema on the horizontal scale of the picture.</dd>
19 <dt><b>Amplitude range (dB)</b>
20 <dd>define the extrema on the vertical scale of the picture</dd>
21 <dt><b>Trend line quefrency range (s)</b>
22 <dd>the quefrency range for which the amplitudes (in dB) will be modelled by a straight line. In <a href="Hillenbrand_et_al___1994_.html">Hillenbrand et al. (1994)</a>, the lower value for this range was chosen as 0.001 s in order to reduce the effect of very low quefrency data on the straight line fit. In our analysis this value is not so critical if we use the robust fitting procedure. If you choose the "Least squares" fit method then it matters more.</dd>
23 <dt><b>Trend type</b>
24 <dd>defines how to model the cepstrum background. We can model it with a straight line as was done in <a href="Hillenbrand_et_al___1994_.html">Hillenbrand et al. (1994)</a>. The slope of this line will generally be negative because the background amplitudes get weaker for higher quefrencies. Or, we could use an exponential model in which the background cepstral amplitudes decay in a non-linear fashion. </dd>
25 <dt><b>Fit method</b>
26 <dd>defines how the line that models the cepstrum background is calculated. The default method, "Robust slow", corresponds to <a href="theil_regression.html">Theil's robust line fit</a>. The "Robust" method corresponds to the incomplete theil regression and is computationally faster but somewhat less precise. To be compatible with the past, a standard least squares line fit can also be chosen but it is much less precise than the other two because a least squares fit is much more influenced by the peak cepstral values than the other two.</dd>
27 </dl>
28 <h2>Examples</h2>
29 <p>The next picture shows a PowerCepstrum with <i>two</i> drawn trend lines, a straight line in blue and an exponential decay line in green. The picture was generated by the following script. Note that the first four lines in the script are only necessary to generate a PowerCepstrum of a part of a vowel.</p>
30 <code> Create KlattGrid from vowel: "a", 0.3, 125, 800, 80, 1200, 80, 2300, 100, 2800, 0.1, 1000<br></code>
31 <code> To Sound<br></code>
32 <code> To PowerCepstrogram: 60, 0.002, 5000, 50<br></code>
33 <code> To PowerCepstrum (slice): 0.1<br></code>
34 <code> Draw: 0, 0, 0, 110, "yes"<br></code>
35 <code> Colour: "Blue"<br></code>
36 <code> Draw trend line: 0, 0, 0, 110, 0.001, 0.05, "Straight", "Robust slow"<br></code>
37 <code> Colour: "Green"<br></code>
38 <code> Draw trend line: 0, 0, 0, 110, 0.001, 0.05, "Exponential decay", "Robust slow"<br></code>
39 <code> Colour: "Black"<br></code>
40 <p align=middle><img height=300 width=500 src=PowerCepstrum__Draw_trend_line____1.png></p><hr>
41 <address>
42 <p>© djmw 20191008</p>
43 </address>
44 </body>
45 </html>