Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Downloading 3-D Expression Grid Data

Download 3-D expression grid data packaged into a compressed archive file (.zip).

...

Prototype

...

Code Block

http://api.brain-map.org/grid_data/download/[SectionDataSet.id]&include=[volumes]

...

Examples

...

Download the intensity and density volumes for SectionDataSet 69816930:

Code Block

http://api.brain-map.org/grid_data/download/69816930?include=intensity,density

Download the energy volume for SectionDataSet 69816930:

Code Block

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.

...

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.