code: def test_template_ellipsoid(self):
      # prepare
      expected = [
          [
              [
                  False,
                  False,
                  False,
                  False,
                  False,
              ],
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
              [
                  False,
                  False,
                  False,
                  False,
                  False,
              ],
          ],
          [
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
              [
                  True,
                  True,
                  True,
                  True,
                  True,
              ],
              [
                  True,
                  True,
                  True,
                  True,
                  True,
              ],
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
          ],
          [
              [
                  False,
                  False,
                  False,
                  False,
                  False,
              ],
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
              [
                  False,
                  True,
                  True,
                  True,
                  False,
              ],
              [
                  False,
                  False,
                  False,
                  False,
                  False,
              ],
          ],
      ]
  
      # run
      result = template_ellipsoid((3, 4, 5))
  
      # test
      self.assertTrue(
          scipy.all(result == expected),
          "Returned template contains not the expected spherical structure.",
      )
      self.assertTrue(
          result.dtype == scipy.bool_,
          "Returned template should be of type scipy.bool_",
      )
  
file_path: medpy/tests/filter_/houghtransform.py
imports: import unittest
  import scipy
  from medpy.filter import ght, template_sphere, template_ellipsoid
label_desc: Use image node_id 9 for calling the TestHoughTransform obj's underlying member method code with example usage: obj.test_template_ellipsoid() without return types