OSCR

Mapping epileptogenic brain using a unified spatial–temporal–spectral source imaging framework

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 548 lines · 15 KB · CC-BY-NC-SA-4.0

  1. %% Load the data, plot it and do tensor decomposition
  2. clear; close all; clc
  3. subjID = 'Example_Patient1';
  4. startup_patient;
  5. cd(GridLoc_Folder)
  6. Elec_loc_file = dir('*.xyz');
  7. Elec_loc = readlocs(Elec_loc_file.name);
  8. cd(Spk_Folder)
  9. load([subjID '_hfo_spike_data.mat']);
  10. Data_Signal = pEventData;
  11. cd(Code_Folder)
  12. %==========%
  13. sRate = 500;
  14. channel = 27;
  15. sig = Data_Signal(channel,:);
  16. [wt,F] = cwt(sig,sRate,'FrequencyLimits',[0 200],'VoicesPerOctave',10);
  17. S = abs(wt);
  18. S_complex = wt;
  19. %==========%
  20. Tensor = zeros(size(Data_Signal,1),size(Data_Signal,2),40);
  21. sRate = 500;
  22. inputcase = 2; % 1 is the amplitude , 2 is the real part, 3 is the imaginary part, 4 is complex tensor
  23. for channel = 1:size(Data_Signal,1)
  24. sig = Data_Signal(channel,:);
  25. [wt,F] = cwt(sig,sRate,FrequencyLimits=[0 200]);
  26. S = abs(wt);
  27. S_complex = wt;
  28. switch inputcase
  29. case 1
  30. S = sqrt(squeeze(S));
  31. case 2
  32. S = squeeze(real(S_complex));
  33. case 3
  34. S = squeeze(imag(S_complex));
  35. case 4
  36. S = S_complex;
  37. end
  38. for freq = 1:length(F)
  39. for time = 1:size(Data_Signal,2)
  40. Tensor(channel,time,freq) = S(freq,time);
  41. end
  42. end
  43. end
  44. switch inputcase
  45. case 1
  46. R = 50;
  47. case 2
  48. R = 50;
  49. case 3
  50. R = 50;
  51. case 4
  52. R = 50;
  53. end
  54. % Compute the CPD of the full tensor T.
  55. %options.Algorithm = @cpd_minf;
  56. init = @cpd_gevd;
  57. rng('default');
  58. rng(0)
  59. %
  60. Uhat = cpd(Tensor,R,'Initialization', init);
  61. %====% if simply use the determinstic method, the generalized eignevector
  62. %method for tensor decomposition
  63. %Uhat = cpd_gevd(Tensor,R);
  64. %=====%
  65. Topo_ICA = Uhat{1};
  66. Act = Uhat{2};
  67. Spectrum = Uhat{3};
  68. if(inputcase == 4 )
  69. Topo_ICA = real(Topo_ICA);
  70. Act = real(Act);
  71. Spectrum = real(Spectrum);
  72. end
  73. % save all the components into figures
  74. cd(Fig_Folder)
  75. for r = 1:R
  76. fig1 = figure('visible','off');
  77. subplot (1,3,1);
  78. topoplot(Topo_ICA(:,r),Elec_loc,'plotrad',0.55,'electrodes','on');
  79. subplot (1,3,2);
  80. plot(Act(:,r));
  81. set(gca,'FontSize',10)
  82. subplot (1,3,3);
  83. plot(F,Spectrum(:,r));
  84. set(gca,'FontSize',10)
  85. [~,maxfreqindex] = max(abs(Spectrum(:,r)));
  86. title(['main freq:' num2str(F(maxfreqindex))]);
  87. fig1.Position = [100 100 1000 400];
  88. saveas(fig1,[num2str(r) '.jpg']);
  89. end
  90. %%
  91. %=====Reconstruct the spatialtemporal signal using certain components====%
  92. Topo_ICA = Uhat{1};
  93. Act = Uhat{2};
  94. Spectrum = Uhat{3};
  95. if(inputcase == 4 )
  96. Topo_ICA = real(Topo_ICA);
  97. Act = real(Act);
  98. Spectrum = real(Spectrum);
  99. end
  100. component_selected = [5,49];
  101. freq_select = [14];
  102. Uhat_approx1 = Topo_ICA(:,component_selected); % spatial
  103. Uhat_approx2 = Act(:,component_selected); % temporal
  104. Uhat_approx3 = Spectrum(:,component_selected); % spectral
  105. Uhat_approx2 = Uhat_approx2(:,:);
  106. Uhat_approx3 = Uhat_approx3(freq_select,:);
  107. Uhat_approx = {Uhat_approx1,Uhat_approx2,Uhat_approx3};
  108. Tensor_Groundtruth = Tensor(:,:,freq_select);
  109. Num_TBF = length(component_selected);
  110. cd(GridLoc_Folder);
  111. load('UnconstCentLFD.mat')
  112. Norm_K = svds(K,1)^2;
  113. load('Gradient.mat')
  114. load('Laplacian.mat')
  115. load('NewMesh.mat')
  116. load('LFD_Fxd_Vertices.mat')
  117. load('Edge.mat')
  118. V = kron(V,eye(3));
  119. load('Neighbor.mat')
  120. Number_dipole = numel(K(1,:));
  121. Location = New_Mesh(1:3,:);
  122. TRI = currytri.';
  123. Vertice_Location = curryloc;
  124. Number_edge = numel(V(:,1));
  125. cd(Code_Folder)
  126. % Select an extended source and display it on the cortex
  127. CortexViewInit;
  128. figure
  129. h1 = trisurf(TRI,Vertice_Location(1,:),Vertice_Location(2,:),Vertice_Location(3,:),(0)); colorbar;
  130. set(h1,'EdgeColor','None', 'FaceAlpha',1,'FaceLighting','phong');
  131. hold on
  132. hold off
  133. light_position = [3 3 1];
  134. light('Position',light_position);
  135. light_position = [-3 -3 -1];
  136. light('Position',light_position);
  137. colorbar;
  138. x_max = 1;
  139. %x_max = 0.05;
  140. caxis([-x_max x_max]);
  141. view([-1,0.25,0.15])
  142. grid off
  143. axis off
  144. %colorbar('off')
  145. colormap(cmap)
  146. position = [-38,-23,92]';
  147. J = zeros(Number_dipole,1);
  148. dist = norms(Location - position);
  149. index_dist = find(dist<20);
  150. J_abbas = reshape(repmat(J,1,Num_TBF), [3, Number_dipole/3, Num_TBF]);
  151. J_abbas(:,index_dist,:) = 1;
  152. J_abbas_2 = squeeze(reshape(J_abbas,[Number_dipole,1,Num_TBF]));
  153. % % number of J is equal to number of triangles
  154. J_abbas_1 = squeeze(norms(J_abbas,1));
  155. % %================%
  156. J_abbas_1 = sum(J_abbas_1.^2,2);
  157. % %================%
  158. J_init_plot = (J_abbas_1);
  159. figure
  160. h1 = trisurf_customized(TRI,Vertice_Location(1,:),Vertice_Location(2,:),Vertice_Location(3,:),(J_init_plot)); colorbar;
  161. set(h1,'EdgeColor','None', 'FaceAlpha',1,'FaceLighting','phong');
  162. hold on
  163. hold off
  164. light_position = [3 3 1];
  165. light('Position',light_position);
  166. light_position = [-3 -3 -1];
  167. light('Position',light_position);
  168. colorbar;
  169. x_max = max(sum(abs(J_init_plot),2));
  170. if(size(J_init_plot,1) == 1)
  171. x_max = max(abs(J_init_plot));
  172. end
  173. %x_max = 0.05;
  174. caxis([-x_max x_max]);
  175. view(perspect)
  176. grid off
  177. axis off
  178. %colorbar('off')
  179. colormap(cmap)
  180. %
  181. Uhat_J_ini = J_abbas_2;
  182. sum0 = sum(Uhat_J_ini,2);
  183. index_choose_SourceSpatial = find(sum0~=0);
  184. %Tensor;
  185. N_SourceSpatial = Number_dipole; % Number of dipoles, if unconstrained, then is 3*number dipole
  186. N_Temporal = size(Uhat_approx2,1); % Number of time points
  187. N_Spectral = size(Uhat_approx3,1); % Number of frequencies included in the analysis
  188. N_channel = size(Data_Signal,1);
  189. SensorSpaceTensor = zeros(N_channel,N_Temporal,N_Spectral);
  190. %
  191. %======= this is the matrix multiplcation method
  192. J1 = kron(eye(N_Spectral),J_abbas_2);
  193. TBF = [];
  194. for nn1 = 1:N_Spectral
  195. TBF = [TBF;Uhat_approx3(nn1,:)'.*Uhat_approx2'];
  196. end
  197. JA = J1*conj(TBF);
  198. K1 = kron(eye(N_Spectral),K);
  199. KJA = K1*JA;
  200. KJA1 = KJA(1:N_channel,:);
  201. KJA1_true= SensorSpaceTensor(:,:,1);
  202. TBF_tensor = zeros(Num_TBF,N_Temporal,N_Spectral);
  203. for nn1 = 1:N_Spectral
  204. TBF_tensor(:,:,nn1) = Uhat_approx3(nn1,:)'.*Uhat_approx2';
  205. end
  206. %=====
  207. Phi_tensor = Tensor_Groundtruth;
  208. Sig_st = 135;
  209. Sig_end = 170;
  210. Noise_st = 1;
  211. Noise_end = 100;
  212. num_it_x = 25;
  213. num_it_y = 25;
  214. Number_iteration = 4;
  215. parms = cell(N_Spectral,1);
  216. for iter_TBF = 1:N_Spectral
  217. Phi = squeeze(Phi_tensor(:,:,iter_TBF));
  218. TBF = squeeze(TBF_tensor(:,:,iter_TBF));
  219. Phi_noisy = Phi(:,:);
  220. [Number_sensor,Number_Source] = size(Phi_noisy);
  221. % Estimating Noise and Initializing
  222. N_wht = Phi_noisy - Phi_noisy*TBF.'*pinv(TBF*TBF.')*TBF;
  223. Noise_only = Phi_noisy(:,Noise_st:Noise_end);
  224. SNR_unused = norm(Phi_noisy,'fro')^2/norm(Noise_only,'fro')^2; % a SNR that is not used
  225. % Noise Estimation try different options
  226. Sigma_inv_half = 1*diag(1./std(Noise_only(:,:),[],2));
  227. %==============%
  228. Sigma_inv_half = diag(repmat(mean(diag(Sigma_inv_half)),[Number_sensor 1]));
  229. %==============%
  230. Phi_noisy = Phi_noisy(:,Sig_st:Sig_end);
  231. TBF = TBF (:,Sig_st:Sig_end);
  232. psi = Phi_noisy*(TBF.')/(TBF*(TBF.'));
  233. % Initializing the Solution
  234. SNR_avg = mean(std(Sigma_inv_half*Phi_noisy(:,1:end),[],2).^2)/mean(std(Sigma_inv_half*Noise_only,[],2).^2)
  235. D_W = ((norms(K+10^-20).^-1));
  236. K_n = (Sigma_inv_half*K).*repmat(D_W,[Number_sensor 1]);
  237. psi_n = Sigma_inv_half*psi;
  238. [~, gam] = eig((Sigma_inv_half^1*K)*((Sigma_inv_half*K).'));
  239. %======%
  240. Smf = 10^3; % smooth factor
  241. %======%
  242. J_ini = (K_n.'*pinv(K_n*K_n.' + mean(diag(gam))*(Smf/SNR_avg)*eye(Number_sensor))*psi_n).*repmat(D_W',[1 Num_TBF]);
  243. %J_ini = randn(size(J_ini))*norm(J_ini,1);
  244. close all
  245. [Number_sensor,Number_Source] = size(Phi_noisy);
  246. epsilon = 0.1;
  247. % Noise Power Parameter (Chi_2 Dist Theory)
  248. prob = 0.95;
  249. beta = icdf('chi2',prob,Number_sensor-1); % Spike Avg
  250. Phi_norm = Sigma_inv_half*(Phi_noisy(:,:));
  251. K_norm = Sigma_inv_half*(K);
  252. power = sum((Sigma_inv_half*Noise_only).^2,1);
  253. power_signal = sqrt(sum(Phi_noisy.^2,2))/size(Phi_noisy,2);
  254. power_noise = sqrt(sum(Noise_only.^2,2))/size(Noise_only,2);
  255. SNR_allchannel = power_signal./power_noise;
  256. SNR = mean(SNR_allchannel);
  257. disp(['SNR of the data is ' num2str(SNR)]);
  258. [X,B] = hist(power,100);
  259. Sum_X = cumsum(X)/sum(X);
  260. ind_90 = find(Sum_X > 0.90); B(ind_90(1,1));
  261. ind_95 = find(Sum_X > 0.95); B(ind_95(1,1));
  262. ind_50 = find(Sum_X > 0.50); B(ind_50(1,1));
  263. CF_min = beta/(norm(Phi_norm,'fro')^2/Number_Source);
  264. %==============%
  265. CF = max(beta/B(ind_50(1,1)),CF_min) ;
  266. %==============%
  267. %=============%
  268. alpha_vec = 0.35;
  269. Num_alpha = numel(alpha_vec);
  270. %=============%
  271. % Variables to save results
  272. J_sol = zeros(Number_dipole,Num_TBF,Number_iteration,Num_alpha);
  273. Y_sol = zeros(Number_edge,Num_TBF,Number_iteration,Num_alpha);
  274. W_sol = zeros(Number_dipole,Num_TBF,Number_iteration,Num_alpha);
  275. W_d_sol = zeros(Number_edge,Num_TBF,Number_iteration,Num_alpha);
  276. J_sol_2 = J_sol;
  277. Y_sol_2 = Y_sol;
  278. % Weighting the depth - initializing weighting matrix
  279. M = size(K,2);
  280. N = size(V,1);
  281. W = ones(M,Num_TBF);
  282. W_d = ones(N,Num_TBF);
  283. % Initialize optimization parameters - set number of iterations, etc.
  284. Lambda_min = Norm_K*sqrt(Number_sensor)/max(norms(K.'*Phi_noisy));
  285. C_t = (TBF*(TBF.'));
  286. TBF_norm = TBF.'*(C_t\TBF);
  287. T_norm = (TBF.')/C_t;
  288. alpha = alpha_vec;
  289. lambda = 6*max(1, Lambda_min);
  290. W_v = (V.')*V;
  291. L_v = 1.1*svds(W_v,1);
  292. x_0 = zeros(Number_dipole,Num_TBF);
  293. eps = 10^-3;
  294. betta_tilda = (norm(Phi_norm,'fro')^2/SNR)/CF;
  295. Abbas = K_norm*(K_norm.');
  296. [U, D, ~] = svd(Abbas);
  297. K_U = U.'*K_norm;
  298. parms{iter_TBF}.lambda = lambda;
  299. parms{iter_TBF}.betta_tilda = betta_tilda;
  300. parms{iter_TBF}.Phi_norm = Phi_norm;
  301. parms{iter_TBF}.TBF = TBF;
  302. parms{iter_TBF}.TBF_norm = TBF_norm;
  303. parms{iter_TBF}.T_norm = T_norm;
  304. parms{iter_TBF}.U = U;
  305. parms{iter_TBF}.D = D;
  306. parms{iter_TBF}.K_norm = K_norm;
  307. parms{iter_TBF}.K_U = K_U;
  308. end
  309. num_it_new = 0;
  310. stop_crt = 10^-3;
  311. % Initialize the optimization problem, Loop through till convergence,
  312. % update the weights using the iterative re-weighting schema and solve
  313. % agian until convergence or counter overflow.
  314. stop_itr = 0;
  315. weight_it = 0;
  316. max_weight_itr_num = Number_iteration;
  317. t1 = tic;
  318. res_obj_combined = cell(0);
  319. for i_alpha = 1:Num_alpha
  320. alpha = alpha_vec(i_alpha);
  321. x_0 = J_ini;
  322. stop_itr = 0;
  323. weight_it = 0;
  324. W = ones(M,Num_TBF);
  325. W_d = ones(N,Num_TBF);
  326. while (~stop_itr)
  327. weight_it = weight_it + 1;
  328. if weight_it > max_weight_itr_num
  329. stop_itr = 1;
  330. end
  331. [J,Y,res_obj] = FISTA_ADMM_IRES_Tensor (alpha, W_v, V, L_v,x_0, W, W_d, eps,num_it_x,num_it_y,num_it_new,parms);
  332. res_obj_combined{end+1} = res_obj;
  333. x_0 = J;
  334. J_sol(:,:,weight_it,i_alpha) = J;
  335. Y_sol(:,:,weight_it,i_alpha) = Y;
  336. J_n = reshape(J, [3, Number_dipole/3, Num_TBF]);
  337. Ab_J = squeeze(norms(J_n))+10^-20;
  338. if(size(Ab_J,1) == 1)
  339. Ab_J = Ab_J';
  340. end
  341. Y_n = reshape(V*J, [3, Number_edge/3, Num_TBF]);
  342. Ab_Y = squeeze(norms(Y_n))+10^-20;
  343. if(size(Ab_Y,1) == 1)
  344. Ab_Y = Ab_Y';
  345. end
  346. W_old = W;
  347. W_tr = 1./(0 + Ab_J./(repmat(max(Ab_J),[Number_dipole/3 1])) + (epsilon+10^-16) );
  348. W = circshift(upsample(W_tr,3),[0 0]) + circshift(upsample(W_tr,3),[1 0]) + circshift(upsample(W_tr,3),[2 0]);
  349. W_d_old = W_d;
  350. W_d_tr = 1./(0 + Ab_Y./(repmat(max(Ab_Y),[Number_edge/3 1]))+(epsilon+10^-16));
  351. W_d = circshift(upsample(W_d_tr,3),[0 0]) + circshift(upsample(W_d_tr,3),[1 0]) + circshift(upsample(W_d_tr,3),[2 0]);
  352. W_sol(:,:,weight_it,i_alpha) = W;
  353. W_d_sol(:,:,weight_it,i_alpha) = W_d;
  354. if (norm(W-W_old)/norm(W_old) < stop_crt && norm(W_d-W_d_old)/norm(W_d_old) < stop_crt)
  355. stop_itr = 1;
  356. end
  357. clc
  358. figure
  359. h1 = trisurf_customized(TRI,Vertice_Location(1,:),Vertice_Location(2,:),Vertice_Location(3,:),sum((Ab_J),2)); colorbar
  360. set(h1,'EdgeColor','None', 'FaceAlpha',1,'FaceLighting','phong');
  361. light_position = [3 3 1];
  362. light('Position',light_position);
  363. light_position = [-3 -3 -1];
  364. light('Position',light_position);
  365. colorbar;
  366. x_max = max(abs(sum(J,2)));
  367. if isnan(x_max)
  368. x_max = 1;
  369. end
  370. caxis([-x_max x_max]);
  371. view(232,-5)
  372. grid off
  373. colormap(cmap)
  374. cd(Fig_Folder)
  375. cd('STSI')
  376. name_fig = ['TBF_1st_Iteration_',num2str(weight_it),'.fig'];
  377. saveas(gcf,name_fig)
  378. name_fig = ['TBF_1st_Iteration_',num2str(weight_it),'.jpeg'];
  379. saveas(gcf,name_fig)
  380. end
  381. close all;
  382. end
  383. t_elaps = toc(t1);
  384. disp(['total time elapsed in hours: ' num2str(t_elaps/3600)]);
  385. %%
  386. J = squeeze(J_sol(:,:,end,1));
  387. Num_TBF = size(J,2);
  388. J_abbas = reshape(J, [3, Number_dipole/3, Num_TBF]);
  389. % number of J is equal to number of triangles
  390. J_abbas_1 = squeeze(norms(J_abbas,1));
  391. %================%
  392. J_abbas_2 = J_abbas_1.^2*sum(squeeze(var(TBF_tensor(),[],2)),2);
  393. J_abbas_2 = J_abbas_2(:);
  394. %================%
  395. J_init = (J_abbas_2);
  396. figure
  397. h1 = trisurf_customized(TRI,Vertice_Location(1,:),Vertice_Location(2,:),Vertice_Location(3,:),(J_init)); colorbar;
  398. set(h1,'EdgeColor','None', 'FaceAlpha',1,'FaceLighting','phong');
  399. hold on
  400. hold off
  401. light_position = [3 3 1];
  402. light('Position',light_position);
  403. light_position = [-3 -3 -1];
  404. light('Position',light_position);
  405. colorbar;
  406. x_max = max(sum(abs(J_init),2));
  407. if(size(J_init,1) == 1)
  408. x_max = max(abs(J_init));
  409. end
  410. caxis([-x_max x_max]);
  411. view(-119,12)
  412. grid off
  413. axis off
  414. %colorbar('off')
  415. colormap(cmap)
  416. % Now instead of plotting the whole J distribution, we find clusters (patches)
  417. % of J that has magnitude corssing a threshold
  418. J_col = J_abbas_2;
  419. %================%
  420. Thr = 1/64;
  421. %================%
  422. J_col(abs(J_col)<Thr*max(abs(J_col)))=0;
  423. IND = Find_Patch(Edge, 1, J_col);
  424. J_init = IND;
  425. J_seg = IND;
  426. J_abbas_2 = J_abbas_2.*IND;
  427. figure
  428. h1 = trisurf_customized(TRI,Vertice_Location(1,:),Vertice_Location(2,:),Vertice_Location(3,:),(J_abbas_2));
  429. hold off
  430. colorbar;
  431. set(h1,'EdgeColor','None', 'FaceAlpha',1,'FaceLighting','phong');
  432. light_position = [3 3 1];
  433. light('Position',light_position);
  434. light_position = [-3 -3 -1];
  435. light('Position',light_position);
  436. colorbar;
  437. x_max = max(sum(abs(J_abbas_2),2));
  438. caxis([-x_max x_max]);
  439. view(232,-5)
  440. grid off
  441. axis on
  442. colormap(cmap)
  443. cd(Code_Folder)

Example_Patient1_Event1_pHFO.m at commit 98ec2c9, under CC-BY-NC-SA-4.0 · at the source

Overview

  1. Department of Biomedical Engineering, Carnegie Mellon University, Pittsburgh, PA 15213
  2. Department of Neurology, Mayo Clinic, Rochester, MN 55905
Institutions: Carnegie Mellon University (United States); Mayo Clinic (United States)
Journal: n/a, volume 122, issue 50, article e2510015122
Dates: received 23 April 2025; accepted 26 October 2025; published online 8 December 2025; in print 16 December 2025
Type: Research article · Language: English
License: none stated
Identifiers: DOI 10.1073/pnas.2510015122 · PMCID PMC12718345 · OpenAlex W4417134461
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), epilepsy (population), clinical / translational (subfield)
Methods: Single-unit activity, calcium imaging, Physiology & signal measures, Spectral & time-frequency
Keywords: source imaging, source localization, EEG, interictal biomarker, epilepsy
MeSH: Brain*, Brain Mapping*, Drug Resistant Epilepsy*, Adolescent, Adult, Electroencephalography, Female, Humans, Male, Middle Aged, Seizures, Young Adult (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: HHS | NIH | National Institute of Biomedical Imaging and Bioengineering (EB029365); NINDS NIH HHS (R01 NS127849, RF1 NS131069, R01 NS124564, R01 NS096761, RF1 NS124564); NIBIB NIH HHS (T32 EB029365); HHS | NIH | National Institute of Neurological Disorders and Stroke (NS096761 NS127849 NS131069 NS124564)
Citations: cited by 5 papers (Europe PMC); 79 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (none stated) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above.

bfinl/STSI

License: CC-BY-NC-SA-4.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 98ec2c90434f01624cd843b374f3ffc40c11dc28, 8 December 2025
Languages: MATLAB (15)
Size: 36 files, 15 scripts
Software Heritage: not archived
Found in: “Data, Materials, and Software Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: EEGLAB (4 files), Wavelet Toolbox (3 files), FieldTrip (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
17 files
At the source: github.com/bfinl/STSI

The paper's code and data availability statement is in the Data section.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 15 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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.

Code and data availability statement

The paper has a code and data availability statement. Its license (none stated) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1073/pnas.2510015122.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 12 MeSH terms, 4 funders, 73 references.

Cite

This paper

Jiang, X., Cai, Z., Gonsisko, C., Worrell, G. A., & He, B. (2025). Mapping epileptogenic brain using a unified spatial–temporal–spectral source imaging framework. Proceedings of the National Academy of Sciences of the United States of America, 122(50), e2510015122. https://doi.org/10.1073/pnas.2510015122

BibTeX

@article{jiang2025mapping,
author = {Jiang, Xiyuan and Cai, Zhengxiang and Gonsisko, Colton and Worrell, Gregory A and He, Bin},
title = {{Mapping epileptogenic brain using a unified spatial–temporal–spectral source imaging framework}},
journal = {Proceedings of the National Academy of Sciences of the United States of America},
year = {2025},
volume = {122},
number = {50},
pages = {e2510015122},
publisher = {National Academy of Sciences},
issn = {0027-8424},
doi = {10.1073/pnas.2510015122},
url = {https://doi.org/10.1073/pnas.2510015122},
pmcid = {PMC12718345}
}

RIS

TY - JOUR
AU - Jiang, Xiyuan
AU - Cai, Zhengxiang
AU - Gonsisko, Colton
AU - Worrell, Gregory A
AU - He, Bin
TI - Mapping epileptogenic brain using a unified spatial–temporal–spectral source imaging framework
T2 - Proceedings of the National Academy of Sciences of the United States of America
J2 - Proc Natl Acad Sci U S A
PY - 2025
DA - 2025
VL - 122
IS - 50
SP - e2510015122
SN - 0027-8424
PB - National Academy of Sciences
DO - 10.1073/pnas.2510015122
UR - https://doi.org/10.1073/pnas.2510015122
LA - en
ER -

CSL-JSON

{
"id": "10.1073/pnas.2510015122",
"type": "article-journal",
"title": "Mapping epileptogenic brain using a unified spatial–temporal–spectral source imaging framework",
"container-title": "Proceedings of the National Academy of Sciences of the United States of America",
"author": [
{
"family": "Jiang",
"given": "Xiyuan"
},
{
"family": "Cai",
"given": "Zhengxiang"
},
{
"family": "Gonsisko",
"given": "Colton"
},
{
"family": "Worrell",
"given": "Gregory A"
},
{
"family": "He",
"given": "Bin"
}
],
"container-title-short": "Proc Natl Acad Sci U S A",
"volume": "122",
"issue": "50",
"page": "e2510015122",
"DOI": "10.1073/pnas.2510015122",
"PMCID": "PMC12718345",
"ISSN": "0027-8424",
"publisher": "National Academy of Sciences",
"URL": "https://doi.org/10.1073/pnas.2510015122",
"language": "en",
"issued": {
"date-parts": [
[
2025
]
]
}
}

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.1038/s41467-026-69853-8 [code]
Transcranial focused ultrasound induces source localizable cortical activation in resting state humans when applied concurrently with transcranial electric stimulation.
Journal: Nature communications
In common: EEG, 2 references, 2 authors
[2] doi:10.1093/braincomms/fcaf170 [code]
Noninvasive classification of physiological and pathological high frequency oscillations in children
Journal: n/a
In common: epilepsy, EEG, clinical / translational, 6 references
[3] doi:10.1038/s41467-026-75435-5 [code]
Sensory-guided human-machine joint learning accelerates the acquisition of motor imagery brain computer interface control.
Journal: Nature communications
In common: EEG, 2 references, author Bin He
[4] doi:10.1038/s41598-026-49900-6 [code]
Global neural oscillations underlie performance variability and attentional state fluctuations in humans.
Journal: Scientific reports
In common: Wavelet Toolbox, EEGLAB, FieldTrip, 1 reference
[5] doi:10.1038/s41598-026-46182-w [code]
How the influence of cingulate-lingual interactions on event segmentation changes from early to late adolescence.
Journal: Scientific reports
In common: EEGLAB, FieldTrip, EEG, 2 references
[6] doi:10.1016/j.ebiom.2026.106287 [code]
Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study.
Journal: EBioMedicine
In common: FieldTrip, epilepsy, EEG, clinical / translational, 2 references
[7] doi:10.3389/fncir.2026.1814667 [code]
A modular and flexible pipeline for intraoperative electrode reconstruction and localization in patients with brain lesions.
Journal: Frontiers in neural circuits
In common: FieldTrip, epilepsy, 3 references
[8] doi:10.1371/journal.pbio.3003938 [code]
Theta oscillations tag episodic memories for sleep-dependent consolidation.
Journal: PLoS biology
In common: Wavelet Toolbox, EEGLAB, FieldTrip, EEG
[9] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: Wavelet Toolbox, EEGLAB, FieldTrip, EEG
[10] doi:10.1162/imag.a.1229 [code]
40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Wavelet Toolbox, EEGLAB, FieldTrip, EEG

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.