https://1library.org/document/y8ggm9wz-signal-partitioning-algorithm-efficient-gaussian-mixture-modeling-spectrometry.html