In this folder you'll find the files to run simple simulations of V1 neurons.

To use them you need a working copy of python, with numpy and matplotlib installed. Obviously, if you haven't used python before it would be worth running through the tutorial for that first.

contents:

neurons.py
the file defining the model neuron itself

exampleUsage.py
An example of how to create a model neuron from neurons.py and explore its properties using tuningFunctions.py

tools.py
handy functions, not directly related to neurons, to help create stimuli/filters and to

tuningFunctions.py
A helpful set of functions to simulate presenting a variety of stimuli to the cell. E.g. contains getOriTuning which will present a variety of oriented stimuli to the model neuron each at a variety of phases and will return the F0 and F1 of the response at that orientation.