{"id":126,"date":"2023-11-28T16:11:36","date_gmt":"2023-11-28T15:11:36","guid":{"rendered":"https:\/\/logbooks.ifosim.org\/oscar\/?p=126"},"modified":"2023-11-28T16:13:17","modified_gmt":"2023-11-28T15:13:17","slug":"how-to-miscenter-an-aperture","status":"publish","type":"post","link":"https:\/\/logbooks.ifosim.org\/oscar\/2023\/11\/28\/how-to-miscenter-an-aperture\/","title":{"rendered":"How to miscenter an aperture ?"},"content":{"rendered":"\n<p>The method is very similar to the transverse shift of a laser beam on the grid presented in this <a href=\"https:\/\/logbooks.ifosim.org\/oscar\/2023\/06\/12\/how-to-shift-transversely-a-beam\/\" data-type=\"link\" data-id=\"https:\/\/logbooks.ifosim.org\/oscar\/2023\/06\/12\/how-to-shift-transversely-a-beam\/\">post<\/a>. In this case, we will rather shift the aperture which is defined by the variable I.mask inside one instance I of the class Interface. <\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>G1 = Grid(256,0.4);\nIM1 = Interface(G1,'RoC',1420,'CA',0.33,'T',0.014);\n\nOffset_X = 0.01;\nOffset_Y = 0.03;\n\nIM1.mask = circshift(IM1.mask,&#091;round(-Offset_Y\/G1.Step), round(Offset_X\/G1.Step)]);\nimagesc(G1.Axis,G1.Axis,(IM1.surface-5E-6).*IM1.mask); axis square; colormap gray<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/logbooks.ifosim.org\/oscar\/wp-content\/uploads\/sites\/6\/2023\/11\/untitled.png\" alt=\"\" class=\"wp-image-127\" srcset=\"https:\/\/logbooks.ifosim.org\/oscar\/wp-content\/uploads\/sites\/6\/2023\/11\/untitled.png 700w, https:\/\/logbooks.ifosim.org\/oscar\/wp-content\/uploads\/sites\/6\/2023\/11\/untitled-300x225.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The method is very similar to the transverse shift of a laser beam on the grid presented in this post. In this case, we will rather shift the aperture which is defined by the variable I.mask inside one instance I of the class Interface. Example:<\/p>\n","protected":false},"author":67,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ssl_alp_hide_revisions":false,"footnotes":"","ssl_alp_hide_crossreferences_to":false},"categories":[25],"tags":[19],"ssl-alp-inventory-item":[],"ssl-alp-coauthor":[12],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-simulations","tag-howto","ssl-alp-unread-flag-ssl-alp-unread-flag-agreennikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-andreas-freiseligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-anna-greenligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-antoine-amyligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-bas-swinkelsligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-camilla-derossiligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-catalina-ana-miritesculigo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-daniela-pascucciligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-davidgnikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-eleonora-capocasaligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-enzo-tapialigo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-hiro-yamamotoligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-jacques-dingligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-jonathan-perryligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-jperrynikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-kevin-kunsligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-maddalena-mantovaniligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-michele-valentiniligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-mischa-salleligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-mkolknikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-monica-seglar-arroyoligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-msalle","ssl-alp-unread-flag-ssl-alp-unread-flag-mvalentinikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-p70081609unimaas-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-paul-stevensligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-paulvalentin-hapkeligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-riccardo-maggioreligo-org","ssl-alp-unread-flag-ssl-alp-unread-flag-sebastslnikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-stopic","ssl-alp-unread-flag-ssl-alp-unread-flag-tschoonnikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-yuefangnikhef-nl","ssl-alp-unread-flag-ssl-alp-unread-flag-yuhang-zhao1ligo-org"],"_links":{"self":[{"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":4,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/posts\/126\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/tags?post=126"},{"taxonomy":"ssl-alp-inventory-item","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/ssl-alp-inventory-item?post=126"},{"taxonomy":"ssl-alp-coauthor","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/oscar\/wp-json\/wp\/v2\/ssl-alp-coauthor?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}