Skip to content

levtank/eyeball_circuit_demo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

eyeball_circuit_demo

Python and Arduino code for an interactive visualisation of sensory coding within the visual system. See here for more details about the concept.

eyeball

Real-time light-level information is converted to voltage via photocell resistors (the "retina"), which is then converted to neural population responses (visualised neural firing in the "visual cortex"). The neural population responses are spatially organised to mirror that of the photocell arrangement (roughly "retinotopically").

Photocell resistor information (voltage) is read into the computer via an Arduino Mega (which performs the analog-to-digital conversion) and is retrieved from the USB port in Python via pySerial. Light-level information is then converted to visualised neural responses in Python according to some basic, illustrative rules (used parameters are NOT meant to be biophysically plausable). Visualisation in Python uses pygame.

(Note that this is the first time that I use pygame and Arduino, so code is probably sub-optimal.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published