dirconn.GPDC#

class dirconn.GPDC(order: int | str = 'bic', max_order: int = 10, n_freqs: int = 128, fmax: float | None = None, freqs: Any = None, ridge: float = 0.0, demean: bool = True, n_folds: int = 5, check_order_stability: bool = True, check_whiteness: bool = True, squared: bool = True)#

Generalised partial directed coherence (Baccala et al. 2007).

Like PDC, but every term is weighted by the inverse innovation variance of its target, so the result does not depend on the scale of the channels and needs no standardisation.

The parameters are those of PDC without standardize.

__init__(order: int | str = 'bic', max_order: int = 10, n_freqs: int = 128, fmax: float | None = None, freqs: Any = None, ridge: float = 0.0, demean: bool = True, n_folds: int = 5, check_order_stability: bool = True, check_whiteness: bool = True, squared: bool = True) → None#

Methods

__init__([order, max_order, n_freqs, fmax, ...])

fit(data)

Estimate directed connectivity.

get_params()

Return the constructor parameters as a dictionary.

Attributes

check_order_stability

check_whiteness

demean

fmax

freqs

info

max_order

n_folds

n_freqs

order

ridge

squared