Peak detection code
Histogram code
Plot of the sim vs detected source frequency. Points to note about it:
- All axes are labelled and there is an explanatory title.
- Both axes scales are logarithmic (log10 not log), but the X axis is labelled 'log10(something)' because that is what the numbers are; whereas the Y axis is labelled 'something', no 'log', because again that corresponds to the numbers.
- Note the two histograms don't have common bin centres. This is for greater clarity.