code: def _guess_other_chan_axis(tmpname, seedID):
      """Try to guess the name of another axis of a multiaxis sensor."""
      # see if its using the old RAD/TAN convention first, otherwise use XYZ
      if tmpname[seedID][-3:] == "RAD":
          prefix1 = "RAD"
          prefix2 = "TAN"
          flipflag = 1.0
      elif tmpname[seedID][-3:] == "TAN":
          prefix1 = "TAN"
          prefix2 = "RAD"
          flipflag = -1.0
      elif tmpname[seedID][-1:] == "Z" or tmpname[seedID][-3:] == "[Z]":
          prefix1 = "Z"
          prefix2 = "Y"
          flipflag = -1.0
      elif tmpname[seedID][-1:] == "Y" or tmpname[seedID][-3:] == "[Y]":
          prefix1 = "Y"
          prefix2 = "Z"
          flipflag = 1.0
      elif tmpname[seedID][-1:] == "X" or tmpname[seedID][-3:] == "[X]":
          prefix1 = "X"
          prefix2 = "Y"
          flipflag = 1.0
      else:
          prefix1 = "?"
          prefix2 = "?"
          flipflag = 1.0
  
      target_name = tmpname[seedID][: -len(prefix1)] + prefix2
  
      target_id = np.where([t == target_name for t in tmpname])[0]
      target_id = target_id[0] if len(target_id) else np.nan
  
      return target_id, flipflag
  
imports: from copy import deepcopy
  import numpy
  from ...utils import logger
label_desc: Use image node_id 2 for calling a global function with example usage: _guess_other_chan_axis(tmpname, seedID) and returns: target_id,  flipflag