Project

General

Profile

pyScope compatibility question

Added by Anonymous over 17 years ago

Is the new version of pyScope (1.0.<img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /> that comes with Leginon 1.4.1 compatible with Leginon 1.3/ pyScope 1.0.6 - either with pyScope 1.0.8 running on the client and Leginon 1.3/ pyScope 1.0.6 on the main Leginon system or with pyScope 1.0.6 running on the client and Leginon 1.4.1/ pyScope 1.0.8 on the main Leginon system? I'm setting up a new PC with Leginon 1.4.1; but I want to know if I have to upgrade the old Leginon laptop from Leginon 1.3 in order to use the same microscope PC with some Leginon client on it (and if the Leginon client has to be upgraded or kept at the old version for compatibility with both of the PCs that will run the main Leginon/ Leginon server),

William


Replies (1)

- Added by Jim Pulokas over 17 years ago

The main difference between pyScope 1.0.6 and 1.0.8 is the use of numpy rather than numarray for the ccd images. This is also one of the main differences between Leginon 1.3 and 1.4. I would recommend using pyScope 1.0.6 with Leginon 1.3, and use pyScope 1.0.8 with Leginon 1.4, just to make sure that pyScope is producing the type of array that Leginon expects (whether it be numpy or numarray).

You should also make sure to use the same version of Leginon on both the client and main Leginon computer for the same reason. Otherwise, the client may send the wrong type of array to the main process.

At your own risk, you could skip upgrading pyScope, and just hack the old version to convert the numarray array to a numpy array so that Leginon is happy.

The Leginon 1.4.1 download includes a directory "win_install" with the windows installers for pyScope 1.0.8 and NumExtension 1.1.0, which will only work with Python 2.5.

On linux systems, the version of pyScope may not matter so much because Leginon will import pyScope, but probably never use it unless you use the simulated TEM and CCD. If you want to skip upgrading pyScope on a linux system, it may still work ok.

    (1-1/1)