Butterfly diagram

Butterfly diagram

, used for finding the most likely sequence of hidden states.

Most commonly, the term "butterfly" appears in the context of the Cooley-Tukey FFT algorithm, which recursively breaks down a DFT of composite size n = r m into r smaller transforms of size m where r is the "radix" of the transform. These smaller DFTs are then combined with size-r butterflies, which themselves are DFTs of size r (performed m times on corresponding outputs of the sub-transforms) pre-multiplied by roots of unity (known as twiddle factors). (This is the "decimation in time" case; one can also perform the steps in reverse, known as "decimation in frequency", where the butterflies come first and are post-multiplied by twiddle factors. See also the Cooley-Tukey FFT article.)

Radix-2 butterfly diagram

In the case of the radix-2 Cooley-Tukey algorithm, the butterfly is simply a DFT of size 2 that takes two inputs (x_0, x_1) (corresponding outputs of the two sub-transforms) and gives two outputs (y_0, y_1) by the formula (not including twiddlefactors):

:y_0 = x_0 + x_1:y_1 = x_0 - x_1.

If one draws the data-flow diagram for this pair of operations, the (x_0, x_1) to (y_0, y_1) lines cross and resemble the wings of a butterfly, hence the name. (See also the illustration at right.)

More specifically, a decimation-in-time FFT algorithm on n=2^p inputs with respect to a primitive n-th root of unity omega= exp(frac{2 pi i}{n}) relies on O(n log n) butterflies of the form:

:y_0 = x_0 + x_1 omega^k:y_1 = x_0 - x_1 omega^k,

where "k" is an integer depending on the part of the transform being computed. Whereas the corresponding inverse transform can mathematically be performed by replacing omega with omega^{-1} (and possibly multiplying by an overall scale factor, depending on the normalization convention), one may also directly invert the butterflies:

:x_0 = frac{1}{2} (y_0 + y_1):x_1 = frac{omega^{-k{2} (y_0 - y_1),

corresponding to a decimation-in-frequency FFT algorithm.

See also

* Mathematical diagram
* Zassenhaus lemma

References

External links

* [http://www.relisoft.com/Science/Physics/fft.html explanation of the FFT and butterfly diagrams] .
* [http://www.cmlab.csie.ntu.edu.tw/cml/dsp/training/coding/transform/fft.html butterfly diagrams of various FFT implementations (Radix-2, Radix-4, Split-Radix)] .


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Butterfly (disambiguation) — A butterfly is a flying insect.Butterfly or butterflies may also refer to:* Butterfly (dinghy), a popular one design single handed sailboat * Butterfly (options), a combination option trade strategy * Butterfly ballot, a type of a ballot that was …   Wikipedia

  • Butterfly (options) — In options trading, a long butterfly (sometimes simply butterfly) is a combination trade resulting in the following net position: * Long 1 call at (X − a) strike * Short 2 calls at X strike * Long 1 call at (X + a) strikeall with the same… …   Wikipedia

  • butterfly spread — The placing of two interdelivery spreads in opposite directions with the center delivery month common to both spreads. Chicago Board of Trade glossary Established by buying an at the money option, selling 2 out of the money options, and buying an …   Financial and business terms

  • Mathematical diagram — This article is about general diagrams in mathematics. For diagrams in the category theoretical sense, see Diagram (category theory). Euclid s Elements, ms. from Lüneburg, A.D. 1200 Mathematical diagrams are diagrams in the field of mathematics,… …   Wikipedia

  • Piping and instrumentation diagram — A piping and instrumentation diagram/drawing (P ID) is a diagram in the process industry which shows the piping of the process flow together with the installed equipment and instrumentation. Contents 1 Contents and Function 2 List of P ID items 3 …   Wikipedia

  • Piping \x26 Instrumentation Diagram — Piping Instrumentation Diagram Saltar a navegación, búsqueda Un Piping Instrumentation Diagram (P ID) es un diagrama que muestra el flujo del proceso en las tuberías, así como los equipos instalados y el instrumental. Contenido 1 Contenido y… …   Wikipedia Español

  • Piping and instrumentation diagram — Un diagrama de tuberías e instrumentación (DTI) también conocido del idioma inglés como piping and instrumentation diagram/drawing (P ID) es un diagrama que muestra el flujo del proceso en las tuberías, así como los equipos instalados y el… …   Wikipedia Español

  • List of mathematics articles (B) — NOTOC B B spline B* algebra B* search algorithm B,C,K,W system BA model Ba space Babuška Lax Milgram theorem Baby Monster group Baby step giant step Babylonian mathematics Babylonian numerals Bach tensor Bach s algorithm Bachmann–Howard ordinal… …   Wikipedia

  • Edward Walter Maunder — (April 12 1851 ndash; March 21 1928) was an English astronomer best remembered for his study of sunspots and the solar magnetic cycle that led to his identification of the period from 1645 to 1715 that is now known as the Maunder Minimum.Early… …   Wikipedia

  • sun — sunlike, adj. /sun/, n., v., sunned, sunning. n. 1. (often cap.) the star that is the central body of the solar system, around which the planets revolve and from which they receive light and heat: its mean distance from the earth is about 93… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”