achim1 / muonic

A python gui for QNet DAQ card experiments
http://achim1.github.io/muonic/
1 stars 9 forks source link

'warning: 2D hist input should be....' when starting muoinc #40

Closed aschulzdesy closed 9 years ago

aschulzdesy commented 9 years ago

INFO:9236:DaqConnection:get_port:50:Daq found at /dev/ttyUSB0 INFO:9236:DaqConnection:get_port:51:trying to connect... INFO:9236:DaqConnection:get_port:62:Successfully connected to serial port INFO:9236:MainWindow:init:173:Timewindow is 5.00 /usr/lib/pymodules/python2.7/matplotlib/axes.py:8261: UserWarning: 2D hist input should be nsamples x nvariables; this looks transposed (shape is 0 x 1) 'this looks transposed (shape is %d x %d)' % x.shape[::-1]) INFO:9236:PulseAnalyzer:init:313:Initializing decay trigger, setting triggerwindow to 10000 INFO:9236:PulseAnalyzer:init:275:Velocity trigger initialized

achim1 commented 9 years ago

We have this since very long - I don't know what it means and it never seemed to be related to any other tning

achim1 commented 9 years ago

Matplotlib does not like initializing a hist with an empty array - related to #47