EMAN2 scripting for EMAN1 users

The EMAN2 python library has many similarities to EMAN1. The main image data class is even called EMData, just like EMAN1. The most significant change is the change in naming convention from CamelCase to underscore_notation. That is, in EMAN1, you might say image.doFFT(), is image.do_fft() in EMAN2. The addition of a modular system with full introspection for various classes of algorithms is also a big change. For example, rather than having a dedicated low-pass filter method, in EMAN2, you would:

For the most part, the Python methods/functions directly follow the C++ counterparts, so the autogenerated C++ documentation serves as a good reference for python programmers as well.

For those learning, we are gradually adding both written tutorials as well as a set of video mini-tutorials which cover programming as well as basic use of EMAN2.

EMAN2/Eman1Transition/Python (last edited 2011-07-11 20:19:36 by SteveLudtke)