.. _example_datasets_plot_corrected_spectra: Corrected Spectra ----------------- The script examples/datasets/compute_sdss_pca.py uses an iterative PCA technique to reconstruct masked regions of SDSS spectra. Several of the resulting spectra are shown below. .. image:: ../images/datasets/plot_corrected_spectra_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: plot_corrected_spectra.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: plot_corrected_spectra.py :lines: 8- .. raw:: html
:download:`[download source: plot_corrected_spectra.py] ` .. raw:: html