Powder-averaging the spectra

The third and last step in the calculation of the powder pattern is the averaging of the spectra with the same value of $Q$. This is done by restarting module powdermagnon by:

powdermagnon -r results
mcdisp.qei 0.5 30 0.2

meaning take results from file results
mcdisp.qei
and average the spectra. Output is printed to the console (STDOUT) and can be piped to a file in order to print it with displaycontour. An example is given in fig.  13 and 14. Parameters in the above command are: