<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word">Dear Rob,
<div class=""><br class="">
</div>
<div class="">That should be entirely possible - but an important detail is the use of the min=offset keyword to define pixel enumeration on subsequent monitors/panels.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">In the attached I have added an extra monitor_nd like this:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">COMPONENT nD_Mantid_1 = Monitor_nD(</div>
<div class=""> options ="mantid square x limits=[-0.2 0.2] bins=128 y limits=[-0.2 0.2] bins=128, neutron pixel t, list all neutrons",</div>
<div class=""> xmin = -0.2,</div>
<div class=""> xmax = 0.2,</div>
<div class=""> ymin = -0.2,</div>
<div class=""> ymax = 0.2,</div>
<div class=""> restore_neutron = 1,</div>
<div class=""> filename = "bank01_events.dat")</div>
<div class=""> AT (0.15, 0, 3.2) RELATIVE sampleMantid </div>
<div class=""><br class="">
</div>
<div class="">COMPONENT nD_Mantid_2 = Monitor_nD(</div>
<div class=""> options ="mantid square x limits=[-0.2 0.2] bins=128 y limits=[-0.2 0.2] bins=128, neutron pixel min=1e6 t , list all neutrons",</div>
<div class=""> xmin = -0.2,</div>
<div class=""> xmax = 0.2,</div>
<div class=""> ymin = -0.2,</div>
<div class=""> ymax = 0.2,</div>
<div class=""> restore_neutron = 1,</div>
<div class=""> filename = "bank02_events.dat")</div>
<div class=""> AT (-0.15, 0, 3.5) RELATIVE sampleMantid </div>
</div>
<div class=""><br class="">
</div>
</div>
<div class="">And that seems to work for me - see attached graphics.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Peter</div>
<div class=""><br class="">
</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word">
<div></div>
</div>
<div><img src="cid:a92046bf-5e9c-44db-b8ed-2d6a7613dff5@win.dtu.dk"> </div>
<div class="" style="word-wrap:break-word">
<div class=""></div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 25 Nov 2014, at 15:33 , <a href="mailto:robert.dalgliesh@stfc.ac.uk" class="">
robert.dalgliesh@stfc.ac.uk</a> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_WordSection1" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">A further question on the Mantid Nexus import/export.</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Is it possible to export more than one detector at a time?</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I seem to get empty detectors when I import into mantid unless I limit the number to 1.</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">If not is it planned that this will be available?</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">It’s a bit tedious running the same simulation with different configurations and then having to somehow conjoin the Nexus data in Mantid.</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Additionally, the hdf5 file seems to be appended after each simulation. This rapidly results in a very large file when using events.</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Could the append be an option?</span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Rob</span></div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>