Cargando…

Two-step verification method for Monte Carlo codes in biomedical optics applications

SIGNIFICANCE: Code verification is an unavoidable step prior to using a Monte Carlo (MC) code. Indeed, in biomedical optics, a widespread verification procedure for MC codes is still missing. Analytical benchmarks that can be easily used for the verification of different MC routines offer an importa...

Descripción completa

Detalles Bibliográficos
Autores principales: Sassaroli, Angelo, Tommasi, Federico, Cavalieri, Stefano, Fini, Lorenzo, Liemert, André, Kienle, Alwin, Binzoni, Tiziano, Martelli, Fabrizio
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Society of Photo-Optical Instrumentation Engineers 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9020254/
https://www.ncbi.nlm.nih.gov/pubmed/35445592
http://dx.doi.org/10.1117/1.JBO.27.8.083018
_version_ 1784689498518454272
author Sassaroli, Angelo
Tommasi, Federico
Cavalieri, Stefano
Fini, Lorenzo
Liemert, André
Kienle, Alwin
Binzoni, Tiziano
Martelli, Fabrizio
author_facet Sassaroli, Angelo
Tommasi, Federico
Cavalieri, Stefano
Fini, Lorenzo
Liemert, André
Kienle, Alwin
Binzoni, Tiziano
Martelli, Fabrizio
author_sort Sassaroli, Angelo
collection PubMed
description SIGNIFICANCE: Code verification is an unavoidable step prior to using a Monte Carlo (MC) code. Indeed, in biomedical optics, a widespread verification procedure for MC codes is still missing. Analytical benchmarks that can be easily used for the verification of different MC routines offer an important resource. AIM: We aim to provide a two-step verification procedure for MC codes enabling the two main tasks of an MC simulator: (1) the generation of photons’ trajectories and (2) the intersections of trajectories with boundaries separating the regions with different optical properties. The proposed method is purely based on elementary analytical benchmarks, therefore, the correctness of an MC code can be assessed with a one-sample [Formula: see text]-test. APPROACH: The two-step verification is based on the following two analytical benchmarks: (1) the exact analytical formulas for the statistical moments of the spatial coordinates where the scattering events occur in an infinite medium and (2) the exact invariant solutions of the radiative transfer equation for radiance, fluence rate, and mean path length in media subjected to a Lambertian illumination. RESULTS: We carried out a wide set of comparisons between MC results and the two analytical benchmarks for a wide range of optical properties (from non-scattering to highly scattering media, with different types of scattering functions) in an infinite non-absorbing medium (step 1) and in a non-absorbing slab (step 2). The deviations between MC results and exact analytical values are usually within two standard errors (i.e., [Formula: see text]-tests not rejected at a 5% level of significance). The comparisons show that the accuracy of the verification increases with the number of simulated trajectories so that, in principle, an arbitrary accuracy can be obtained. CONCLUSIONS: Given the simplicity of the verification method proposed, we envision that it can be widely used in the field of biomedical optics.
format Online
Article
Text
id pubmed-9020254
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Society of Photo-Optical Instrumentation Engineers
record_format MEDLINE/PubMed
spelling pubmed-90202542022-04-22 Two-step verification method for Monte Carlo codes in biomedical optics applications Sassaroli, Angelo Tommasi, Federico Cavalieri, Stefano Fini, Lorenzo Liemert, André Kienle, Alwin Binzoni, Tiziano Martelli, Fabrizio J Biomed Opt Special Section Celebrating 30 Years of Open Source Monte Carlo Codes in Biomedical Optics SIGNIFICANCE: Code verification is an unavoidable step prior to using a Monte Carlo (MC) code. Indeed, in biomedical optics, a widespread verification procedure for MC codes is still missing. Analytical benchmarks that can be easily used for the verification of different MC routines offer an important resource. AIM: We aim to provide a two-step verification procedure for MC codes enabling the two main tasks of an MC simulator: (1) the generation of photons’ trajectories and (2) the intersections of trajectories with boundaries separating the regions with different optical properties. The proposed method is purely based on elementary analytical benchmarks, therefore, the correctness of an MC code can be assessed with a one-sample [Formula: see text]-test. APPROACH: The two-step verification is based on the following two analytical benchmarks: (1) the exact analytical formulas for the statistical moments of the spatial coordinates where the scattering events occur in an infinite medium and (2) the exact invariant solutions of the radiative transfer equation for radiance, fluence rate, and mean path length in media subjected to a Lambertian illumination. RESULTS: We carried out a wide set of comparisons between MC results and the two analytical benchmarks for a wide range of optical properties (from non-scattering to highly scattering media, with different types of scattering functions) in an infinite non-absorbing medium (step 1) and in a non-absorbing slab (step 2). The deviations between MC results and exact analytical values are usually within two standard errors (i.e., [Formula: see text]-tests not rejected at a 5% level of significance). The comparisons show that the accuracy of the verification increases with the number of simulated trajectories so that, in principle, an arbitrary accuracy can be obtained. CONCLUSIONS: Given the simplicity of the verification method proposed, we envision that it can be widely used in the field of biomedical optics. Society of Photo-Optical Instrumentation Engineers 2022-04-20 2022-08 /pmc/articles/PMC9020254/ /pubmed/35445592 http://dx.doi.org/10.1117/1.JBO.27.8.083018 Text en © 2022 The Authors https://creativecommons.org/licenses/by/4.0/Published by SPIE under a Creative Commons Attribution 4.0 International License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI.
spellingShingle Special Section Celebrating 30 Years of Open Source Monte Carlo Codes in Biomedical Optics
Sassaroli, Angelo
Tommasi, Federico
Cavalieri, Stefano
Fini, Lorenzo
Liemert, André
Kienle, Alwin
Binzoni, Tiziano
Martelli, Fabrizio
Two-step verification method for Monte Carlo codes in biomedical optics applications
title Two-step verification method for Monte Carlo codes in biomedical optics applications
title_full Two-step verification method for Monte Carlo codes in biomedical optics applications
title_fullStr Two-step verification method for Monte Carlo codes in biomedical optics applications
title_full_unstemmed Two-step verification method for Monte Carlo codes in biomedical optics applications
title_short Two-step verification method for Monte Carlo codes in biomedical optics applications
title_sort two-step verification method for monte carlo codes in biomedical optics applications
topic Special Section Celebrating 30 Years of Open Source Monte Carlo Codes in Biomedical Optics
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9020254/
https://www.ncbi.nlm.nih.gov/pubmed/35445592
http://dx.doi.org/10.1117/1.JBO.27.8.083018
work_keys_str_mv AT sassaroliangelo twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT tommasifederico twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT cavalieristefano twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT finilorenzo twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT liemertandre twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT kienlealwin twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT binzonitiziano twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications
AT martellifabrizio twostepverificationmethodformontecarlocodesinbiomedicalopticsapplications