[SciPy-User] loading mat file in scipy
Matthew Brett
matthew.brett@gmail....
Thu Nov 5 02:04:07 CST 2009
Hi,
> I am sure the cause of slow loading of your file and that of mine are the
> same. It took ~56sec on my computer to load your data into the python.
If you are still interested in this problem, please consider taking a
look at a branch I'm working on:
git clone git://github.com/matthew-brett/scipy-work.git scipy-mb
cd scipy-mb
git checkout mio-optimization
# make (largish) cython .c file
cython scipy/io/matlab/mio5_utils.pyx
python setup.py install
It's about three times faster for loading Robin's file, at least (10s
on my laptop).
Best,
Matthew
More information about the SciPy-User
mailing list