Differences between revisions 5 and 6
Revision 5 as of 2007-02-27 22:12:58
Size: 762
Editor: SteveLudtke
Comment:
Revision 6 as of 2007-03-01 00:44:04
Size: 127
Editor: SteveLudtke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * Here is a [wiki:EMAN1To2Translation Table of translations from EMAN1 functions -> EMAN2]
Line 4: Line 3:

Programming Internals:

EMAN2 uses [http://www.boost.org/libs/python/doc/ Boost.python] to wrap c++ functions to Python.

 [http://www.boost.org/libs/python/pyste/ Pyste] is a Boost.Python code generator to automate this process.

In EMAN2 there is a script create_boost_python in /eman2/libpyEM directory calls Pyste to create c++ wrapping files libpy***.cpp.

Then the c++ compiler will create libraries which contain all the Python function call of EMAN2. Current release of Pyste has a dificit for the default argument handling. So please replace two of your Pyste files in Python site-packages with attached files.
 * Here is a [:EMAN1To2Translation:Table of translations from EMAN1 functions -> EMAN2]

Aside from the autogenerated docs:

  • Here is a [:EMAN1To2Translation:Table of translations from EMAN1 functions -> EMAN2]

EMAN2/Library (last edited 2023-01-02 19:26:26 by TunayDurmaz)