gatan erlangshen ccd problem
Added by Anonymous about 17 years ago
Erlangshen Camera has an odd size: 1350x1040
Upon loading the Gatan CCD interface (e.g. upon startup or upon refreshing the device in the Instrument panel) we get the error quoted below. We did try communication with the gatan device using python command line, and all the individual functions we tried returned sensible numbers, including getCameraSize and getDimension (returning values of 1350x1040). We tried redefining the CCD area within DigitalMicrograph to be 1024x1024, but this had no effect. Within Leginon, CCD functions are completely disabled.
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Instrument.py", line 1348, in onSetCCDCamera
self.setCameraSize()
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Instrument.py", line 1336, in setCameraSize
self.settingsdialog.widgets['camera settings'].setSize(camerasize)
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Camera.py", line 122, in setSize
self.choices, self.common = self.getCenteredGeometries()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Instrument.py", line 1348, in onSetCCDCamera
self.setCameraSize()
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Instrument.py", line 1336, in setCameraSize
self.settingsdialog.widgets['camera settings'].setSize(camerasize)
File "C:\Python25\Lib\site-packages\Leginon\gui\wx\Camera.py", line 122, in setSize
self.choices, self.common = self.getCenteredGeometries()
ValueError: need more than 0 values to unpack
Replies (3)
rectangular CCD - Added by Anchi Cheng about 17 years ago
How do you normally use this camera? Bin it differently in x and y? Or do you take the center square and use equal bin in x,y and only use the full camera for final imaging? It can help us figuring out what to put under CenteredGeometries.
Anchi
- Added by Anonymous about 17 years ago
We are normally using unbinned images. The camera is pretty fast, so even unbinned we can use it for live viewing.
Bill
- Added by Anchi Cheng about 17 years ago
We commited a fix of Camera.py (under Leginon/gui/wx) on svn. You can pick it up now. The rectangular camera configuration should work o.k. but you should keep an eye on its behavior in selecting and navigating targets in case there are things we did not anticipate.
Anchi