code: def test_gaussian(self):
      np.testing.assert_allclose(
          gaussian_1d(0.5, 8),
          torch.tensor(
              [
                  0.0000e00,
                  2.9802e-07,
                  1.3496e-03,
                  1.5731e-01,
                  6.8269e-01,
                  1.5731e-01,
                  1.3496e-03,
                  2.9802e-07,
                  0.0000e00,
              ]
          ),
          rtol=1e-4,
      )
  
      np.testing.assert_allclose(
          gaussian_1d(1, 1),
          torch.tensor([0.24173, 0.382925, 0.24173]),
          rtol=1e-4,
      )
      np.testing.assert_allclose(
          gaussian_1d(1, 1, normalize=True),
          torch.tensor([0.2790, 0.4420, 0.2790]),
          rtol=1e-4,
      )
  
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 1 for calling the TestGaussian1d obj's underlying member method code with example usage: obj.test_gaussian() without return types