original_docstring: 
          Method of generating a LineList object by calculating all possible
          combinations of the
          
          Parameters
          ----------
          max_multi : int, optional
              [description], by default 64
          
          clock : float, optional
              Clock frequency to calculate sub-harmonics of,
              in units of MHz. Defaults to 65,000 MHz, which corresponds
              to the Keysight AWG
          
          Returns
          -------
          LineList object
              LineList object with the full list of possible clock
              spurs, as harmonics, sum, and difference frequencies.
          
docstring: Method of generating a LineList object by calculating all possible
  combinations of the
  
  Parameters
  
  max_multi : int, optional
  [description], by default 64
  
  clock : float, optional
  Clock frequency to calculate sub-harmonics of,
  in units of MHz. Defaults to 65,000 MHz, which corresponds
  to the Keysight AWG
  
  Returns
  
  LineList object
  LineList object with the full list of possible clock
  spurs, as harmonics, sum, and difference frequencies.
docstring_tokens: Method of generating a LineList object by calculating all possible combinations of the Parameters max_multi : int optional [ description ] by default 64 clock : float optional Clock frequency to calculate sub - harmonics of in units of MHz . Defaults to 65 000 MHz which corresponds to the Keysight AWG Returns LineList object LineList object with the full list of possible clock spurs as harmonics sum and difference frequencies .
code: def from_clock(cls, max_multi=64, clock=65000.0, **kwargs):
          """
          Method of generating a LineList object by calculating all possible
          combinations of the
          
          Parameters
          ----------
          max_multi : int, optional
              [description], by default 64
          
          clock : float, optional
              Clock frequency to calculate sub-harmonics of,
              in units of MHz. Defaults to 65,000 MHz, which corresponds
              to the Keysight AWG
          
          Returns
          -------
          LineList object
              LineList object with the full list of possible clock
              spurs, as harmonics, sum, and difference frequencies.
          """
          frequencies = [clock / i for i in range(1, max_multi + 1)]
          for pair in combinations(frequencies, 2):
              # Round to 4 decimal places
              frequencies.append(np.round(sum(pair), 4))
              frequencies.append(np.round(pair[0] - pair[1], 4))
          # Remove duplicates
          frequencies = list(set(frequencies))
          frequencies = sorted(frequencies)
          # Generate Transition objects from this list of frequencies
          vfunc = np.vectorize(Transition)
          transitions = vfunc(
              name="Artifact",
              catalog_frequency=np.asarray(frequencies),
              uline=False,
              source="Artifact",
              public=False,
          )
          linelist_obj = cls(
              name="ClockSpurs", transitions=list(transitions), source="Artifacts"
          )
          return linelist_obj
code_tokens: def from_clock ( cls , max_multi = 64 , clock = 65000.0 , ** kwargs ) : frequencies = [ clock / i for i in range ( 1 , max_multi + 1 ) ] for pair in combinations ( frequencies , 2 ) : frequencies . append ( np . round ( sum ( pair ) , 4 ) ) frequencies . append ( np . round ( pair [ 0 ] - pair [ 1 ] , 4 ) ) frequencies = list ( set ( frequencies ) ) frequencies = sorted ( frequencies ) vfunc = np . vectorize ( Transition ) transitions = vfunc ( name = "Artifact" , catalog_frequency = np . asarray ( frequencies ) , uline = False , source = "Artifact" , public = False , ) linelist_obj = cls ( name = "ClockSpurs" , transitions = list ( transitions ) , source = "Artifacts" ) return linelist_obj
short_docstring: Method of generating a LineList object by calculating all possible
  combinations of the
short_docstring_tokens: Method of generating a LineList object by calculating all possible combinations of the
comment: """
          Method of generating a LineList object by calculating all possible
          combinations of the
          
          Parameters
          ----------
          max_multi : int, optional
              [description], by default 64
          
          clock : float, optional
              Clock frequency to calculate sub-harmonics of,
              in units of MHz. Defaults to 65,000 MHz, which corresponds
              to the Keysight AWG
          
          Returns
          -------
          LineList object
              LineList object with the full list of possible clock
              spurs, as harmonics, sum, and difference frequencies.
          """$SEP$# Round to 4 decimal places$SEP$# Remove duplicates$SEP$# Generate Transition objects from this list of frequencies