original_docstring: 
          Class method for AssignmentSession to generate a session using an ASCII
          file. This is the preferred method for starting an AssignmentSession.
          The ASCII files are parsed using the pandas method `read_csv`, with
          the arguments for reading simply passed to that function.
  
          Example based on blackchirp spectrum:
          The first row in an ASCII output from blackchirp contains the headers,
          which typically should be renamed to "Frequency, Intensity". This can
          be done with this call:
  
          ```
          session = AssignmentSession.from_ascii(
              filepath="ft1020.txt",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              skiprows=1
              )
          ```
  
          Example based on astronomical spectra:
          File formats are not homogenized, and delimiters may change. This exam-
          ple reads in a comma-separated spectrum, with a radial velocity of
          +26.2 km/s.
          
          ```
          session = AssignmentSession.from_ascii(
              filepath="spectrum.mid.dat",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              velocity=26.2,
              delimiter=","
              )
          ```
  
          Parameters
          ----------
          filepath : str
              Filepath to the ASCII spectrum
          experiment : int
              Integer identifier for the experiment
          composition : list of str, optional
              List of atomic symbols, representing the atomic composition of the experiment
          delimiter : str, optional
              Delimiter character used in the ASCII file. For example, "\t", "\s", ","
          velocity: float, optional
              Radial velocity to offset the frequency in km/s.
          temperature : float, optional
              Rotational temperature in Kelvin used for the experiment.
          col_names : None or list of str, optional
              Names to rename the columns. If None, this is ignored.
          freq_col : str, optional
              Name of the column to be used for the frequency axis
          int_col : str, optional
              Name of the column to be used for the intensity axis
          skip_rows : int, optional
              Number of rows to skip reading.
          verbose : bool, optional
              If True, the logging module will also print statements and display
              any interaction that happens.
          kwargs
              Additional kwargs are passed onto initializing the Session class
  
          Returns
          -------
          AssignmentSession
          
docstring: Class method for AssignmentSession to generate a session using an ASCII
  file. This is the preferred method for starting an AssignmentSession.
  The ASCII files are parsed using the pandas method `read_csv`, with
  the arguments for reading simply passed to that function.
  
  Example based on blackchirp spectrum:
  The first row in an ASCII output from blackchirp contains the headers,
  which typically should be renamed to "Frequency, Intensity". This can
  be done with this call.
  
  
  
  Example based on astronomical spectra:
  File formats are not homogenized, and delimiters may change. This exam
  ple reads in a comma-separated spectrum, with a radial velocity of
  +26.2 km/s.
  
  
  
  Parameters
  
  filepath : str
  Filepath to the ASCII spectrum
  experiment : int
  Integer identifier for the experiment
  composition : list of str, optional
  List of atomic symbols, representing the atomic composition of the experiment
  delimiter : str, optional
  Delimiter character used in the ASCII file.
  
  Returns
  
  
docstring_tokens: Class method for AssignmentSession to generate a session using an ASCII file . This is the preferred method for starting an AssignmentSession . The ASCII files are parsed using the pandas method ` read_csv ` with the arguments for reading simply passed to that function . Example based on blackchirp spectrum : The first row in an ASCII output from blackchirp contains the headers which typically should be renamed to " Frequency Intensity " . This can be done with this call . Example based on astronomical spectra : File formats are not homogenized and delimiters may change . This exam ple reads in a comma - separated spectrum with a radial velocity of + 26 . 2 km / s . Parameters filepath : str Filepath to the ASCII spectrum experiment : int Integer identifier for the experiment composition : list of str optional List of atomic symbols representing the atomic composition of the experiment delimiter : str optional Delimiter character used in the ASCII file . Returns
code: def from_ascii(
          cls,
          filepath: str,
          experiment: int,
          composition=["C", "H"],
          delimiter="\t",
          temperature=4.0,
          velocity=0.0,
          col_names=None,
          freq_col="Frequency",
          int_col="Intensity",
          skiprows=0,
          verbose=False,
          **kwargs,
      ):
          """
          Class method for AssignmentSession to generate a session using an ASCII
          file. This is the preferred method for starting an AssignmentSession.
          The ASCII files are parsed using the pandas method `read_csv`, with
          the arguments for reading simply passed to that function.
  
          Example based on blackchirp spectrum:
          The first row in an ASCII output from blackchirp contains the headers,
          which typically should be renamed to "Frequency, Intensity". This can
          be done with this call:
  
          ```
          session = AssignmentSession.from_ascii(
              filepath="ft1020.txt",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              skiprows=1
              )
          ```
  
          Example based on astronomical spectra:
          File formats are not homogenized, and delimiters may change. This exam-
          ple reads in a comma-separated spectrum, with a radial velocity of
          +26.2 km/s.
          
          ```
          session = AssignmentSession.from_ascii(
              filepath="spectrum.mid.dat",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              velocity=26.2,
              delimiter=","
              )
          ```
  
          Parameters
          ----------
          filepath : str
              Filepath to the ASCII spectrum
          experiment : int
              Integer identifier for the experiment
          composition : list of str, optional
              List of atomic symbols, representing the atomic composition of the experiment
          delimiter : str, optional
              Delimiter character used in the ASCII file. For example, "\t", "\s", ","
          velocity: float, optional
              Radial velocity to offset the frequency in km/s.
          temperature : float, optional
              Rotational temperature in Kelvin used for the experiment.
          col_names : None or list of str, optional
              Names to rename the columns. If None, this is ignored.
          freq_col : str, optional
              Name of the column to be used for the frequency axis
          int_col : str, optional
              Name of the column to be used for the intensity axis
          skip_rows : int, optional
              Number of rows to skip reading.
          verbose : bool, optional
              If True, the logging module will also print statements and display
              any interaction that happens.
          kwargs
              Additional kwargs are passed onto initializing the Session class
  
          Returns
          -------
          AssignmentSession
          """
          spec_df = parsers.parse_ascii(filepath, delimiter, col_names, skiprows=skiprows)
          session = cls(
              spec_df,
              experiment,
              composition,
              temperature,
              velocity,
              freq_col,
              int_col,
              verbose,
              **kwargs,
          )
          return session
code_tokens: def from_ascii ( cls , filepath : str , experiment : int , composition = [ "C" , "H" ] , delimiter = "\t" , temperature = 4.0 , velocity = 0.0 , col_names = None , freq_col = "Frequency" , int_col = "Intensity" , skiprows = 0 , verbose = False , ** kwargs , ) : spec_df = parsers . parse_ascii ( filepath , delimiter , col_names , skiprows = skiprows ) session = cls ( spec_df , experiment , composition , temperature , velocity , freq_col , int_col , verbose , ** kwargs , ) return session
short_docstring: Class method for AssignmentSession to generate a session using an ASCII
  file.
short_docstring_tokens: Class method for AssignmentSession to generate a session using an ASCII file .
comment: """
          Class method for AssignmentSession to generate a session using an ASCII
          file. This is the preferred method for starting an AssignmentSession.
          The ASCII files are parsed using the pandas method `read_csv`, with
          the arguments for reading simply passed to that function.
  
          Example based on blackchirp spectrum:
          The first row in an ASCII output from blackchirp contains the headers,
          which typically should be renamed to "Frequency, Intensity". This can
          be done with this call:
  
          ```
          session = AssignmentSession.from_ascii(
              filepath="ft1020.txt",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              skiprows=1
              )
          ```
  
          Example based on astronomical spectra:
          File formats are not homogenized, and delimiters may change. This exam-
          ple reads in a comma-separated spectrum, with a radial velocity of
          +26.2 km/s.
          
          ```
          session = AssignmentSession.from_ascii(
              filepath="spectrum.mid.dat",
              experiment=0,
              col_names=["Frequency", "Intensity"],
              velocity=26.2,
              delimiter=","
              )
          ```
  
          Parameters
          ----------
          filepath : str
              Filepath to the ASCII spectrum
          experiment : int
              Integer identifier for the experiment
          composition : list of str, optional
              List of atomic symbols, representing the atomic composition of the experiment
          delimiter : str, optional
              Delimiter character used in the ASCII file. For example, "\t", "\s", ","
          velocity: float, optional
              Radial velocity to offset the frequency in km/s.
          temperature : float, optional
              Rotational temperature in Kelvin used for the experiment.
          col_names : None or list of str, optional
              Names to rename the columns. If None, this is ignored.
          freq_col : str, optional
              Name of the column to be used for the frequency axis
          int_col : str, optional
              Name of the column to be used for the intensity axis
          skip_rows : int, optional
              Number of rows to skip reading.
          verbose : bool, optional
              If True, the logging module will also print statements and display
              any interaction that happens.
          kwargs
              Additional kwargs are passed onto initializing the Session class
  
          Returns
          -------
          AssignmentSession
          """