-
Notifications
You must be signed in to change notification settings - Fork 85
Description
this bug was reported by Petein Max in the below mailing list thread
-------- Forwarded Message --------
Subject: [mcx-users] Concerning cfg.unitinmm feature
Date: Tue, 19 Nov 2019 08:39:20 -0800 (PST)
From: Petetin Max <petetin.max at gmail.com>
Reply-To: mcx-users at googlegroups.com
To: mcx-usersDear Professor Fang,
I have a question concerning the feature unitinmm and more especially about its association with the function mcxdettime in Mcxlab.
Shouldn't be detp.ppath multiplied by unitinmm in this function (picture 6&7) ?
In fact, when I try it in a source / detector example in transmission geometry, I have the same results as when I do not use unitinmm concerning the time resolution.
In this example attached, I used unitinmm to transform a 404040 (in mm) grid into a 888 by using a unitinmm factor of 0.2. It is possible to see this difference in the spatial representation (picture 2 &3) but impossible to see it in the time resolution after using mcxdettime (picture 4& blue plot in picture 5).
Therefore, when I implement the unitinmm in a copy of mcxdettime I obtain the coherent result (red plot in picture 5) that I should obtain regarding the theorical result (picture 1).
Thank you in advance for your answer.
Best,
Max