A smart way of IR measuring