Distance-adaptive geometric margins for residual rotational uncertainty in single-isocenter multitarget stereotactic radiosurgery.
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
- # -*- coding: utf-8 -*-
- import numpy as np
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1.inset_locator import inset_axes
- def generate_simt_data(n_samples=1000000, sigma_deg=0.5):
- np.random.seed(42)
- phi = np.random.uniform(0, 2*np.pi, n_samples)
- costheta = np.random.uniform(-1, 1, n_samples)
- u = np.random.uniform(0, 1, n_samples)
- theta = np.arccos(costheta)
- r = 200 * (u ** (1/3))
- x = r * np.sin(theta) * np.cos(phi)
- y = r * np.sin(theta) * np.sin(phi)
- z = r * np.cos(theta)
- points = np.vstack((x, y, z)).T
- distances = np.linalg.norm(points, axis=1)
- sigma_rad = np.deg2rad(sigma_deg)
- angles = np.random.normal(0, sigma_rad, (n_samples, 3))
- cross_prod = np.cross(angles, points)
- tre_approx = np.linalg.norm(cross_prod, axis=1)
- ca = np.cos(angles[:,0]); sa = np.sin(angles[:,0])
- cb = np.cos(angles[:,1]); sb = np.sin(angles[:,1])
- cg = np.cos(angles[:,2]); sg = np.sin(angles[:,2])
- R00 = cg*cb; R01 = cg*sb*sa - sg*ca; R02 = cg*sb*ca + sg*sa
- R10 = sg*cb; R11 = sg*sb*sa + cg*ca; R12 = sg*sb*ca - cg*sa
- R20 = -sb; R21 = cb*sa; R22 = cb*ca
- px = R00*x + R01*y + R02*z
- py = R10*x + R11*y + R12*z
- pz = R20*x + R21*y + R22*z
- points_prime = np.vstack((px, py, pz)).T
- tre_exact = np.linalg.norm(points_prime - points, axis=1)
- residuals = np.abs(tre_exact - tre_approx) * 1000
- return tre_approx, tre_exact, residuals, distances
- approx_05, exact_05, _, dist_05 = generate_simt_data(n_samples=1000000, sigma_deg=0.5)
- _, _, res_02, dist_02 = generate_simt_data(n_samples=200000, sigma_deg=0.2)
- _, _, res_05, dist_05_sub = generate_simt_data(n_samples=200000, sigma_deg=0.5)
- _, _, res_10, dist_10 = generate_simt_data(n_samples=200000, sigma_deg=1.0)
- import numpy as np
- import matplotlib.pyplot as plt
- plt.figure(figsize=(6, 5))
- idx = np.random.choice(len(dist_05), 50000, replace=False)
- dist_plot = dist_05[idx]
- exact_plot = exact_05[idx]
- plt.scatter(dist_plot, exact_plot, s=1, c='blue', alpha=0.3, label='Exact Calculation')
- slopes = exact_plot / (dist_plot + 1e-6)
- max_slope_tight = np.percentile(slopes, 99.99)
- x_line = np.linspace(0, 205, 100)
- y_line = x_line * max_slope_tight
- plt.plot(x_line, y_line, 'r--', linewidth=2.5, label='Linear Model (Upper Bound)')
- #plt.title('Figure 1: Error Propagation\n(Standard Scenario: $\sigma=0.5^\circ$)', fontsize=12, fontweight='bold')
- plt.xlabel('Distance to Isocenter (mm)', fontsize=11)
- plt.ylabel('Target Registration Error (mm)', fontsize=11)
- plt.legend(loc='upper left', fontsize=10)
- plt.grid(True, linestyle=':', alpha=0.6)
- plt.xlim(0, 205)
- plt.ylim(0, np.max(y_line) * 1.05)
- plt.tight_layout()
- plt.savefig('Fig1_ErrorPropagation_Final.png', dpi=300)
- plt.show()
Fig_2A.py at commit 947ec2f, no license · at the source
Overview
- 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
- School of Biomedical Engineering, Southern Medical University, Guangzhou 510515, PR China
- Department of Radiation Oncology, Cancer Center, The First Affiliated Hospital, Sun Yat-sen University, Guangzhou 510080, PR China
- Radiotherapy Laboratory, Shenzhen United Imaging Research Institute of Innovative Medical Equipment, Shenzhen 518048, PR China
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
947ec2f247085dd50f6df628eccf72d3fa69ff83, 8 January 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
17 files
- Figure_Generation/
Fig_2A.py , Python, 92 lines - Figure_Generation/
Fig_2B.py , Python, 88 lines - Figure_Generation/
Fig_2C.py , Python, 81 lines - Figure_Generation/
Fig_2D.py , Python, 85 lines - Figure_Generation/
Fig_3& , Python, 70 linesTable_S1.py - Figure_Generation/
Fig_4ABC.py , Python, 113 lines - Figure_Generation/
Fig_4D.py , Python, 99 lines - Figure_Generation/
Fig_5.py , Python, 89 lines - Figure_Generation/
Fig_S1.py , Python, 57 lines - Figure_Generation/
Fig_S2.py , Python, 78 lines - Figure_Generation/
Fig_S3.py , Python, 110 lines - Figure_Generation/
Fig_S4.py , Python, 71 lines - Figure_Generation/
Fig_S5.py , Python, 129 lines - Figure_Generation/
Fig_S6.py , Python, 65 lines - Figure_Generation/
Fig_S7.py , Python, 65 lines - Software_Tool/
SIMT_Calculator.py , Python, 199 lines - README.md, Text, 33 lines
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:
- it points to the authors' code: Xina359/
SIMT-DAGM-Calculator
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://
BibTeX
@article{deng2026distanc
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/
url = {https://
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/
VL - 39
SP - 101012
SN - 2405-6316
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"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":
"volume": "39",
"page": "101012",
"DOI": "10.1016/
"PMID": "42293113",
"PMCID": "PMC13264242",
"ISSN": "2405-6316",
"publisher": "Elsevier",
"URL": "https://
"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 treatmentIn 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.
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: 1 repository of the authors' code, each at its verified commit and with its license, 16 scripts, and 0 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:a358998ba0c94df8…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
