See https://github.com/JuliaDynamics/CausalityTools.jl/issues/365. This might be useful for several people, so we should have at least one documentation example on how to deal with complex-valued data.