A Python package for information flow analysis of IBL Neuropixels data.
pip install .from ibl_flow.analysis import run_flow_analysis
from ibl_flow.plotting import plot_connectivity_matrix
# Example session ID
eid = "a2a17073-82f8-43b6-857c-26f6a066a337"
# Define the brain regions of interest
region_list = ["CA1", "VISp", "DG"]
# Run Granger Causality analysis
gc_matrix = run_flow_analysis(eid, region_list, method='granger')
# Plot the resulting connectivity matrix
plot_connectivity_matrix(gc_matrix, title='Granger Causality')