How to measure luminance or brightness?

I’ve tried fiddling around with the luminance uassets that you references, but I’m still not quite sure how to capture incoming light (very inexperienced with materials, unfortunately). How would I apply the material function that you posted in this case?