.. _example_datasets_compute_sdss_pca: Example of downloading and processing SDSS spectra -------------------------------------------------- This is the code used to create the files fetched by the routine :func:`fetch_sdss_corrected_spectra`. Be aware that this routine downloads a large amount of data (~700MB for 4000 spectra) and takes a long time to run (~30 minutes for 4000 spectra). .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: compute_sdss_pca.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: compute_sdss_pca.py :lines: 10- .. raw:: html
:download:`[download source: compute_sdss_pca.py] ` .. raw:: html