code: def test_value(self):
      for p in TEST_NDARRAYS:
          key = "img"
          np.random.seed(0)
          # simulate the randomize() of transform
          np.random.random()
          factor = np.random.uniform(low=-1.0, high=1.0)
          expected = self.imt + factor * np.std(self.imt)
          shifter = RandStdShiftIntensityd(
              keys=[key], factors=1.0, prob=1.0
          )
          shifter.set_random_state(seed=0)
          result = shifter({key: p(self.imt)})[key]
          assert_allclose(
              result, expected, rtol=1e-5, type_test="tensor"
          )
  
file_path: MONAI/tests/test_rand_std_shift_intensityd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from monai.transforms import RandStdShiftIntensityd
  from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, assert_allclose
label_desc: Use image node_id 1 for calling the TestRandStdShiftIntensityd obj's underlying member method code with example usage: obj.test_value() without return types