Cyrille Rossant

IPython mini-book: Learning IPython for Interactive Computing and Data Visualization

2013-04-27

I'm glad to present my new book, Learning IPython for Interactive Computing and Data Visualization, Packt Publishing.

This book is a beginner-level introduction to IPython for interactive Python programming, high-performance numerical computing, and data visualization. It assumes nothing more than familiarity with Python. It targets developers, students, teachers, hobbyists who know Python a bit, and who want to learn IPython for the extended console, the Notebook, and for more advanced scientific applications.


The BRAIN initiative

2013-04-06

The Brain Research through Advancing Innovative Neurotechnologies initiative has been officially unveiled on April 2, 2013 by the President Obama. There had been quite excitement and interrogations in the few weeks before as the President had mentioned a large-scale research project about the brain in his State of the Union. Very few details were given before the official announcement, and it was reported that this would be a decade-long, multi-billion dollars project seeking to map the (eventually human) brain's activity by recording every single spike from every single neuron. When presented like that, this project's goals did not seem more realistic than the EU-funded Human Brain Project which aims at simulating the human brain at all spatiotemporal levels within ten years.


Hardware-accelerated interactive data visualization in Python

2013-04-04

There have been several interesting discussions recently about the future of visualization in Python. Jake Vanderplas wrote a detailled post about the current state-of-the-art of visualization software in Python. Michael Droettboom, one of the Matplotlib's core developers, consequently wrote about the future challenges Matplotlib will need to tackle. Matplotlib has been designed more than ten years ago, and now needs to embrace modern trends including web frontends, high-level R-style plotting interfaces, hardware-accelerated visualization, etc.


Playing with Ruzzle in Python

2013-02-12

Ruzzle is becoming a popular game on smartphones and tablets. Inspired by Boggle, it consists in finding as many words as possible in a grid of 4x4 letters. Here I'll show how one can easily generate and resolve grids automatically in Python.


NumPy performance tricks

2013-01-27

I've been using NumPy for nearly five years, but I'm still learning performance tricks. The reason is that I currently need to deal with very large arrays (hundreds of millions of elements) and the performance of my code started to be disappointing. Then, through extensive line-by-line profiling, I discovered some subtleties that explain why some seemingly harmless lines of code can actually lead to major bottlenecks. Very often, a small trick allows to significantly improve the performance. Here is what I've learnt. These tips are intended to regular Numpy users rather than pure beginners.