The above fit was obtained with option SF (SADFIT) in MIIPS. Any number of absorption and emission lines can be automatically and simultaneously fitted with this option which uses weighted nonlinear least squares. The original spectrum was generated with the MIIPS option FE (FAKSPECTR) and artificial noise added with the option NI (NOISE). The plot was generated with the built-in plotting package.