[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave as a module for Python
From: |
David Grundberg |
Subject: |
Octave as a module for Python |
Date: |
Tue, 05 May 2009 21:32:50 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090318) |
Announcing Pytave
An Octave module for Python
===========================
Pytave enables Python scripts to use existing m-files (Octave/Matlab
scripts) for numerical calculations. Pytave embeds the Octave
language interpreter as a module to Python.
This new revision allows dictionaries and lists to be passed to
Octave.
Example use
===========
Calling Octave code in the interactive Python interpreter:
>>> import pytave
>>> pytave.feval(1, "cos", 0)
(1.0,)
Goals
=====
Pytave strives to uphold these points
* Good out of the box experience
* Good-natured implicit type conversions, no strange PyApple ->
octave_orange -> PyBanana chains
Features
========
A short list of what Pytave is capable of
* Implicit type conversions between Python and Octave. Supports all
Numeric integer, real double (and possibly real float) matrices
* Architecture independent - no assumption on endian type or integer
sizes
* Supports cell <-> list and struct <-> dict conversions. (NEW)
Project homepage
================
https://launchpad.net/pytave
Using/hacking
=============
You need the Bazaar version control software (bzr). Branch from trunk
with:
$ bzr branch lp:pytave
You will now have a directory called `pytave' with source code for
the module. Read the INSTALL file for building instructions.
- Octave as a module for Python,
David Grundberg <=