code: def test_recurrence_array_bandwidth():
      srand()
      data = np.random.randn(3, 100)
      bw = np.random.random((100, 100)) + 0.1
      rec = librosa.segment.recurrence_matrix(
          data, bandwidth=bw, mode="affinity"
      )
  
imports: from typing import Union
  import warnings
  import os
  import numpy
  import scipy
  from scipy.spatial.distance import cdist, pdist, squareform
  import pytest
  from test_core import srand
  import librosa
label_desc: Use image node_id 23 for calling a global function with example usage: test_recurrence_array_bandwidth() without return types