.. _example_linear_model_plot_omp.py:


===========================
Orthogonal Matching Pursuit
===========================

Using orthogonal matching pursuit for recovering a sparse signal from a noisy
measurement encoded with a dictionary



.. image:: images/plot_omp_001.png
    :align: center




**Python source code:** :download:`plot_omp.py <plot_omp.py>`

.. literalinclude:: plot_omp.py
    :lines: 9-

**Total running time of the example:**  0.28 seconds
( 0 minutes  0.28 seconds)