A method to characterize metalenses for light collection applications