original_docstring: 
          Method to take the output of a PGopher file and create a LineList
          object. The PGopher output must be in the comma delimited specification.
          
          This is actually the ideal way to generate LineList objects: it fills
          in all of the relevant fields, such as linestrength and state energies.
          
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              Path to the PGopher CSV output
          formula : str, optional
              Chemical formula of the molecule, defaults to an empty string.
              
          Returns
          -------
          LineList
          
docstring: Method to take the output of a PGopher file and create a LineList
  object. The PGopher output must be in the comma delimited specification.
  
  This is actually the ideal way to generate LineList objects: it fills
  in all of the relevant fields, such as linestrength and state energies.
  
  Parameters
  
  name : str
  Name of the molecule
  filepath : str
  Path to the PGopher CSV output
  formula : str, optional
  Chemical formula of the molecule, defaults to an empty string.
  
  Returns
  
  
docstring_tokens: Method to take the output of a PGopher file and create a LineList object . The PGopher output must be in the comma delimited specification . This is actually the ideal way to generate LineList objects : it fills in all of the relevant fields such as linestrength and state energies . Parameters name : str Name of the molecule filepath : str Path to the PGopher CSV output formula : str optional Chemical formula of the molecule defaults to an empty string . Returns
code: def from_pgopher(cls, name: str, filepath: str, formula="", **kwargs):
          """
          Method to take the output of a PGopher file and create a LineList
          object. The PGopher output must be in the comma delimited specification.
          
          This is actually the ideal way to generate LineList objects: it fills
          in all of the relevant fields, such as linestrength and state energies.
          
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              Path to the PGopher CSV output
          formula : str, optional
              Chemical formula of the molecule, defaults to an empty string.
              
          Returns
          -------
          LineList
          """
          pgopher_df = pd.read_csv(filepath, skiprows=1)
          pgopher_df = pgopher_df.iloc[:-1]
          vfunc = np.vectorize(Transition)
          transitions = vfunc(
              catalog_frequency=pgopher_df["Position"].astype(float),
              catalog_intensity=pgopher_df["Intensity"].astype(float),
              ustate_energy=pgopher_df["Eupper"].apply(units.MHz2cm),
              lstate_energy=pgopher_df["Elower"].apply(units.MHz2cm),
              S=pgopher_df["Spol"],
              uline=False,
              name=name,
              formula=formula,
          )
          linelist_obj = cls(name=name, transitions=list(transitions), source="Catalog")
code_tokens: def from_pgopher ( cls , name : str , filepath : str , formula = "" , ** kwargs ) : pgopher_df = pd . read_csv ( filepath , skiprows = 1 ) pgopher_df = pgopher_df . iloc [ : - 1 ] vfunc = np . vectorize ( Transition ) transitions = vfunc ( catalog_frequency = pgopher_df [ "Position" ] . astype ( float ) , catalog_intensity = pgopher_df [ "Intensity" ] . astype ( float ) , ustate_energy = pgopher_df [ "Eupper" ] . apply ( units . MHz2cm ) , lstate_energy = pgopher_df [ "Elower" ] . apply ( units . MHz2cm ) , S = pgopher_df [ "Spol" ] , uline = False , name = name , formula = formula , ) linelist_obj = cls ( name = name , transitions = list ( transitions ) , source = "Catalog" )
short_docstring: Method to take the output of a PGopher file and create a LineList
  object.
short_docstring_tokens: Method to take the output of a PGopher file and create a LineList object .
comment: """
          Method to take the output of a PGopher file and create a LineList
          object. The PGopher output must be in the comma delimited specification.
          
          This is actually the ideal way to generate LineList objects: it fills
          in all of the relevant fields, such as linestrength and state energies.
          
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              Path to the PGopher CSV output
          formula : str, optional
              Chemical formula of the molecule, defaults to an empty string.
              
          Returns
          -------
          LineList
          """