Downloading 3-D Expression Grid Data
Download 3-D expression grid data packaged into a compressed archive file (.zip).
Prototype
http://api.brain-map.org/grid_data/download/[SectionDataSet.id]&include=[volumes]
Examples
Download the intensity and density volumes for SectionDataSet 69816930:
http://api.brain-map.org/grid_data/download/69816930?include=intensity,density
Download the energy volume for SectionDataSet 69816930:
http://api.brain-map.org/grid_data/download/69816930
Parameters
filename |
Integer |
ID of the desired SectionDataSet. |
volumes |
Array (optional) |
Explicitly list the desired volumes as a comma-separated list. Valid volumes are energy, intensity and density. An additional volume of injection is available for Projection SectionDataSets. |
Response
Zip file (.zip) containing a folder filled with the default files (data_set.xml, energy.mhd, energy.raw) or the requested data volumes.
data_set.xml |
XML file with details regarding the specimen and images that is only returned if the volumes parameter is null. |
energy.mhd |
A simple text header file in MetaImage format describing the volume. This file is returned by default if the volumes parameter is null. |
energy.raw |
A raw uncompressed float (32-bit) little-endian volume representing average expression energy per voxel. A value of "-1" represents no data. This file is returned by default if the volumes parameter is null. |
density.mhd |
A simple text header file in MetaImage format describing the volume. |
density.raw |
A raw uncompressed float (32-bit) little-endian volume representing average expression density per voxel. A value of "-1" represents no data. |
intensity.mhd |
A simple text header file in MetaImage format describing the volume. |
intensity.raw |
A raw uncompressed float (32-bit) little-endian volume representing average expression intensity per voxel. A value of "-1" represents no data. |
injection.mhd |
A simple text header file in MetaImage format describing the volume. |
injection.raw |
A raw uncompressed float (32-bit) little-endian volume representing the proportion of pixels within each voxel that were within the manually annotated injection site. |