AllenSDK
AllenSDK copied to clipboard
datasets diffrences
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)
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