code: def test_square_rescale(self):
      # Test barycentric interpolation on a rectangle with rescaling
      # agaings the same implementation without rescaling
  
      points = np.array(
          [(0, 0), (0, 100), (10, 100), (10, 0)], dtype=np.double
      )
      values = np.array([1.0, 2.0, -3.0, 5.0], dtype=np.double)
  
      xx, yy = np.broadcast_arrays(
          np.linspace(0, 10, 14)[:, None],
          np.linspace(0, 100, 14)[None, :],
      )
      xx = xx.ravel()
      yy = yy.ravel()
      xi = np.array([xx, yy]).T.copy()
      zi = interpnd.LinearNDInterpolator(points, values)(xi)
      zi_rescaled = interpnd.LinearNDInterpolator(
          points, values, rescale=True
      )(xi)
  
      assert_almost_equal(zi, zi_rescaled)
  
imports: from __future__ import division, print_function, absolute_import
  import os
  import numpy
  from numpy.testing import assert_equal, assert_allclose, assert_almost_equal
  from pytest import raises
  import pytest
  from scipy._lib._numpy_compat import suppress_warnings
  import scipy.interpolate.interpnd
  import scipy.spatial.qhull
  import pickle
label_desc: Use image node_id 7 for calling the TestLinearNDInterpolation obj's underlying member method code with example usage: obj.test_square_rescale() without return types