Description Usage Arguments Details Value Warning References See Also

View source: R/Ridge_Annealing.R

Estimate a (single) ridge from a time-frequency representation, using the corona method.

1 2 3 |

`tfrep` |
Time-Frequency representation (real valued). |

`guess` |
Initial guess for the algorithm. |

`tfspec` |
Estimate for the contribution of the noise to modulus. |

`subrate` |
Subsampling rate for ridge estimation. |

`temprate` |
Initial value of temperature parameter. |

`mu` |
Coefficient of the ridge's second derivative in cost function. |

`lambda` |
Coefficient of the ridge's derivative in cost function. |

`iteration` |
Maximal number of moves. |

`seed` |
Initialization of random number generator. |

`stagnant` |
Maximum number of stationary iterations before stopping. |

`costsub` |
Subsampling of cost function in output. |

`plot` |
When set(default), some results will be shown on the display. |

To accelerate convergence, it is useful to preprocess modulus before
running annealing method. Such a preprocessing (smoothing and
subsampling of modulus) is implemented in `corona`

. The
parameter subrate specifies the subsampling rate.

Returns the estimated ridge and the cost function.

`ridge` |
1D array (of same length as the signal) containing the ridge. |

`cost` |
1D array containing the cost function. |

The returned cost may be a large array, which is time consuming. The argument costsub allows subsampling the cost function.

See discussion in text of “Practical Time-Frequency Analysis”.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.