Skip to content

eulerlab/eyewire2-functional-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Principles of Collaboration

All data and code shared here is subject to the Eyewire II Principles of Collaboration. By the use of this repository, you agree to be bound by these Principles.

License note

The code in this repository is under MIT license. All data in the repository, as stated in the principles of collaboration, is shared under CC-BY-NC-4.0. For the data, the license holders are H. Sebastian Seung, Thomas Euler, Philipp Berens, and Greg Schwartz.

Eyewire II: Functional data

This repository hosts the functional data from OGB-1 recordings in the Eyewire II dataset.

This is work-in-progress and currently holds:

Documentation is still incomplete:

  • a description of the preprocessed data can be found here.
  • a description of the stimuli can be found here.

Feel free to open issues to ask questions and request features!

Setup

To use the code in this repository out of the box, you can use uv to reproduce our python environment. Follow these steps:

  • Install uv
  • Clone this repository and navigate to its root folder
  • Run uv run jupyter lab to start jupyter lab - it should open in your browser, and allows you to run our notebooks.

On the first call, uv run will install all dependencies into a uv virtual environment (placed in the .venv folder), which is then invoked on all further calls of uv run.

Loading the data

All data loading is handled by eyewire2_functional_analysis.data_loader. The easiest way to load all three DataFrames at once is:

from eyewire2_functional_analysis import data_loader

data_folder = "data/preprocessed-data"

df_rois, df_fields, df_outline = data_loader.load_all_dfs(data_folder)

You can also load each DataFrame individually using load_df_rois(), load_df_fields(), or load_df_outline().

To merge the ROI-level data with the morphological master spreadsheet:

morph_folder = "data/morphological-data"
version = "2026-03-17"  # replace with the date of your master list

df_rois_morph = data_loader.load_df_rois_morph(
    morph_folder=morph_folder,
    morph_spreadsheet_filename=f"Eyewire II Proofread Cells Master List - All Cells {version}.csv",
    nuc_col_master="Final NucID",
    seg_col_master="Final SegID",
    data_folder=data_folder,
)

See the tutorial notebooks for full usage examples:

About

Preliminary analysis pipeline of functional data of OGB-1 recordings for Eyewire2 dataset.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors