spectral_connectivity.statistics.power_confidence_intervals#

power_confidence_intervals(n_tapers, power=1, ci=0.95)[source]#

Confidence intervals for the power spectrum.

Parameters:
  • n_tapers (int) – Number of tapers

  • power (np.ndarray, optional) – Multitaper spectrum

  • ci (float) – Confidence level. Range [0.5, 1]

Returns:

lower_bound, upper_bound

Return type:

float

References

[1]

Kramer, M.A., and Eden, U.T. (2016). Case studies in neural data analysis: a guide for the practicing neuroscientist (MIT Press).