Skip to content

Monte Carlo optical transport package for modeling pixelated scintillators

Notifications You must be signed in to change notification settings

DIDSR/cartesianDETECT2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

cartesianDETECT2

cartesianDETECT2 is a dedicated Monte Carlo optical transport code for modeling pixelated scintillator structures. It is based on DETECT2 (the optical transport code for MANTIS) but has been specifically tailored for modeling pixelated detector structures.

We have also used cartesianDETECT2 to obtain estimates of depth-of-interaction (DOI) for improving spatial resolution of nuclear imaging applications. The simulations results from cartesianDETECT2 are analyzed to model and establish patterns between DOI and photon scattering. Our findings indicate that DOI estimates can be extracted from a double-Gaussian model of the detector response.

This code is still under development; please report to the author at diamcode@gmail.com, any issue or bug that you may encounter. Feel free to suggest any improvements in the code too.

Disclaimer

This software and documentation (the "Software") were developed at the Food and Drug Administration (FDA) by employees of the Federal Government in the course of their official duties. Pursuant to Title 17, Section 105 of the United States Code, this work is not subject to copyright protection and is in the public domain. Permission is hereby granted, free of charge, to any person obtaining a copy of the Software, to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, or sell copies of the Software or derivatives, and to permit persons to whom the Software is furnished to do so. FDA assumes no responsibility whatsoever for use by other parties of the Software, its source code, documentation or compiled executables, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. Further, use of this code in no way implies endorsement by the FDA or confers any advantage in regulatory decisions. Although this software can be redistributed and/or modified freely, we ask that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified.

Package input arguments and output files

The package contains source code, examples and manual for compiling and executing cartesianDETECT2 and additional routines for estimating DOI.

cartesianDETECT2 requires 18 command line arguments which specify the optical transport simulation parameters.
They are (in order): • X, Y detector dimensions (µm) • Side and thickness of column (µm) • Intercolumnar gap (µm) • Refractive index of column and intercolumnar space • Top surface absorption • Bulk absorption (µm ^-1) • Surface roughness coefficient • Lower x, y PRF (Point Response Function) bounds (µm) for the image • Upper x, y PRF bounds (µm) • Pixel pitch (µm) • Seed input for RNG • Scintillation events file name (input) • PRF file name (output) • Radial response file name (output)

Apart from this, cartesianDETECT2 also uses one input file to supply the information required to generate optical photons, and produces two output files.

Input file contains the energy deposition event information in terms of location in the detector (x, y, z) in µm and energy deposited (E) in eV. The number of optical photons are sampled using a Poisson distribution with a mean equal to the ratio of the energy deposited at each interaction location and the mean energy required to generate an optical photon in the CsI detector. Any available package can be used for doing the x-ray and electron transport, as long as it can give these energy deposition events. For the examples included, we used PENELOPE 2006 with some modifications to penEasy main program to return the required energy deposition information per interaction event.

Output files: PRF (point response function) data and radial response on the PRF data.

Radial response on the PRF is calculated by aggregating the detected optical photons at the sensor plane in radial bins of 10 µm. To account for the change in the bin area moving outward, each bin is normalized by its area.

About

Monte Carlo optical transport package for modeling pixelated scintillators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published