https://github.com/eulerlab/rgc-natstim-model
Companion repository to publication "A chromatic feature detector in the retina signals visual context changes"
https://github.com/eulerlab/rgc-natstim-model
Last synced: over 1 year ago
JSON representation
Companion repository to publication "A chromatic feature detector in the retina signals visual context changes"
- Host: GitHub
- URL: https://github.com/eulerlab/rgc-natstim-model
- Owner: eulerlab
- Created: 2024-05-02T14:43:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T08:02:39.000Z (over 1 year ago)
- Last Synced: 2025-01-26T12:42:49.172Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 11.8 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rgc-natstim-model
## Description
Companion repository to publication "[A chromatic feature detector in the retina signals visual context changes](https://elifesciences.org/articles/86860)".
We trained CNN models (*digital twins*) of mouse retinal processing of naturalistic stimuli. We then used the models to analyse neuronal stimulus selectivities *in-silico* and found a selectivity for chromatic contrast in a type of contrast-suppressed retinal ganglion cell (RGC). Based on this feature, we proposed a role in detecting visual context changes for this RGC type.
This repository contains the code to reproduce the analyses and figures presented in the paper.
## How to use this repository
1. Clone this repository, navigate to its directory, and install it via
`pip install .` Also install packages listed in the `requirements.txt` file.
2. Download the data and model files from [G-Node ](https://gin.g-node.org/eulerlab/rgc-natstim). Update the `base_directory` in `rgc_natstim_model/constants/paths.py` to point to the respective directory on your machine.
### Reproducing figures
Run the notebooks.
### Training models
Run the `model_training` notebook. In order to generate MEIs, run the `mei_generation` notebook. Model and MEI optimization functionality is implemented in [open-retina](https://pypi.org/project/openretina/).