Orthogonalisation

External Email - Use Caution

Hi,
I was going through the source code for envelope correlation (
https://mne.tools/dev/generated/mne.connectivity.envelope_correlation.html#mne.connectivity.envelope_correlation),
and I figured out, its performing orthogonalization on the envelopes, i.e.,
after the Hilbert is done. Is that right?
And if so, what I found in this article (
https://pubmed.ncbi.nlm.nih.gov/25862259/) is that they are orthogonalizing
the time series and then computing envelopes.

So, What do you think is the right way to do this? Should we orthogonalize
the time series or the envelopes or either way is fine.