.. _book_fig_chapter10_fig_mincomp_procedure: Minimum component fitting procedure ----------------------------------- Figure 10.12 The intermediate steps of the minimum component filter procedure applied to the spectrum of a white dwarf from the SDSS data set (mjd= 52199, plate=659, fiber=381). The top panel shows the input spectrum; the masked sections of the input spectrum are shown by thin lines (i.e., step 1 of the process in Section 10.2.5). The bottom panel shows the PSD of the masked spectrum, after the linear fit has been subtracted (gray line). A simple low-pass filter (dashed line) is applied, and the resulting filtered spectrum (dark line) is used to construct the result shown in figure 10.13. Minimum component filtering is explained in Wall & Jenkins, as well as Wall 1997, A&A 122:371. The minimum component algorithm is implemented in astroML.filters.min_component_filter .. image:: ../images/chapter10/fig_mincomp_procedure_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_mincomp_procedure.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_mincomp_procedure.py :lines: 19- .. raw:: html
:download:`[download source: fig_mincomp_procedure.py] ` .. raw:: html