Two methods based on matlab to achieve spectral light efficiency curve fitting code