# Allensdk package (gain full access to data and results)

**URL:** <https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404>\
**Category:** Technical\
**Tags:** github, experiment-design, brain-observatory-visual-coding, allensdk\
**Created:** [January 8, 2020, 10:11pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404 "2020-01-08T22:11:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ela](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@ela](https://community.brain-map.org/u/ela)\
**Post date:** [January 8, 2020, 10:11pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/1 "2020-01-08T22:11:46Z")

</div>

Hello,  
I’m trying to gain access to the allensdk package to get the natural scenes full experimental results and data. I’ve not been successful to access any of the information so far. I downloaded the Anaconda documentation program to be able to download the anaconda python and gain access to the data; however, after downloading and installing the anaconda program, I still wasn’t able to access anything. I’m sending you a message to ask how I would be able to access the allensdk package and the experiment’s full data/results. I would appreciate it if I could get a detailed response back ASAP. Thank you!

P.S. I’ve already downloaded all the needed files from the Github page but still unable to run any of the codes or gain access to data.

---

<div class="post-metadata">

**Author:** ![wayne](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/wayne/32/16_2.png) [@wayne](https://community.brain-map.org/u/wayne)\
**Post date:** [January 10, 2020, 4:37pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/2 "2020-01-10T16:37:35Z")

</div>

Hello ela

AllenSDK is released as a package that can be installed and run in a working Python environment. The Anaconda distribution is a great way to get started. In your Anaconda Python3 environment, you should be able to run ‘pip install allensdk’ to add the allensdk package to your environment.

What you do next depends on what you want. A great place to start is to get a Jupyter notebook running and then to work through one of the example notebooks in the ‘Getting Started’ section on this page: [https://allensdk.readthedocs.io/en/latest/brain\_observatory.html](https://allensdk.readthedocs.io/en/latest/brain_observatory.html) .

Also note that a lot of the (mostly) raw data is being hosted on AWS. See this page for more information if that is what you are interested in. [https://github.com/AllenInstitute/AllenSDK/wiki/Use-the-Allen-Brain-Observatory-–-Visual-Coding-on-AWS](https://github.com/AllenInstitute/AllenSDK/wiki/Use-the-Allen-Brain-Observatory-%E2%80%93-Visual-Coding-on-AWS)

Best regards,  
Wayne

---

<div class="post-metadata">

**Author:** ![ela](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@ela](https://community.brain-map.org/u/ela)\
**Post date:** [February 4, 2020, 8:04pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/3 "2020-02-04T20:04:13Z")

</div>

Hello,  
I have tried the steps above, but I’m still unable to download the data I’m looking for. I was wondering if there is a file to upload with specific results (for the natural scenes’ experiment) that explicitly states the results for each cell/region etc… ? I would greatly appreciate it if anyone can help me with this matter asap. Thank you.

---

<div class="post-metadata">

**Author:** ![wayne](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/wayne/32/16_2.png) [@wayne](https://community.brain-map.org/u/wayne)\
**Post date:** [February 5, 2020, 1:05am UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/4 "2020-02-05T01:05:06Z")

</div>

Hello ela

I’m afraid that you are not giving me enough information to help you get what you want.

- Can you please provide more detail about what you are trying to access?
- 
  - (for example, do you want neuronal responses from ‘natural scenes’ stimuli from calcium imaging experiments, or from Neuropixels experiments)

- What are the exact steps that you have tried?
- What happened when you tried them?
- 
  - For example, have you installed allensdk? What happens when you run ‘import allensdk’ in Python?

Best regards,  
Wayne

---

<div class="post-metadata">

**Author:** ![ela](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@ela](https://community.brain-map.org/u/ela)\
**Post date:** [February 13, 2020, 7:49pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/5 "2020-02-13T19:49:16Z")

</div>

Hello,  
I am trying to access the neural responses from ‘natural scenes’ stimuli from both the calcium imaging experiments and the Neuropixels experiments.  
I’ve installed the allensdk and imported allensdk in a Python environment. Following the instructions I was given above, I then got a jupyter notebook running and worked through the example notebooks in the “getting started” section. However, I am still unable to get explicit and detailed data of the neural responses from ‘natural scenes’ stimuli of both experiments. So I’m wondering if there is any way that I can get these data explicitly stating the results from the experiments ?

---

<div class="post-metadata">

**Author:** ![saskiad](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/saskiad/32/1695_2.png) [@saskiad](https://community.brain-map.org/u/saskiad)\
**Post date:** [February 13, 2020, 9:37pm UTC](https://community.brain-map.org/t/allensdk-package-gain-full-access-to-data-and-results/404/7 "2020-02-13T21:37:53Z")

</div>

I’m also unclear on exactly what you are looking for when you say “explicitly stating the results from the experiments”.

What you can access includes: the activity traces and stimulus information.  
[https://allensdk.readthedocs.io/en/latest/\_static/examples/nb/brain\_observatory.html#Fluorescence-Traces](https://allensdk.readthedocs.io/en/latest/_static/examples/nb/brain_observatory.html#Fluorescence-Traces)  
[https://allensdk.readthedocs.io/en/latest/\_static/examples/nb/brain\_observatory\_stimuli.html](https://allensdk.readthedocs.io/en/latest/_static/examples/nb/brain_observatory_stimuli.html)

But also there are analyses that provide the mean activity per trial and per stimulus condition for each cell. See this example: [https://allensdk.readthedocs.io/en/latest/\_static/examples/nb/brain\_observatory\_analysis.html](https://allensdk.readthedocs.io/en/latest/_static/examples/nb/brain_observatory_analysis.html)  
The Drifting grating example on this page is the most fleshed out - but a similar structure exists for Natural Scenes.

Is this what you are looking for?
