How to reshape matrix ↔ vectors when calling Python from Matlab.
How to used f2py for Python importing and high-performance running of unmodified Fortran code.
How to install and use Radio Mobile Deluxe on Linux using WINE.
Examples of instant conversion from BGR to RGB etc. in Numpy
Comparing to None instead of NaN is over 50 times faster in Python.
How to play, record, process live audio from Python using Numpy in cross-platform fashion.
For clarity, consider using @ for matrix multiply instead of .dot() in Python/Numpy.
How to reshape N-D arrays since Matlab calling Python can only send a 1xN vector.
Fix MKL AVX errors upon import numpy by force reinstalling Numpy.
It is slightly faster to just write Boolean Numpy arrays to h5py despite writing as enum, vs. converting bool array to uint8 via numpy.packbits. Here’s a ben...
Numpy 1.12 adds pathlib support throughout, and upgrades rot90 and flip to handle N-D arrays–big improvement.
VisPy uses PyOpenGL for beautiful, fast 3-D and 2-D plotting from Python and Numpy arrays. Here’s an easy way to setup VisPy–you don’t need a discrete GPU.
Glumpy uses PyOpenGL for beautiful, fast 3-D and 2-D plotting from Python and Numpy arrays. Here’s an easy way to setup Glumpy–you don’t need a discrete GPU.
Python is a high performance language for data analytics tasks common to science and engineering. Simple guide to transition from IDL to Python with examples.
In Matlab, tilde ~ means logical not. In Python, tilde ~ means unary complement, and booleans are actually a byte, so result may be unexpected.
f2py makes running Fortran from Python easy.
Speed of Matlab, Python using Numpy, Numba, and PyCUDA, Julia, and IDL are informally compared.
AIRtools is a popular Matlab data inversion toolbox that I converted to Python.