Source code for "The competing benefits of noise and heterogeneity in neural coding" by Eric Hunsberger, Matthew Scott, and Chris Eliasmith