Project

General

Profile

Pyscope test result array » History » Version 2

Anchi Cheng, 02/02/2016 02:40 PM

1 1 Anchi Cheng
You should expect these to run without error.  The last command should give a 2D numpy array like
2
3
<pre>
4
array([[1000, 3400, 2300, ..., 1000,1200,3000],
5
         [1000, 3400, 2300, ..., 1000,1200,3000],
6
         [1000, 3400, 2300, ..., 1000,1200,3000],
7
         ...,
8
         [1000, 3400, 2300, ..., 1000,1200,3000],
9
         [1000, 3400, 2300, ..., 1000,1200,3000],
10
         [1000, 3400, 2300, ..., 1000,1200,3000],dtype=int16)
11
</pre>
12
13
The number and dtype depends on the camera.
14 2 Anchi Cheng
15
*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*