Errors with inputs for computePhaseMap in python

Keep hitting TypeError when trying to computePhaseMap:

TypeError: descriptor ‘computePhaseMap’ for ‘cv2.structured_light_SinusoidalPattern’ objects doesn’t apply to a ‘numpy.ndarray’ object

From the C++ help this is a ‘vector’ with filled in components using ‘.push_back’, for this i’ve used both a ‘list’ and an ‘array’.

Generally, I’m just trying to convert the C++ help code (OpenCV: Capture Sinusoidal pattern tutorial) into in Python!