I search for some Python library that can find color temperature from spectral response from spectrometer. I have single spectrum output like this:
I want to find color temperate of my light source.
The outputs shuld be like here (values not plot):
I searched a lot but I didn't find anything, in libraries like colour-science or python-colormath I don't see option like that. Is it possible at all?

