code: def read_mrtrix_tracks(in_file, as_generator=True):
      header = read_mrtrix_header(in_file)
      streamlines = read_mrtrix_streamlines(
          in_file, header, as_generator
      )
      return header, streamlines
  
imports: import os.path
  import nibabel
  import numpy
  from nibabel.volumeutils import native_code
  from nibabel.orientations import aff2axcodes
  from ...None import logging
  from ...utils.filemanip import split_filename
  from ..base import TraitedSpec, File, isdefined
  from ..dipy.base import DipyBaseInterface, HAVE_DIPY
label_desc: Use image node_id 4 for calling a global function with example usage: read_mrtrix_tracks(in_file, as_generator) and returns: header,  streamlines