as you recognized, the provided function mcx/utils/mcxdetweight.m does this in matlab,
for pmcx, you should use pmcx.detweight()
https://github.com/fangq/mcx/blob/v2025/pmcx/pmcx/utils.py#L100-L115
You don't often get email from bowre...@gmail.com. Learn why this is important
--
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/f9970400-6daa-4cbb-8fa5-09e4940598d7n%40googlegroups.com.
hi Viet,
MCX applies normalization by default (-U 1). This not only applies to fluence, but also dref.
the internally computed value of the normalization factor is
printed in the log (normalization factor alpha = ...). the formula
differs from your requested output type, see the source code
https://github.com/fangq/mcx/blob/v2025/src/mcx_core.cu#L3744-L3807
please verify that your normalization matches those produced from mcx.
the other thing you should check out is the dref validation
script:
https://github.com/fangq/mcx/blob/master/mcxlab/examples/demo_diffuse_reflectance_validation.m
it uses the detected photon to compute dref using a function
mcxcwdref() and this output allows it to be directly compared with
dref computed from analytical models.
Qianqian
To view this discussion visit https://groups.google.com/d/msgid/mcx-users/c8b1ef9e-70cc-4d08-a51a-09cb317e7f69n%40googlegroups.com.