code: def _single_zpksos(z, p, k):
      """Create one second-order section from up to two zeros and poles"""
      sos = cupy.zeros(6)
      b, a = zpk2tf(cupy.asarray(z), cupy.asarray(p), k)
      sos[3 - len(b) : 3] = b
      sos[6 - len(a) : 6] = a
      return sos
  
imports: import warnings
  import math
  from math import pi, prod
  import cupy
  from cupyx.scipy.special import binom
  import cupyx.scipy.special
  from cupyx.scipy.signal import _optimize
  from cupyx.scipy.signal._polyutils import roots, poly
  from cupyx.scipy.signal._lti_conversion import abcd_normalize
label_desc: Use image node_id 5 for calling a global function with example usage: _single_zpksos(z, p, k) and returns: sos