- It depends what frequency resolution you are happy with, i.e. how
many discrete frequencies you think are relevant to you. These frequencies will span $0$ to
$f_s/2$, and you will get a coherence value for each.
- The frequency resolution is computed as $f_s/N$, $N$ being the size of the analysis window.
With that in mind, a here is an example:
$N = 10$ will give you $N/2 = 5$ values for your coherence function (the negative frequency part is discarded), at the following discrete frequencies spaced $f_s/N = 0.15\texttt{Hz}$ apart: $$0\texttt{Hz}, 0.15\texttt{Hz}, 0.30\texttt{Hz}, 0.45\texttt{Hz}, 0.60\texttt{Hz}$$
Note, you can also play around with the noverlap
argument. Typical values would be $N/2$ or $N/4$