code: def shelld(ndim, array):
      array = stypes.toDoubleVector(array)
      ndim = ctypes.c_int(ndim)
      libspice.shelld_c(ndim, ctypes.cast(array, ctypes.POINTER(ctypes.c_double)))
      return stypes.cVectorToPython(array)