OSCR

Flexible ultrasound array for subcortical brain stimulation in humans: a simulation study.

Code ↔ Paper

4 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 4 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Modeling tFUS wave propagation ↔ forwardSimulation.m, the whole file · a weak match · score 0.81 · pstdElastic3D, element position, sub elements, CFL, delay, medium · Report a mismatch
  2. [2] § Results › Numerical simulation setup ↔ FlexibleArray.m, lines 12 to 41 · score 0.73 · cerebrospinal fluid, human brain, slices, thickness, segmented, scalp · Report a mismatch
  3. [3] § Results › Numerical simulation setup ↔ forwardSimulation.m, the whole file · a weak match · score 0.55 · acoustic parameters, bone, signal, compression, cycles, water · Report a mismatch
  4. [4] § Results › Numerical simulation setup ↔ FlexibleArray.m, lines 12 to 41 · score 0.54 · cerebrospinal fluid, human brain, scalp, MRI, flexible, skull · 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

MATLAB · 90 lines · 3.2 KB · AGPL-3.0 · 2 matches

  1. function [sensorDataSumGPU, p_max_all_cut, target_point] = forwardSimulation(medium, Element, sim_vol, kgrid, sensor, input_args)
  2. %% Forward Simulation - Single Emission, Single Focusing
  3. % One transmit with all array elements focusing at a single target point
  4. Nx = kgrid.Nx;
  5. Ny = kgrid.Ny;
  6. Nz = kgrid.Nz;
  7. % Element positions
  8. CoorList = Element.CoorList;
  9. CoorSubList = Element.CoorSubList;
  10. NumSensors = size(CoorList, 1);
  11. SubElementNum = size(CoorSubList, 2);
  12. % Acoustic parameters
  13. sos = 1500; % speed of sound in water [m/s]
  14. sos_bone = 2820; % speed of sound in bone [m/s]
  15. cfl = 0.05;
  16. t_end = 1e-4; % [s]
  17. kgrid.makeTime(max(medium.sound_speed_compression(:)), cfl, t_end);
  18. %% Define focus target point
  19. center_inds = [5, floor(Ny/2), floor(Nz/2)];
  20. xc = find(sim_vol(:, center_inds(2), center_inds(3)) == 3, 1, 'first');
  21. yc = center_inds(2);
  22. zc = center_inds(3);
  23. targetDepth = floor(0.04 / kgrid.dx);
  24. target_point = [xc + targetDepth, yc, zc];
  25. %% Emit mask - all sensors participate in single transmission
  26. Emit_Mask_Grid = CoorList;
  27. Emit_Mask_Sub_Grid = CoorSubList;
  28. Emit_Mask_Sub_Idx = zeros(size(Emit_Mask_Sub_Grid));
  29. % Convert sub-element coordinates to linear indices
  30. for row = 1:size(Emit_Mask_Sub_Idx, 1)
  31. for col = 1:size(Emit_Mask_Sub_Idx, 2)
  32. ElemSub = cell2mat(Emit_Mask_Sub_Grid(row, col));
  33. Emit_Mask_Sub_Idx(row, col) = sub2ind(size(sensor.mask), ElemSub(1), ElemSub(2), ElemSub(3));
  34. end
  35. end
  36. source.u_mask = zeros(kgrid.Nx, kgrid.Ny, kgrid.Nz);
  37. source.u_mask(Emit_Mask_Sub_Idx(:)) = 1;
  38. %% Compute delay for each element (skull compensation)
  39. skull = zeros(size(sim_vol));
  40. wb = waitbar(0, 'Calculating delay for focusing...');
  41. DelayIdxList = zeros(1, NumSensors * SubElementNum);
  42. for idelay = 1:NumSensors
  43. EmitGrid = Emit_Mask_Grid(idelay, :);
  44. [SkullDepth, idx_near, idx_far] = CalculateSkullDepth(EmitGrid, target_point, sim_vol);
  45. dis_target_sensor = sqrt(sum((EmitGrid - target_point).^2));
  46. time1 = (dis_target_sensor - SkullDepth) * kgrid.dx / (sos * kgrid.dt);
  47. time2 = SkullDepth * kgrid.dx / (sos_bone * kgrid.dt);
  48. DelayIdxList((idelay-1)*SubElementNum + 1 : idelay*SubElementNum) = ceil(time1 + time2);
  49. skull(idx_near) = 1;
  50. skull(idx_far) = 1;
  51. waitbar(idelay / NumSensors, wb, sprintf('Calculating... %.0f%%', 100*idelay/NumSensors));
  52. end
  53. % Normalize delay (reverse for focusing)
  54. DelayIdxList = DelayIdxList - min(DelayIdxList);
  55. DelayIdxList = max(DelayIdxList) - DelayIdxList;
  56. [~, sort_idx] = sort(reshape(Emit_Mask_Sub_Idx.', 1, []));
  57. DelayIdxSorted = DelayIdxList(sort_idx);
  58. close(wb);
  59. %% Define source signal
  60. tone_burst_freq = sensor.frequency_response(1); % [Hz]
  61. tone_burst_cycles = 10;
  62. input_signal = toneBurst(1/kgrid.dt, tone_burst_freq, tone_burst_cycles, 'SignalOffset', DelayIdxSorted);
  63. source_mag = 0.15; % [m/s]
  64. source.ux = source_mag .* input_signal;
  65. source.uy = source_mag .* input_signal;
  66. source.uz = source_mag .* input_signal;
  67. %% Run elastic wave simulation
  68. sensor.record = {'p_max_all'};
  69. sensorDataSumGPU = pstdElastic3D(kgrid, medium, source, sensor, input_args{:});
  70. %% Post-process: mask to brain region
  71. p_max_all = gather(sensorDataSumGPU.p_max_all);
  72. mask_brain = (sim_vol ~= 0);
  73. p_max_all_cut = p_max_all .* mask_brain;

forwardSimulation.m at commit df3fe7b, under AGPL-3.0 · at the source

Overview

Authors: Haoming Huo1, Anthony DiSpirito1, Nanchao Wang1, Chenhang Li2, Sunho Moon3, Chaorui Qiu2, Kaiping Yin2, Huaiyu Wu3, Bin Sun1, Roarke Horstmeyer1, Wuwei Feng4, Xiaoning Jiang3,4, Xiaoyue Ni2, Junjie Yao1,4
ORCID iDs: Huaiyu Wu
  1. Department of Biomedical Engineering, Duke University, Durham, NC USA
  2. Department of Mechanical Engineering and Materials Science, Duke University, Durham, NC USA
  3. Department of Mechanical and Aerospace Engineering, North Carolina State University, Raleigh, NC USA
  4. Department of Neurology, Duke University School of Medicine, Durham, NC USA
Institutions: Duke University (United States); North Carolina State University (United States)
Journal: NPJ acoustics, volume 2, issue 1, article 11
Dates: received 7 May 2025; accepted 10 February 2026; published online 30 March 2026; in print 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s44384-026-00046-9 · PMID 41924435 · PMCID PMC13035476 · OpenAlex W7143468789
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: other (modality), human (organism), computational (subfield)
Methods: fMRI & imaging
Keywords: Electrical and electronic engineering, Neuroscience, Techniques and instrumentation
Topic: Ultrasound and Hyperthermia Applications (Biomedical Engineering, Engineering), according to OpenAlex
Funding: Duke University Pratt Beyond the Horizon Grant; National Science Foundation; Duke Coulter Translational Grant; North Carolina Biotechnology Center Triangle Research Grant; Eli Lilly Research Award Program; National Institutes of Health; American Heart Association Collaborative Science Award; Chan Zuckerberg Initiative Grant; Duke University DST Spark Seed Grant
Citations: cited by 1 paper (Europe PMC); 70 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) 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, with 4 matches between paragraphs and lines of code.

gitlab.oit.duke.edu/pilab/flexible-array-simulation

License: AGPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: df3fe7b569932e7a30c4e20f1bd7ad0a89055f4a, 17 February 2026
Languages: MATLAB (7)
Size: 14 files, 7 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
9 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s44384-026-00046-9.

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;
  • 7 scripts, each with its path and the digest of its content;
  • 4 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 statement

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • no repository, dataset or request procedure was recognized in it

Read it in the paper: doi.org/10.1038/s44384-026-00046-9.

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, 14 authors, 3 keywords, 8 funders, 60 references.

Cite

This paper

Huo, H., DiSpirito, A., Wang, N., Li, C., Moon, S., Qiu, C., Yin, K., Wu, H., Sun, B., Horstmeyer, R., Feng, W., Jiang, X., Ni, X., & Yao, J. (2026). Flexible ultrasound array for subcortical brain stimulation in humans: a simulation study. NPJ acoustics, 2(1), 11. https://doi.org/10.1038/s44384-026-00046-9

BibTeX

@article{huo2026flexible,
author = {Huo, Haoming and DiSpirito, Anthony and Wang, Nanchao and Li, Chenhang and Moon, Sunho and Qiu, Chaorui and Yin, Kaiping and Wu, Huaiyu and Sun, Bin and Horstmeyer, Roarke and Feng, Wuwei and Jiang, Xiaoning and Ni, Xiaoyue and Yao, Junjie},
title = {{Flexible ultrasound array for subcortical brain stimulation in humans: a simulation study}},
journal = {NPJ acoustics},
year = {2026},
month = mar,
volume = {2},
number = {1},
pages = {11},
publisher = {Springer Science+Business Media},
issn = {3005-141X},
doi = {10.1038/s44384-026-00046-9},
url = {https://doi.org/10.1038/s44384-026-00046-9},
pmid = {41924435},
pmcid = {PMC13035476}
}

RIS

TY - JOUR
AU - Huo, Haoming
AU - DiSpirito, Anthony
AU - Wang, Nanchao
AU - Li, Chenhang
AU - Moon, Sunho
AU - Qiu, Chaorui
AU - Yin, Kaiping
AU - Wu, Huaiyu
AU - Sun, Bin
AU - Horstmeyer, Roarke
AU - Feng, Wuwei
AU - Jiang, Xiaoning
AU - Ni, Xiaoyue
AU - Yao, Junjie
TI - Flexible ultrasound array for subcortical brain stimulation in humans: a simulation study
T2 - NPJ acoustics
J2 - NPJ Acoust
PY - 2026
DA - 2026/03/30
VL - 2
IS - 1
SP - 11
SN - 3005-141X
PB - Springer Science+Business Media
DO - 10.1038/s44384-026-00046-9
UR - https://doi.org/10.1038/s44384-026-00046-9
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s44384-026-00046-9",
"type": "article-journal",
"title": "Flexible ultrasound array for subcortical brain stimulation in humans: a simulation study",
"container-title": "NPJ acoustics",
"author": [
{
"family": "Huo",
"given": "Haoming"
},
{
"family": "DiSpirito",
"given": "Anthony"
},
{
"family": "Wang",
"given": "Nanchao"
},
{
"family": "Li",
"given": "Chenhang"
},
{
"family": "Moon",
"given": "Sunho"
},
{
"family": "Qiu",
"given": "Chaorui"
},
{
"family": "Yin",
"given": "Kaiping"
},
{
"family": "Wu",
"given": "Huaiyu"
},
{
"family": "Sun",
"given": "Bin"
},
{
"family": "Horstmeyer",
"given": "Roarke"
},
{
"family": "Feng",
"given": "Wuwei"
},
{
"family": "Jiang",
"given": "Xiaoning"
},
{
"family": "Ni",
"given": "Xiaoyue"
},
{
"family": "Yao",
"given": "Junjie"
}
],
"container-title-short": "NPJ Acoust",
"volume": "2",
"issue": "1",
"page": "11",
"DOI": "10.1038/s44384-026-00046-9",
"PMID": "41924435",
"PMCID": "PMC13035476",
"ISSN": "3005-141X",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1038/s44384-026-00046-9",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
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.7554/elife.100827 [code]
Ultrasound neuromodulation hypotheses on the directionality of effects and community resource.
Journal: eLife
In common: other, 11 references
[2] doi:10.1002/mp.70259 [code]
A deep-learning model for one-shot transcranial ultrasound simulation and phase aberration correction.
Journal: Medical physics
In common: computational, other, 9 references
[3] doi:10.1038/s41467-025-66832-3 [code]
Role of thalamus in human conscious perception revealed by low-intensity focused ultrasound neuromodulation.
Journal: Nature communications
In common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, other, 7 references
[4] doi:10.1109/tuffc.2022.3198522 [code]
Classical and Learned MR to Pseudo-CT Mappings for Accurate Transcranial Ultrasound Simulation.
Journal: IEEE transactions on ultrasonics, ferroelectrics, and frequency control
In common: Image Processing Toolbox, computational, other, 6 references
[5] doi:10.1038/s42005-026-02545-3
De-aberration for noninvasive transcranial photoacoustic computed tomography through an adult human skull.
Journal: Communications physics
In common: other, 5 references
[6] doi:10.1038/s41467-025-63020-1 [code]
Ultrasound system for precise neuromodulation of human deep brain circuits.
Journal: Nature communications
In common: other, 5 references
[7] doi:10.1002/mp.70520
A new in silico model to precisely design focused ultrasound brain therapies.
Journal: Medical physics
In common: other, 5 references
[8] doi:10.1016/j.isci.2023.108372
Effects of focused ultrasound in a "clean" mouse model of ultrasonic neuromodulation.
Journal: iScience
In common: other, 5 references
[9] doi:10.1016/j.brs.2025.09.004 [code]
Transcranial ultrasound stimulation modulates neuronal membrane potentials across broad timescales in the awake mammalian brain.
Journal: Brain stimulation
In common: Statistics and Machine Learning Toolbox, other, 4 references
[10] doi:10.1038/s41598-024-62500-6 [code]
A novel transcranial MR Guided focused ultrasound method based on the ultrashort echo time skull acoustic model and phase retrieval techniques.
Journal: Scientific reports
In common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, other, 3 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9.svg)](https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9.svg
   :target: https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9"><img src="https://openscicode.org/badge/doi/10.1038/s44384-026-00046-9.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

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