Oh, I see you've tried to make them as `np.array`s...  what did it happen? why doesn't `create_cdict` work?  (maybe has to do with the dtype?  The above looks quite convoluted for me :-/