code: def setup_module():
      global f, f1, f2, f3, fornix
  
      fname = get_fnames("fornix")
      fornix = load_tractogram(
          fname, "same", bbox_valid_check=False
      ).streamlines
  
      f = Streamlines(fornix)
      f1 = f.copy()
  
      f2 = f1[:20].copy()
      f2._data += np.array([50, 0, 0])
  
      f3 = f1[200:].copy()
      f3._data += np.array([100, 0, 0])
  
      f.extend(f2)
      f.extend(f3)
  
file_path: dipy/dipy/segment/tests/test_bundles.py
imports: import sys
  import pytest
  import warnings
  import numpy
  from numpy.testing import assert_equal, assert_almost_equal
  from dipy.data import get_fnames
  from dipy.io.streamline import load_tractogram
  from dipy.segment.bundles import RecoBundles
  from dipy.tracking.distances import bundles_distances_mam
  from dipy.tracking.streamline import Streamlines
  from dipy.segment.clustering import qbx_and_merge
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 1 for calling a global function with example usage: setup_module() without return types