optimised optical detector