voytekresearch / pacpy

Calculate phase-amplitude coupling in Python (and Matlab).
MIT License
24 stars 12 forks source link

Perform method check in comodulogram only once #18

Closed mmagnuski closed 9 years ago

mmagnuski commented 9 years ago

Just a small suggestion: method checks could be performed only once - before the loop through low and high frequencies.

(and thanks for the package! having pac estimation in python is really useful)

srcole commented 9 years ago

Good catch. This is much cleaner. Thanks!