📄 snakoid.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Modified Snake Method</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>
<table width="100%" summary="page for snakoid {Rwave}"><tr><td>snakoid {Rwave}</td><td align="right">R Documentation</td></tr></table>
<h2>Modified Snake Method</h2>
<h3>Description</h3>
<p>
Estimate a ridge from a time-frequency representation, using the
modified snake method (modified cost function).
</p>
<h3>Usage</h3>
<pre>
snakoid(modulus, guessA, guessB, snakesize=length(guessB),
tfspec=numeric(dim(modulus)[2]), subrate=1, temprate=3, muA=1,
muB=muA, lambdaB=2 * muB, lambdaA=2 * muA, iteration=1000000,
seed=-7, costsub=1, stagnant=20000, plot=TRUE)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>modulus</code></td>
<td>
Time-Frequency representation (real valued).
</td></tr>
<tr valign="top"><td><code>guessA</code></td>
<td>
Initial guess for the algorithm (frequency variable).
</td></tr>
<tr valign="top"><td><code>guessB</code></td>
<td>
Initial guess for the algorithm (time variable).
</td></tr>
<tr valign="top"><td><code>snakesize</code></td>
<td>
The length of the first guess of time variable.
</td></tr>
<tr valign="top"><td><code>tfspec</code></td>
<td>
Estimate for the contribution of srthe noise to modulus.
</td></tr>
<tr valign="top"><td><code>subrate</code></td>
<td>
Subsampling rate for ridge estimation.
</td></tr>
<tr valign="top"><td><code>temprate</code></td>
<td>
Initial value of temperature parameter.
</td></tr>
<tr valign="top"><td><code>muA</code></td>
<td>
Coefficient of the ridge's derivative in cost function (frequency
component).
</td></tr>
<tr valign="top"><td><code>muB</code></td>
<td>
Coefficient of the ridge's derivative in cost function (time
component).
</td></tr>
<tr valign="top"><td><code>lambdaB</code></td>
<td>
Coefficient of the ridge's second derivative in cost function
(time component).
</td></tr>
<tr valign="top"><td><code>lambdaA</code></td>
<td>
Coefficient of the ridge's second derivative in cost function
(frequency component).
</td></tr>
<tr valign="top"><td><code>iteration</code></td>
<td>
Maximal number of moves.
</td></tr>
<tr valign="top"><td><code>seed</code></td>
<td>
Initialization of random number generator.
</td></tr>
<tr valign="top"><td><code>costsub</code></td>
<td>
Subsampling of cost function in output.
</td></tr>
<tr valign="top"><td><code>stagnant</code></td>
<td>
Maximum number of stationary iterations before stopping.
</td></tr>
<tr valign="top"><td><code>plot</code></td>
<td>
when set(default), some results will be displayed
</td></tr>
</table>
<h3>Details</h3>
<h3>Value</h3>
<p>
Returns a structure containing:
</p>
<table summary="R argblock">
<tr valign="top"><td><code>ridge</code></td>
<td>
1D array (of same length as the signal) containing the ridge.</td></tr>
<tr valign="top"><td><code>cost</code></td>
<td>
1D array containing the cost function.</td></tr>
<tr valign="top"><td><code>plot</code></td>
<td>
when set(default), some results will be displayed.</td></tr>
</table>
<h3>References</h3>
<p>
See discussions in the text of ``Practical Time-Frequency Analysis''.
</p>
<h3>See Also</h3>
<p>
<code><a href="corona.html">corona</a></code>, <code><a href="coronoid.html">coronoid</a></code>, <code><a href="icm.html">icm</a></code>,
<code><a href="snake.html">snake</a></code>.
</p>
<hr><div align="center">[Package <em>Rwave</em> version 1.24 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -