AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
343 stars 149 forks source link

datasets diffrences #2677

Open alih100011 opened 1 year ago

alih100011 commented 1 year ago

what is the differences between "BrainObservatoryCache" dataset and "VisualBehaviorOphysProjectCache" dataset ?

I want to work with visual stimuli and brain cells responses. Which dataset is best to work with? What is the difference between these two data sets?

Thank you!

from allensdk.core.brain_observatory_cache import BrainObservatoryCache boc = BrainObservatoryCache(manifest_file='boc/manifest.json')

and

import allensdk.brain_observatory.behavior.behavior_project_cache as bpc my_cache_dir = r'\Data\visual_behavior_ophys_cache_dir' bc = bpc.VisualBehaviorOphysProjectCache.from_s3_cache(cache_dir=my_cache_dir)

saskiad commented 1 year ago

The "BrainObservatoryCache" points you to the "Visual Coding" dataset which contains responses to a diverse set of visual stimuli across different parts of the visual cortex and 14 different transgenically-defined cell types. The "VisualBehaviorOphysProjectCache" points you to the "Visual Behavior" dataset which contains responses during a visual change detection behavior across several visual cortical areas and a handful of cell types. These are both described more here: https://portal.brain-map.org/explore/circuits/visual-coding-2p https://portal.brain-map.org/explore/circuits/visual-behavior-2p