code: def get_poles(order):
      if order == 2:
          # sqrt(8.0) - 3.0
          return (-0.171572875253809902396622551580603843,)
      elif order == 3:
          # sqrt(3.0) - 2.0
          return (-0.267949192431122706472553658494127633,)
      elif order == 4:
          # sqrt(664.0 - sqrt(438976.0)) + sqrt(304.0) - 19.0
          # sqrt(664.0 + sqrt(438976.0)) - sqrt(304.0) - 19.0
          return (
              -0.361341225900220177092212841325675255,
              -0.013725429297339121360331226939128204,
          )
      elif order == 5:
          # sqrt(67.5 - sqrt(4436.25)) + sqrt(26.25) - 6.5
          # sqrt(67.5 + sqrt(4436.25)) - sqrt(26.25) - 6.5
          return (
              -0.430575347099973791851434783493520110,
              -0.043096288203264653822712376822550182,
          )
      else:
          raise ValueError("only order 2-5 supported")
  
file_path: cupy/cupyx/scipy/ndimage/_spline_prefilter_core.py
imports: import functools
  import math
  import operator
  import textwrap
  import cupy
label_desc: Use image node_id 1 for calling a global function with example usage: get_poles(order) and returns: unknown, unknown, unknown,  unknown, unknown,  unknown