AllenInstitute / AllenSDK

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

encoding in mouse visual cortex #2520

Closed alih100011 closed 2 years ago

alih100011 commented 2 years ago

I want to Encode the visual cortex of mouse but I don't know it is better to use bc or boc?(by use stimuli as input & df/f as output)

my_cache_dir = A_PATH_TO_SOME_LOCAL_FOLDER bc = bpc.VisualBehaviorOphysProjectCache.from_s3_cache(cache_dir=my_cache_dir)

or

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

aamster commented 2 years ago

BrainObservatoryCache is for visual coding ophys, VisualBehaviorOphysProjectCache is for visual behavior ophys