OSCR

Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery.

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

Python · 92 lines · 2.8 KB · no license

  1. # -*- coding: utf-8 -*-
  2. import numpy as np
  3. import matplotlib.pyplot as plt
  4. from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  5. def generate_simt_data(n_samples=1000000, sigma_deg=0.5):
  6. np.random.seed(42)
  7. phi = np.random.uniform(0, 2*np.pi, n_samples)
  8. costheta = np.random.uniform(-1, 1, n_samples)
  9. u = np.random.uniform(0, 1, n_samples)
  10. theta = np.arccos(costheta)
  11. r = 200 * (u ** (1/3))
  12. x = r * np.sin(theta) * np.cos(phi)
  13. y = r * np.sin(theta) * np.sin(phi)
  14. z = r * np.cos(theta)
  15. points = np.vstack((x, y, z)).T
  16. distances = np.linalg.norm(points, axis=1)
  17. sigma_rad = np.deg2rad(sigma_deg)
  18. angles = np.random.normal(0, sigma_rad, (n_samples, 3))
  19. cross_prod = np.cross(angles, points)
  20. tre_approx = np.linalg.norm(cross_prod, axis=1)
  21. ca = np.cos(angles[:,0]); sa = np.sin(angles[:,0])
  22. cb = np.cos(angles[:,1]); sb = np.sin(angles[:,1])
  23. cg = np.cos(angles[:,2]); sg = np.sin(angles[:,2])
  24. R00 = cg*cb; R01 = cg*sb*sa - sg*ca; R02 = cg*sb*ca + sg*sa
  25. R10 = sg*cb; R11 = sg*sb*sa + cg*ca; R12 = sg*sb*ca - cg*sa
  26. R20 = -sb; R21 = cb*sa; R22 = cb*ca
  27. px = R00*x + R01*y + R02*z
  28. py = R10*x + R11*y + R12*z
  29. pz = R20*x + R21*y + R22*z
  30. points_prime = np.vstack((px, py, pz)).T
  31. tre_exact = np.linalg.norm(points_prime - points, axis=1)
  32. residuals = np.abs(tre_exact - tre_approx) * 1000
  33. return tre_approx, tre_exact, residuals, distances
  34. approx_05, exact_05, _, dist_05 = generate_simt_data(n_samples=1000000, sigma_deg=0.5)
  35. _, _, res_02, dist_02 = generate_simt_data(n_samples=200000, sigma_deg=0.2)
  36. _, _, res_05, dist_05_sub = generate_simt_data(n_samples=200000, sigma_deg=0.5)
  37. _, _, res_10, dist_10 = generate_simt_data(n_samples=200000, sigma_deg=1.0)
  38. import numpy as np
  39. import matplotlib.pyplot as plt
  40. plt.figure(figsize=(6, 5))
  41. idx = np.random.choice(len(dist_05), 50000, replace=False)
  42. dist_plot = dist_05[idx]
  43. exact_plot = exact_05[idx]
  44. plt.scatter(dist_plot, exact_plot, s=1, c='blue', alpha=0.3, label='Exact Calculation')
  45. slopes = exact_plot / (dist_plot + 1e-6)
  46. max_slope_tight = np.percentile(slopes, 99.99)
  47. x_line = np.linspace(0, 205, 100)
  48. y_line = x_line * max_slope_tight
  49. plt.plot(x_line, y_line, 'r--', linewidth=2.5, label='Linear Model (Upper Bound)')
  50. #plt.title('Figure 1: Error Propagation\n(Standard Scenario: $\sigma=0.5^\circ$)', fontsize=12, fontweight='bold')
  51. plt.xlabel('Distance to Isocenter (mm)', fontsize=11)
  52. plt.ylabel('Target Registration Error (mm)', fontsize=11)
  53. plt.legend(loc='upper left', fontsize=10)
  54. plt.grid(True, linestyle=':', alpha=0.6)
  55. plt.xlim(0, 205)
  56. plt.ylim(0, np.max(y_line) * 1.05)
  57. plt.tight_layout()
  58. plt.savefig('Fig1_ErrorPropagation_Final.png', dpi=300)
  59. plt.show()

Fig_2A.py at commit 947ec2f, no license · at the source

Overview

Authors: Jiaxin Deng1,2, Zun Piao1, Xinyu Song3, Danyang Li1, Jiang Hu1, Shouliang Ding1, Yanfei Liu4, Li Chen1, Guanqun Zhou1, Ying Sun1, Xiaoyan Huang1, Guangyu Wang1
  1. State Key Laboratory of Oncology in South China, Guangdong Key Laboratory of Nasopharyngeal Carcinoma Diagnosis and Therapy, Guangdong Provincial Clinical Research Center for Cancer, Sun Yat-sen University Cancer Center, Guangzhou 510060, PR China
  2. School of Biomedical Engineering, Southern Medical University, Guangzhou 510515, PR China
  3. Department of Radiation Oncology, Cancer Center, The First Affiliated Hospital, Sun Yat-sen University, Guangzhou 510080, PR China
  4. Radiotherapy Laboratory, Shenzhen United Imaging Research Institute of Innovative Medical Equipment, Shenzhen 518048, PR China
Journal: Physics and imaging in radiation oncology, volume 39, article 101012
Dates: received 10 February 2026; accepted 31 May 2026; published online 1 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.phro.2026.101012 · PMID 42293113 · PMCID PMC13264242 · OpenAlex W7162995708
Open access: gold, a free copy (OpenAlex)
Status: code verified
Keywords: Single-isocenter multitarget, Stereotactic radiosurgery, Error propagation, Distance-adaptive geometric margin
Topic: Advanced Radiotherapy Techniques (Radiation, Physics and Astronomy), according to OpenAlex
Funding: National Natural Science Foundation of China; Key Technologies Research and Development Program
Citations: not cited yet (Europe PMC); 23 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.

Xina359/SIMT-DAGM-Calculator

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 947ec2f247085dd50f6df628eccf72d3fa69ff83, 8 January 2026
Languages: Python (16)
Size: 20 files, 16 scripts
Software Heritage: not checked
Found in: “Data availability”
Holds: README, environment (requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (16 files), Matplotlib (15 files), seaborn (9 files), SciPy (2 files), pandas (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
17 files

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;
  • 16 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 (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.1016/j.phro.2026.101012.

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, pages, dates, 12 authors, 4 keywords, 2 funders, 23 references.

Cite

This paper

Deng, J., Piao, Z., Song, X., Li, D., Hu, J., Ding, S., Liu, Y., Chen, L., Zhou, G., Sun, Y., Huang, X., & Wang, G. (2026). Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery. Physics and imaging in radiation oncology, 39, 101012. https://doi.org/10.1016/j.phro.2026.101012

BibTeX

@article{deng2026distance,
author = {Deng, Jiaxin and Piao, Zun and Song, Xinyu and Li, Danyang and Hu, Jiang and Ding, Shouliang and Liu, Yanfei and Chen, Li and Zhou, Guanqun and Sun, Ying and Huang, Xiaoyan and Wang, Guangyu},
title = {{Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery}},
journal = {Physics and imaging in radiation oncology},
year = {2026},
month = may,
volume = {39},
pages = {101012},
publisher = {Elsevier},
issn = {2405-6316},
doi = {10.1016/j.phro.2026.101012},
url = {https://doi.org/10.1016/j.phro.2026.101012},
pmid = {42293113},
pmcid = {PMC13264242}
}

RIS

TY - JOUR
AU - Deng, Jiaxin
AU - Piao, Zun
AU - Song, Xinyu
AU - Li, Danyang
AU - Hu, Jiang
AU - Ding, Shouliang
AU - Liu, Yanfei
AU - Chen, Li
AU - Zhou, Guanqun
AU - Sun, Ying
AU - Huang, Xiaoyan
AU - Wang, Guangyu
TI - Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery
T2 - Physics and imaging in radiation oncology
J2 - Phys Imaging Radiat Oncol
PY - 2026
DA - 2026/05/01
VL - 39
SP - 101012
SN - 2405-6316
PB - Elsevier
DO - 10.1016/j.phro.2026.101012
UR - https://doi.org/10.1016/j.phro.2026.101012
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.phro.2026.101012",
"type": "article-journal",
"title": "Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery",
"container-title": "Physics and imaging in radiation oncology",
"author": [
{
"family": "Deng",
"given": "Jiaxin"
},
{
"family": "Piao",
"given": "Zun"
},
{
"family": "Song",
"given": "Xinyu"
},
{
"family": "Li",
"given": "Danyang"
},
{
"family": "Hu",
"given": "Jiang"
},
{
"family": "Ding",
"given": "Shouliang"
},
{
"family": "Liu",
"given": "Yanfei"
},
{
"family": "Chen",
"given": "Li"
},
{
"family": "Zhou",
"given": "Guanqun"
},
{
"family": "Sun",
"given": "Ying"
},
{
"family": "Huang",
"given": "Xiaoyan"
},
{
"family": "Wang",
"given": "Guangyu"
}
],
"container-title-short": "Phys Imaging Radiat Oncol",
"volume": "39",
"page": "101012",
"DOI": "10.1016/j.phro.2026.101012",
"PMID": "42293113",
"PMCID": "PMC13264242",
"ISSN": "2405-6316",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.phro.2026.101012",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}

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.1007/s10549-026-07955-z
Radiation treatment patterns for breast cancer brain metastases: an NCDB analysis.
Journal: Breast cancer research and treatment
In common: 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.

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.