open-retina
Collaborative retina modelling across datasets and species.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 11 DOI reference(s) in README -
✓Academic publication links
Links to: biorxiv.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Keywords
Repository
Collaborative retina modelling across datasets and species.
Basic Info
- Host: GitHub
- Owner: open-retina
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://open-retina.org
- Size: 85.1 MB
Statistics
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 22
- Releases: 2
Topics
Metadata Files
README.md
OpenRetina 
Open-source repository containing neural network models of the retina. The models in this repository are inspired by and partially contain adapted code of sinzlab/neuralpredictors. Accompanying preprint: openretina: Collaborative Retina Modelling Across Datasets and Species.
Installation
For development and to have access to Jupyter notebooks:
git clone git@github.com:open-retina/open-retina.git
cd open-retina
pip install -e .
For normal usage:
pip install openretina
Test openretina by downloading a model and running a forward pass: ```python import torch from openretina.models import *
model = loadcorereadoutfromremote("hoefling2024baselowres", "cpu") responses = model.forward(torch.rand(model.stimulusshape(timesteps=50))) ```
Contributing
Before raising a PR please run: ```
Fix formatting of python files
make fix-formatting
Run type checks and unit tests
make test-all ```
Design decisions and structure
With this repository we provide already pre-trained retina models that can be used for inference and intepretability out of the box, and dataloaders together with model architectures to train new models. For training new models, we rely on pytorch lightning in combination with hydra to manage the configurations for training and dataloading.
The openretina package is structured as follows: - modules: pytorch modules that define layers and losses - models: pytorch lightning models that define models that can be trained and evaluated (i.e. models from specific papers) - dataio: dataloaders to manage access of data to be used for training - insilico: Methods perform _insilico experiments with above models - stimulus_optimization: optimize inputs for neurons of above models according to interpretable objectives (e.g. most exciting inputs) - future options: gradient analysis, data analysis - utils: Utility functions that are used across above submodules
Related papers and data sources
The Core + Readout model was developed in the paper A chromatic feature detector in the retina signals visual context changes. All datasets used in openretina are shared under a CC-BY Share-Alike license, and we acknowledge and credit the original sources below: - hoefling2024: Originally published by Höfling et al. (2024), eLife - Paper: A chromatic feature detector in the retina signals visual context changes. - Dataset originally deposited at: https://gin.g-node.org/eulerlab/rgc-natstim - karamanlis2024: Originally published by Karamanlis et al. (2024), Nature. - Paper: Nonlinear receptive fields evoke redundant retinal coding of natural scenes - Dataset: Karamanlis D, Gollisch T (2023) Dataset - Marmoset and mouse retinal ganglion cell responses to natural stimuli and supporting data. G-Node. https://doi.org/10.12751/g-node.ejk8kx - maheswaranathan_2023: Originally published by Maheswaranathan et al. (2023), Neuron - Paper: Interpreting the retinal neural code for natural scenes: From computations to neurons - Dataset: Maheswaranathan, N., McIntosh, L., Tanaka, H., Grant, S., Kastner, D., Melander, J., Nayebi, A., Brezovec, L., Wang, J. Ganguli, S. Baccus, S. (2023). Interpreting the retinal neural code for natural scenes: from computations to neurons. Stanford Digital Repository. Available at https://purl.stanford.edu/rk663dm5577
The paper Most discriminative stimuli for functional cell type clustering explains the discriminatory stimulus objective we showcase in notebooks/mostdiscriminativestimulus.
Owner
- Name: open-retina
- Login: open-retina
- Kind: organization
- Location: Germany
- Repositories: 1
- Profile: https://github.com/open-retina
Open-source retina models for continuous collaborative progress.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "D'Agostino"
given-names: "Federico"
orcid: "https://orcid.org/0000-0003-2719-4370"
- family-names: "Zenkel"
given-names: "Thomas"
orcid: "https://orcid.org/0009-0002-2060-156X"
- family-names: "Höfling"
given-names: "Larissa"
orcid: "https://orcid.org/0000-0003-2459-0706"
title: "openretina"
version: 1.0.0
date-released: 2025-03-07
url: "https://open-retina.org"
repository-code: "https://github.com/open-retina/open-retina"
GitHub Events
Total
- Create event: 62
- Release event: 2
- Issues event: 20
- Watch event: 12
- Delete event: 47
- Member event: 4
- Issue comment event: 52
- Push event: 336
- Pull request event: 115
- Pull request review event: 251
- Pull request review comment event: 280
- Fork event: 1
Last Year
- Create event: 62
- Release event: 2
- Issues event: 20
- Watch event: 12
- Delete event: 47
- Member event: 4
- Issue comment event: 52
- Push event: 336
- Pull request event: 115
- Pull request review event: 251
- Pull request review comment event: 280
- Fork event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 10
- Total pull requests: 48
- Average time to close issues: 5 months
- Average time to close pull requests: 25 days
- Total issue authors: 2
- Total pull request authors: 5
- Average comments per issue: 0.5
- Average comments per pull request: 0.63
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 45
- Average time to close issues: about 2 months
- Average time to close pull requests: 5 days
- Issue authors: 2
- Pull request authors: 5
- Average comments per issue: 0.43
- Average comments per pull request: 0.58
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- fededagos (8)
- thomasZen (5)
- lhoefling (1)
Pull Request Authors
- thomasZen (55)
- fededagos (26)
- lhoefling (4)
- SamuelSuhai (2)
- BaptisteLorenzi (1)