code: def calcInferredDeltas(self, origCoords, endPts):
      from fontTools.varLib.iup import iup_delta
  
      if self.getCoordWidth() == 1:
          raise TypeError(
              "Only 'gvar' TupleVariation can have inferred deltas"
          )
      if None in self.coordinates:
          if len(self.coordinates) != len(origCoords):
              raise ValueError(
                  "Expected len(origCoords) == %d; found %d"
                  % (len(self.coordinates), len(origCoords))
              )
          self.coordinates = iup_delta(
              self.coordinates, origCoords, endPts
          )
  
imports: from fontTools.misc.fixedTools import fixedToFloat, floatToFixed, floatToFixedToStr, strToFixedToFloat, otRound
  from fontTools.misc.textTools import safeEval
  import array
  from collections import Counter, defaultdict
  import io
  import logging
  import struct
  import sys
label_desc: Use image node_id 24 for calling the TupleVariation obj's underlying member method code with example usage: obj.calcInferredDeltas(origCoords, endPts) without return types