Re: Python from Matlab (was: *cochlea*: inner ear models in Python) (Alain de Cheveigne )


Subject: Re: Python from Matlab (was: *cochlea*: inner ear models in Python)
From:    Alain de Cheveigne  <alain.de.cheveigne@xxxxxxxx>
Date:    Fri, 22 Aug 2014 23:30:58 +0200
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

[To list members not interested in Matlab, etc.: apologies for the annoyance. The discussion is somewhat relevant to audition, in that modeling, experiment control, and data analysis increasingly rely on computers, and the choice of a high-quality computation environment is crucial.] Hi Jan, A client/server solution indeed sounds ideal. I don't know what it involves in terms of programming effort, but I'm sure that effort would be well spent. The ideal solution would be: - simple to use, like calling "result=toPython('pythonFunction',arguments);" - efficient, i.e. minimal overhead for data transfer, - reliable, system-independent, and future-proof, - secure. Several people mentioned calling Python via a shell command, passing values by file, etc. I'm concerned that these solutions might involve greater overhead, more complex syntax, possibly greater system dependencies, and possibly security issues. Alain On 22 Aug 2014, at 13:47, Jan Schnupp <jan.schnupp@xxxxxxxx> wrote: > Or you could > python and matlab work together on some sort of client/server model. > That would be more elegant - the matlab and python parts then wouldn't > even have to be on the same machine, but the programming investment is > very large. I don't know of any developments to make this sort of > stuff easier that are even on the distant horizon. If other list > members know of any I would be interested to hear about them.


This message came from the mail archive
http://www.auditory.org/postings/2014/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University