Python interface
The python interface to IRA library is located in the file /IRA/interface/ira_mod.py
.
It specifies wrappers to the fortran functions in IRA/src
.
For complete details refer to Fortran source.
- class ira_mod.algo(shlib='')[source]
This is the python interface to the IRA and SOFI shared library file libira.so. In order to use it, the path to this file should be added to the environment variable PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:/your/path/to/IRA/interface
Then IRA and SOFI can be imported and used in python as:
>>> import ira_mod >>> ira = ira_mod.IRA() >>> sofi = ira_mod.SOFI( )