Spectrum channel values can be inspected or set using this interface Note that the spectrum contents interface may be a more performant method to get bulk spectrum information.
URLS of the type below can set the value of a spectrum channel:
The spectrum query parameter specifies the name of the spectrum to operate on. xchannel specifies the x channel number. If the spectrum selected is a 2-d spectrum, ychannel is needed to specify the y channel. Regardless, value specifies the value to stuff into that spectrum channel.
Note that the channel coordinates are specified, not real coordinates.
URLs of the form above, return the value of a channel of a spectrum in the detail attribute of the reply object. The query values spectrum and xchannel specify the spectrum name and x channel to fetch. If the spectrum is 2d, an additional ychannel query parameter is required to specify the y channel.
Note again, that the xchannel and ychannel coordinates are in spectrum coordinate units not real coordinates.