code: def test_scalespace_gaussian(self):
      np.testing.assert_allclose(
          gaussian_1d(0.5, 8, "scalespace"),
          torch.tensor(
              [
                  7.9472e-06,
                  2.5451e-04,
                  6.1161e-03,
                  9.8113e-02,
                  7.9102e-01,
                  9.8113e-02,
                  6.1161e-03,
                  2.5451e-04,
                  7.9472e-06,
              ]
          ),
          rtol=1e-4,
      )
  
      np.testing.assert_allclose(
          gaussian_1d(1, 1, "scalespace"),
          torch.tensor([0.20791, 0.46576, 0.20791]),
          rtol=1e-3,
      )
  
      np.testing.assert_allclose(
          gaussian_1d(1, 1, "scalespace", normalize=True),
          torch.tensor([0.2358, 0.5283, 0.2358]),
          rtol=1e-3,
      )
  
      np.testing.assert_allclose(
          gaussian_1d(5, 1, "scalespace"),
          torch.tensor(
              [
                  0.048225,
                  0.057891,
                  0.06675,
                  0.073911,
                  0.078576,
                  0.080197,
                  0.078576,
                  0.073911,
                  0.06675,
                  0.057891,
                  0.048225,
              ]
          ),
          rtol=1e-3,
      )
  
file_path: MONAI/tests/test_gaussian.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.networks.layers.convutils import gaussian_1d
label_desc: Use image node_id 2 for calling the TestGaussian1d obj's underlying member method code with example usage: obj.test_scalespace_gaussian() without return types