code: def test_aamp_mmotifs_more_motif_pairs_cutoffs_3(T):
      motif_distances_ref = np.array(
          [[0.0, 1.41421356], [0.0, 2.06639783]]
      )
      motif_indices_ref = np.array([[2, 9], [0, 5]])
      motif_subspaces_ref = [np.array([3]), np.array([2])]
      motif_mdls_ref = [
          np.array([244.0, 260.67970001, 279.86313714, 281.35940001]),
          np.array(
              [254.33985, 260.67970001, 279.86313714, 291.20703549]
          ),
      ]
  
      m = 4
      excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
      P, I = naive.maamp(T, m, excl_zone)
      (
          motif_distances_cmp,
          motif_indices_cmp,
          motif_subspaces_cmp,
          motif_mdls_cmp,
      ) = aamp_mmotifs(
          T,
          P,
          I,
          max_distance=np.inf,
          cutoffs=3,
          max_matches=2,
          max_motifs=10,
      )
  
      npt.assert_array_almost_equal(
          motif_distances_ref, motif_distances_cmp
      )
      npt.assert_array_almost_equal(
          motif_indices_ref, motif_indices_cmp
      )
      npt.assert_array_almost_equal(
          motif_subspaces_ref, motif_subspaces_cmp
      )
      npt.assert_array_almost_equal(motif_mdls_ref, motif_mdls_cmp)
  
file_path: stumpy/tests/test_aamp_mmotifs.py
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import aamp_mmotifs, config
label_desc: Use image node_id 5 for calling a global function with example usage: test_aamp_mmotifs_more_motif_pairs_cutoffs_3(T) without return types