OSCR

Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI.

Code ↔ Paper

11 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 11 matches
  1. [1] § Methods › Data processing › Cell extraction and validation ↔ camri_code/preprocess/preprocess_neural.py, lines 115–168 · score 0.90 · gSiz, gSig, min_corr, min_pnr, ring, decay
  2. [2] § Methods › Data processing › Support vector machines and recursive feature elimination ↔ camri_code/functions/decoder_distance_rfe.m, lines 295–420 · score 0.82 · recursive feature elimination, SVM RFE, lowest ranking, ranking criteria, subset, trained
  3. [3] § Results › Neuronal responses exhibit diametric activation patterns depending on their distance to the local vasculature ↔ camri_code/scripts/run_figure_3.m, lines 61–164 · score 0.74 · distance histogram, Euclidean distance, SVM RFE, ranking criteria, proximity, decoding
  4. [4] § Results › Neuronal responses exhibit diametric activation patterns depending on their distance to the local vasculature ↔ camri_code/scripts/run_suppl_figure_6.m, lines 61–131 · score 0.73 · distance histogram, Euclidean distance, SVM RFE, ranking criteria, proximity, decoding
  5. [5] § Results › Neuronal responses exhibit diametric activation patterns depending on their distance to the local vasculature ↔ camri_code/scripts/run_figure_3.m, lines 61–164 · score 0.73 · Euclidean distance, annotated vascular, weight elimination, ranking criteria, location, lowest
  6. [6] § Results › Neuronal responses exhibit diametric activation patterns depending on their distance to the local vasculature ↔ camri_code/scripts/run_suppl_figure_6.m, lines 61–131 · score 0.73 · Euclidean distance, annotated vascular, weight elimination, ranking criteria, location, lowest
  7. [7] § Methods › Data processing › Vascular activity derived from microscopy ↔ camri_code/preprocess/process_vascular.m, lines 48–99 · score 0.64 · Gaussian filter, motion corrected, Frangi, ROI, videos, vessel
  8. [8] § Methods › Data processing › Support vector machines and recursive feature elimination ↔ camri_code/functions/decoder_distance_rfe.m, lines 295–420 · score 0.61 · weight elimination, ranking criteria, decoder, lowest, recursive, machines
  9. [9] § Methods › Data processing › Annotation of the vascular structure and neuron-vascular proximity ↔ camri_code/scripts/process_data.m, lines 3–26 · score 0.60 · 100–150 Hz, vessel patterns, 100 Hz, filter, microscopic
  10. [10] § Results › From local population measurements to large-scale recordings of brain connectomes ↔ camri_code/scripts/run_figure_4.m, lines 61–123 · score 0.55 · Magnitude map, cross validated, ipsi, contra, NRMSE, shuffled
  11. [11] § Results › From local population measurements to large-scale recordings of brain connectomes ↔ camri_code/scripts/run_suppl_figure_8.m, lines 142–263 · score 0.53 · Magnitude map, cross validated, ipsi, contra, NRMSE, shuffled

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 · 420 lines · 13 KB · no license · 2 matches

  1. function [results] = decoder_distance_rfe( ...
  2. neural_data, mri_data, p, exclude)
  3. %% Checks
  4. % Check if fields are equal
  5. fields_mri = fieldnames(mri_data);
  6. fields_mri(strcmp(fields_mri, 'results')) = [];
  7. fields_neural = fieldnames(neural_data);
  8. fields_neural(strcmp(fields_neural, 'results')) = [];
  9. if ~isequal(sort(fields_mri), sort(fields_neural))
  10. fprintf('Fields of modalities are not equal...')
  11. else
  12. fields = fields_neural;
  13. end
  14. % Check start times
  15. start_times = p.start_times/1000;
  16. end_times = p.end_times/1000;
  17. %% MRI
  18. % Arrange parameters
  19. mri_fields = fieldnames(p.plot.mri);
  20. for i = 1:size(mri_fields, 1)
  21. field = mri_fields{i};
  22. p_mri.plot.(field) = p.plot.mri.(field);
  23. end
  24. % Get session data
  25. [mri_avg_traces, mri_avg_ts, ...
  26. mri_avg_subject_idx, mri_avg_channel_idx] = ...
  27. get_session(mri_data, p_mri, exclude);
  28. % Adjust timestamps for plotting
  29. mri_avg_ts = median(mri_avg_ts, 1, 'omitmissing');
  30. mri_avg_ts = mri_avg_ts/1000;
  31. %% Single cells (individual)
  32. % Arrange parameters
  33. cells_ind_fields = fieldnames(p.plot.cells_ind);
  34. for i = 1:size(cells_ind_fields, 1)
  35. field = cells_ind_fields{i};
  36. p_cells_ind.plot.(field) = p.plot.cells_ind.(field);
  37. end
  38. % Get session data
  39. [cells_ind_traces, cells_ind_ts, ...
  40. cells_ind_subject_idx, cells_ind_channel_idx] = ...
  41. get_session(neural_data, p_cells_ind, exclude);
  42. % Adjust timestamps for plotting
  43. cells_ind_ts = median(cells_ind_ts, 1, 'omitmissing');
  44. cells_ind_ts = cells_ind_ts/1000;
  45. %% Converge data
  46. if size(cells_ind_ts, 2) >= size(mri_avg_ts, 2)
  47. if ~any(cells_ind_ts(1:size(mri_avg_ts, 2)) ~= mri_avg_ts)
  48. ts = cells_ind_ts(1, 1:size(mri_avg_ts, 2));
  49. cells_ind_traces = cells_ind_traces(:, 1:size(mri_avg_ts, 2));
  50. else
  51. fprintf('Timestamps do not overlap...\n')
  52. return
  53. end
  54. elseif size(mri_avg_ts, 2) >= size(cells_ind_ts, 2)
  55. if ~any(cells_ind_ts ~= mri_avg_ts(1:size(cells_ind_ts, 2)))
  56. ts = mri_avg_ts(1, 1:size(cells_ind_ts, 2));
  57. mri_avg_traces = mri_avg_traces(:, 1:size(cells_ind_ts, 2));
  58. else
  59. fprintf('Timestamps do not overlap...\n')
  60. return
  61. end
  62. elseif size(mri_avg_ts, 2) == size(cells_ind_ts, 2)
  63. if ~any(cells_ind_ts ~= mri_avg_ts(1:size(cells_ind_ts, 2)))
  64. ts = cells_ind_ts(1, 1:size(mri_avg_ts, 2));
  65. else
  66. fprintf('Timestamps do not overlap...\n')
  67. return
  68. end
  69. end
  70. %% Checks
  71. % Check if subjects are the same for both modalities
  72. if unique(mri_avg_subject_idx) ~= unique(cells_ind_subject_idx)
  73. fprintf('Subjects are not equal between modalities...\n')
  74. return
  75. else
  76. subject_idx = unique(mri_avg_subject_idx);
  77. end
  78. %% Process traces
  79. % Adjust data range
  80. idx = ts(1, :) >= p.plot.decoder_timerange(1) & ...
  81. ts(1, :) < p.plot.decoder_timerange(2);
  82. ts = ts(1, idx);
  83. mri_avg_traces = mri_avg_traces(:, idx);
  84. cells_ind_traces = cells_ind_traces(:, idx);
  85. % remove NaN values between trials
  86. idx_nan = isnan(mean(cells_ind_traces)); % find the NaN values
  87. idx_nan = medfilt1(double(idx_nan));
  88. idx_nan = logical(idx_nan);
  89. ts(idx_nan) = [];
  90. mri_avg_traces(:, idx_nan) = [];
  91. cells_ind_traces(:, idx_nan) = [];
  92. % Remove first and last 2 columns due to NaNs
  93. ts([1 2 end-1 end]) = [];
  94. mri_avg_traces(:, [1 2 end-1 end]) = [];
  95. cells_ind_traces(:, [1 2 end-1 end]) = [];
  96. % Linear extrapolate over the cell traces to remove NaNs
  97. for iChannels = 1:size(cells_ind_traces, 1)
  98. target_trace = cells_ind_traces(iChannels, :);
  99. nanx = isnan(target_trace);
  100. t = 1:numel(target_trace);
  101. cells_ind_traces(iChannels, nanx) = ...
  102. interp1(t(~nanx), target_trace(~nanx), t(nanx));
  103. end
  104. %% Calculate neurovascular distance metric
  105. subject_idx_dist = [];
  106. channel_idx_dist = [];
  107. dist_total = [];
  108. dist_total_rv = [];
  109. for iSubjects = 1:size(subject_idx, 1)
  110. % Determine subject
  111. target_subject = subject_idx{iSubjects};
  112. target_channel_idx = cells_ind_channel_idx( ...
  113. cells_ind_subject_idx == target_subject, :);
  114. % Get filters and vessel image
  115. try
  116. filters = neural_data.(target_subject).cellmaps;
  117. catch
  118. fprintf('%s: cellmaps unavailable...\nSkipping...\n', ...
  119. target_subject)
  120. continue
  121. end
  122. try
  123. vessels = neural_data.(target_subject).vessels_logical;
  124. catch
  125. fprintf('%s: vessel image unavailable...\nSkipping...\n', ...
  126. target_subject)
  127. continue
  128. end
  129. % Initialize
  130. dist_rv = [];
  131. dist_norm = [];
  132. coords_cell = [];
  133. coords_vessel = [];
  134. filter_map = zeros(size(filters, 1:2));
  135. for iCells = 1:size(filters, 3)
  136. target_filter = filters(:, :, iCells);
  137. % Create filter map
  138. filter_map = filter_map + target_filter;
  139. % Calculate minimal distance
  140. [rows, columns] = find(target_filter == max(target_filter(:)));
  141. rows = rows(1);
  142. columns = columns(1);
  143. x_cell = [rows, columns];
  144. coords_cell(end + 1, :) = x_cell;
  145. [rows, columns] = find(vessels == max(vessels(:)));
  146. y_vessel = [rows, columns];
  147. D = pdist2(x_cell, y_vessel, 'euclidean');
  148. [~, idx] = min(D);
  149. dist_rv(iCells, 1) = D(idx);
  150. coords_vessel(end + 1, :) = y_vessel(idx, :);
  151. end
  152. % Plot cellmaps
  153. fig = figure();
  154. h = gca;
  155. hold on
  156. imshow(((filter_map * 400) / 1.5 + ...
  157. neural_data.(target_subject).average_image) * 250, ...
  158. [])
  159. hold on
  160. for iDist = 1:size(coords_vessel, 1)
  161. scatter(coords_cell(:, 2), coords_cell(:, 1), 40, 'ro', ...
  162. 'MarkerFaceColor', 'r')
  163. scatter(coords_vessel(:, 2), coords_vessel(:, 1), 15, 'ro', ...
  164. 'MarkerFaceColor', 'r')
  165. plot([coords_cell(iDist, 2) coords_vessel(iDist, 2)], ...
  166. [coords_cell(iDist, 1) coords_vessel(iDist, 1)], '-r', ...
  167. 'LineWidth', 3)
  168. end
  169. set(fig, 'Position', get(0, 'Screensize'));
  170. % Set image variables
  171. set(fig, 'color', 'w');
  172. set(h, 'Layer', 'top')
  173. set(fig, 'color', 'none');
  174. set(h, 'color', 'none');
  175. set(gca, 'XTickLabel', [], 'YTickLabel', []);
  176. % Save to vector image
  177. exportgraphics(fig, fullfile(p.path, ...
  178. replace(p.plot.save_cellmap, "*", target_subject)),...
  179. 'ContentType', 'vector',...
  180. 'BackgroundColor', 'none', ...
  181. 'Resolution', 300)
  182. close
  183. % Normalize distance
  184. dist_norm = mat2gray(dist_rv);
  185. % Calcute real world distance
  186. dist_rv = dist_rv * p.cam.pixel_size;
  187. % Results
  188. subject_idx_dist = [subject_idx_dist; ...
  189. repmat(string(target_subject), size(dist_rv))];
  190. channel_idx_dist = [channel_idx_dist; ...
  191. target_channel_idx];
  192. dist_total = [dist_total; dist_norm];
  193. dist_total_rv = [dist_total_rv; dist_rv];
  194. end
  195. % Plot histogram
  196. fig = figure();
  197. h = gca;
  198. hold on
  199. histogram(dist_total_rv, p.plot.histo.bin_size, ...
  200. 'EdgeColor', [0 0 0], ...
  201. 'FaceColor', [0.6 0.6 0.6])
  202. % Set image variables
  203. set(fig, 'color', 'w');
  204. h.LineWidth = p.line_width_axis;
  205. set(h, 'units', 'centimeters', 'position', [1, 1, p.plot.histo.scale]);
  206. set(h, 'FontSize', p.font_size, 'FontName', p.font);
  207. h.YAxis.FontWeight = 'bold';
  208. h.XAxis.FontWeight = 'bold';
  209. h.YRuler.TickLabelGapOffset = p.y_offset;
  210. h.XRuler.TickLabelGapOffset = p.x_offset;
  211. set(h, 'Layer', 'top')
  212. set(fig, 'color', 'none');
  213. set(h, 'color', 'none');
  214. % Save to vector image
  215. exportgraphics(fig, fullfile(p.path, ...
  216. replace(p.plot.save_hist, ".eps", "_tick.eps")),...
  217. 'ContentType', 'vector',...
  218. 'BackgroundColor', 'none', ...
  219. 'Resolution', 300)
  220. set(gca, 'XTickLabel', [], 'YTickLabel', []);
  221. exportgraphics(fig, fullfile(p.path, p.plot.save_hist),...
  222. 'ContentType', 'vector',...
  223. 'BackgroundColor', 'none', ...
  224. 'Resolution', 300)
  225. close
  226. % Write results
  227. results.(['decoder_distance_rfe_' ...
  228. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  229. neurovascular_distance_ids = [ ...
  230. subject_idx_dist, ...
  231. channel_idx_dist];
  232. results.(['decoder_distance_rfe_' ...
  233. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  234. neurovascular_distance = [ ...
  235. dist_total, ...
  236. dist_total_rv];
  237. %% SVM-RFE
  238. % SVM—RFE stands for Support Vector Machine- Recursive Feature Elimination.
  239. % It is an embedded approach that recursively removes unimportant features
  240. % rather than using the weights for ranking criterion as in Relief F. It
  241. % helps to provide better performance by selecting best features subset.
  242. % It takes training instances and their class labels as an input to the
  243. % algorithm and uses ranking criterion based on the weight vector of SVM.
  244. % From the weight vector of SVM, the ranking of each feature is identified
  245. % and then features are selected by eliminating those features which have
  246. % lowest ranking. In bioinformatics, it is a powerful feature selection
  247. % algorithm to avoid overfitting in case of high number of features. But
  248. % this algorithm can only be used to linear kernel SVM, because in case of
  249. % non linear kernel it is quiet difficult to find the weight vector (Cho,
  250. % B. H., Yu, H., Kim, K. W., Kim, T. H., Kim, I. Y., & Kim, S. I. (2008).
  251. % Application of irregular and unbalanced data to predict diabetic
  252. % nephropathy using visualization and feature selection methods.
  253. % Artificial intelligence in medicine, 42(1), 37-53.)
  254. % RFE-SVM
  255. for iCriteria = 1:size(p.plot.rfe.ranking_criteria, 1)
  256. fprintf('Starting RFE with criteria: %s beta value...\n', ...
  257. p.plot.rfe.ranking_criteria(iCriteria))
  258. subject_idx_rfe = [];
  259. beta_rfe_total = [];
  260. ranking_rfe_total = [];
  261. for iSubjects = 1:size(subject_idx, 1)
  262. % Determine subject
  263. target_subject = subject_idx{iSubjects};
  264. target_channel_idx = cells_ind_channel_idx( ...
  265. cells_ind_subject_idx == target_subject, :);
  266. % Get data
  267. x_neural = cells_ind_traces( ...
  268. cells_ind_subject_idx == target_subject, :)';
  269. y_bold = mri_avg_traces( ...
  270. mri_avg_subject_idx == target_subject, :)';
  271. % Initialize
  272. included = true(size(x_neural, 2), 1);
  273. betas = nan(size(x_neural, 2), 1);
  274. ranking = nan(size(x_neural, 2), 1);
  275. for iFeatures = 1:size(x_neural, 2)
  276. rsvm = fitrsvm(x_neural(:, included), y_bold, ...
  277. 'Standardize', true);
  278. if size(unique(rsvm.Beta)) ~= size(rsvm.Beta)
  279. fprintf('Duplicate beta values...\n')
  280. end
  281. % Find value based on ranking criterion
  282. if strcmp(p.plot.rfe.ranking_criteria(iCriteria), ...
  283. 'lowest_weight_elimination')
  284. [value_ranking, idx_ranking] = min(rsvm.Beta);
  285. elseif strcmp(p.plot.rfe.ranking_criteria(iCriteria), ...
  286. 'highest_weight_elimination')
  287. [value_ranking, idx_ranking] = max(rsvm.Beta);
  288. elseif strcmp(p.plot.rfe.ranking_criteria(iCriteria), ...
  289. 'lowest_abs_weight_elimination')
  290. [value_ranking, idx_ranking] = min(abs(rsvm.Beta));
  291. end
  292. % Calculate the cell number based on the idx_criteria
  293. idx_criteria_ = target_channel_idx(idx_ranking);
  294. target_channel_idx(idx_ranking) = [];
  295. % Remove cell from included feature set
  296. included(idx_criteria_) = false;
  297. % Results
  298. betas(idx_criteria_) = value_ranking;
  299. ranking(idx_criteria_) = ((size(x_neural, 2) + 1) - iFeatures);
  300. end
  301. % Results
  302. subject_idx_rfe = [subject_idx_rfe; ...
  303. repmat(string(target_subject), size(betas))];
  304. beta_rfe_total = [beta_rfe_total; betas];
  305. ranking_rfe_total = [ranking_rfe_total; ranking];
  306. end
  307. % Write results
  308. if isfield(results.(['decoder_distance_rfe_' ...
  309. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]), ...
  310. 'ranking')
  311. results.(['decoder_distance_rfe_' ...
  312. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  313. ranking = [ ...
  314. results.(['decoder_distance_rfe_' ...
  315. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  316. ranking, ...
  317. beta_rfe_total, ...
  318. ranking_rfe_total];
  319. results.(['decoder_distance_rfe_' ...
  320. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  321. ranking_ids = [ ...
  322. results.(['decoder_distance_rfe_' ...
  323. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  324. ranking_ids, ...
  325. subject_idx_rfe];
  326. else
  327. results.(['decoder_distance_rfe_' ...
  328. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  329. ranking = [ ...
  330. beta_rfe_total, ...
  331. ranking_rfe_total];
  332. results.(['decoder_distance_rfe_' ...
  333. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  334. ranking_ids = subject_idx_rfe;
  335. end
  336. end
  337. % Write results
  338. results.(['decoder_distance_rfe_' ...
  339. p.plot.cells_ind.y_target '_to_' p.plot.mri.y_target]). ...
  340. ranking_criteria = p.plot.rfe.ranking_criteria;

decoder_distance_rfe.m at commit f6aba95, no license · at the source

Overview

Authors: Rik L.E.M. Ubaghs1, Roman Boehringer1, Markus Marks2, Helke K. Hesse3, Mehmet Fatih Yanik1, Valerio Zerbi4,5, Benjamin F. Grewe1,6
  1. Institute of Neuroinformatics, ETH Zurich and University of Zurich,Zurich, Switzerland
  2. Division of Engineering and Applied Science, California Institute of Technology,Pasadena, USA
  3. Hesse - Optical Consulting, Gießen, Germany
  4. Department of Psychiatry, Faculty of Medicine, University of Geneva,Genève, Switzerland
  5. Department of Basic Neurosciences, Faculty of Medicine, University of Geneva,Genève, Switzerland
  6. ETH AI Center, ETH Zurich,Zurich, Switzerland
Institutions: University of Zurich (Switzerland); California Institute of Technology (United States); University of Geneva (Switzerland); ETH Zurich (Switzerland)
Journal: Nature methods, volume 23, issue 8, pages 1637-1646
Dates: received 10 November 2023; accepted 4 June 2026; published online 15 July 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41592-026-03154-2 · PMID 42458100 · PMCID PMC13441971 · OpenAlex W4388744342
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), optical imaging (calcium, voltage, 2-photon) (modality), mouse (organism)
Methods: Spectral & time-frequency, Connectivity, Statistics, Preprocessing, Machine learning, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: Neuro-vascular interactions, Ca2+ imaging, Fluorescence imaging, Functional magnetic resonance imaging
MeSH: Brain*, Calcium*, Magnetic Resonance Imaging*, Neurons*, Single-Cell Analysis*, Animals, Brain Mapping, Mice, Oxygen (* major topic)
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Swiss National Science Foundation (173721, 198739, 315230, 189251, 226025, 211760); NIMH NIH HHS (R01 MH123612)
Citations: cited by 1 paper (Europe PMC); 80 references in the paper

Abstract

Functional magnetic resonance imaging (fMRI) based on the blood-oxygen-level-dependent (BOLD) signal is widely used to study brain activity non-invasively. However, the relationship between the local neural population activity and vascular activity, as measured by BOLD fMRI, remains incompletely understood. Here we show that simultaneous measurement of cellular calcium (Ca2+) activity and whole-brain BOLD fMRI in awake mice can reveal spatially specific relationships between neurons and the surrounding vasculature. We introduce an MRI-compatible single-photon microscope that enables recordings from genetically defined neurons at cellular resolution during fMRI. Using this approach, we find that neurons located close to blood vessels often show a negative relationship with the local BOLD signal, whereas neurons farther away display a more variable, often positive relationship. We further demonstrate that local neural activity can be linked to BOLD responses across distributed, connected brain regions. Together, these results provide insight into how vascular organization shapes fMRI signals and establish a powerful tool for bridging cellular and whole-brain measurements of brain function.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.

rlemubaghs/camri

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: f6aba9583f088fab970628c9be9ba2291b00ae06, 5 August 2025
Languages: MATLAB (127), C (18), C/C++ (13), Python (2)
Size: 1,207 files, 160 scripts
Software Heritage: not archived
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Image Processing Toolbox (27 files), Statistics and Machine Learning Toolbox (17 files), Signal Processing Toolbox (11 files), NumPy (2 files), SciPy (2 files), Violinplot-Matlab (2 files), CaImAn (1 file), FSL (1 file), h5py (1 file), Parallel Computing Toolbox (1 file), Matplotlib (1 file), NiBabel (1 file), Nilearn (1 file), Nipype (1 file), OpenCV (1 file), pandas (1 file), PyBIDS (1 file), scikit-learn (1 file), tifffile (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
160 files

Code availability

The MATLAB and Python code scripts detailing all aspects of the performed analysis are made publicly available on github (https://github.com/rlemubaghs/camri).

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:

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

Datasets cited

Data availability

Source data is publicly available via figshare (10.6084/m9.figshare.31389115.v1). Due to substantial size and complexity, all other data (raw imaging data and pre-processed activity data) that support the findings of this study will be made available upon request.

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 2, 28 September 2026

  • Publisher: n/a → Nature Portfolio

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 4 keywords, 9 MeSH terms, 2 funders, 80 references.

Cite

This paper

Ubaghs, R. L., Boehringer, R., Marks, M., Hesse, H. K., Yanik, M. F., Zerbi, V., & Grewe, B. F. (2026). Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI. Nature methods, 23(8), 1637-1646. https://doi.org/10.1038/s41592-026-03154-2

BibTeX

@article{ubaghs2026simultaneous,
author = {Ubaghs, Rik L.E.M. and Boehringer, Roman and Marks, Markus and Hesse, Helke K. and Yanik, Mehmet Fatih and Zerbi, Valerio and Grewe, Benjamin F.},
title = {{Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI}},
journal = {Nature methods},
year = {2026},
month = jul,
volume = {23},
number = {8},
pages = {1637--1646},
publisher = {Nature Portfolio},
issn = {1548-7091},
doi = {10.1038/s41592-026-03154-2},
url = {https://doi.org/10.1038/s41592-026-03154-2},
pmid = {42458100},
pmcid = {PMC13441971}
}

RIS

TY - JOUR
AU - Ubaghs, Rik L.E.M.
AU - Boehringer, Roman
AU - Marks, Markus
AU - Hesse, Helke K.
AU - Yanik, Mehmet Fatih
AU - Zerbi, Valerio
AU - Grewe, Benjamin F.
TI - Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI
T2 - Nature methods
J2 - Nat Methods
PY - 2026
DA - 2026/07/15
VL - 23
IS - 8
SP - 1637
EP - 1646
SN - 1548-7091
PB - Nature Portfolio
DO - 10.1038/s41592-026-03154-2
UR - https://doi.org/10.1038/s41592-026-03154-2
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41592-026-03154-2",
"type": "article-journal",
"title": "Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI",
"container-title": "Nature methods",
"author": [
{
"family": "Ubaghs",
"given": "Rik L.E.M."
},
{
"family": "Boehringer",
"given": "Roman"
},
{
"family": "Marks",
"given": "Markus"
},
{
"family": "Hesse",
"given": "Helke K."
},
{
"family": "Yanik",
"given": "Mehmet Fatih"
},
{
"family": "Zerbi",
"given": "Valerio"
},
{
"family": "Grewe",
"given": "Benjamin F."
}
],
"container-title-short": "Nat Methods",
"volume": "23",
"issue": "8",
"page": "1637-1646",
"DOI": "10.1038/s41592-026-03154-2",
"PMID": "42458100",
"PMCID": "PMC13441971",
"ISSN": "1548-7091",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41592-026-03154-2",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
15
]
]
}
}

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-71887-x [code]
Magnetic resonance identification tags for ultra-flexible electrodes.
Journal: Nature communications
In common: tifffile, OpenCV, scikit-learn, 4 other tools, 3 references, 2 authors
[2] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: Nipype, Violinplot-Matlab, Parallel Computing Toolbox, 11 other tools
[3] doi:10.1038/s41467-026-71270-w [code]
Spatiotemporal dynamics of the human cortical functional hierarchy across the lifespan.
Journal: Nature communications
In common: PyBIDS, Violinplot-Matlab, Parallel Computing Toolbox, 10 other tools, fMRI
[4] doi:10.1038/s41467-026-71923-w [code]
Integrating optogenetic fMRI and spatial transcriptomics to reveal circuit-specific gene signatures in fronto- and hippo-thalamic networks.
Journal: Nature communications
In common: Nilearn, NiBabel, scikit-learn, 4 other tools, fMRI, mouse, 5 references
[5] doi:10.1038/s41597-026-06869-1 [code]
Individual Brain Charting: fifth release of high-resolution fMRI data for cognitive mapping.
Journal: Scientific data
In common: PyBIDS, Nipype, FSL, 8 other tools, fMRI, 1 reference
[6] doi:10.1162/imag.a.1198 [code]
MEPrep: A robust pipeline for multi-echo fMRI denoising and preprocessing.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: PyBIDS, Nipype, FSL, 7 other tools, fMRI, 2 references
[7] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: Parallel Computing Toolbox, FSL, Nilearn, 10 other tools, 1 reference
[8] doi:10.1126/sciadv.adx5109 [code]
Substance P regulates Tacr1 neurons, which control nitric oxide-mediated neurovascular coupling in the mouse cortex.
Journal: Science advances
In common: Image Processing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, 7 references
[9] doi:10.1162/imag.a.1262 [code]
Frame-wise multi-echo distortion correction for superior functional MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: PyBIDS, Parallel Computing Toolbox, FSL, 8 other tools, fMRI, 1 reference
[10] doi:10.1162/imag.a.1357
Biphasic acclimation for simultaneous wide-field fluorescent Ca&lt;sup&gt;2+&lt;/sup&gt; imaging and fMRI of awake mice.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: optical imaging (calcium, voltage, 2-photon), fMRI, mouse, 8 references

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.