NVCL Data Services : Get Spectral Data

one or more speclogIds must be provided.

This service will get spectral data in a binary chunk. It requires a speclogid that can be obtained through the getDatasetCollection service. You can optionally provide a start and end sample number to restrict the range of data returned. The data will be returned as 4 byte floating point numbers. You will need to use the spectral log's 'wavelengths' string array to determine how many floats to expect per sample.

ParameterDescriptionRequiredExample values
speclogidobtained by looking at the spectral logs returned by calling the getDatasetCollection serviceyes3923f5f9-08f3-415f-8503-7578ab1d784
startsamplenothe sample number of the first spectrum to be returnedno, Default value=00
endsamplenothe sample number of the last spectrum to be returnedno, Default value=99999910
outputformatbinary or jsonnojson

Example Queries:

A stadard query for spectral data: getspectraldata.html?speclogid=3923f5f9-08f3-415f-8503-7578ab1d784&startsampleno=0&endsampleno=10