Monte Carlo method for photon transport

Modeling photon propagation with Monte Carlo methods is a flexible yet rigorous approach to simulate photon transport. In the method, local rules of photon transport are expressed as probability distributions which describe the step size of photon movement between sites of photon-matter interaction and the angles of deflection in a photon's trajectory when a scattering event occurs. This is equivalent to modeling photon transport analytically by the radiative transfer equation (RTE), which describes the motion of photons using a differential equation. However, closed-form solutions of the RTE are often not possible; for some geometries, the diffusion approximation can be used to simplify the RTE, although this, in turn, introduces many inaccuracies, especially near sources and boundaries. In contrast, Monte Carlo simulations can be made arbitrarily accurate by increasing the number of photons traced. For example, see the movie, where a Monte Carlo simulation of a pencil beam incident on a semi-infinite medium models both the initial ballistic photon flow and the later diffuse propagation.

The Monte Carlo method is necessarily statistical and therefore requires significant computation time to achieve precision. In addition Monte Carlo simulations can keep track of multiple physical quantities simultaneously, with any desired spatial and temporal resolution. This flexibility makes Monte Carlo modeling a powerful tool. Thus, while computationally inefficient, Monte Carlo methods are often considered the standard for simulated measurements of photon transport for many biomedical applications.

Monte Carlo simulation of a pencil beam incident on a semi-infinite scattering medium.

Biomedical applications of Monte Carlo methods

Biomedical imaging

The optical properties of biological tissue offer an approach to biomedical imaging. There are many endogenous contrasts, including absorption from blood and melanin and scattering from nerve cells and cancer cell nuclei. In addition, fluorescent probes can be targeted to many different tissues. Microscopy techniques (including confocal, two-photon, and optical coherence tomography) have the ability to image these properties with high spatial resolution, but, since they rely on ballistic photons, their depth penetration is limited to a few millimeters. Imaging deeper into tissues, where photons have been multiply scattered, requires a deeper understanding of the statistical behavior of large numbers of photons in such an environment. Monte Carlo methods provide a flexible framework that has been used by different techniques to reconstruct optical properties deep within tissue. A brief introduction to a few of these techniques is presented here.

  • Photoacoustic tomography In PAT, diffuse laser light is absorbed which generates a local temperature rise. This local temperature variation in turn generates ultrasound waves via thermoelastic expansion which are detected via an ultrasonic transducer. In practice, a variety of setup parameters are varied (i.e. light wavelength, transducer numerical aperture) and as a result Monte Carlo modeling is a valuable tool for predicting tissue response prior to experimental methods.
  • Diffuse optical tomography DOT is an imaging technique that uses an array of near-infrared light sources and detectors to measure optical properties of biological tissues. A variety of contrasts can be measured including the absorption due to oxy- and deoxy-hemoglobin (for functional neuro-imaging or cancer detection) and the concentration of fluorescent probes. In order to reconstruct an image, one must know the manner in which light traveled from a given source to a given detector and how the measurement depends on the distribution and changes in the optical properties (known as the forward model). Due to the highly scattering nature of biological tissue, such paths are complicated and the sensitivity functions are diffuse. The forward model is often generated using Monte Carlo methods.

Radiation therapy

The goal of radiation therapy is to deliver energy, generally in the form of ionizing radiation, to cancerous tissue while sparing the surrounding normal tissue. Monte Carlo modeling is commonly employed in radiation therapy to determine the peripheral dose the patient will experience due to scattering, both from the patient tissue as well as scattering from collimation upstream in the linear accelerator.

Photodynamic therapy

In Photodynamic therapy (PDT) light is used to activate chemotherapy agents. Due to the nature of PDT, it is useful to use Monte Carlo methods for modeling scattering and absorption in the tissue in order to ensure appropriate levels of light are delivered to activate chemotherapy agents.

Implementation of photon transport in a scattering medium

Presented here is a model of a photon Monte Carlo method in a homogeneous infinite medium. The model is easily extended for multi-layered media, however. For an inhomogeneous medium, boundaries must be considered. In addition for a semi-infinite medium (in which photons are considered lost if they exit the top boundary), special consideration must be taken. For more information, please visit the links at the bottom of the page. We will solve the problem using an infinitely small point source (represented analytically as a Dirac delta function in space and time). Responses to arbitrary source geometries can be constructed using the method of Green's functions (or convolution, if enough spatial symmetry exists). The required parameters are the absorption coefficient, the scattering coefficient, and the scattering phase function. (If boundaries are considered the index of refraction for each medium must also be provided.) Time-resolved responses are found by keeping track of the total elapsed time of the photon's flight using the optical path length. Responses to sources with arbitrary time profiles can then be modeled through convolution in time.

In our simplified model we use the following variance reduction technique to reduce computational time. Instead of propagating photons individually, we create a photon packet with a specific weight (generally initialized as unity). As the photon interacts in the turbid medium, it will deposit weight due to absorption and the remaining weight will be scattered to other parts of the medium. Any number of variables can be logged along the way, depending on the interest of a particular application. Each photon packet will repeatedly undergo the following numbered steps until it is either terminated, reflected, or transmitted. The process is diagrammed in the schematic to the right. Any number of photon packets can be launched and modeled, until the resulting simulated measurements have the desired signal-to-noise ratio. Note that as Monte Carlo modeling is a statistical process involving random numbers, we will be using the variable ξ throughout as a pseudo-random number for many calculations.

Schematic for modeling photon flow in an infinite scattering and absorbing medium with Monte Carlo simulations.

Step 1: Launching a photon packet

In our model, we are ignoring initial specular reflectance associated with entering a medium that is not refractive index matched. With this in mind, we simply need to set the initial position of the photon packet as well as the initial direction. It is convenient to use a global coordinate system. We will use three Cartesian coordinates to determine position, along with three direction cosines to determine the direction of propagation. The initial start conditions will vary based on application, however for a pencil beam initialized at the origin, we can set the initial position and direction cosines as follows (isotropic sources can easily be modeled by randomizing the initial direction of each packet):

Step 2: Step size selection and photon packet movement

The step size, s, is the distance the photon packet travels between interaction sites. There are a variety of methods for step size selection. Below is a basic form of photon step size selection (derived using the inverse distribution method and the Beer–Lambert law) from which we use for our homogeneous model:

where is a random number and is the total interaction coefficient (i.e., the sum of the absorption and scattering coefficients).

Once a step size is selected, the photon packet is propagated by a distance s in a direction defined by the direction cosines. This is easily accomplished by simply updating the coordinates as follows:

Step 3: Absorption and scattering

A portion of the photon weight is absorbed at each interaction site. This fraction of the weight is determined as follows:

where is the absorption coefficient.

The weight fraction can then be recorded in an array if an absorption distribution is of interest for the particular study. The weight of the photon packet must then be updated as follows:

Following absorption, the photon packet is scattered. The weighted average of the cosine of the photon scattering angle is known as scattering anisotropy (g), which has a value between −1 and 1. If the optical anisotropy is 0, this generally indicates that the scattering is isotropic. If g approaches a value of 1 this indicates that the scattering is primarily in the forward direction. In order to determine the new direction of the photon packet (and hence the photon direction cosines), we need to know the scattering phase function. Often the Henyey-Greenstein phase function is used. Then the scattering angle, θ, is determined using the following formula.

And, the polar angle φ is generally assumed to be uniformly distributed between 0 and . Based on this assumption, we can set:

Based on these angles and the original direction cosines, we can find a new set of direction cosines. The new propagation direction can be represented in the global coordinate system as follows:

For a special case

use

or

use

C-code:

/*********************** Indicatrix *********************
*New direction cosines after scattering by angle theta, fi.
* mux new=(sin(theta)*(mux*muz*cos(fi)-muy*sin(fi)))/sqrt(1-muz^2)+mux*cos(theta)
* muy new=(sin(theta)*(muy*muz*cos(fi)+mux*sin(fi)))/sqrt(1-muz^2)+muy*cos(theta)
* muz new= - sqrt(1-muz^2)*sin(theta)*cos(fi)+muz*cos(theta)
*---------------------------------------------------------
*Input:
* muxs,muys,muzs - direction cosine before collision
* mutheta, fi - cosine of polar angle and the azimuthal angle
*---------------------------------------------------------
*Output:
*  muxd,muyd,muzd - direction cosine after collision
*---------------------------------------------------------
*/
void Indicatrix (double muxs, double muys, double muzs, double mutheta, double fi, double *muxd, double *muyd, double *muzd)
{
 double costheta = mutheta;
 double sintheta = sqrt(1.0-costheta*costheta); // sin(theta)
 double sinfi = sin(fi);
 double cosfi = cos(fi);
 if (muzs == 1.0) {
   *muxd = sintheta*cosfi;
   *muyd = sintheta*sinfi;
   *muzd = costheta;
 } elseif (muzs == -1.0) {
   *muxd = sintheta*cosfi;
   *muyd = -sintheta*sinfi;
   *muzd = -costheta;
 } else {
   double denom = sqrt(1.0-muzs*muzs);
   double muzcosfi = muzs*cosfi;
   *muxd = sintheta*(muxs*muzcosfi-muys*sinfi)/denom + muxs*costheta;
   *muyd = sintheta*(muys*muzcosfi+muxs*sinfi)/denom + muys*costheta;
   *muzd = -denom*sintheta*cosfi + muzs*costheta;
 }
}

Step 4: Photon termination

If a photon packet has experienced many interactions, for most applications the weight left in the packet is of little consequence. As a result, it is necessary to determine a means for terminating photon packets of sufficiently small weight. A simple method would use a threshold, and if the weight of the photon packet is below the threshold, the packet is considered dead. The aforementioned method is limited as it does not conserve energy. To keep total energy constant, a Russian roulette technique is often employed for photons below a certain weight threshold. This technique uses a roulette constant m to determine whether or not the photon will survive. The photon packet has one chance in m to survive, in which case it will be given a new weight of mW where W is the initial weight (this new weight, on average, conserves energy). All other times, the photon weight is set to 0 and the photon is terminated. This is expressed mathematically below:

Graphics Processing Units (GPU) and fast Monte Carlo simulations of photon transport

Monte Carlo simulation of photon migration in turbid media is a highly parallelizable problem, where a large number of photons are propagated independently, but according to identical rules and different random number sequences. The parallel nature of this special type of Monte Carlo simulation renders it highly suitable for execution on a graphics processing unit (GPU). The release of programmable GPUs started such a development, and since 2008 there have been a few reports on the use of GPU for high-speed Monte Carlo simulation of photon migration.[1][2][3][4]

This basic approach can itself be parallelized by using multiple GPUs linked together. One example is the "GPU Cluster MCML," which can be downloaded from the authors' website (Monte Carlo Simulation of Light Transport in Multi-layered Turbid Media Based on GPU Clusters): http://bmp.hust.edu.cn/GPU_Cluster/GPU_Cluster_MCML.HTM

See also

References

  • Wang, L-H; Wu Hsin-I (2007). Biomedical Optics: Principles and Imaging. Wiley.
  • L.-H. Wang; S. L. Jacques; L.-Q. Zheng (1995). "MCML—Monte Carlo modeling of light transport in multi-layered tissues". Computer Methods and Programs in Biomedicine. 47 (2): 131–146. doi:10.1016/0169-2607(95)01640-F. PMID 7587160.
  • L.-H. Wang; S. L. Jacques; L.-Q. Zheng (1997). "Conv—convolution for responses to a finite diameter photon beam incident on multi-layered tissues" (PDF). Computer Methods and Programs in Biomedicine. 54 (3): 141–150. doi:10.1016/S0169-2607(97)00021-7. PMID 9421660.
  • S. L. Jacques; L.-H. Wang (1995). "Monte Carlo modeling of light transport in tissues" (PDF). In A. J. Welch; M. J. C. van Gemert (eds.). Optical Thermal Response of Laser Irradiated Tissue. New York: Plenum Press. pp. 73–100.
  • L.-H. Wang; S. L. Jacques (1994). "Optimized radial and angular positions in Monte Carlo modeling" (PDF). Medical Physics. 21 (7): 1081–1083. Bibcode:1994MedPh..21.1081W. doi:10.1118/1.597351. PMID 7968840.

Inline references

Read other articles:

Disambiguazione – Se stai cercando altri significati, vedi Marduk (disambigua). Marduk, dio poliade di Babilonia, in una immagine proveniente da un sigillo cilindrico in lapislazzuli risalente al IX secolo a.C., e dedicato al dio dal re babilonese Marduk-zâkir-šumi (regno: c. 854-819 a.C.). Secondo l'iscrizione che accompagna il manufatto, esso doveva comporsi in oro ed essere appeso alla statua del dio posta nel tempio di Marduk, l'Esagila, a Babilonia. Fu rinvenuto nei resti di una cas...

 

 

Dominika CibulkováKebangsaanSlowakiaTempat tinggalBratislava, SlowakiaLahir06 Mei 1989 (umur 34)Bratislava, CzechoslovakiaTinggi5 ft 3 in (1,60 m)Berat58 kg (128 pon) (128 pon)[1]Memulai pro2004Tipe pemainTangan kananTotal hadiah$4,251,834TunggalRekor (M–K)272–177Gelar3 WTA, 2 ITFPeringkat tertinggi12 (6 Juli 2009)Peringkat saat ini21 (8 Juli 2013)GandaRekor (M–K)38–56Gelar0Peringkat tertinggi59 (13 Agustus 2012)Peringkat saat ini86 (24 Juni 2013...

 

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. AvgolemonoJenisSaus dan supBahan utamaTelur, sari lemon, kalduSunting kotak info • L • BBantuan penggunaan templat ini  Media: Avgolemono Avgolemono (bahasa Yunani: αυγολέμονο atau αβγολέμονο)[1] a...

هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (أبريل 2023) هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة �...

 

 

The replica ship Kalmar Nyckel's sprit topmast A sprit topmast is a small topmast that was sometimes carried on the end of the bowsprit of a large European warship during the Age of Sail. Its purpose as initially built was to assist the spritsail (which hung below it) in bringing the bow around when tacking.[1] Unlike other topmasts, the sprit topmast, because of its odd angle, lacked a sheave. Instead, the short vertical pole (the mast proper) was secured to the bowsprit with a k...

 

 

مقام إبراهيم مقام إبراهيم بالمسجد الحرام تقديم البلد  السعودية مدينة مكة المكرمة إحداثيات 21°25′21″N 39°49′35″E / 21.42262°N 39.82633°E / 21.42262; 39.82633   نوع مكان مقدس تصنيف إسلام الموقع الجغرافي تعديل مصدري - تعديل   مقام إبراهيم هو حجر أثري قام عليه النبي إبراهيم عند ر...

Richard Hooker Richard Hooker (1554-1600) adalah seorang teolog dari Gereja Anglikan dan juga seorang apologis terkenal.[1][2] Ia dikenal oleh publik secara luas sejak ia berdebat dengan Walter Travers, yang merupakan seorang Calvinis, mengenai keharusan Gereja Anglikan untuk mengikuti pola-pola yang ditetapkan oleh Yohanes Calvin.[1][2] Isu utama yang menjadi pembicaraan adalah bagaimana Alkitab digunakan dalam menentukan kebijakan gerejawi.[2] Travers...

 

 

Questa voce sull'argomento stagioni delle società calcistiche francesi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Voce principale: Nîmes Olympique. Nîmes OlympiqueStagione 2014-2015Sport calcio Squadra Nîmes Allenatore José Pasqualetti Presidente Jean-Marc Conrad, poi Christian Pedrier Ligue 213º Coppa di FranciaTrentaduesimi di finale Coupe de la LiguePrimo turno StadioStade des Costières 2013-2014 2015-2016 Si invita a seguire il mo...

 

 

Japanese seismologist (1870 – 1948) Akitsune ImamuraAkitsune ImamuraBorn(1870-06-14)June 14, 1870 Japan KagoshimaDiedJanuary 1, 1948(1948-01-01) (aged 77)Scientific careerFieldsSeismologyInstitutionsUniversity of Tokyo Akitsune Imamura (今村 明恒, Imamura Akitsune, Kagoshima, 14 June 1870 – 1 January 1948) was a Japanese seismologist. As a University of Tokyo seismologist he represented a new generation of scientists, trained by Western experts. He predicted the timing a...

2011 FIFA U-20 World CupCopa Mundial Sub-20 de la FIFAColombia 2011Tournament detailsHost country ColombiaDates29 July – 20 AugustTeams24 (from 6 confederations)Venue(s)8 (in 8 host cities)Final positionsChampions Brazil (5th title)Runners-up PortugalThird place MexicoFourth place FranceTournament statisticsMatches played52Goals scored132 (2.54 per match)Attendance1,309,929 (25,191 per match)Top scorer(s) Henrique Alexandre Lacazette Álvar...

 

 

School board for San Francisco San Francisco Board of EducationSchool board overviewFormed1851 (1851)JurisdictionSan Francisco Unified School DistrictHeadquarters555 Franklin StreetSan Francisco, CA, 94102School board executiveJenny Lam[1], PresidentWebsitewww.sfusd.edu/about/board-of-education The San Francisco Board of Education is the school board for the City and County of San Francisco. It is composed of seven Commissioners, elected by voters across the city to serve 4-year ...

 

 

Ritratto di Muzio ClementiFirma Muzio Filippo Vincenzo Francesco Saverio Clementi (Roma, 23 gennaio 1752 – Evesham, 10 marzo 1832) è stato un compositore, pianista, editore e costruttore di pianoforti italiano, uno dei primi ad aver scritto musica per il pianoforte moderno. È noto in particolare per la sua monumentale raccolta di studi per pianoforte, Gradus ad Parnassum. Sulla sua tomba fu incisa l'iscrizione Padre del Pianoforte. Indice 1 Biografia 2 L'opera 3 Note 4 Voci correlate 5 Al...

Political party in the Czech Republic Workers' Party of Social Justice Dělnická strana sociální spravedlnostiAbbreviationDSSSLeaderTomáš VandasFoundedFebruary 2010Preceded byWorkers' PartyHeadquartersCiolkovského 853, 161 00 Praha 6NewspaperWorkers' ListYouth wingWorkers' YouthParamilitary wingCivic Guards[1]IdeologyCzech nationalism[2][3]Neo-Nazism[2]: 3 [4][5][6]Social conservatism[2]: ...

 

 

Hadibowo SusantoInformasi pribadiKebangsaan IndonesiaLahir(1958-07-04)4 Juli 1958Tegal, Jawa Tengah, IndonesiaMeninggal7 Juni 2011(2011-06-07) (umur 52)Jakarta, IndonesiaPeganganKananRekor bertandingGanda putra Rekam medali Bulutangkis Mewakili  Indonesia Piala Dunia Jakarta 1984 Ganda putra Jakarta 1985 Ganda putra Bandung-Jakarta 1986 Ganda putra Piala Thomas Kuala Lumpur 1984 Tim Jakarta 1986 Tim Kuala Lumpur 1988 Tim Pesta Olahraga Asia Tenggara Singapura 1983 Beregu putra ...

 

 

Lucio Calpurnio Pisone FrugiConsole della Repubblica romanaNome originaleLucius Calpurnius Piso Frugi GensCalpurnia Consolato133 a.C. Lucio Calpurnio Pisone Frugi [1] (in latino Lucius Calpurnius Piso Frugi; ... – ...; fl. II secolo a.C.) è stato un politico, militare e storico romano. Indice 1 Biografia 2 Opera 3 Note 4 Bibliografia 5 Altri progetti 6 Collegamenti esterni Biografia Lucio Calpurnio Pisone Frugi, talora detto Censorinus divenne tribuno della plebe nel 149 ...

Family of personal computers sold by Commodore This article is about the family of personal computers. For other uses, see Amiga (disambiguation). AmigaThe 1987 Amiga 500 was the bestselling model.ManufacturerCommodore InternationalProduct familyAmigaTypePersonal computerGame console (CD32)Release dateJuly 23, 1985; 38 years ago (1985-07-23) (Amiga 1000)Introductory priceAmiga 1000: US$1,295 (equivalent to $3,670 in 2023)Monitor: US$300 (equivalent to $850 in 2023)Di...

 

 

Presiden A.S. Barack Obama menerima Hadiah Nobel Perdamaian 2009 Artikel ini adalah bagian dari seri tentangBarack Obama Latar belakang Senat Illinois Senat AS Posisi politik Citra publik Keluarga Pendahuluan 2008 Kampanye Obama–Biden Transisi Pelantikan ke-1 Sejarah pemilihan umum Kepresidenan Garis waktu '09 '10 '11 '12 '13 100 hari pertama Hadiah Nobel Perdamaian Kampanye kedua Pelantikan ke-2 Hadiah Nobel Perdamaian 2009← 2008 Hadiah Nobel Perdamaian2010 → Hadiah Nobel Perda...

 

 

Google Formulir Tampilan saat membuat formulir baruTipelayanan di internet, aplikasi dan web form (en) Versi pertama6 Februari 2008; 16 tahun lalu (2008-02-06)Genre Groupware Survei web Bahasabanyak bahasa Bagian dariGoogle Workspace Karakteristik teknisPlatformperamban web Informasi pengembangPembuatvasdell.PengembangGoogle LLCInformasi tambahanSitus webGoogle FormsBlogBlog oficial Stack ExchangeEtiqueta Sunting di Wikidata  • Sunting kotak info • L • BBantuan pengg...

World War I German Navy airship Silhouette of LZ 61 History German Empire NameLZ 61 OperatorImperial German Navy BuilderLuftschiffbau Zeppelin Maiden voyage10 January 1916[1] IdentificationL 21 FateShot down, 28 November 1916 General characteristics TypeAirship Length163.5 m [1] Beam18.7 m ø [1] Installed powerFour 240 hp Maybach HSLu engines [1] Speed97 km/h [1] Capacity31,900 m³ Gas Volume [1] LZ 61 in hangar at Nordholz Airbase (1916) The L...

 

 

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Margrethe I dari Denmark – berita · surat kabar · buku · cendekiawan · JSTOR Margrethe IRatu DenmarkBerkuasa10 Agustus 1375–28 Oktober 1412(37 tahun, 79 hari)PendahuluOluf IIPenerusEric dari ...