Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges.
One block of code here has a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 9 matches
- [1] § Results › Antecedent IED prediction ↔ Fig6.ipynb, lines 590 to 727 · score 0.66 · low amplitude, high amplitude, cortical sites, IED amplitudes, AUROC, decoding · Report a mismatch
- [2] § Methods › Antecedent IED prediction from neuronal ensembles ↔ Fig6.ipynb, lines 590 to 727 · score 0.65 · low amplitude, high amplitude, IED amplitudes, AUROC, decoding, cortical · Report a mismatch
- [3] § Methods › Neuronal encoding during speech perception ↔ Fig5.ipynb, lines 197 to 343 · score 0.63 · Acoustic phonetic features, word, R2, regression, fit, correlation · Report a mismatch
- [4] § Methods › Assessing single-neuron coding of IED features ↔ Extended_Data_8.ipynb, lines 29 to 71 · score 0.60 · slow wave, 0–1, aftergoing, fit, antecedent, activity · Report a mismatch
- [5] § Methods › Isolation of single-neuron spiking ↔ +MTracer/SortingResult.m, lines 362 to 401 · score 0.60 · refractory period violations, Kilosort, Clusters, spikes · block
oscr:b:FTX3144MQERBF-4· Report a mismatch - [6] § Results › Neurocognitive correlates of IED generation circuit ↔ Fig5.ipynb, lines 197 to 343 · score 0.58 · acoustic phonetic features, neuron firing, r2, Schematic, fit, correlated · Report a mismatch
- [7] § Methods › Isolation of single-neuron spiking ↔ Extended_Data_2.ipynb, lines 58 to 76 · score 0.54 · spectrotemporal waveform, UMAP, embedded, clusters · Report a mismatch
- [8] § Methods › Isolation of IEDs ↔ Fig6.ipynb, lines 64 to 184 · score 0.54 · ECoG, NP LFP, LL, baseline, IEDs · Report a mismatch
- [9] § Results › Neuropixels recordings and IED processing ↔ Extended_Data_2.ipynb, lines 142 to 185 · score 0.51 · ROC curve, Trough peak, RS, FS, waveform · Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 731 lines · 18 KB · no license · 3 matches
- # %%
- import matplotlib.pyplot as plt
- plt.rcParams.update({'font.size': 6})#, 'font.sans-serif': 'Arial'})
- plt.rcParams.update({'font.sans-serif':'Arial'})
- import matplotlib as mpl
- mpl.rcParams['axes.spines.top'] = False
- mpl.rcParams['axes.spines.right'] = False
- plt.rcParams['svg.fonttype'] = 'none'
- import matplotlib
- matplotlib.rcParams['pdf.fonttype'] = 42
- matplotlib.rcParams['ps.fonttype'] = 42
- import matplotlib.pyplot as plt
- from scipy.stats import sem
- def plot_single_erp(dat,ax=None,t_ar=None,alpha=0.3,color='b',label=None):
- if(ax is None):
- fig,ax = plt.subplots()
- if(label is None):
- label = '_hide'
- sig = dat.mean(0)
- err = sem(dat,axis=0)
- if(t_ar is None):
- t_ar = range(sig.shape[0])
- ax.plot(t_ar,sig,color=color,label=label)
- ax.fill_between(t_ar,sig+err,sig-err,color=color,alpha=alpha)
- return(ax,sig,err)
- def return_spk_raster(spks,times,t_ar=[-1,1]):
- cur_times = spks.copy()#quality.sua[quality.cluster_id == neuron_id].values[0]#spk_dictionary['sua'][neuron_id][0]
- cnt = -1
- all_elg_trial = []
- for i,tr in enumerate(times):
- elg_times = cur_times[ (cur_times >= (tr + t_ar[0]) ) & (cur_times <= (tr + t_ar[1]) ) ]
- elg_times -= tr
- all_elg_trial.append(elg_times)
- return(all_elg_trial)
- probe_mapper = {'NP34_B2_0': 'P1-S1-P1',
- 'NP34_B3_0': 'P1-S2-P1',
- 'NP35_B2_0': 'P2-S1-P1',
- 'NP66_B1_0': 'P3-S1-P1',
- 'NP66_B1_1': 'P3-S1-P2',
- 'NP66_B2_0': 'P3-S2-P1',
- 'NP66_B2_1': 'P3-S2-P2',
- 'NP86_B1_0': 'P4-S1-P1',
- 'NP86_B1_1': 'P4-S1-P2',}
- blk_mapper = {'NP34_B2': 'P1-S1',
- 'NP34_B3': 'P1-S2',
- 'NP35_B2': 'P2-S1',
- 'NP86_B1': 'P4-S1',
- 'NP66_B1': 'P3-S1',
- 'NP66_B2': 'P3-S2',}
- source_path = './source_data/FIG6/'
- output_dir = 'statistical_source/FIG6' # create folder if not yet existing
- import os
- if not os.path.exists(output_dir):
- os.makedirs(output_dir)
- # %%
- import numpy as np
- import matplotlib.pyplot as plt
- from matplotlib import gridspec
- # ============================================================
- # CREATE COMPOSITE LAYOUT
- # ============================================================
- fig = plt.figure(figsize=(7, 1.7))
- gs = gridspec.GridSpec(
- 2, 4,
- width_ratios=[1, 1, 1, 1.5],
- wspace=0.6,
- hspace=0.15
- )
- fig.subplots_adjust(left=0.06, right=0.95, top=0.975, bottom=0.19)
- # ============================================================
- # COLUMN 0 — BLANK
- # ============================================================
- ax_blank_top = fig.add_subplot(gs[0, 0])
- ax_blank_bot = fig.add_subplot(gs[1, 0])
- ax_blank_top.axis('off')
- ax_blank_bot.axis('off')
- # ============================================================
- # COLUMN 1 — ECoG ERP (2 x 1 panel, unchanged)
- # ============================================================
- d = np.load(f'{source_path}/ecog_decoding.npz')
- ied_erp = d['ied_erp']
- ll = d['ll']
- ax1 = fig.add_subplot(gs[0, 1])
- plot_single_erp(
- ied_erp,
- ax=ax1,
- t_ar=np.linspace(-0.5, 0.5, ied_erp.shape[1]),
- color='k',
- alpha=0.1
- )
- ax1.set(ylabel='ECoG LFP', xticks=[], yticks=[])
- ax2 = fig.add_subplot(gs[1, 1])
- plot_single_erp(
- ll,
- ax=ax2,
- t_ar=np.linspace(-0.5, 0.5, ied_erp.shape[1]),
- color='k',
- alpha=0.1
- )
- ax2.set(
- ylabel='ECoG line-length',
- xlabel='Time rel. to IED (s)',
- yticks=[],xlim=[-0.5,0.5]
- )
- # ============================================================
- # COLUMN 2 — AUROC DECODING TRACE
- # ============================================================
- d = np.load(f'{source_path}/ecog_decoding_trace.npz')
- rocs_null = d['rocs_null']
- rocs = d['rocs']
- ax3 = fig.add_subplot(gs[:, 2])
- t_ar = np.linspace(-0.5, 0.5, len(rocs))
- ax3.plot(t_ar, rocs, color='k', alpha=0.9, linewidth=2)
- ax3.axvline(0, color='k', linestyle='--')
- ax3.axhline(
- np.percentile(rocs_null, 99.5),
- color='k',
- linestyle='--'
- )
- ax3.set(
- ylabel='AUROC (IED vs baseline)',
- xlabel='Decoding up to timepoint (s)',xlim=[-0.5,0.5],ylim=[0.3,1],yticks=[0.3,0.6,0.9,1]
- )
- # ============================================================
- # COLUMN 3 — DEPTH × TIME LFP HEATMAP
- # ============================================================
- d = np.load(f'{source_path}/ex_lfp.npz')
- lfp = d['lfp']
- depth = d['depth']
- ax4 = fig.add_subplot(gs[:, 3])
- t_ar = np.linspace(-2.5, 1, lfp.shape[1])
- im = ax4.pcolormesh(
- t_ar,
- depth,
- lfp,
- cmap='bone_r',
- vmin=-80,
- vmax=80,
- rasterized=True
- )
- ax4.set(
- xlabel='Time rel. to IED (s)',
- ylabel='Depth (uM)',ylim=[0,6000],yticks=[0,2000,4000,6000],xlim=[-2.5,1],
- )
- ax4.invert_yaxis()
- plt.colorbar(im, ax=ax4, label='NP LFP (uV)',ticks=[-80,0,80])
- # ============================================================
- # FINALIZE
- # ============================================================
- # plt.savefig('./current_composite/ecog_combined.pdf',
- # transparent=True, dpi=800)
- plt.show()
- # %%
- import seaborn as sns
- d = np.load(f'{source_path}/ex_rasters_decoding.npz')
- psth_ied = d['psth_ied']
- spks1 = d['spks1']
- spks2 = d['spks2']
- ied_times = d['ied_times']
- fig, axes = plt.subplots(1, 3, figsize=(7, 1.3),width_ratios=[1,1,0.7]) # 1 x 3 layout
- fig.subplots_adjust(left=0.06, right=0.982, top=0.99, bottom=0.26)
- for i, spks in enumerate([spks1, spks2]):
- ax = axes[i]
- spk_raster = return_spk_raster(spks, ied_times, [-1.5, 1])
- r = [r for r in spk_raster if len(r) > 0]
- for ind, tr in enumerate(r):
- ax.scatter(
- tr,
- np.repeat(ind, len(tr)),
- color='k',
- alpha=0.3,
- clip_on=False,
- marker='|',
- s=3
- )
- ax.set_xlim([-1.5, 1])
- plot_single_erp(
- 12 * psth_ied[:, :, i],
- ax=ax,
- t_ar=np.linspace(-1.5, 1, psth_ied.shape[1]),
- color=sns.color_palette('Set2')[1],
- alpha=0.1
- )
- ax.set(yticks=[], ylabel='IEDs', xlabel='Time relative to IED (s)')
- if(i == 1): ax.set(ylabel='')
- # third subplot intentionally blank
- axes[2].axis('off')
- #plt.savefig('./current_composite/raster_row.pdf',transparent=True,dpi=800)
- # %%
- d = np.load(f'{source_path}/dec_schematic.npz')
- psth_ied = d['psth_ied']
- psth_baseline = d['psth_baseline']
- fig, axs = plt.subplots(2,1,figsize=(0.8,1.3),gridspec_kw=dict(hspace=0.5))
- fig.subplots_adjust(left=0.2, right=0.8, top=0.99, bottom=0.26)
- t_ar = np.linspace(-1,0.25,25)
- axs[0].pcolormesh(t_ar,range(psth_ied.shape[-1]),psth_ied.T,cmap='Reds',vmin=0,vmax=30)
- axs[0].set(xticks=[],yticks=[],xlabel='',ylabel='')
- axs[1].pcolormesh(t_ar,range(psth_ied.shape[-1]),psth_baseline.T,cmap='binary',vmin=0,vmax=30,rasterized=True)
- axs[1].set(xlabel='Time (up to 0.25s)',ylabel='Neurons',yticks=[])
- #plt.savefig('./current_composite/decode_schem.pdf',dpi=800,transparent=True)
- # %%
- d = np.load(f'{source_path}/dec_schematic_pca.npz')
- fig,axs = plt.subplots(1,2,gridspec_kw=dict(wspace=0.5),figsize=(0.2,1.5))
- axs[0].imshow(d['x1'].reshape((-1,1)),cmap='Reds',vmin=-10,vmax=10)
- axs[0].set(yticks=[],xticks=[])
- sns.despine(ax=axs[0],left=True,bottom=True)
- axs[1].imshow(d['x2'].reshape((-1,1)),cmap='binary',vmin=-10,vmax=10)
- axs[1].set(yticks=[],xticks=[])
- sns.despine(ax=axs[1],left=True,bottom=True)
- #plt.savefig('./current_composite/decode_pca.pdf',dpi=800,bbox_inches='tight',transparent=True)
- # %%
- d = np.load(f'{source_path}/ied_prediction.npz')
- rocs_null_ = d['rocs_null']
- keys = d['keys']
- rocs_ = d['rocs']
- best_ts = d['best_ts']
- import seaborn as sns
- import pandas as pd
- import numpy as np
- import matplotlib.pyplot as plt
- fig, axes = plt.subplots(
- 1, 5,
- figsize=(7, 1.7),
- gridspec_kw=dict(wspace=0.6),width_ratios=[1,0.8,0.4,1,0.8]
- )
- fig.subplots_adjust(left=0.06, right=0.982, top=0.975, bottom=0.26)
- # ---------- Panel 1: ROC (index 3) ----------
- t_ar = np.linspace(-1, 0.5, len(rocs_[0]))
- rocs = rocs_[3]
- rocs_null = rocs_null_[3]
- ax = axes[0]
- ax.plot(t_ar, rocs, color='k', alpha=0.9, linewidth=2)
- ax.axvline(0, color='k', linestyle='--')
- ax.axhline(np.percentile(np.array(rocs_null), 99, axis=0),
- color='k', linestyle='--')
- ax.set(
- ylabel='AUROC (IED vs baseline)',
- xlabel='Decoding up to \ntimepoint (s)',
- ylim=[0.3, 1],yticks=[0.3,0.5,0.7,1],xlim=[-1,0.5]
- )
- # ---------- Panel 2: ROC (index 4) ----------
- t_ar = np.linspace(-1, 0.5, len(rocs_[0]))
- rocs = rocs_[4]
- rocs_null = rocs_null_[4]
- ax = axes[1]
- ax.plot(t_ar, rocs, color='k', alpha=0.9, linewidth=2)
- ax.axvline(0, color='k', linestyle='--')
- ax.axhline(np.percentile(np.array(rocs_null), 99, axis=0),
- color='k', linestyle='--')
- ax.set(
- #ylabel='AUROC (IED vs baseline)',
- xlabel='Decoding up to \ntimepoint (s)',
- ylim=[0.3, 1],yticks=[],xlim=[-1,0.5]
- )
- # ---------- Panel 3: First above-chance time ----------
- ax = axes[2]
- sns.stripplot(best_ts, color='k', alpha=0.8, jitter=0.4, ax=ax)
- sns.boxplot(best_ts, color='k',
- boxprops=dict(alpha=0.2),
- fliersize=0,
- ax=ax)
- ax.axhline(0, linestyle='--', color='k', alpha=0.3)
- ax.set(
- ylabel='First above-chance \n decoding timepoint (s)',
- xticklabels=['Cortical site']
- )
- # ---------- Panel 4: Contribution by response type ----------
- contrib_df = pd.read_csv(f'{source_path}/contrib_dec_df.csv')
- ax = axes[3]
- sns.boxplot(
- orient='h',
- data=contrib_df,
- y='k_mean_cluster',
- x='pre_onset_contrib',
- palette='Set2',
- boxprops=dict(alpha=0.2),
- showfliers=False,
- ax=ax
- )
- sns.stripplot(
- orient='h',
- data=contrib_df,
- y='k_mean_cluster',
- x='pre_onset_contrib',
- s=2,
- palette='Set2',
- alpha=0.8,
- ax=ax
- )
- ax.set(
- xlabel='Decoding contrib. \n(log)',
- ylabel='',
- yticklabels=['Early\n act.', 'Supp.', 'Late\n act.']
- )
- # ---------- Panel 5: Contribution vs depth ----------
- ax = axes[4]
- sns.scatterplot(
- ax=ax,
- data=contrib_df,
- x='pre_onset_contrib',
- y='depth',
- s=7,
- palette='Set2',
- hue='k_mean_cluster',
- alpha=0.8,
- legend=None
- )
- ax.invert_yaxis()
- ax.set(
- xlabel='Decoding contrib. \n(log)',
- ylabel='Depth (uM)'
- )
- #plt.tight_layout()
- # plt.savefig('../figure_3/current_composite/predict_ied_row.pdf',
- # transparent=True, dpi=800)
- contrib_df.to_csv('./statistical_source/FIG6/panelgh.csv')
- # %%
- print(best_ts.min())
- print(best_ts.max())
- print(best_ts.mean())
- # %%
- from scipy.stats import mannwhitneyu,ttest_ind,ranksums
- for p in [[1,2],[1,3],[2,3]]:
- print(p)
- print(ranksums(contrib_df[(contrib_df.k_mean_cluster == p[0])
- & (contrib_df.pre_onset_contrib != -1*np.inf)].pre_onset_contrib,
- contrib_df[(contrib_df.k_mean_cluster == p[1])
- & (contrib_df.pre_onset_contrib != -1*np.inf)].pre_onset_contrib))
- for p in range(1,4):
- print(np.sum(contrib_df.k_mean_cluster ==p))
- # %%
- import numpy as np
- import matplotlib.pyplot as plt
- import pandas as pd
- import seaborn as sns
- from scipy.stats import sem
- from mne.stats import permutation_cluster_test
- # ============================================================
- # CREATE 1 x 3 COMPOSITE FIGURE
- # ============================================================
- fig, axes = plt.subplots(
- 1, 3,
- figsize=(7, 1.25),
- gridspec_kw=dict(wspace=0.4),width_ratios=[1,0.8,1.1]
- )
- fig.subplots_adjust(left=0.06, right=0.982, top=0.98, bottom=0.26)
- # ============================================================
- # PANEL 1 — Isolated vs Series LFP
- # ============================================================
- D = np.load(
- f"{source_path}/string_vs_iso_minimal_source.npz",
- allow_pickle=True
- )
- iso_trace = D["iso_trace"]
- series_trace = D["series_trace"]
- ax = axes[0]
- t_ar = np.linspace(-1, 1, iso_trace.shape[0])
- ax.plot(
- t_ar,
- iso_trace,
- color='b',
- alpha=0.5,
- linewidth=2,
- label='Isolated'
- )
- ax.plot(
- t_ar,
- series_trace,
- color='r',
- alpha=0.5,
- linewidth=2,
- label='Series'
- )
- ax.set(
- ylabel='LFP (uV)',
- xlabel='Time relative to first IED (s)',xlim=[-1,1]
- )
- ax.set_xticks([-1, -0.5, 0, 0.5, 1])
- ax.legend(
- loc=(0, 0.65),
- frameon=False
- )
- # ============================================================
- # PANEL 2 — ERP + Cluster Significance
- # ============================================================
- D = np.load(
- f"{source_path}/erp_cluster_minimal_source.npz",
- allow_pickle=True
- )
- psth_id_0 = D["psth_id_0"]
- psth_id_1 = D["psth_id_1"]
- psth_interest_0 = D["psth_interest_0"]
- psth_interest_1 = D["psth_interest_1"]
- t_ar = D["t_ar"]
- target_column = str(D["target_column"])
- i = int(D["index"])
- ax = axes[1]
- ax, _, _ = plot_single_erp(
- psth_id_0,
- ax,
- t_ar
- )
- ax, _, _ = plot_single_erp(
- psth_id_1,
- ax,
- t_ar,
- color='r'
- )
- ax.set(
- xlim=[-0.45, 0.25],
- xlabel='Time relative to first IED (s)',
- ylabel='Firing rate (Hz)'
- )
- ax.axvline(0, linestyle='--', color='k')
- # ----- permutation cluster test -----
- for_test = []
- for p in [psth_interest_0, psth_interest_1]:
- p = p[np.sum(p, axis=1) > 0, :]
- for_test.append(p)
- T_obs, clusters, p_values, H0 = permutation_cluster_test(
- for_test,
- verbose='ERROR'
- )
- signif_mask = np.zeros(T_obs.shape)
- for cluster_mask, p_val in zip(clusters, p_values):
- cluster_mask = cluster_mask[0].astype(int)
- if p_val < 0.05:
- signif_mask[cluster_mask[0]:cluster_mask[-1]] = 1
- ax.scatter(
- t_ar[signif_mask > 0],
- signif_mask[signif_mask > 0] - 1,
- color='k',
- s=12
- )
- # ============================================================
- # PANEL 3 — Decoding AUROC Boxplot
- # ============================================================
- plt_df = pd.read_csv(f'{source_path}/chain_decoding.csv')
- ax = axes[2]
- sns.boxplot(
- ax=ax,
- data=plt_df,
- x='column',
- y='Acc',
- hue='type',
- palette=['#404040', '#b6b7ba'],
- showfliers=False
- )
- ax.set(
- xlabel='',
- ylabel='AUROC \n(Isolated vs Series)',
- xticklabels=[probe_mapper[p.get_text()] for p in ax.get_xticklabels()]
- )
- ax.legend().set_visible(False)
- ax.axhline(50, color='k', linestyle='--', zorder=-100)
- plt_df.to_csv('./statistical_source/FIG6/panelk.csv')
- # ============================================================
- # FINALIZE
- # ============================================================
- # plt.savefig(
- # './current_composite/string_iso_row.pdf',
- # dpi=800,
- # transparent=True,
- # )
- # %%
- from scipy.stats import mannwhitneyu,ranksums
- import numpy as np
- for c in plt_df.column.unique():
- tmp_df = plt_df[plt_df.column == c]
- print(np.percentile(tmp_df[tmp_df.type == 'Shuffle'].Acc.values,95))
- print(np.mean(tmp_df[tmp_df.type == 'True'].Acc.values))
- print(c,ranksums(tmp_df[tmp_df.type == 'True'].Acc.values,
- tmp_df[tmp_df.type == 'Shuffle'].Acc.values))
- print(len(tmp_df[tmp_df.type == 'Shuffle'].Acc.values))
- # %%
- tmp_df
- # %%
- import numpy as np
- import pandas as pd
- import matplotlib.pyplot as plt
- import seaborn as sns
- # ============================================================
- # CREATE COMPOSITE FIGURE
- # ============================================================
- fig, axes = plt.subplots(
- 1, 4,
- figsize=(7, 1.6),
- gridspec_kw=dict(wspace=0.6),width_ratios=[1,1,0.9,0.3]
- )
- fig.subplots_adjust(left=0.06, right=0.982, top=0.98, bottom=0.2)
- # ============================================================
- # PANEL 1 — IED AMPLITUDE–SPLIT ERP
- # ============================================================
- D = np.load(
- f"{source_path}/ieds_amp_minimal_source.npz",
- allow_pickle=True
- )
- amp = D["amp"]
- erp = D["erp"]
- t_ar = D["t_ar"]
- key = str(D["key"])
- ax = axes[0]
- top = amp > np.percentile(amp, 75)
- bottom = amp < np.percentile(amp, 25)
- # High amplitude
- ax.plot(t_ar, erp[top].T, color='k', alpha=0.05)
- ax.plot(
- t_ar,
- erp[top].T.mean(1),
- color='k',
- alpha=0.9,
- label='High amp.'
- )
- # Low amplitude
- ax.plot(t_ar, erp[bottom].T, color='grey', alpha=0.05)
- ax.plot(
- t_ar,
- erp[bottom].T.mean(1),
- color='grey',
- alpha=0.9,
- label='Low amp.'
- )
- ax.axvline(0, color='k', linestyle='--')
- ax.set(
- xlabel='Time rel. to IED (S)',
- ylabel='LFP (uV)',
- xlim=[-0.25, 0.25],xticks=[-0.25,0,0.25]
- )
- ax.legend(
- frameon=False,
- loc=(0.01, 0.75),
- handletextpad=0.5,
- handlelength=0.9
- )
- # ============================================================
- # PANELS 2 & 3 — AMP DECODING AUROC TRACES
- # ============================================================
- D = np.load(
- f"{source_path}/amp_decoding_minimal_source.npz",
- allow_pickle=True
- )
- t_ar = D["t_ar"]
- rocs = D["rocs"]
- rocs_null = D["rocs_null"]
- best_ts = []
- for i, r, r_null in zip(range(len(rocs)), rocs, rocs_null):
- thresh = np.percentile(np.array(r_null), 99)
- try:
- best_ts.append(np.min(t_ar[r > thresh]))
- except:
- best_ts.append(-5)
- if i < 2:
- ax = axes[i + 1]
- ax.plot(t_ar, r, color='k')
- ax.axhline(thresh, color='k', linestyle='--')
- ax.axvline(0, color='k', linestyle='--')
- ax.set(
- ylabel='AUROC \n (Low vs High Amp. IED)',
- xlabel='Decoding up to timepoint (s)',ylim=[0.4,1],yticks=[0.4,0.6,0.8,1],xlim=[-1,0.5]
- )
- if(i == 1):
- ax.set(yticks=[],ylabel='')
- # ============================================================
- # PANEL 4 — FIRST ABOVE-CHANCE TIMEPOINT
- # ============================================================
- ax = axes[3]
- sns.stripplot(best_ts, color='k', alpha=0.6, jitter=0.4, ax=ax)
- sns.boxplot(best_ts, color='k', boxprops=dict(alpha=0.2), ax=ax)
- ax.axhline(0, linestyle='--', color='k', alpha=0.3)
- ax.set(
- ylabel='First above-chance \n decoding timepoint (s)',
- xticklabels=['Cortical site'],
- ylim=[-1, 0.5],
- yticks=[-1, -0.5, 0, 0.5]
- )
- # ============================================================
- # FINALIZE
- # ============================================================
- plt.tight_layout()
- # plt.savefig(
- # '../figure_3/current_composite/amp_decoding_row.pdf',
- # dpi=800,
- # transparent=True
- # )
- plt.show()
- # %%
Fig6.ipynb at commit 6a3676c, no license · at the source
Overview
- Department of Neurological Surgery, University of California, San Francisco, San Francisco, CA USA
- Weill Institute for Neuroscience, University of California, San Francisco, San Francisco, CA USA
- University of California, Berkeley, San Francisco Graduate Program in Bioengineering, Berkeley, CA USA
- Department of Neurology, University of California, San Francisco, San Francisco, CA USA
Abstract
Interictal epileptiform discharges (IEDs) are pathological bursts of brain activity between seizures in people with epilepsy. Despite their importance in diagnosis, cognitive comorbidities and therapeutic implications as biomarkers for neurostimulation, it is unknown how IEDs arise from structured large-scale neuronal firing across human cortical lamina. We used high-density Neuropixels probes to record from epileptogenic tissue in patients undergoing resective surgery, sampling 1,152 neurons during 1,094 IEDs across nine neocortical sites. We identified microcircuits for IEDs organized by firing pattern, neocortical depth and putative cell type. Regular-spiking cells, concentrated in superficial cortical lamina, initiated and coded the amplitude of the sharp discharge and excitatory–inhibitory imbalances across neocortical lamina preceded IEDs, enabling IED prediction up to 1,000 ms in advance. Most neurons that were modulated during IEDs also encoded cognitive information and adhered to physiological rhythms at baseline. Thus, neocortical IEDs are generated from predictable laminar–cellular interactions, providing the groundwork for new neurostimulation therapies that harness the granularity of single neurons.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 9 matches between paragraphs and lines of code.
Kleen-Lab/Linelength-spike-detector-MATLAB
3c73b037b0f55e3bc634f08e1632ee06861c6241, 21 June 2023Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
3 files
- LLspikedetector.m, MATLAB, 97 lines
- LICENSE, License, 121 lines
- README.md, Text, 22 lines
yaxigeigei/MTracer
2c193a57ddf5b8f05343d7793bb60d2866fc6253, 12 August 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
133 files
- +MTracer/
CNN.m , MATLAB, 343 lines - +MTracer/
ClusteringVM.m , MATLAB, 805 lines - +MTracer/
KilosortResult.m , MATLAB, 324 lines - +MTracer/
LayeredFigure.m , MATLAB, 147 lines - +MTracer/
Motion.m , MATLAB, 313 lines - +MTracer/
MotionInterpolant.m , MATLAB, 415 lines - +MTracer/
MotionPlot.m , MATLAB, 210 lines - +MTracer/
OperationManager.m , MATLAB, 134 lines - +MTracer/
Polygon.m , MATLAB, 103 lines - +MTracer/
SortingResult.m , MATLAB, 1,047 lines, 1 match - +MTracer/
SpikeReg.m , MATLAB, 162 lines - +MTracer/
TracerBaseClass.m , MATLAB, 109 lines - MTracerTrace.m, MATLAB, 305 lines
- MTracerVM.m, MATLAB, 1,296 lines
- external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ AlignTime.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ Duplicate.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ MakeEventTimesTable.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ MakeTimeSeriesTable.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ Merge.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ Peek.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ ResampleEventTimes.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ ResampleTimeSeries.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SetColumn.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SetReferenceTime.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SetTable.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SliceEventTimes.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SliceSession.mlx - external/
ManyFunMatlab/ , MATLAB, to read at its sourceDataToolkit/ +MSessionExplorer/ +Examples/ SliceTimeSeries.mlx - external/
ManyFunMatlab/ , MATLAB, 382 linesDataToolkit/ +MSessionExplorer/ Event.m - external/
ManyFunMatlab/ , MATLAB, 1,285 linesDataToolkit/ @MSessionExplorer/ MSessionExplorer.m - external/
ManyFunMatlab/ , MATLAB, 142 linesDataToolkit/ @MSessionExplorer/ MakeEventTimesTable.m - external/
ManyFunMatlab/ , MATLAB, 112 linesDataToolkit/ @MSessionExplorer/ MakeTimeSeriesTable.m - external/
ManyFunMatlab/ , MATLAB, 142 linesDataToolkit/ @MSessionExplorer/ Plot.m - external/
ManyFunMatlab/ , MATLAB, 175 linesDataToolkit/ @MSessionExplorer/ SliceEventTimes.m - external/
ManyFunMatlab/ , MATLAB, 199 linesDataToolkit/ @MSessionExplorer/ SliceTimeSeries.m - external/
ManyFunMatlab/ , MATLAB, 48 linesDataToolkit/ @MSessionExplorer/ UpdateOldObject.m - external/
ManyFunMatlab/ , MATLAB, 208 linesDataToolkit/ MBrowse.m - external/
ManyFunMatlab/ , MATLAB, 228 linesDataToolkit/ MIntan.m - external/
ManyFunMatlab/ , MATLAB, 587 linesDataToolkit/ MKilosort.m - external/
ManyFunMatlab/ , MATLAB, 628 linesDataToolkit/ MKilosort2.m - external/
ManyFunMatlab/ , MATLAB, 40 linesDataToolkit/ MKilosort4.m - external/
ManyFunMatlab/ , MATLAB, 800 linesDataToolkit/ MSpikeGLX.m - external/
ManyFunMatlab/ , MATLAB, 187 linesDataToolkit/ MUtil.m - external/
ManyFunMatlab/ , MATLAB, 342 linesImageToolkit/ Img23.m - external/
ManyFunMatlab/ , MATLAB, 170 linesImageToolkit/ Img34.m - external/
ManyFunMatlab/ , MATLAB, 536 linesImageToolkit/ MImgBaseClass.m - external/
ManyFunMatlab/ , MATLAB, 292 linesImageToolkit/ TiffNow.m - external/
ManyFunMatlab/ , MATLAB, 85 linesImageToolkit/ rename_photos_by_date.m - external/
ManyFunMatlab/ , MATLAB, 1,427 linesMathToolkit/ MMath.m - external/
ManyFunMatlab/ , MATLAB, 176 linesNNToolkit/ MNN.m - external/
ManyFunMatlab/ , MATLAB, 37 linesNNToolkit/ regressionMAELayer.m - external/
ManyFunMatlab/ , MATLAB, 682 linesNeuralToolkit/ MNeuro.m - external/
ManyFunMatlab/ , MATLAB, 1,486 linesPlotToolkit/ MPlot.m - external/
ManyFunMatlab/ , MATLAB, 716 linesPlotToolkit/ MPlotter.m - external/
ManyFunMatlab/ , MATLAB, 216 linesSpeechToolkit/ +MLing/ SeqAlign.m - external/
ManyFunMatlab/ , MATLAB, 339 linesSpeechToolkit/ MLing.m - external/
neuropixel-utils/ , MATLAB, 10 lines+Neuropixel/ +DataProcessFn/ commonAverageReference.m - external/
neuropixel-utils/ , MATLAB, 30 lines+Neuropixel/ +DataProcessFn/ commonAverageReferenceEa chBank.m - external/
neuropixel-utils/ , MATLAB, 4 lines+Neuropixel/ +DataProcessFn/ demeanOverTime.m - external/
neuropixel-utils/ , MATLAB, 115 lines+Neuropixel/ +DataProcessFn/ fft_clean.m - external/
neuropixel-utils/ , MATLAB, 286 lines+Neuropixel/ +Utils/ GetFullPath.m - external/
neuropixel-utils/ , MATLAB, 301 lines+Neuropixel/ +Utils/ ProgressBar.m - external/
neuropixel-utils/ , MATLAB, 2,208 lines+Neuropixel/ +Utils/ TensorUtils.m - external/
neuropixel-utils/ , MATLAB, 2,807 lines+Neuropixel/ +Utils/ cmocean.m - external/
neuropixel-utils/ , MATLAB, 5,888 lines+Neuropixel/ +Utils/ colorcet.m - external/
neuropixel-utils/ , MATLAB, 16 lines+Neuropixel/ +Utils/ computeTemplateSimilarit y.m - external/
neuropixel-utils/ , MATLAB, 88 lines+Neuropixel/ +Utils/ computeWaveformImageCent roid.m - external/
neuropixel-utils/ , MATLAB, 61 lines+Neuropixel/ +Utils/ configureDataTipsFromUse rData.m - external/
neuropixel-utils/ , MATLAB, 11 lines+Neuropixel/ +Utils/ discrete_histcounts.m - external/
neuropixel-utils/ , MATLAB, 43 lines+Neuropixel/ +Utils/ discretize_windows.m - external/
neuropixel-utils/ , MATLAB, 152 lines+Neuropixel/ +Utils/ distinguishable_colors.m - external/
neuropixel-utils/ , MATLAB, 43 lines+Neuropixel/ +Utils/ emptyStructArray.m - external/
neuropixel-utils/ , MATLAB, 20 lines+Neuropixel/ +Utils/ evalColorMapAt.m - external/
neuropixel-utils/ , MATLAB, 23 lines+Neuropixel/ +Utils/ generateChannelProximity Matrix.m - external/
neuropixel-utils/ , MATLAB, 14 lines+Neuropixel/ +Utils/ getDefaultChannelMapFile .m - external/
neuropixel-utils/ , MATLAB, 35 lines+Neuropixel/ +Utils/ getMeWtW_nomex.m - external/
neuropixel-utils/ , MATLAB, 17 lines+Neuropixel/ +Utils/ hideInLegend.m - external/
neuropixel-utils/ , MATLAB, 59 lines+Neuropixel/ +Utils/ hsl2rgb.m - external/
neuropixel-utils/ , MATLAB, 3 lines+Neuropixel/ +Utils/ isstringlike.m - external/
neuropixel-utils/ , MATLAB, 186 lines+Neuropixel/ +Utils/ linspecer.m - external/
neuropixel-utils/ , MATLAB, 13 lines+Neuropixel/ +Utils/ lookup_sampleIndexInConc atenatedFile.m - external/
neuropixel-utils/ , MATLAB, 73 lines+Neuropixel/ +Utils/ makeSymLink.m - external/
neuropixel-utils/ , MATLAB, 13 lines+Neuropixel/ +Utils/ makecol.m - external/
neuropixel-utils/ , MATLAB, 13 lines+Neuropixel/ +Utils/ makerow.m - external/
neuropixel-utils/ , MATLAB, 27 lines+Neuropixel/ +Utils/ mkdirRecursive.m - external/
neuropixel-utils/ , MATLAB, 25 lines+Neuropixel/ +Utils/ phy_cluster_colors.m - external/
neuropixel-utils/ , MATLAB, 312 lines+Neuropixel/ +Utils/ plotStackedTraces.m - external/
neuropixel-utils/ , MATLAB, 74 lines+Neuropixel/ +Utils/ pmat.m - external/
neuropixel-utils/ , MATLAB, 19 lines+Neuropixel/ +Utils/ pmatbal.m - external/
neuropixel-utils/ , MATLAB, 103 lines+Neuropixel/ +Utils/ relativepath.m - external/
neuropixel-utils/ , MATLAB, 54 lines+Neuropixel/ +Utils/ rgb2hsl.m - external/
neuropixel-utils/ , MATLAB, 98 lines+Neuropixel/ +Utils/ rugplot.m - external/
neuropixel-utils/ , MATLAB, 37 lines+Neuropixel/ +Utils/ seaborn_color_palette.m - external/
neuropixel-utils/ , MATLAB, 13 lines+Neuropixel/ +Utils/ setLineOpacity.m - external/
neuropixel-utils/ , MATLAB, 58 lines+Neuropixel/ +Utils/ showFirstInLegend.m - external/
neuropixel-utils/ , MATLAB, 46 lines+Neuropixel/ +Utils/ simple_rangesearch.m - external/
neuropixel-utils/ , MATLAB, 11 lines+Neuropixel/ +Utils/ turbomap.m - external/
neuropixel-utils/ , MATLAB, 46 lines+Neuropixel/ +Utils/ xcorrAB.m - external/
neuropixel-utils/ , MATLAB, 359 lines+Neuropixel/ ChannelMap.m - external/
neuropixel-utils/ , MATLAB, 180 lines+Neuropixel/ ClusterMergeInfo.m - external/
neuropixel-utils/ , MATLAB, 383 lines+Neuropixel/ ClusterRatingInfo.m - external/
neuropixel-utils/ , MATLAB, 126 lines+Neuropixel/ ClusterStabilitySummary. m - external/
neuropixel-utils/ , MATLAB, 306 lines+Neuropixel/ ConcatenationInfo.m - external/
neuropixel-utils/ , MATLAB, 2,886 lines+Neuropixel/ ImecDataset.m - external/
neuropixel-utils/ , MATLAB, 2,723 lines+Neuropixel/ KilosortDataset.m - external/
neuropixel-utils/ , MATLAB, 2,672 lines+Neuropixel/ KilosortMetrics.m - external/
neuropixel-utils/ , MATLAB, 491 lines+Neuropixel/ KilosortPartialResort.m - external/
neuropixel-utils/ , MATLAB, 672 lines+Neuropixel/ KilosortTrialSegmentedDa taset.m - external/
neuropixel-utils/ , MATLAB, 1,042 lines+Neuropixel/ SnippetSet.m - external/
neuropixel-utils/ , MATLAB, 241 lines+Neuropixel/ TimeShiftSpec.m - external/
neuropixel-utils/ , MATLAB, 296 lines+Neuropixel/ TrialSegmentationInfo.m - external/
neuropixel-utils/ , MATLAB, 51 lines+Neuropixel/ exportRezToMat.m - external/
neuropixel-utils/ , MATLAB, 380 lines+Neuropixel/ exportRezToPhy.m - external/
neuropixel-utils/ , MATLAB, 32 lines+Neuropixel/ generatePath.m - external/
neuropixel-utils/ , MATLAB, 45 lines+Neuropixel/ globals.m - external/
neuropixel-utils/ , MATLAB, 142 lines+Neuropixel/ readINI.m - external/
neuropixel-utils/ , MATLAB, 104 lines+Neuropixel/ readNPY.m - external/
neuropixel-utils/ , MATLAB, 126 lines+Neuropixel/ runKilosort1.m - external/
neuropixel-utils/ , MATLAB, 128 lines+Neuropixel/ runKilosort2.m - external/
neuropixel-utils/ , MATLAB, 127 lines+Neuropixel/ runKilosort2_modified.m - external/
neuropixel-utils/ , MATLAB, 56 lines+Neuropixel/ updateChannelMapPhyWithS yncChannels.m - external/
neuropixel-utils/ , MATLAB, 78 lines+Neuropixel/ writeINI.m - external/
neuropixel-utils/ , MATLAB, 109 lines+Neuropixel/ writeNPY.m - external/
neuropixel-utils/ , MATLAB, 28 linestrialDataExample.m - external/
neuropixel-utils/ , Jupyter, 111 linestutorial.ipynb - external/
npy-matlab/ , MATLAB, 88 linesconstructNPYheader.m - external/
npy-matlab/ , MATLAB, 42 linesdatToNPY.m - external/
npy-matlab/ , MATLAB, 37 linesreadNPY.m - external/
npy-matlab/ , MATLAB, 69 linesreadNPYheader.m - external/
npy-matlab/ , MATLAB, 25 lineswriteNPY.m - scripts/
example_make_f2.mlx , MATLAB, to read at its source - scripts/
example_rez_to_trace.mlx , MATLAB, to read at its source - README.md, Text, 252 lines
asilvaalex4/NP_IEDs
6a3676cde02e8fc17d32ab92e9fcbd6d3870d073, 1 April 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
20 files
- Extended_Data_1.ipynb, Jupyter, 380 lines
- Extended_Data_10.ipynb, Jupyter, 65 lines
- Extended_Data_2.ipynb, Jupyter, 189 lines, 2 matches
- Extended_Data_3.ipynb, Jupyter, 49 lines
- Extended_Data_4.ipynb, Jupyter, 81 lines
- Extended_Data_5.ipynb, Jupyter, 99 lines
- Extended_Data_6.ipynb, Jupyter, 77 lines
- Extended_Data_7.ipynb, Jupyter, 49 lines
- Extended_Data_8.ipynb, Jupyter, 134 lines, 1 match
- Extended_Data_9.ipynb, Jupyter, 46 lines
- Fig1.ipynb, Jupyter, 476 lines
- Fig2.ipynb, Jupyter, 618 lines
- Fig3.ipynb, Jupyter, 848 lines
- Fig4.ipynb, Jupyter, 536 lines
- Fig5.ipynb, Jupyter, 354 lines, 2 matches
- Fig6.ipynb, Jupyter, 731 lines, 3 matches
- Supplemental_1.ipynb, Jupyter, 43 lines
- erp_util.py, Python, 760 lines
- np_tools.py, Python, 349 lines
- README.md, Text, 2 lines
Zenodo 18651142
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
Code availability
Code to replicate the main results and all figures of the manuscript is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 152 scripts, each with its path and the digest of its content;
- 9 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
Data to replicate the main findings and all figures of this manuscript are available at 10.5281/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 5 keywords, 11 MeSH terms, 2 funders, 86 references.
Cite
This paper
Silva, A. B., Marathe, S. A., Greicius, Q. R., Xu, D., Jain, S., Chung, J. E., Yang, X., Khambhati, A. N., Leonard, M. K., Kleen, J. K., & Chang, E. F. (2026). Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges. Nature neuroscience, 29(6), 1462-1475. https://
BibTeX
@article{silva2026lamina
author = {Silva, Alexander B and Marathe, Siddharth A and Greicius, Quinn R and Xu, Duo and Jain, Shailee and Chung, Jason E and Yang, Xiaofang and Khambhati, Ankit N and Leonard, Matthew K and Kleen, Jonathan K and Chang, Edward F},
title = {{Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges}},
journal = {Nature neuroscience},
year = {2026},
month = apr,
volume = {29},
number = {6},
pages = {1462--1475},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/
url = {https://
pmid = {42062597},
pmcid = {PMC13246451}
}
RIS
TY - JOUR
AU - Silva, Alexander B
AU - Marathe, Siddharth A
AU - Greicius, Quinn R
AU - Xu, Duo
AU - Jain, Shailee
AU - Chung, Jason E
AU - Yang, Xiaofang
AU - Khambhati, Ankit N
AU - Leonard, Matthew K
AU - Kleen, Jonathan K
AU - Chang, Edward F
TI - Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/
VL - 29
IS - 6
SP - 1462
EP - 1475
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Laminar organization of cellular microcircuits modulating human interictal epileptiform discharges",
"container-title": "Nature neuroscience",
"author": [
{
"family": "Silva",
"given": "Alexander B"
},
{
"family": "Marathe",
"given": "Siddharth A"
},
{
"family": "Greicius",
"given": "Quinn R"
},
{
"family": "Xu",
"given": "Duo"
},
{
"family": "Jain",
"given": "Shailee"
},
{
"family": "Chung",
"given": "Jason E"
},
{
"family": "Yang",
"given": "Xiaofang"
},
{
"family": "Khambhati",
"given": "Ankit N"
},
{
"family": "Leonard",
"given": "Matthew K"
},
{
"family": "Kleen",
"given": "Jonathan K"
},
{
"family": "Chang",
"given": "Edward F"
}
],
"container-title-short":
"volume": "29",
"issue": "6",
"page": "1462-1475",
"DOI": "10.1038/
"PMID": "42062597",
"PMCID": "PMC13246451",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
30
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1088/1741-2552/ae1b3b [code]
- Distance of bipolar re-referencing imparts nonlinear frequency-specific influences on intracranial recording signal measurements.Journal: Journal of neural engineeringIn common: statsmodels, Signal Processing Toolbox, Image Processing Toolbox, 6 other tools, epilepsy, EEG, 5 references, 2 authors
- [2] doi:10.1162/nol_a_00166 [code]
- Role for Left Dorsomedial Prefrontal Cortex in Self-Generated, but not Externally Cued, Language Production.Journal: Neurobiology of language (Cambridge, Mass.)In common: Parallel Computing Toolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, 3 authors
- [3] doi:10.1016/j.neuron.2025.08.030 [code]
- Ultra-high-density Neuropixels probes improve detection and identification in neuronal recordings.Journal: NeuronIn common: Parallel Computing Toolbox, statsmodels, Signal Processing Toolbox, 7 other tools, systems, 7 references
- [4] doi:10.1073/pnas.2302676120 [code]
- Interictal epileptiform discharges affect memory in an Alzheimer's disease mouse model.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Parallel Computing Toolbox, Signal Processing Toolbox, Image Processing Toolbox, 4 other tools, epilepsy, 7 references
- [5] doi:10.1038/s41586-023-06839-2 [code]
- Large-scale single-neuron speech sound encoding across the depth of human cortex.Journal: NatureIn common: 6 references, 2 authors
- [6] doi:10.1088/1741-2552/adf50e [code]
- Implications of shared motor and perceptual activations on the sensorimotor cortex for neuroprosthetic decoding.Journal: Journal of neural engineeringIn common: statsmodels, seaborn, scikit-learn, 4 other tools, 2 references, 2 authors
- [7] doi:10.1038/s41467-022-33536-x [code]
- A consensus statement on detection of hippocampal sharp wave ripples and differentiation from other fast oscillations.Journal: Nature communicationsIn common: Parallel Computing Toolbox, Signal Processing Toolbox, Image Processing Toolbox, 4 other tools, systems, 7 references
- [8] doi:10.1002/advs.202416239 [code]
- Multi-Shank 1024 Channels Active SiNAPS Probe for Large Multi-Regional Topographical Electrophysiological Mapping of Neural Dynamics.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: Kilosort, Parallel Computing Toolbox, Signal Processing Toolbox, 7 other tools, systems, 3 references
- [9] doi:10.1038/s41593-026-02232-0 [code]
- Entorhinal cortex represents task-relevant remote locations independently of CA1.Journal: Nature neuroscienceIn common: Kilosort, statsmodels, Signal Processing Toolbox, 8 other tools, systems, 2 references
- [10] doi:10.1038/s41592-024-02440-1 [code]
- Tracking neurons across days with high-density probes.Journal: Nature methodsIn common: Kilosort, Parallel Computing Toolbox, statsmodels, 9 other tools, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 4 repositories of the authors' code, each at its verified commit and with its license, 152 scripts, and 9 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:3481f1b2b28b50ee…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s41593-026-02258-4)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41593-026-02258-4.svg
:target: https://openscicode.org/badge/doi/10.1038/s41593-026-02258-4
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41593-026-02258-4"><img src="https://openscicode.org/badge/doi/10.1038/s41593-026-02258-4.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
- Kleen-Lab/Linelength-spike-detector-MATLAB: README.md on GitHub
- yaxigeigei/MTracer: README.md on GitHub
- asilvaalex4/NP_IEDs: README.md on GitHub
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
