# \#allensdk

**URL:** https://community.brain-map.org/tag/allensdk/42.md

[Latest](https://community.brain-map.org/latest.md) · [Categories](https://community.brain-map.org/categories.md) · [Tags](https://community.brain-map.org/tags.md)

---

## [Visual Degrees to Pixels Mapping Convention](https://community.brain-map.org/t/visual-degrees-to-pixels-mapping-convention/4964)

<div class="topic-metadata">

**Author:** [@basementcrusader](https://community.brain-map.org/u/basementcrusader)\
**Replies:** 1\
**Last updated:** [June 15, 2026, 6:52pm UTC](https://community.brain-map.org/t/visual-degrees-to-pixels-mapping-convention/4964 "2026-06-15T18:52:58Z")

</div>

Hi, I am using some gaze mapping data from a visual coding experiment to understand the center of gaze during a stimulus presentation. I have included an example of my code below calculating the gazePosition on the moni…

---

## [Different id names in the Allen Brain Observatory](https://community.brain-map.org/t/different-id-names-in-the-allen-brain-observatory/4851)

<div class="topic-metadata">

**Author:** [@Jballbe](https://community.brain-map.org/u/Jballbe)\
**Replies:** 7\
**Last updated:** [May 13, 2026, 9:13am UTC](https://community.brain-map.org/t/different-id-names-in-the-allen-brain-observatory/4851 "2026-05-13T09:13:05Z")

</div>

Hi! I am new in using the Allen Brain Observatory, and I am trying to understand how the data are organized and how I can access them with the AllenSDK. I followed some of the instructions from this tutorial , and I g…

---

## [Neuropixels Visual Coding Dataset Stimulus Dataframe Units](https://community.brain-map.org/t/neuropixels-visual-coding-dataset-stimulus-dataframe-units/4894)

<div class="topic-metadata">

**Author:** [@basementcrusader](https://community.brain-map.org/u/basementcrusader)\
**Replies:** 2\
**Last updated:** [May 6, 2026, 9:55pm UTC](https://community.brain-map.org/t/neuropixels-visual-coding-dataset-stimulus-dataframe-units/4894 "2026-05-06T21:55:20Z")

</div>

Hi, I’ve been doing some work that uses the stimulus table dataframe for reconstructing the exact stimulus presented. I’m a bit uncertain as to what units are being used in this dataframe, particularly for the temporal\_…

---

## [Programmatic download of human ISH - issues with allensdk](https://community.brain-map.org/t/programmatic-download-of-human-ish-issues-with-allensdk/4846)

<div class="topic-metadata">

**Author:** [@MPanday](https://community.brain-map.org/u/MPanday)\
**Replies:** 2\
**Last updated:** [March 25, 2026, 3:36pm UTC](https://community.brain-map.org/t/programmatic-download-of-human-ish-issues-with-allensdk/4846 "2026-03-25T15:36:54Z")

</div>

Hello @SvenOtto @racheld @tylermo I am planning a study that uses a large amount of ISH data from the human database and was wondering how I could retrieve that data programmatically (autism study). I know there’s a pyt…

---

## [Discrepancies between connectivity data retrieved via API (allenSDK) and the web portal](https://community.brain-map.org/t/discrepancies-between-connectivity-data-retrieved-via-api-allensdk-and-the-web-portal/3766)

<div class="topic-metadata">

**Author:** [@DavideR](https://community.brain-map.org/u/DavideR)\
**Replies:** 1\
**Last updated:** [March 25, 2026, 3:10pm UTC](https://community.brain-map.org/t/discrepancies-between-connectivity-data-retrieved-via-api-allensdk-and-the-web-portal/3766 "2026-03-25T15:10:49Z")

</div>

Hi, I’d like to retrieve, via API, the connectivity data for a given target structure, but I had some issues and I don’t know if I’m doing the correct process. The example in the Jupyter notebook “Introduction to the Mo…

---

## [Allenbrain-mcp — MCP server wrapper for Allen Brain Atlas API (RMA + downloads)](https://community.brain-map.org/t/allenbrain-mcp-mcp-server-wrapper-for-allen-brain-atlas-api-rma-downloads/4858)

<div class="topic-metadata">

**Author:** [@maflot](https://community.brain-map.org/u/maflot)\
**Replies:** 0\
**Last updated:** [February 25, 2026, 3:53pm UTC](https://community.brain-map.org/t/allenbrain-mcp-mcp-server-wrapper-for-allen-brain-atlas-api-rma-downloads/4858 "2026-02-25T15:53:58Z")

</div>

Request for feedback: allenbrain-mcp (MCP wrapper for the Allen Brain Atlas API) + worked C4b example Hello everyone, I have been developing a small Model Context Protocol (MCP) server that exposes a curated subset of t…

---

## [Neuropixels Visual Coding Drifting Grating Phase Information](https://community.brain-map.org/t/neuropixels-visual-coding-drifting-grating-phase-information/4826)

<div class="topic-metadata">

**Author:** [@basementcrusader](https://community.brain-map.org/u/basementcrusader)\
**Replies:** 5\
**Last updated:** [January 28, 2026, 1:02am UTC](https://community.brain-map.org/t/neuropixels-visual-coding-drifting-grating-phase-information/4826 "2026-01-28T01:02:50Z")

</div>

Hi, I am doing some work that requires me to know exactly what a particular stimulus appears like on screen. For the static gratings, the phase information is included in the pandas dataframe returned by calling indiv…

---

## [Access to raw recordings of 2-photon calcium imaging for studying visual behaviour in mice](https://community.brain-map.org/t/access-to-raw-recordings-of-2-photon-calcium-imaging-for-studying-visual-behaviour-in-mice/4795)

<div class="topic-metadata">

**Author:** [@Ermes](https://community.brain-map.org/u/Ermes)\
**Replies:** 1\
**Last updated:** [January 12, 2026, 11:56pm UTC](https://community.brain-map.org/t/access-to-raw-recordings-of-2-photon-calcium-imaging-for-studying-visual-behaviour-in-mice/4795 "2026-01-12T23:56:32Z")

</div>

Hi all, I am interested in performing some analyses on the visual behaviour 2P Ca2+ imaging dataset and am currently trying to reconstruct raw movies of recorded Ca2+ activity by combining the df/f signal with average p…

---

## [Accessing full resolution region segmentations for Mouse, P56, Sagittal atlas](https://community.brain-map.org/t/accessing-full-resolution-region-segmentations-for-mouse-p56-sagittal-atlas/4788)

<div class="topic-metadata">

**Author:** [@mukund](https://community.brain-map.org/u/mukund)\
**Replies:** 2\
**Last updated:** [December 5, 2025, 3:21pm UTC](https://community.brain-map.org/t/accessing-full-resolution-region-segmentations-for-mouse-p56-sagittal-atlas/4788 "2025-12-05T15:21:27Z")

</div>

Hi, I’m trying to download region segmentations for the Mouse, P56, Sagittal atlas using the Allen image download API . However, the images downloaded via the API seem to have region segmentations at a much lower detail …

---

## [Getting structure masks for fine substructures](https://community.brain-map.org/t/getting-structure-masks-for-fine-substructures/4509)

<div class="topic-metadata">

**Author:** [@terrenceM](https://community.brain-map.org/u/terrenceM)\
**Replies:** 4\
**Last updated:** [July 6, 2025, 6:27pm UTC](https://community.brain-map.org/t/getting-structure-masks-for-fine-substructures/4509 "2025-07-06T18:27:37Z")

</div>

Hi there, The Allen atlas has fine substructures for some regions (e.g. subregions of SCig, here). I can find the structure ids associated with them, for example with the below code scm\_sub\_acronyms = \['SCig-a', 'SCd…

---

## [Programmatically accessing Human ISH](https://community.brain-map.org/t/programmatically-accessing-human-ish/4171)

<div class="topic-metadata">

**Author:** [@MPanday](https://community.brain-map.org/u/MPanday)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 7:04pm UTC](https://community.brain-map.org/t/programmatically-accessing-human-ish/4171 "2025-05-20T19:04:34Z")

</div>

Hi there, I’m working with the Allen Human Brain ISH database, and I’m trying to retrieve large amounts of image data for a neuroanatomy project involving cell morphologies. I know from my previous work with the mouse …

---

## [Difference between data from the AllenSDK and the webpage](https://community.brain-map.org/t/difference-between-data-from-the-allensdk-and-the-webpage/3834)

<div class="topic-metadata">

**Author:** [@DavideR](https://community.brain-map.org/u/DavideR)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 11:49am UTC](https://community.brain-map.org/t/difference-between-data-from-the-allensdk-and-the-webpage/3834 "2025-05-19T11:49:15Z")

</div>

I was downloading some connectivity data through the AllenSKD package. I want to have connection data from all the brain structures, projecting to a specific target, so i did: # import libraries and API from allensdk.co…

---

## [Accessing putative cell type in neuropixel dataset](https://community.brain-map.org/t/accessing-putative-cell-type-in-neuropixel-dataset/381)

<div class="topic-metadata">

**Author:** [@dwyrick](https://community.brain-map.org/u/dwyrick)\
**Replies:** 9\
**Last updated:** [April 24, 2025, 10:47pm UTC](https://community.brain-map.org/t/accessing-putative-cell-type-in-neuropixel-dataset/381 "2025-04-24T22:47:37Z")

</div>

Hello, I’m trying to utilize the neuropixel sessions that have inhibitory cell types identified via opto-tagging, but it doesn’t seem as if anything is written to take the responses during those optogenetic epochs and c…

---

## [Problems Downloading Mouse Brain Atlas Fiber Tract Data (ID: 156394513)](https://community.brain-map.org/t/problems-downloading-mouse-brain-atlas-fiber-tract-data-id-156394513/4193)

<div class="topic-metadata">

**Author:** [@luzhikang](https://community.brain-map.org/u/luzhikang)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 6:10am UTC](https://community.brain-map.org/t/problems-downloading-mouse-brain-atlas-fiber-tract-data-id-156394513/4193 "2025-04-03T06:10:48Z")

</div>

Dear Allen Brain Atlas team, I am encountering three issues while attempting to download the mouse brain atlas fiber tract data (ID: 156394513) using an API. The issues are as follows: When using connection = urllib.r…

---

## [Retrieving the volume of mouse brain structures with allensdk](https://community.brain-map.org/t/retrieving-the-volume-of-mouse-brain-structures-with-allensdk/4050)

<div class="topic-metadata">

**Author:** [@JuCorbo](https://community.brain-map.org/u/JuCorbo)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 3:02pm UTC](https://community.brain-map.org/t/retrieving-the-volume-of-mouse-brain-structures-with-allensdk/4050 "2025-04-02T15:02:44Z")

</div>

Hi I have a dataset of cell counts that was generated using the mouse brain atlas’ segmentation. I want to normalize the counts using the structures’ volume in the atlas. I am trying to use the sdk in python to retrieve…

---

## [Mouse brain volume from software](https://community.brain-map.org/t/mouse-brain-volume-from-software/4204)

<div class="topic-metadata">

**Author:** [@Natt](https://community.brain-map.org/u/Natt)\
**Replies:** 2\
**Last updated:** [March 4, 2025, 8:54am UTC](https://community.brain-map.org/t/mouse-brain-volume-from-software/4204 "2025-03-04T08:54:19Z")

</div>

Hi everyone, First of all, I want to express my gratitude for the incredible work that has gone into creating the Allen Brain Map. The resources and tools provided are truly invaluable. Thank you! I’ve been exploring t…

---

## [HTTP Error 503 or 504 when using Ontologies API](https://community.brain-map.org/t/http-error-503-or-504-when-using-ontologies-api/4186)

<div class="topic-metadata">

**Author:** [@pderdeyn](https://community.brain-map.org/u/pderdeyn)\
**Replies:** 1\
**Last updated:** [February 26, 2025, 12:40am UTC](https://community.brain-map.org/t/http-error-503-or-504-when-using-ontologies-api/4186 "2025-02-26T00:40:52Z")

</div>

Hi all, I’m using the AllenSDK (2.16.2 on python 3.11, Windows 11) to download a StructureTree. When I run the following code I get an HTTP error: from allensdk.api.queries.ontologies\_api import OntologiesApi oapi = On…

---

## [Downloading full resolution images using AllenSDK](https://community.brain-map.org/t/downloading-full-resolution-images-using-allensdk/4123)

<div class="topic-metadata">

**Author:** [@mpj](https://community.brain-map.org/u/mpj)\
**Replies:** 5\
**Last updated:** [February 24, 2025, 6:19pm UTC](https://community.brain-map.org/t/downloading-full-resolution-images-using-allensdk/4123 "2025-02-24T18:19:01Z")

</div>

Hello All, This is my first post to the forum, so apologies if I am posting in the wrong category or with the wrong tags. I am trying to download full-scale nissl stain images of the human brain atlas (Experiment Detai…

---

## [Problem on accessing NWB files in BrainObservatory Cache](https://community.brain-map.org/t/problem-on-accessing-nwb-files-in-brainobservatory-cache/3911)

<div class="topic-metadata">

**Author:** [@CRYPTOCHROME384](https://community.brain-map.org/u/CRYPTOCHROME384)\
**Replies:** 5\
**Last updated:** [December 3, 2024, 2:09am UTC](https://community.brain-map.org/t/problem-on-accessing-nwb-files-in-brainobservatory-cache/3911 "2024-12-03T02:09:12Z")

</div>

Hi everyone, It’s really cool of you guys to share all these data online. I am currently working on the VIsp’s 2P data, here’s my code to download the original nwb files on my server: from allensdk.core.brain\_observato…

---

## [Are raw intracellular recording potential traces compensated for offset potential?](https://community.brain-map.org/t/are-raw-intracellular-recording-potential-traces-compensated-for-offset-potential/3854)

<div class="topic-metadata">

**Author:** [@Jballbe](https://community.brain-map.org/u/Jballbe)\
**Replies:** 1\
**Last updated:** [November 20, 2024, 4:53pm UTC](https://community.brain-map.org/t/are-raw-intracellular-recording-potential-traces-compensated-for-offset-potential/3854 "2024-11-20T16:53:23Z")

</div>

Hi, I am analyzing the raw traces of intracellular recordings. I noticed that in the Gouwens et al 2019 paper, it is mentioned : Data were reported uncorrected for the measured –14 mV liquid junction potential between…

---

## [IPFX 2.0.0 Release Notice](https://community.brain-map.org/t/ipfx-2-0-0-release-notice/3816)

<div class="topic-metadata">

**Author:** [@sheriferson](https://community.brain-map.org/u/sheriferson)\
**Replies:** 0\
**Last updated:** [October 28, 2024, 10:03pm UTC](https://community.brain-map.org/t/ipfx-2-0-0-release-notice/3816 "2024-10-28T22:03:19Z")

</div>

IPFX 2.0.0 was released to PyPI on October 28, 2024 What’s Changed Python 3.9/3.11 support, dropping Python 3.6 support, and moving to GitHub Actions Loosened a lot of dependencies pinned to old versions of libraries,…

---

## [Mask a mouse brain slice image by ROI or ROI's from a projection experiment](https://community.brain-map.org/t/mask-a-mouse-brain-slice-image-by-roi-or-rois-from-a-projection-experiment/3678)

<div class="topic-metadata">

**Author:** [@jonahb](https://community.brain-map.org/u/jonahb)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 6:30pm UTC](https://community.brain-map.org/t/mask-a-mouse-brain-slice-image-by-roi-or-rois-from-a-projection-experiment/3678 "2024-10-08T18:30:25Z")

</div>

Can I mask a brain slice image, programatically or some other way, so that it only shows a given region of interest (eg. a layer of cortex) and the florescence data in it?

---

## [Using the IPFX module to calculate the ephys features](https://community.brain-map.org/t/using-the-ipfx-module-to-calculate-the-ephys-features/1710)

<div class="topic-metadata">

**Author:** [@Margaux](https://community.brain-map.org/u/Margaux)\
**Replies:** 20\
**Last updated:** [September 19, 2024, 5:21pm UTC](https://community.brain-map.org/t/using-the-ipfx-module-to-calculate-the-ephys-features/1710 "2024-09-19T17:21:37Z")

</div>

Hello ! I’m trying to calculate the ephys features of some cells from the Allen Cell Types Database as it’s done in this paper by Gouwens, Sorensen, Berg et al, 2019 : “Classification of electrophysiological and morphol…

---

## [Access to donor id from cell\_id](https://community.brain-map.org/t/access-to-donor-id-from-cell-id/3642)

<div class="topic-metadata">

**Author:** [@Jballbe](https://community.brain-map.org/u/Jballbe)\
**Replies:** 2\
**Last updated:** [September 6, 2024, 7:04am UTC](https://community.brain-map.org/t/access-to-donor-id-from-cell-id/3642 "2024-09-06T07:04:09Z")

</div>

Hi everyone, I downloaded some ephys data from the Allen CTD, and I am using it by referring to the cell id (i.e.: specimen\_id in the documentation) as follow: cell\_id = int(579462433) my\_Cell\_data = ctc.get\_ephys\_data…

---

## [Potential ambiguities in eye-tracking data access](https://community.brain-map.org/t/potential-ambiguities-in-eye-tracking-data-access/3457)

<div class="topic-metadata">

**Author:** [@wiesoauch](https://community.brain-map.org/u/wiesoauch)\
**Replies:** 1\
**Last updated:** [August 31, 2024, 2:24am UTC](https://community.brain-map.org/t/potential-ambiguities-in-eye-tracking-data-access/3457 "2024-08-31T02:24:44Z")

</div>

Hi, Differing Values I am trying to relate eye tracking data with stimulus and response data via timestamps. In order to access the pupils x-coordinates, I tried two different approaches, for which I get differing valu…

---

## [API issue with oapi.get\_structures\_with\_sets?](https://community.brain-map.org/t/api-issue-with-oapi-get-structures-with-sets/2357)

<div class="topic-metadata">

**Author:** [@pderdeyn](https://community.brain-map.org/u/pderdeyn)\
**Replies:** 5\
**Last updated:** [July 19, 2024, 8:15pm UTC](https://community.brain-map.org/t/api-issue-with-oapi-get-structures-with-sets/2357 "2024-07-19T20:15:20Z")

</div>

I’m having an issue running some code from the AllenSDK (JSONDecodeError when running oapi.get\_structures\_with\_sets(\[1\]) · Issue #2684 · AllenInstitute/AllenSDK · GitHub). I get a JSONDecodeError when trying to run the f…

---

## [Is response latency already removed from spike timings?](https://community.brain-map.org/t/is-response-latency-already-removed-from-spike-timings/3479)

<div class="topic-metadata">

**Author:** [@PeterBeech](https://community.brain-map.org/u/PeterBeech)\
**Replies:** 0\
**Last updated:** [July 15, 2024, 1:57pm UTC](https://community.brain-map.org/t/is-response-latency-already-removed-from-spike-timings/3479 "2024-07-15T13:57:07Z")

</div>

Hi, hopefully this is a quick question. It takes a different amount of time for the signal to travel from the retina to different units/regions in the brain, thus I wanted to be sure: is this response delay already acc…

---

## [The meaning of some conditions in stimulus\_table in the VisualCodingNeuropixels project](https://community.brain-map.org/t/the-meaning-of-some-conditions-in-stimulus-table-in-the-visualcodingneuropixels-project/3440)

<div class="topic-metadata">

**Author:** [@weiwei2027](https://community.brain-map.org/u/weiwei2027)\
**Replies:** 4\
**Last updated:** [July 10, 2024, 5:05am UTC](https://community.brain-map.org/t/the-meaning-of-some-conditions-in-stimulus-table-in-the-visualcodingneuropixels-project/3440 "2024-07-10T05:05:44Z")

</div>

Hi, thank you very much for your work on VisualCodingNeuropixels and making it open access, which is very valuable in promoting research in this area. When I access this data using allensdk, there are a few conditions t…

---

## [Finding mouse info (age, sex, strain, genotype etc)](https://community.brain-map.org/t/finding-mouse-info-age-sex-strain-genotype-etc/3409)

<div class="topic-metadata">

**Author:** [@AngCamp](https://community.brain-map.org/u/AngCamp)\
**Replies:** 3\
**Last updated:** [June 25, 2024, 5:09pm UTC](https://community.brain-map.org/t/finding-mouse-info-age-sex-strain-genotype-etc/3409 "2024-06-25T17:09:58Z")

</div>

I’m working with the allen neuropixels visual behaviour dataset. How can I search a mouses sex, age, genotype, and strain using its session id?

---

## [Preferred Images, Image Selectivity Index](https://community.brain-map.org/t/preferred-images-image-selectivity-index/3357)

<div class="topic-metadata">

**Author:** [@AKasts](https://community.brain-map.org/u/AKasts)\
**Replies:** 4\
**Last updated:** [June 5, 2024, 9:03pm UTC](https://community.brain-map.org/t/preferred-images-image-selectivity-index/3357 "2024-06-05T21:03:42Z")

</div>

Hello, I’m analyzing image selectivity using the Visual Coding dataset. In the precomputed unit analysis metrics table, there is a column that should contain the preferred images for each neuron. However, the indices in…

[Next page](https://community.brain-map.org/tag/allensdk/42.md?match_all_tags=true&page=1&tags%5B%5D=allensdk)
