commit notes on xray spectra algo