Project

General

Profile

Actions

Gatan on Windows-32 » History » Revision 7

« Previous | Revision 7/14 (diff) | Next »
Anchi Cheng, 07/09/2015 01:22 PM


Gatan on Windows-32

  • This is only known to work for Gatan camera associate with FEI microscopes. For JEOL microscope, dmsem is used.

Extra Package and Installation

program/package notes
TecnaiCCD.dll

Program package web site local copy of win32 installer
comtypes 0.6.2 http://sourceforge.net/projects/comtypes" comtypes-0.6.2.win32.exe

Register TecnaiCCD.dll (It may have been registered already)

  • From the command prompt, run the following commands. You may need to enter the full path of the dll:
    REGSVR32 TecnaiCCD.dll

Run updatecom.py

  • From a command line window:
    cd C:\python27\Lib\site-packages\pyscope
    C:\python27\python.exe updatecom.py
  • The output sould contain this output
    initializing Gatan CCD Camera done.
    

instruments.cfg

[camera]
class: gatan.Gatan
zplane: 50
height: 4096
width: 4096

If you have more than one camera controlled through DM, you need to find its id and use class gatan.Gatan0 and gatan.Gatan1 etc in the configuration to distinguish them and assign different zplanes so the higher ones can retract when the lower one is asked to acquire image. see #2201 for history of this issue

Setup

Testing with pyscope

In python command

from pyscope import gatan
g = gatan.Gatan()
g.setExposureTime(200)
g.getImage()

You should get a bunch of numbers in a numpy array.

Programs to open before Leginon Client: Digital Micrograph

Updated by Anchi Cheng almost 9 years ago · 7 revisions