hi Ken
the JSON/JNIfTI output (output.json) from MCX Cloud can be loaded to matlab using JSONLab toolbox (see
https://github.com/fangq/mcx#volumetric-output)
dat=loadjson('output.json');
the 3/4D array in dat.NIFTIData is the same as flux.data in mcxlab.
currently, MCX Cloud does not yet allow users to download the detps (output_jdet.jdat) file but we are working on this and will enable users to access that output. Once this can be downloaded, you can use loadjson to also load such JSON file to matlab. the
field names (data.MCXData.PhotonData) will be similar to detps output of mcxlab, see
https://github.com/fangq/mcx#jdat-files
Qianqian
Thank youKen--
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/ae99d677-c454-4e49-9f59-46552d58b4adn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/d3636022-6410-40fe-8fa7-06cc231703afn%40googlegroups.com.
Dr. Fang,
Thank you for the valuable addition, and for the quick reply.I played with it a bit today and noticed that I had to refresh the browser for every change in the configuration. Otherwise, the output_detp.json file was not updated between runs.
should be solved now, see the below patch and refresh your page
https://github.com/fangq/mcx/commit/ae9216de1800bdf3067df696612d670939089807
In addition, is it possible to place detectors inside the "tissue"? or only on the edges? when I tried placing a detector "inside" the shape, I didn't get any photons "reaching" that detector.
no, mcx can't detected photons if it will continue propagating - otherwise, it can result in multiple detection, which does not make sense.
if your detector is indeed inside the domain, you must add at
least a layer of zero-valued voxels along the detector aperture
(as a 1-voxel wide cavity) so that photons will be terminated when
it hits the zero-valued voxels.
let me know if this makes sense (or suggest better ways to handle
this).
Qianqian
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/a3f142f4-cd38-4231-9dc3-2e33d28a5e3cn%40googlegroups.com.