Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong confidence interval shape in mt_coherence() #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 21, 2021

  1. fix wrong confidence interval of mt_coherence()

    In `multitaper.py`, the `mt_coherence()` function assigned an empty array
    for the desired confidence interval using `mt.empty(nf, 2)` at line 600.
    This gave an 1d complex array of length nf, because the argument `2` is passed
    to the `complex=False` kwarg of the `mt.empty()` method.
    
    The correct call should be `mt.empty((nf, 2))`
    Xunius committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    b7d00c8 View commit details
    Browse the repository at this point in the history