arrow
Return

NIRFASTerFF: an accessible, cross-platform Python package for fast photon modeling

delete2025-11-01
delete0
PRE
AI
J
Jiaming Cao
S
Samuel Montero‐Hernández
R
Rickson C. Mesquita
A
Adam T. Eggebrecht
H
Hamid Dehghani *
DOI:10.1117/1.JBO.30.11.115001delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Significance: Accurate and efficient photon modeling plays an essential role in the rapidly developing field of diffuse optical imaging, whereby the use of model-based analysis and image reconstruction can provide both educational and research benefits. Aim: NIRFASTerFF is a cross-platform (Linux, macOS, and Windows) Python package for finite element method (FEM)-based light propagation modeling, supporting continuous-wave, frequency-domain, and time-resolved data for both exogenous and endogenous optical imaging applications. It also enables modeling of the autocorrelation function (G1) for diffuse correlation spectroscopy. Validation is performed through comparison with the original NIRFAST and gold-standard Monte Carlo simulations Approach: NIRFASTerFF incorporates highly parallelized FEM solvers for efficient computation on both CPU and GPU, leveraging OpenMP and CUDA acceleration. To support image reconstruction tasks, voxel-based interpolation of the optical fluence is implemented, providing a flexible and accurate representation of the forward solution suitable for inverse problem formulations. Results: Compared with its predecessor, NIRFASTer, the optimized algorithms provide a performance boost of 25% to 45% on GPU and up to 20% on CPU, and the results show good agreement with both Monte Carlo and analytical solutions. Conclusion: The NIRFASTerFF package provides a fast and license-free tool for photon modeling and can further streamline Python-based data processing in diffuse optical imaging, benefiting the biophotonics community.
Keywords:
diffuse optics
finite element method
algorithm
toolbox
mathematical modeling
parallel computing

Journal

Journal of Biomedical Optics cover
Journal of Biomedical Optics
IF:
2.9
Papers:
7.4K
Citations:
1.4W

Organization

W
washington university (wustl)
Scholars:
5.5W
Papers: 4.5W
Citations: 70
U
university of birmingham
Scholars:
4.9K
Papers: 2.4K
Citations: 0