Detection and measurement