code: def test_reconst_csa():
      with warnings.catch_warnings():
          warnings.filterwarnings(
              "ignore",
              message=descoteaux07_legacy_msg,
              category=PendingDeprecationWarning,
          )
          reconst_flow_core(ReconstCSAFlow)
  
file_path: dipy/dipy/workflows/tests/test_reconst_csa_csd.py
imports: import logging
  from os.path import join
  from tempfile import TemporaryDirectory
  import warnings
  import numpy
  import numpy.testing
  from dipy.io.peaks import load_peaks
  from dipy.io.gradients import read_bvals_bvecs
  from dipy.io.image import load_nifti, save_nifti, load_nifti_data
  from dipy.core.gradients import generate_bvecs
  from dipy.data import get_fnames
  from dipy.workflows.reconst import ReconstCSDFlow, ReconstCSAFlow
  from dipy.reconst.shm import descoteaux07_legacy_msg, sph_harm_ind_list
label_desc: Use image node_id 1 for calling a global function with example usage: test_reconst_csa() without return types