code: def npy_cdouble_from_double_complex(var):
      """Cast a Cython double complex to a NumPy cdouble."""
      res = f"_complexstuff.npy_cdouble_from_double_complex({var})"
      return res
  
imports: import itertools
  import json
  import os
  from stat import ST_MTIME
  import argparse
  import re
  import textwrap
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: npy_cdouble_from_double_complex(var) and returns: res