Calculation of the photometric mass of meteors