original_docstring: Generate linspaces of x and y coordinates suitable for plotting on a
      matplotlib tkinter canvas.
  
      Hard-coding a -1 to 15 ppm linspace, with resolution such that a 1 GHz
      spectrometer has 10 points per Hz.
      :param spectrum: A list of (frequency, intensity) tuples
      :param w: peak width at half height
      :param spectrometer_frequency: the frequency of the spectrometer (i.e
      frequency in MHz that 1H nuclei resonate at)
      :return: a tuple of x and y numpy.ndarrays
      
docstring: Generate linspaces of x and y coordinates suitable for plotting on a
  matplotlib tkinter canvas.
  
  Hard-coding a -1 to 15 ppm linspace, with resolution such that a 1 GHz
  spectrometer has 10 points per Hz.
docstring_tokens: Generate linspaces of x and y coordinates suitable for plotting on a matplotlib tkinter canvas . Hard - coding a - 1 to 15 ppm linspace with resolution such that a 1 GHz spectrometer has 10 points per Hz .
code: def tkplot_nmrmint(spectrum, w=0.5, spectrometer_frequency=300):
      """Generate linspaces of x and y coordinates suitable for plotting on a
      matplotlib tkinter canvas.
  
      Hard-coding a -1 to 15 ppm linspace, with resolution such that a 1 GHz
      spectrometer has 10 points per Hz.
      :param spectrum: A list of (frequency, intensity) tuples
      :param w: peak width at half height
      :param spectrometer_frequency: the frequency of the spectrometer (i.e
      frequency in MHz that 1H nuclei resonate at)
      :return: a tuple of x and y numpy.ndarrays
      """
      """This is a port of nmrmint's version of tkplot.
      TODO: think about what nmrmint should offer to all users.
      Should eliminate this from library.
      """
      x = np.linspace(-1 * spectrometer_frequency,
                      15 * spectrometer_frequency,
                      160000)  # 0.01 Hz resolution on 1 GHz spectrometer
      y = add_signals(x, spectrum, w)
      return x, y
code_tokens: def tkplot_nmrmint ( spectrum , w = 0.5 , spectrometer_frequency = 300 ) : """This is a port of nmrmint's version of tkplot.
      TODO: think about what nmrmint should offer to all users.
      Should eliminate this from library.
      """ x = np . linspace ( - 1 * spectrometer_frequency , 15 * spectrometer_frequency , 160000 ) y = add_signals ( x , spectrum , w ) return x , y
short_docstring: Generate linspaces of x and y coordinates suitable for plotting on a
  matplotlib tkinter canvas.
short_docstring_tokens: Generate linspaces of x and y coordinates suitable for plotting on a matplotlib tkinter canvas .
comment: """Generate linspaces of x and y coordinates suitable for plotting on a
      matplotlib tkinter canvas.
  
      Hard-coding a -1 to 15 ppm linspace, with resolution such that a 1 GHz
      spectrometer has 10 points per Hz.
      :param spectrum: A list of (frequency, intensity) tuples
      :param w: peak width at half height
      :param spectrometer_frequency: the frequency of the spectrometer (i.e
      frequency in MHz that 1H nuclei resonate at)
      :return: a tuple of x and y numpy.ndarrays
      """$SEP$"""This is a port of nmrmint's version of tkplot.
      TODO: think about what nmrmint should offer to all users.
      Should eliminate this from library.
      """$SEP$# 0.01 Hz resolution on 1 GHz spectrometer