{"id":21849820,"url":"https://github.com/eulerlab/rgc-natstim-model","last_synced_at":"2025-03-21T17:45:11.968Z","repository":{"id":247952290,"uuid":"795079567","full_name":"eulerlab/rgc-natstim-model","owner":"eulerlab","description":"Companion repository to publication \"A chromatic feature detector in the retina signals visual context changes\"","archived":false,"fork":false,"pushed_at":"2024-10-07T08:02:39.000Z","size":12378,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T12:42:49.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eulerlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-02T14:43:09.000Z","updated_at":"2024-10-07T08:02:43.000Z","dependencies_parsed_at":"2024-07-11T14:13:38.825Z","dependency_job_id":"9332a744-63e9-4355-af77-f96542bbc708","html_url":"https://github.com/eulerlab/rgc-natstim-model","commit_stats":null,"previous_names":["eulerlab/rgc-natstim-model"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulerlab%2Frgc-natstim-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulerlab%2Frgc-natstim-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulerlab%2Frgc-natstim-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulerlab%2Frgc-natstim-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eulerlab","download_url":"https://codeload.github.com/eulerlab/rgc-natstim-model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244842775,"owners_count":20519694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T00:14:44.476Z","updated_at":"2025-03-21T17:45:11.937Z","avatar_url":"https://github.com/eulerlab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rgc-natstim-model\n## Description\nCompanion repository to publication \"[A chromatic feature detector in the retina signals visual context changes](https://elifesciences.org/articles/86860)\".\n\nWe 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.\n\nThis repository contains the code to reproduce the analyses and figures presented in the paper. \n\n## How to use this repository\n1. Clone this repository, navigate to its directory, and install it via  \n`pip install .` Also install packages listed in the `requirements.txt` file.\n2. 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. \n### Reproducing figures \n Run the notebooks. \n### Training models\nRun 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/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulerlab%2Frgc-natstim-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feulerlab%2Frgc-natstim-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulerlab%2Frgc-natstim-model/lists"}