Question about detector behaviour with total internal and Fresnel reflection

30 views
Skip to first unread message

Theo Husby

unread,
Nov 4, 2025, 1:59:54 PMNov 4
to mcx-users
Hi Dr. Fang,

I'm simulating a semi-infinite tissue volume where an optical fiber placed in contact with the top surface is used as a detector. In MCX I'm using a detector and only counting photons with trajectories that lie within the fiber's NA (accounting for the tissue's index of refraction). I had some basic questions about how total internal reflection and Fresnel reflections interact with detectors.
  1. Are photons only detected only if they exit the volume and are terminated? 
    • e.g. If a photon packet is incident with a detector surface, but is totally internally reflected such that it does not leave the volume, is it detected? I couldn't tell from your FAQ post
  2. Do Fresnel reflections create new photon packets with their own initial weight and partial path length, or do they scale the weight of the packet by the fraction that's reflected and add to the packet's pre-reflection partial path length?
    • i.e. if I use mcxdetweight to calculate reflectance, will I have inaccurate results because the partial path length includes the Fresnel reflection component?
Thanks,
Theo Husby

Qianqian Fang

unread,
Nov 7, 2025, 11:41:42 PMNov 7
to mcx-...@googlegroups.com, Theo Husby

see my replies below

On 11/4/25 13:59, Theo Husby wrote:
Hi Dr. Fang,

I'm simulating a semi-infinite tissue volume where an optical fiber placed in contact with the top surface is used as a detector. In MCX I'm using a detector and only counting photons with trajectories that lie within the fiber's NA (accounting for the tissue's index of refraction). I had some basic questions about how total internal reflection and Fresnel reflections interact with detectors.
  1. Are photons only detected only if they exit the volume and are terminated? 


yes


    • e.g. If a photon packet is incident with a detector surface, but is totally internally reflected such that it does not leave the volume, is it detected? I couldn't tell from your FAQ post


it is not detected, nor should it be detected.


  1. Do Fresnel reflections create new photon packets with their own initial weight and partial path length, or do they scale the weight of the packet by the fraction that's reflected and add to the packet's pre-reflection partial path length?


neither 

MCX/MMC uses a random number generator to create a random number between 0-1. if this number is greater than reflection coeff R_total, then, the photon packet will transmit through the boundary to the next medium (following Fresnel's law); it will keep its weight 100%, and continue;

if it is less than R_total, then it take the reflection path, while keeping its weight 100%. no weight is scaled or lost during this process. Statistically, this approach matches exactly the energy split at the boundary.


    • i.e. if I use mcxdetweight to calculate reflectance, will I have inaccurate results because the partial path length includes the Fresnel reflection component?


no. there is no scaling or loss at reflection/transmission.


Thanks,
Theo Husby
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mcx-users/af68f7b3-ea3e-476f-9ec4-a72b5aebb82fn%40googlegroups.com.

Theo Husby

unread,
Nov 10, 2025, 4:49:25 PMNov 10
to mcx-users
Perfect! Thanks for the clarifications!
Reply all
Reply to author
Forward
0 new messages