Spectrometer: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
(Created page with "Spectrometer is a Module to interface spectrometer devices. It allows for loading corresponding Device Classes. === Features === * calculates the total inte...")
 
No edit summary
Line 4: Line 4:
=== Features ===
=== Features ===


* calculates the total intensity by summing over all values of the intensities
* calculates the total intensity by summing over all values of the intensities using numpy function trapz:


total_intensity = np.trapz(y = self.spectrum, x = self.wavelengths)
* CIE coordinates are calculated based on the CIE standard from 1931 [https://en.wikipedia.org/wiki/CIE_1931_color_space]
* Take reference spectrum


=== Device Classes ===
=== Device Classes ===

Revision as of 21:50, 6 May 2018

Spectrometer is a Module to interface spectrometer devices. It allows for loading corresponding Device Classes.


Features

  • calculates the total intensity by summing over all values of the intensities using numpy function trapz:

total_intensity = np.trapz(y = self.spectrum, x = self.wavelengths)

  • CIE coordinates are calculated based on the CIE standard from 1931 [1]
  • Take reference spectrum

Device Classes