Closed dlevenstein closed 5 years ago
👍 Looks useful.
On Mar 19, 2019, at 12:12 PM, Dan Levenstein notifications@github.com wrote:
bz_GenSpikeLFPCouping takes as inputs spikes/lfp structures and calculates: -Power-weighted spike phase coupling -Rate-power correlation -Mutual information between power and ISI distribution With user-specified frequencies (Wavelet or band-pass filter). For all cells individually, and the population as a whole (can split E/I cell populations)
bz_PowerPhaseRateMap takes as inputs spikes and a filtered LFP signal and calculates: -rate as function of power/phase
You can view, comment on, or merge this pull request online at:
https://github.com/buzsakilab/buzcode/pull/310 https://github.com/buzsakilab/buzcode/pull/310 Commit Summary
Create bz_GenSpikeLFPCoupling.m added bz_PowerPhaseRateMap File Changes
A analysis/lfp_spikes/bz_GenSpikeLFPCoupling.m https://github.com/buzsakilab/buzcode/pull/310/files#diff-0 (595) A analysis/lfp_spikes/bz_PowerPhaseRatemap.m https://github.com/buzsakilab/buzcode/pull/310/files#diff-1 (181) Patch Links:
https://github.com/buzsakilab/buzcode/pull/310.patch https://github.com/buzsakilab/buzcode/pull/310.patch https://github.com/buzsakilab/buzcode/pull/310.diff https://github.com/buzsakilab/buzcode/pull/310.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/pull/310, or mute the thread https://github.com/notifications/unsubscribe-auth/AWQufFI5EoQm4_1A8EAIXNi5VhYrqW7sks5vYQxxgaJpZM4b8iso.
@rhuszar here it is. Ideally, we update bz_PowerPhaseRatemap to return the second plot we discussed - coupling as a function of power.
@AntonioFR8 you had also expressed interest in bz_PowerPhaseRatemap... here is the function to calculate it.
Let me know where things aren't clear so we can update the documentation for usability
Thanks! I'll implement the change and merge when I have it working.
This is great Dan. I will test these functions and also finish writing and upload mines for LFP cross-frequency coupling
On Mar 19, 2019, at 12:16 PM, rhuszar notifications@github.com wrote:
Thanks! I'll implement the change and merge when I have it working.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/pull/310#issuecomment-474451937, or mute the thread https://github.com/notifications/unsubscribe-auth/AM8oQ7VQcKSgApfPJP-ng9xJcYs-EFwTks5vYQ1kgaJpZM4b8iso.
bz_GenSpikeLFPCouping takes as inputs spikes/lfp structures and calculates: -Power-weighted spike phase coupling -Rate-power correlation -Mutual information between power and ISI distribution With user-specified frequencies (Wavelet or band-pass filter). For all cells individually, and the population as a whole (can split E/I cell populations)
bz_PowerPhaseRateMap takes as inputs spikes and a filtered LFP signal and calculates: -rate as function of power/phase