An entropic framework for sensor modelling