code: def _update(self):
          
  
          if self.strains.size and self.strains.size == self.values.size:
              x = np.log(self.strains)
              y = self.values
  
              if x.size < 4:
                  self._interpolater = interp1d(
                      x,
                      y,
                      'linear',
                      bounds_error=False,
                      fill_value=(y[0], y[-1]))
              else:
                  self._interpolater = interp1d(
                      x,
                      y,
                      'cubic',
                      bounds_error=False,
                      fill_value=(y[0], y[-1]))
docs: Initialize the 1D interpolation.