Configuration of measurement systems using Shannon’s entropy function