Category: Python
-
Compressing wideband signals with FLAC
We’ve been recording neurons on Utah arrays for ~3 years now. That creates a lot of data, and we keep buying more drives (above – there’s about 30TB of storage on the hub computer). Drives themselves are cheap; it’s backing up the data which becomes expensive in the long run, both in terms of bandwidth…
-
Theano: numerical computation in Python
Theano is a very interesting numeric library for Python that I covered briefly a few years ago. Coming from the machine learning group at Université de Montréal – i.e. Yoshua Bengio et al. – it is well adapted to the kinds of numerical tasks that frequently occur in machine learning problems, in particular deep neural…
-
Load pickle files in Matlab
Updated March 2020 It’s easy enough to load .mat files in Python via the scipy.io.loadmat function. But what about loading .pickle files into Matlab? You need to do a little more work! It’s a bit roundabout, but if python is installed and on your path, you can call it from Matlab to save the data…
-
SciTrends – now with abstracts, search, RSS
[This post is an archive – SciTrends didn’t get a lot of traffic, so I let the domain expire] I’ve added major new features to SciTrends, which should make it a more useful article discovery tool. It now indexes the abstracts of trending papers; you can use the full text search to narrow down the…
-
Python refuses to use multiple cores – solution
I was trying to get parallel Python to work and I noticed that if I run two Python scripts simultaneously – say, in two different terminals – they use the same core. Hence, I get no speedup from multiprocessing/parallel Python. After some searching around, I found out that in some circumstances importing numpy causes Python…
-
Canopy scientific Python editor for Windows
March 2020 update: The Canopy scientific Python editor is at end-of-life. If you’re searching for a good Python IDE, see here. I’m leaving this post here for archival reasons since there’s very little other info on this product available online. In my last post on IDEs for scientific Python, I couldn’t install, and therefore couldn’t…