BrainStateDiff: Mouse Widefield Calcium Imaging Responses to 78 Natural Images (DANDI 002040)

Provider
Sheng, Kaiwen
License
CC-BY-4.0 (source)
Stored at
Amazon S3, s3://dandiarchive/dandisets/002040 (us-east-2)
Access
Free and public. No account with the data provider is needed.
Category
Neuroscience
Source
https://dandiarchive.org/dandiset/002040/draft

About this dataset

Preprocessed widefield calcium imaging trial clips from mouse visual cortex, released with the BrainStateDiff modelling code, which uses diffusion models to predict cortical responses to visual stimuli from brain state. Two three-month-old mice (mouse1 male, mouse2 female) viewed 78 natural images. Each clip holds the first 28 frames of a trial, 20 prestimulus and 8 response frames, at 96 x 96 pixels with a 0.024 s frame interval (about 41.67 Hz). The original training, validation and test partitions are kept, with 64, 8 and 8 trials per image per mouse, for 12,480 trials in total. The Dandiset holds 6 NWB files (9.4 GB), one per mouse per split (sub-mouse1/sub-mouse1_desc-train_ophys.nwb and so on); trial movies are stored in a processing table with within-trial relative frame times and the split assignment, without intertrial chronology. A compact benchmark for neural encoding and generative models. Draft Dandiset. Licensed CC BY 4.0; cite Sheng and DANDI 002040.

How to access this dataset in Python

import boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client('s3', region_name='us-east-2', config=Config(signature_version=UNSIGNED))
s3.list_objects_v2(Bucket='dandiarchive', Prefix='dandisets/002040/', Delimiter='/')

Lists the files with anonymous access. Runs on any machine, with no cloud account.

Data structure

Files

Example file: dandisets/002040/draft/assets.jsonld

Path pattern: {prefix}/{YYYYMM}/{seg2}/{filename}

Analyze this dataset without downloading it

On Scigantic, BrainStateDiff: Mouse Widefield Calcium Imaging Responses to 78 Natural Images (DANDI 002040) opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Neuroscience datasets