I started working a bit on the peak picking (https://github.com/kjappelbaum/xrd-analysis) but it seems to me that the code is not really dependent on the specific spectrum type (except for the peak shape). Maybe this should then be moved to common-spectrum?
What do you think @lpatiny ?