Since there is no prior at the Vector level this is basically element wise problem.
Moreover, if we assume the noise to be White Noise with zero mean then the answer can be very simple.
Since the phase difference is always a multiply of 180 [Deg] we can, without loss of generality, assume they are on the real axis.
So what we have can be modeled as:
Sorry for the naive answer, but why not consider reading the documentation of the library you have used?
Quick googling also reveals numerous posts on how this library works and how it can be used