Project

General

Profile

Adding post-GIF camera on a scope with Leginon installed for pre-GIF usage

Added by Anchi Cheng about 9 years ago

Question from Axel Briot

I was wondering if you would mind letting me know how to set up the post-gif K2 for use on our polara. I haven't been able to find the information on how to add a camera for use on a microscope.

Replies (1)

RE: Adding post-GIF camera on a scope with Leginon installed for pre-GIF usage - Added by Anchi Cheng about 9 years ago

Adding a camera to a scope means to follow Installation on the instrument computers for the specific type of camera you have post-GIF if it is controlled by a different computer from the existing camera since "Leginon Client" will need to run from it. This means install the packages, configure instruments.cfg, and connect it to the network with the rest of the Leginon components.

One possible complication is that you may need to put microscope in a different mode than usual to use it post-GIF, the so-call EFTEM mode. EFTEM has a completely different set of magnification from TEM. Therefore, from Leginon's point of view it is a different microscope on the same computer, just like we call K2 Counting and Super-resolution different camera.

We don't have pyscope/tecnai.py set up for this situation specifically. Therefore you need to do a bit of coding there. The task is simple: Create a new sub-class with a different name so that Leginon will recognize it as a different one. For this you should edit pyscope/tecnai.py on the microscope computer.

In your case, Polara, as far as I know, behaves the same as other Tecnai generation of scope. Therefore, you should create a subclass of Tecnai by append these lines at the end of the file

class EFPolara(Tecnai):
  name = 'EFPolara'
  use_normalization = False

In the instruments.cfg used by your installation on the same computer, you should then add this new class so that Leginon can recognize it. This wiki should be useful to you.

According the above example code, you should add a module use this new class like this:

[post-gif tem]
class: EFPolara
cs: 2.7e-3

Of course, I made up the Cs value. You should use what comes with your scope.

    (1-1/1)