Code from the publication:
Neher, T., Azizi, A. H., & Cheng, S. (2017). From grid cells to place cells with realistic field sizes. PLoS One, 12(7), e0181618.
Python prerequisites (can be installed with $ pip install <package>):
numpy
matplotlib
scipy
pickle-mixin
sklearn