Photometric measurement for LED based sources