Reference Manual of the nadc-tools API and Libraries - SRON
Reference Manual of the nadc-tools API and Libraries - SRON
Reference Manual of the nadc-tools API and Libraries - SRON
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6.7.1 SDMF30 rd histTable<br />
Identifier SDMF30 rd histTable<br />
Purpose read histogram data<br />
Usage SDMF30 rd histTable( locID, numIndex, metaIndex, pixelRange,<br />
sdmf hist );<br />
Input hid t locID : HDF5 identifier <strong>of</strong> file or group<br />
int numIndex : number <strong>of</strong> indices to read<br />
int *metaIndex : array with indices <strong>of</strong> row to read<br />
int *pixelRange : two element array containing <strong>the</strong> pixelsIDs<br />
<strong>of</strong> <strong>the</strong> first <strong>and</strong> last pixel to be read<br />
OR NULL, in case all pixels are read<br />
Output struct sdmf hist1 rec *sdmf hist : histogram-data records (G.5)<br />
Returns nothing, error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment allocation requirements for sdmf hist is<br />
(pixelRange != NULL)<br />
sz sdmf hist * indexNum * (pixelRange[1]-pixelRange[0]+1)<br />
(pixelRange == NULL)<br />
sz sdmf hist * indexNum * SCIENCE PIXELS<br />
6.7.2 SDMF30 rd histTable<br />
Identifier SDMF30 rd histTable<br />
Purpose read histogram data<br />
Usage SDMF31 rd histTable( locID, numIndex, metaIndex, pixelRange,<br />
sdmf hist );<br />
Input hid t locID : HDF5 identifier <strong>of</strong> file or group<br />
int numIndex : number <strong>of</strong> indices to read<br />
int *metaIndex : array with indices <strong>of</strong> row to read<br />
int *pixelRange : two element array containing <strong>the</strong> pixelsIDs<br />
<strong>of</strong> <strong>the</strong> first <strong>and</strong> last pixel to be read<br />
OR NULL, in case all pixels are read<br />
Output struct sdmf hist2 rec *sdmf hist : histogram-data records (G.6)<br />
Returns nothing, error status passed by global variable “<strong>nadc</strong> stat”<br />
Comment allocation requirements for sdmf hist is<br />
(pixelRange != NULL)<br />
sz sdmf hist * indexNum * (pixelRange[1]-pixelRange[0]+1)<br />
(pixelRange == NULL)<br />
sz sdmf hist * indexNum * SCIENCE PIXELS<br />
6.8 SDMF META<br />
Identifier SDMF META<br />
Author R.M. van Hees<br />
Language ANSI C<br />
Comment contains SDMF get metaIndex, SDMF get metaIndex range,<br />
SDMF rd metaTable<br />
174