original_docstring: 
          Generate a LineList object from a .lin file. This method should be used for intermediate assignments, when one
          does not know what the identity of a molecule is but has measured some frequency data.
  
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              File path to the .lin file.
          formula : str, optional
              Chemical formula of the molecule if known.
          kwargs
              Additional kwargs are passed into the Transition objects.
  
          Returns
          -------
          LineList
          
docstring: Generate a LineList object from a .lin file. This method should be used for intermediate assignments, when one
  does not know what the identity of a molecule is but has measured some frequency data.
  
  Parameters
  
  name : str
  Name of the molecule
  filepath : str
  File path to the .lin file.
  formula : str, optional
  Chemical formula of the molecule if known.
  kwargs
  Additional kwargs are passed into the Transition objects.
  
  Returns
  
  
docstring_tokens: Generate a LineList object from a . lin file . This method should be used for intermediate assignments when one does not know what the identity of a molecule is but has measured some frequency data . Parameters name : str Name of the molecule filepath : str File path to the . lin file . formula : str optional Chemical formula of the molecule if known . kwargs Additional kwargs are passed into the Transition objects . Returns
code: def from_lin(cls, name: str, filepath: str, formula="", **kwargs):
          """
          Generate a LineList object from a .lin file. This method should be used for intermediate assignments, when one
          does not know what the identity of a molecule is but has measured some frequency data.
  
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              File path to the .lin file.
          formula : str, optional
              Chemical formula of the molecule if known.
          kwargs
              Additional kwargs are passed into the Transition objects.
  
          Returns
          -------
          LineList
          """
          lin_df = parsers.parse_lin(filepath)
          vfunc = np.vectorize(Transition)
          transitions = vfunc(
              name=name,
              formula=formula,
              catalog_frequency=lin_df["Frequency"],
              uncertainty=lin_df["Uncertainty"],
              r_qnos=lin_df["Quantum numbers"],
              uline=False,
              source="Line file",
              **kwargs,
          )
          linelist_obj = cls(
              name,
              formula,
              filepath=filepath,
              transitions=list(transitions),
              source="Line file",
          )
          return linelist_obj
code_tokens: def from_lin ( cls , name : str , filepath : str , formula = "" , ** kwargs ) : lin_df = parsers . parse_lin ( filepath ) vfunc = np . vectorize ( Transition ) transitions = vfunc ( name = name , formula = formula , catalog_frequency = lin_df [ "Frequency" ] , uncertainty = lin_df [ "Uncertainty" ] , r_qnos = lin_df [ "Quantum numbers" ] , uline = False , source = "Line file" , ** kwargs , ) linelist_obj = cls ( name , formula , filepath = filepath , transitions = list ( transitions ) , source = "Line file" , ) return linelist_obj
short_docstring: Generate a LineList object from a .lin file.
short_docstring_tokens: Generate a LineList object from a . lin file .
comment: """
          Generate a LineList object from a .lin file. This method should be used for intermediate assignments, when one
          does not know what the identity of a molecule is but has measured some frequency data.
  
          Parameters
          ----------
          name : str
              Name of the molecule
          filepath : str
              File path to the .lin file.
          formula : str, optional
              Chemical formula of the molecule if known.
          kwargs
              Additional kwargs are passed into the Transition objects.
  
          Returns
          -------
          LineList
          """