Align presets gives no images
Added by Bob Grassucci almost 13 years ago
When I try align presets on our Polara with a TVIPS 415 camera I get no image and get the following error:
Traceback (most recent call last):
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/PresetsManager.py", line 1213, in onSetImage
self.imleft.setImage(evt.image)
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanel.py", line 297, in setImage
self.setNumericImage(imagedata)
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanel.py", line 373, in setNumericImage
self.contrasttool.setRange((stats['min'], stats['max']), value)
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanelTools.py", line 245, in setRange
self.setSliders(value)
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanelTools.py", line 196, in setSliders
self._setSliders(value)
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanelTools.py", line 179, in _setSliders
self.minslider.SetValue(self.getSliderValue(value0))
File "/usr/local/lib64/python2.6/site-packages/leginon/gui/wx/ImagePanelTools.py", line 223, in getSliderValue
return int(round((self.slidermax - self.slidermin)*scale + self.slidermin))
ValueError: cannot convert float NaN to integer
What is happening?
Bob
Replies (1)
RE: Align presets gives no images - Added by Anchi Cheng almost 13 years ago
Bob,
Is this a camera that does not have either 512 bin by 8 configuration? If so, you can try to change preset manager settings
to take these images at 1024 not 512 and see if that works.
Otherwise, one of the preset involved maybe using a wrong camera that is not attached to Polara. We sometimes have
people continuing a session between two microscope and that causes all kinds of problems. This might be one of them.