Imaginary coherence: why the output has only positive values?

@peterd @Sylvain @leahy @eflorin @pantazis @hossein27en ?