Project

General

Profile

Actions

Pyscope test result array » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Anchi Cheng, 02/02/2016 02:40 PM


You should expect these to run without error. The last command should give a 2D numpy array like

array([[1000, 3400, 2300, ..., 1000,1200,3000],
         [1000, 3400, 2300, ..., 1000,1200,3000],
         [1000, 3400, 2300, ..., 1000,1200,3000],
         ...,
         [1000, 3400, 2300, ..., 1000,1200,3000],
         [1000, 3400, 2300, ..., 1000,1200,3000],
         [1000, 3400, 2300, ..., 1000,1200,3000],dtype=int16)

The number and dtype depends on the camera.

If you use python shell to do this test, some of the error will cause the shell window to close immediately. Use Python IDLE instead in that case

Updated by Anchi Cheng almost 9 years ago · 2 revisions