code: def ornt_mapping(ornt1, ornt2):
      """Calculate the mapping needing to get from orn1 to orn2."""
      return gradients.ornt_mapping(ornt1=ornt1, ornt2=ornt2)
  
file_path: dipy/dipy/io/bvectxt.py
imports: from os.path import splitext
  import numpy
  from dipy.core import gradients
  from dipy.utils.deprecator import deprecate_with_version
label_desc: Use image node_id 2 for calling a global function with example usage: ornt_mapping(ornt1, ornt2) and returns: gradients