Skip to content
Discussion options

You must be logged in to vote

Hi @withercp,

If your goal is to compute the directed transfer function in the beta band, then setting the sampling frequency, min, and max frequencies like this is correct for your specific problem. You might get the warning Multiple sampling frequencies not yet handled, however this should not prevent the computation of the SPI.

While Pyspi is designed to only return a single scalar value (summary statistic), the results from the computation are stored internally and therefore you can access the full DTF spectrum from the calculator as follows:

Run the calculator compute method as usual with your configuration specified above:

calc = Calculator(dataset=<your_data>, configfile=<your_config>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by withercp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants