We will calculate a vector containing center of mass of DataXY as well as center of mass of both parts, etc.
This approach allows to efficiently represent spectra like XPS, NMR, etc. It should provide an extremely efficient
way to store and search similar spectra.
Parameters
data: DataXY<NumberArray>
Object that contains property x (an ordered increasing array) and y (an array)
We will calculate a vector containing center of mass of DataXY as well as center of mass of both parts, etc. This approach allows to efficiently represent spectra like XPS, NMR, etc. It should provide an extremely efficient way to store and search similar spectra.