pspectro: Photometric and Colorimetric Calculations
The main function pspectro.m is well documented, in the folder type help pspectro for documentation.
pspectro.m is a collection of functions written to calculate the photometric and colorimetric data from the measured irradiance of a source. However, the supplied input can be any two column vector that contains the wavelength and power.
The functions calculate the lux (illuminance) of the source, the tristimulus values (CIE 1931 standard 2 degree observer), the general color rendering index (Ra) and the special color rendering indicies (Ri).
The functions were used to study and optimize solid state lighting and mentioned in this publication:
Aldrich, M., Dynamic Solid State Lighting, Master's Thesis, Massachusetts Institute of Technology (2010).
Project Website: www.media.mit.edu/resenv/lighting/
Cite As
Matt Aldrich (2024). pspectro: Photometric and Colorimetric Calculations (https://www.mathworks.com/matlabcentral/fileexchange/28185-pspectro-photometric-and-colorimetric-calculations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.