Git Product home page Git Product logo

flyvis's Introduction

Flyvis πŸͺ°

A connectome constrained deep mechanistic network (DMN) model of the fruit fly visual system in Pytorch as discovery tool for generating and testing hypotheses about neural computations with connectomes.

It's our official implementation of πŸ“„Connectome-constrained deep mechanistic networks predict neural responses across the fly visual system at single-neuron resolution.

Besides pretrained models and analyses, the library includes abstractions and extension points for building DMNs and dynamic stimulus datasets in Pytorch.

Get started πŸš€

To illustrate how we generate hypotheses about neural computations with DMNs we include two examples. The examples explore the connectome and how to provide custom stimuli to the models and explore their responses. Try our models inside our Google Colab notebooks:

All in between, touching results already described in the paper, will come soon.

Watch for more to come πŸ”œ

  • Optic flow task
  • Flash responses
  • Moving edge responses
  • Naturalistic stimuli responses
  • Maximally excitatory stimuli
  • Predictions for unknown cell types

Install locally πŸ‘©β€πŸ’»πŸ§‘β€πŸ’»

For installing the package locally, follow the steps below (assuming conda is installed):

  1. create a new conda environment conda create --name flyvision -y
  2. activate the new conda environment conda activate flyvision
  3. install python conda install "python>=3.7.11,<3.10.0"
  4. clone the repository git clone https://github.com/TuragaLab/flyvis.git
  5. navigate to the repo cd flyvis and install in developer mode pip install -e .
  6. (run pytest to check if the installation works)

Catch up on the background 🐦

How useful is a connectome? We show that you can predict quite a bit about the neural activity of a circuit from just measurements of its connectivity.

We built a convolutional recurrent network of the fly visual system--on a hexagonal grid, matching the columnar structure of the optic lobe. Weights (connections + filter weights) come from the connectome: A deep neural network which precisely maps onto a real brain circuit!

Our connectome-constrained β€œdeep mechanistic network” (DMN) has 64 identified cell-types, 44K neurons + over 1 Mio. connections. We trained its free parameters (single-cell + synapse dynamics) on optic flow computation from naturalistic movie inputs.

Get in touch πŸ“§

Janne (@lappalainenj, [email protected]), Mason (@MasonMcGill)

Cite us

@article{lappalainen2023connectome,
  title={Connectome-constrained deep mechanistic networks predict neural
  responses across the fly visual system at single-neuron resolution},
  author={Lappalainen, Janne K and Tschopp, Fabian D and Prakhya, Sridhama and
  McGill, Mason and Nern, Aljoscha and Shinomiya, Kazunori and Takemura, Shin-ya
   and Gruntman, Eyal and Macke, Jakob H and Turaga, Srinivas C},
  journal={bioRxiv},
  year={2023}
}

flyvis's People

Contributors

srinituraga avatar lappalainenj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.