Problems with photon detection #226
Replies: 2 comments 4 replies
-
@RecurvedBow, you don't have to pad zeros, or use if the detected photon count via --bc is not what you have expected, please provide a sample code and describe the condition when the discrepancies happen |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am currently facing some troubles with photon detection: My goal is to define a planar illumination at z = 0 and detect the photons escaping from the top volume face. Therefore, all optical parameters of the volume were padded by 0 at the beginning of the z-Axis and I called MCX with the following flags for photon detection: --bc ______000001 --savedetflag XV --saveref. However, for some optical parameters, MCX does not detect any photons (0 photons detected) when using 10^7 photons and my program fails for not being able to find the output file *.jdat. For some reason, I never face this issue if I use -bc ______000010 instead, for which MCX does indeed detect returning photons. While I could keep using this alternate command, problems occur if I want to mirror the sides of the tissue on the x and y axis. mm_mm_000010 obviously does not work, while mm_mm_000001 has similar problems as ______000001.
Is there something I have forgotten to check for photon detection or am I not using the flags correctly?
Thank you in advance for your answer.
Beta Was this translation helpful? Give feedback.
All reactions