iFit: Python interface

Requirements:
Python/NumPy

Install Python(x,y)
for Windows, Anaconda
or Entought
Canopy for Windows and MacOSX. Linux flavors provide numpy
as e.g. RPM and Debian packages.The IPython
package is also recommended. Both Python 2 and 3 are supported.

The minimal required packages are:

python

numpy

scipy

but it is recommended to use the ipython notebook:

ipython-notebook

which can all be installed on Ubuntu/Debian systems with:

sudo apt-get install python-scipy ipython-notebook

Usage

To use the IPython notebook, launch:

pyfit

command from a terminal. A browser will appear with an iPython
notebook session ready to be used. Remember to execute command
'cells' possibly in order, by pressing Shift-Return
on each. As the string specifier with Matlab is the single quote, we
recommend to use the double quote string within Python (as in the
example below).

Alternatively, navigate to the iFit/Applications/Python directory
and launch manually IPython or Python:

% ipython notebook PyMatlab.ipynb

or

% python

Then issue the command:

>>> from matlab import Matlab>>> m = Matlab()

or, when using the standalone version:

>>> m Matlab('ifit')

From there on, any iFit and Matlab expression can be executed
from Python.