Determination of luminous intensity of light-emitting diodes with modified inverse-square law