JustPaste.it

demo_colin27_atlas.m

>> demo_colin27_atlas
Launching MCXLAB-CL - Monte Carlo eXtreme (OpenCL) for MATLAB & GNU Octave ...
Running simulations for configuration #1 ...
mcx.dim=[181 217 181];
mcx.mediabyte=1;
mcx.tstart=0;
mcx.tend=5e-09;
mcx.tstep=2e-10;
mcx.srcpos=[75 67.38 167.5 1];
mcx.srcdir=[0.163606 0.456918 -0.874334 0];
mcx.detnum=4;
mcx.issrcfrom0=1;
mcx.medianum=7;
mcx.seed=29012392;
mcx.nphoton=1e+07;
mcx.issaveexit=1;
==============================================================================
=                       Monte Carlo eXtreme (MCX) -- OpenCL                  =
=          Copyright (c) 2010-2023 Qianqian Fang <q.fang at neu.edu>         =
=                https://mcx.space/  &  https://neurojson.org/               =
=                                                                            =
= Computational Optics&Translational Imaging (COTI) Lab - http://fanglab.org =
=   Department of Bioengineering, Northeastern University, Boston, MA, USA   =
==============================================================================
=    The MCX Project is funded by the NIH/NIGMS under grant R01-GM114365     =
==============================================================================
= Open-source codes and reusable scientific data are essential for research, =
= MCX proudly developed human-readable JSON-based data formats for easy reuse=
= Please consider using JSON (https://neurojson.org/) for your research data =
==============================================================================
$Rev::4fdc45$ v2023  $Date::2018-03-29 00:35:53 -04$by $Author::Qianqian Fang$
==============================================================================
- code name: [Fractal] compiled with OpenCL [1] on [Nov 26 2023]
- compiled with: [RNG] xoroshiro128+ [Seed Length] 4
initializing streams ... init complete : 0 ms
building kernel with option: -cl-mad-enable -DMCX_USE_NATIVE -DMCX_SRC_PENCIL -DMED_TYPE=1  -DUSE_ATOMIC -DMCX_SAVE_DETECTORS  -DMCX_DO_REFLECTION -DINTERNAL_SOURCE
build program complete : 5 ms
- [device 0(1): Apple M1] threadph=19531 extra=128 np=10000000 nthread=512 nblock=64 sharedbuf=2560
set kernel arguments complete : 6 ms
lauching mcx_main_loop for time window [0.0ns 5.0ns] ...
simulation run# 1 ... 
kernel complete:   513 ms
retrieving flux ... detected 0 photons, total: 0 transfer complete:        960 ms
normalizing raw data ... source 1, normalization factor alpha=inf
simulated 10000000 photons (10000000) with 1 devices (repeat x1)
MCX simulation speed: 19723.87 photon/ms
total simulated energy: 0.00 absorbed:   nan%
(loss due to initial specular reflection is excluded in the total)
Unrecognized field name "p".

 

Error in demo_colin27_atlas (line 63)
plot3(detps.p(:,1), detps.p(:,2), detps.p(:,3),'r.');