Measuring and processing of data