code: def save_spectral_lines_ds9(rectwv_coeff, debugplot=0):
      
  
      for spectral_lines, rectified, suffix in zip(
          ['arc', 'arc', 'oh', 'oh'],
          [False, True, False, True],
          ['rawimage', 'rectified', 'rawimage', 'rectified']
      ):
          output = spectral_lines_to_ds9(rectwv_coeff=rectwv_coeff,
                                         spectral_lines=spectral_lines,
                                         rectified=rectified)
          filename = 'ds9_' + spectral_lines + '_' + suffix + '.reg'
          if abs(debugplot) >= 10:
              print('>>> Saving: ', filename)
          save_ds9(output, filename)
docs: Save expected location of arc and OH airglow to ds9 region files.
  
      Parameters
      ----------
      rectwv_coeff : RectWaveCoeff instance
          Rectification and wavelength calibration coefficients for the
          particular CSU configuration.
      debugplot : int
              Debugging level for messages and plots. For details see
              'numina.array.display.pause_debugplot.py'.