<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(230, 235, 239);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(230, 235, 239) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face {  font-family:'o365IconsIE8';  src:url('prem/15.0.898.11/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.898.11/resources/styles/office365icons.ie8.woff') format('woff'),         url('prem/15.0.898.11/resources/styles/office365icons.ie8.ttf') format('truetype');  font-weight:normal;  font-style:normal;}@font-face {  font-family:'o365IconsMouse';  src:url('prem/15.0.898.11/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.898.11/resources/styles/office365icons.mouse.woff') format('woff'),         url('prem/15.0.898.11/resources/styles/office365icons.mouse.ttf') format('truetype');  font-weight:normal;  font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div>Hi everyone,</div>
<div><br>
</div>
<div>I have a question regarding Monte Carlo simulations using the datasynth module. &nbsp;I am using datasynth to verify q-space&nbsp;<span style="font-size: 12pt;">type diffusion diffraction patterns for various synthetic meshes that we create as .ply files. &nbsp;The simulation
 works great&nbsp;</span><span style="font-size: 12pt;">and creates the diffraction patterns<span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">, at least the first &quot;resonance&quot;,</span>&#8203; that match up to the
 literature&nbsp;for example:&nbsp;</span><a href="http://130.235.71.204/Publication/62_jmrA_1995_116_77.pdf" title="http://130.235.71.204/Publication/62_jmrA_1995_116_77.pdf
Ctrl&#43;click or tap to follow link" style="font-size: 12pt;">http://130.235.71.204/Publication/62_jmrA_1995_116_77.pdf</a></div>
<div><br>
</div>
<div>When looking at the created signal created under certain conditions, however, the actual returned signal from camino&nbsp;<span style="font-size: 12pt;">becomes negative in a couple of areas as the gradient strength increases. &nbsp;To recreate the signal, the mesh
 substrate I am&nbsp;</span><span style="font-size: 12pt;">using is a 15 micron diameter sphere, with the file here:&nbsp;</span><span style="font-size: 12pt;"><a href="https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!149&amp;authkey=!AE5S46TChx1pxLM&amp;ithint=file%2c.ply">https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!149&amp;authkey=!AE5S46TChx1pxLM&amp;ithint=file%2c.ply</a></span></div>
<div><br>
</div>
<div>I am using a basic PGSE scheme with 101 different measurements at a small delta of 1 ms, a fixed big delta of 56 ms, TE of&nbsp;66 ms, one gradient direction and an increasing gradient as in the scheme file here:&nbsp;<span style="font-size: 12pt;"><a href="https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!148&amp;authkey=!APHn52CVBaXlHFo&amp;ithint=file%2c.scheme">https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!148&amp;authkey=!APHn52CVBaXlHFo&amp;ithint=file%2c.scheme</a></span></div>
<div><br>
</div>
<div>To replicate the experiment, I run datasynth on linux by:<br>
</div>
<div>datasynth -voxels 1 -walkers 10000 -tmax 1000 -p 0.0 -initial intra -voxelsizefrac 1 -substrate ply -plyfile &lt;PLY FILE&nbsp;<span style="font-size: 12pt;">ABOVE&gt; -schemefile &lt;SCHEME FILE ABOVE&gt; -outputfile Sphere.Bfloat</span></div>
<div><br>
</div>
<div>This should give a signal that has negative values in a couple of places. &nbsp;The question I have is whether the returned&nbsp;<span style="font-size: 12pt;">signal from Camino in this instance is supposed to be&nbsp;a magnitude signal? &nbsp;The actual signal appears to
 be built in Camino by&nbsp;</span><span style="font-size: 12pt;">taking the summation of the cosine value of the accumulated phase for each walker's trajectory, which I'm assuming is the &quot;real&quot; part of the signal. &nbsp;I also browsed&nbsp;the code in AgnosticScan.java (version
 2 DEC 13) and found that if an SNR is provided, a magnitude signal is created by taking the square root of the signal squared. &nbsp;Upon testing this, it inverts the lobes on the signal and gives a &quot;double dip&quot;, especially in a log plot vs. (q-value*sphere radius)
 as shown here: <a href="https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!150&amp;authkey=!ANXxP6S9im65ACQ&amp;v=3&amp;ithint=photo%2c.png">
https://onedrive.live.com/redir?resid=C4C5DBA3D21E3ED6!150&amp;authkey=!ANXxP6S9im65ACQ&amp;v=3&amp;ithint=photo%2c.png</a></span></div>
<div><br>
</div>
<div>This plot is for four experiments with different big DELTA values. &nbsp;I also get the same results when saving the trajectories as a file and running different signals against that.&nbsp;&nbsp;<span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">Please
 let me know if you aren't able to replicate the issue.&nbsp;</span>&nbsp;Just wondering if anyone can provide any guidance on the nature of the negative&nbsp;output signals and&nbsp;whether I am using the correct parameters to perform the experiment. &nbsp;Any help would be appreciated.<br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Ned Charles</div>
<div>University of Sydney</div>
<div>ccha4217@uni.sydney.edu.au<br>
</div>
<p><br>
</p>
</div>
</body>
</html>