code: def test_scaling():
      """Test the scaling function"""
      shape = (400, 10)
      u = np.random.randn(*shape)
      mean = 100 * np.random.rand(shape[1])
      Y = u + mean
      Y, mean_ = data_scaling(Y)
      assert_almost_equal(Y.mean(0), 0)
      assert_almost_equal(mean_, mean, 0)
      assert Y.std() > 1
  
imports: import numpy
  import pytest
  from nibabel import Nifti1Image, load, save
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from nipy.io.nibcompat import get_affine
  from nipy.testing import funcfile
  from nipy.testing.decorators import if_example_data
  from ..glm import FMRILinearModel, GeneralLinearModel, data_scaling
label_desc: Use image node_id 26 for calling a global function with example usage: test_scaling() without return types