<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Hi again,
<div class=""><br class="">
</div>
<div class="">Sorry, I forgot to mention that the attachment in the last mail is intended for McXtrace 3.x, here I attach a corresponding instrument for 1.7.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Peter</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div></div>
</div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 7 Jun 2022, at 10.56, Peter Kjær Willendrup <<a href="mailto:pkwi@fysik.dtu.dk" class="">pkwi@fysik.dtu.dk</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">Hi Jordan,
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I believe nothing should in principle prevent using Mirror_parabolic in an off-axis geometry: </div>
<div class=""><br class="">
</div>
<div class="">The mirror takes incoming photons from (close to) arbitrary incoming directions, propagate them to the mirror geometry and reflect them according to photon properties and the mirror geometry.</div>
<div class=""><br class="">
</div>
<div class="">For properly understanding the mirror parametrisation / coordinate system, I suggest starting from the example instrument Test_mirror_parabolic.instr found in your McXtrace installation (File->New From Template->Tests->Test_mirror_parabolic).
 Then try doing a few Trace runs (i.e. visualising the instrument geometry), perhaps varying the mirror geometry (i.e. essentially a/b and xwidth/zdepth) - find an example attached where you may vary a, b, xwidth and zdepth without recompilation.</div>
<div class=""><br class="">
</div>
<div class="">The mirror implements a paraboloid geometry with:</div>
<div class=""><br class="">
</div>
<div class="">* extent mainly in x / z dimensions (i.e. at 0 curvatures it lies flat “on the ground”)</div>
<div class="">* adding curvature, this curves the mirror “up” with respect to “the ground”</div>
<div class=""><br class="">
</div>
<div class="">In the attached example a rotation has been applied on the x-axis, meaning that now the mirror instead “stands”. Further, I have exaggerated the dimensions and curvature to more easily see what is going on.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best and hope this helps,</div>
<div class="">Peter</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""></div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 6 Jun 2022, at 15.28, Jordan Cox <<a href="mailto:jmcox@mit.edu" class="">jmcox@mit.edu</a>> wrote:</div>
<br class="x_x_Apple-interchange-newline">
<div class="">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
Hello All,<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
I am getting started with McXtrace, and trying to build an instrument which is collimated using an off-axis parabolic (Göbel) mirror. I assume that the Mirror_parabolic component in McXtrace is not off-axis, so my thought was to simulate a <font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">G</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">ö</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">​bel mirror
 by placing the source at the mirror's focal point and making the mirror sufficiently large so as to be the full parent paraboloid of the off-axis mirror. However, I am having some difficulties understanding the relative coordinate system of the parabolic mirror
 component which is making it tough to determine if this idea will even work. Could someone provide some insights into the Mirror_parabolic component, it's geometry, and it's orientation? Or does anyone know a better way to construct a </span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">G</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">ö</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">​bel mirror?</span></font><br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px"><br class="">
</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">Any advice would be greatly appreciated!</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px"><br class="">
</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">Best,</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px"><br class="">
</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">Jordan​</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px"><br class="">
</span></font></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; margin-top:0px; margin-bottom:0px">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px"><br class="">
</span></font></div>
<div id="x_x_Signature" class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2" class=""><span class="" style="font-size:16px">
<div class="" style="margin:0px"><font face="Calibri,Arial,Helvetica,sans-serif" class="">-------------------------------------
<div class=""><font face="Angsana New,serif" class="">Jordan M. Cox, Ph.D. (</font><font face="Angsana New,serif" class=""><em class="">he|him|his</em></font><font face="Angsana New,serif" class="">)</font></div>
<div class=""><font face="Angsana New,serif" class="">X-ray Research Specialist</font></div>
<div class=""><font face="Angsana New,serif" class=""><br class="">
</font></div>
<div class=""><font face="Angsana New,serif" class="">Materials Research Laboratory</font></div>
<div class=""><font face="Angsana New,serif" class="">Massachusetts Institute of Technology</font></div>
<div class=""><font face="Angsana New,serif" color="#202124" class="">77 Massachusetts Ave.</font></div>
<div class=""><font face="Angsana New,serif" color="#202124" class="">Building 13-4027</font></div>
<div class=""><font face="Angsana New,serif" color="#202124" class="">Cambridge, MA 02139​</font></div>
</font></div>
</span></font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
<br class="">
</div>
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none; float:none; display:inline!important">mcxtrace-users
 mailing list</span><br class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
<a href="mailto:mcxtrace-users@mcxtrace.org" class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(255,255,255)">mcxtrace-users@mcxtrace.org</a><br class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
<a href="https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users" class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(255,255,255)">https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users</a><br class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); text-decoration:none">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
<span id="x_cid:E3053E63A370B443BD261E45DBB5C8E6@win.dtu.dk"><Test_mirror_parabolic_PW.instr></span>_______________________________________________<br class="">
mcxtrace-users mailing list<br class="">
<a href="mailto:mcxtrace-users@mcxtrace.org" class="">mcxtrace-users@mcxtrace.org</a><br class="">
https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>