

hi Seonyeong,
mcx treats 0-valued voxel, either in label based medium or continuous-medium, as the background - so that photons moving from a non-zero voxel to a zero voxel is considered escaping the domain and will never return, thus can be terminated.
in order to distinguish a continuous medium voxel where both mua
and mus are exactly 0 with a 0-valued voxel, mcx modifies the mus
value to have a very small value (FLOAT32_EPS or FLOAT16_EPS).
However, if you want to mimic a 0-valued voxel like in a labeled
volume, you need to set mua or mus to NaN, please see source codes
https://github.com/fangq/mcx/blob/v2024.2/src/mcx_utils.c#L3505
https://github.com/fangq/mcx/blob/v2024.2/src/mcx_utils.c#L3520-L3523
please also try our label-vs-continuous media comparison script
https://github.com/fangq/mcx/blob/master/mcxlab/examples/demo_speed_label_vs_continuous.m
and see if anything useful in understanding the differences.
Qianqian
--
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 on the web visit https://groups.google.com/d/msgid/mcx-users/bb9f38ee-b83a-429d-8d1f-880d3a69b557n%40googlegroups.com.