Project

General

Profile

Ceta support

Added by Michael Cianfrocco almost 9 years ago

Hello,

We have a Talos-Artica that has just been installed with a Ceta and will shortly have a K2 also installed.

How do you recommend that we interface with the Ceta (http://www.fei.com/accessories/ceta-16m/) in order to use it with Leginon? While not essential, we were wondering if it would be possible.

Thank you for your advice!
mike


Replies (3)

RE: Ceta support - Added by Anchi Cheng almost 9 years ago

Mike,

Ceta is interfaced through TIA, never directly. I updated Specific installation/setup notes for various camera to include Ceta.

Installation is similar to FEI Eagle, just replace the class name from TIA_Eagle to TIA_Ceta.

The complication you will have is Talos itself. My current instruction has not been tested from the start. It may need modification.

RE: Ceta support - Added by Michael Cianfrocco almost 9 years ago

Hi Anchi,

Thanks for helping last week to install leginon on the Talos windows PC!

We have set up a linux machine that communicates with the Ceta and windows PC with leginon at this point.

Right now, if you take images through the navigation node or in manual mode, we can get images from the Ceta to display within leginon on the linux machine.

But, when we try to use the nodes to collect data (e.g. simulate target), we get the following error:

$ start-leginon.py
Leginon version: 3.2
Exception in thread data binder handler thread:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/databinder.py", line 131, in handleData
method(args)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/watcher.py", line 35, in handleEvent
self.processEvent(pubevent)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/watcher.py", line 43, in processEvent
self.processData(newdata)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/imagewatcher.py", line 44, in processData
self.processImageData(idata)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/targetfinder.py", line 310, in processImageData
self.setTargetImageVector(imagedata)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/targetfinder.py", line 390, in setTargetImageVector
cam_length_on_image,beam_diameter_on_image = self.getAcquisitionTargetDimensions(imagedata)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/targetfinder.py", line 420, in getAcquisitionTargetDimensions
image_pixelsize = self.calclients['image shift'].getImagePixelSize(imagedata)
File "/data/software/repo/myami/3.2/lib/python2.7/site-packages/leginon/calibrationclient.py", line 100, in getImagePixelSize
pixelsize = {'x':campixelsize*binning['x'],'y':campixelsize*binning['y']}
TypeError: unsupported operand type(s) for *: 'NoneType' and 'long'

It seems that this has something to do with the Ceta camera information? Does this error make sense to you? How can we fix this problem?

Thanks!
Mike

RE: Ceta support - Added by Anchi Cheng almost 9 years ago

Have you input image pixel size for each mag in Calibration Application "Pixel Size" node (i.e. calibrate), yet?

Navigation and Manual nodes are basic nodes that does not need calibrations to run. Where you've got problem is Target Finder. With the feature that shows the acquisition area on the parent image, it needs to know the pixel sizes in meters per pixel on the image, and it could not find it. I will catch the exception as a fix but you still need to calibrate pixel size and extrapolate to all mags, or you will have further problems in calibrations.

    (1-3/3)