


{"id":367392,"date":"2024-05-17T18:42:23","date_gmt":"2024-05-17T18:42:23","guid":{"rendered":"\/forum\/forums\/reply\/367392\/"},"modified":"2024-05-17T18:42:23","modified_gmt":"2024-05-17T18:42:23","slug":"367392","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/367392\/","title":{"rendered":"Reply To: metalens data h5 file using self-generated phase"},"content":{"rendered":"<p>&lt;p&gt;You can generate your own phase with 3rd party tool. But it is strongly recommended that you import your data into Lumerical and save it.&lt;\/p&gt;&lt;p&gt;h5 data has library and data format requirements&lt;\/p&gt;&lt;p&gt;https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360034927413-h5info-Script-command&lt;\/p&gt;&lt;p&gt;Please use Lumerical script to write it:&lt;\/p&gt;&lt;p&gt;<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/search\/click?data=BAh7DjoHaWRsKwgTy4OlVBE6D2FjY291bnRfaWRpA02AjDoJdHlwZUkiDGFydGljbGUGOgZFVDoIdXJsSSJVaHR0cHM6Ly9vcHRpY3MuYW5zeXMuY29tL2hjL2VuLXVzL2FydGljbGVzLzE5MDU1MjUxODAyODk5LWg1d3JpdGUtU2NyaXB0LWNvbW1hbmQGOwhUOg5zZWFyY2hfaWRJIiljYjY2NDJjZS02ZjM2LTQyNmYtYjJkNi1hNWExYTA0M2NjZjEGOwhGOglyYW5raQY6C2xvY2FsZUkiCmVuLXVzBjsIVDoKcXVlcnlJIgdoNQY7CFQ6EnJlc3VsdHNfY291bnRpDg%3D%3D--cab403d34c9282d7447589abe5102a73fcabff5f\">h5write &ndash; Script command<\/a>&lt;\/p&gt;&lt;p&gt;Please follow the metalens examples.&nbsp;&lt;\/p&gt;&lt;p&gt;Of cource you may develop your own way to drive the data from Lumerical to OPticsStudio. Then you will need time and efforts to do it if it is different from what the examples provide.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-367392","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/367392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/367392\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=367392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}