Project

General

Profile

Pyscope test result array » History » Revision 2

Revision 1 (Anchi Cheng, 02/02/2016 02:28 PM) → Revision 2/3 (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 

 <pre> 
 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) 
 </pre> 

 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*