Nonlinear Hebbian Learning as a Unifying Principle in Receptive Field Formation. Plos CB, 2016, Brito & Gerstner. Code to recreate figure 2 of the paper.