code: def harmonize(self, harmonics_dict):
      
      data = sum(cycle(self.table[::partial+1]) * amplitude
                 for partial, amplitude in iteritems(harmonics_dict))
      return TableLookup(data.take(len(self)), cycles=self.cycles)
docs: Returns a "harmonized" table lookup instance by using a "harmonics"
      dictionary with {partial: amplitude} terms, where all "partial" keys have
      to be integers.