vandermeerlab / functional_connectivity

For LFP and single unit analysis of simultaneous OFC and vStr recordings on delay discounting task
2 stars 0 forks source link

Compute zero-lag amplitude xcorr across frequencies (=square root of the cross-spectrum; MATLAB cpsd) #3

Open mvdm opened 4 years ago

mvdm commented 4 years ago

Wondering if we can get a fast way of computing lag/lead relationships by shifting signals before computing the cpsd? Could test by seeing how cpsd changes when shifting signals. Note that cpsd has the usual parameters of a power spectrum, like window size.