Add usage example to IndexPeaks re #9726

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>