Traceback (most recent call last):
File "/home/vicky/soapy/untitled3.py", line 24, in <module>
dmFrame = dmClass.dmFrame(dm_cmds)
File "/home/vicky/soapy/soapy/DM.py", line 164, in dmFrame
self.dm_shape = self.makeDMFrame(dmCommands)
File "/home/vicky/soapy/soapy/DM.py", line 200, in makeDMFrame
dm_shape = (self.iMatShapes.T*actCoeffs.T).T.sum(0)
ValueError: operands could not be broadcast together with shapes (9,) (81,6)
Firstly, I would like to thank you for your great work!!
I have some trouble in generating multiple frames of DM shape images, here is my code:
And the warning massage is:
And the configuration about DM is:
May I ask how can I generate DM shape images?
And what the exact meaning of the
nxActuators
?Look forward to your kind replay! Thank you very much!