Skip to main content

Flyvis Logo

PyPI version Python Tests codecov License

A connectome-constrained deep mechanistic network (DMN) model of the fruit fly visual system in PyTorch.

  • Explore connectome-constrained models of the fruit fly visual system.
  • Generate and test hypotheses about neural computations.
  • Try pretrained models on your data.
  • Develop custom models using our framework.

Flyvis is our official implementation of Lappalainen et al., "Connectome-constrained networks predict neural activity across the fly visual system." Nature (2024).

Documentation

For detailed documentation, installation instructions, tutorials, and API reference, visit our documentation website.

Tutorials

Explore our tutorials to get started with flyvis. You can read the prerun tutorials in the docs or try them yourself for a quick start in Google Colab:

  1. Explore the Connectome

  2. Train the Network on the Optic Flow Task

  3. Flash Responses

  4. Moving Edge Responses

  5. Ensemble Clustering

  6. Maximally Excitatory Stimuli

  7. Custom Stimuli

Main Results

Find the notebooks for the main results in the documentation.

Citation

@article{lappalainen2024connectome,
	title = {Connectome-constrained networks predict neural activity across the fly visual system},
	issn = {1476-4687},
	url = {https://doi.org/10.1038/s41586-024-07939-3},
	doi = {10.1038/s41586-024-07939-3},
	journal = {Nature},
	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.},
	month = sep,
	year = {2024},
}

Links

Correspondence

For questions or inquiries, please contact us.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flyvis-1.2.0.tar.gz (30.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flyvis-1.2.0-py3-none-any.whl (385.6 kB view details)

Uploaded Python 3

File details

Details for the file flyvis-1.2.0.tar.gz.

File metadata

  • Download URL: flyvis-1.2.0.tar.gz
  • Upload date:
  • Size: 30.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for flyvis-1.2.0.tar.gz
Algorithm Hash digest
SHA256 2f0776dd7208fdf857d7665be7ea4ade7f1b5dbac6dbf8002108ef0f5a24771d
MD5 1a4b1a97a4323d714859ad36c31815bf
BLAKE2b-256 357d677b014a967f844881a7497d6a371b8e924c98e47583bcc6d0fd58452185

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyvis-1.2.0.tar.gz:

Publisher: release.yml on TuragaLab/flyvis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flyvis-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: flyvis-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 385.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for flyvis-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af365b16e870111fcb06782a063f6551b05cce9a105c6eaab9c0bda3b017031f
MD5 628f7d7ccdbd4285ddb178fd8db1103c
BLAKE2b-256 844bff611ea0a98ee30395b3a716810bf623984b12442d717366170fff6839b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyvis-1.2.0-py3-none-any.whl:

Publisher: release.yml on TuragaLab/flyvis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page