sp_chan_binning

Defines the channel binning. If > 0, then binning is on natural energy boundaries (PHA binning), i.e. the channels are the numbers encoded in the telemetry for each event. SP_CHAN_BINNING is a grouping factor, so if it is set to N, then each group of N PHA channels is summed to obtain the resultant spectrum.

Setting SP_CHAN_BINNING to 1 returns a spectrum of 8192 channels; setting it to 4 returns 2048 grouped channels.

If SP_CHAN_BINNING is 0, then SP_ENERGY_BINNING parameter controls energy binning.