


{"id":319227,"date":"2023-11-23T15:59:37","date_gmt":"2023-11-23T15:59:37","guid":{"rendered":"\/forum\/forums\/topic\/phase-information-extraction\/"},"modified":"2023-11-23T15:59:37","modified_gmt":"2023-11-23T15:59:37","slug":"phase-information-extraction","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/phase-information-extraction\/","title":{"rendered":"Phase information extraction"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am working on designing a phase shifter and I have some questions about how to get the correct phase information in FDTD. In a previous post (<a href=\"\/forum\/forums\/topic\/extracting-te-mode-phase-information-using-fdtdport-on-the-waveguide\/\">\/forum\/forums\/topic\/extracting-te-mode-phase-information-using-fdtdport-on-the-waveguide\/<\/a>) I saw that phase information can be extracted by using ports. Also in this group delay example of Lumerical, phase info is extracted from time monitor (<a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360042800113-Group-delay-analysis\">https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360042800113-Group-delay-analysis<\/a>). Is there a significant difference between them? Which one is more appropriate to use or if set up correctly, would both of these methods give the same result ?&nbsp;<\/p>\n<p>As an initial setup, I used ports and tried to get the phase information by this script :<\/p>\n<p>port2S = getresult(&#8216;FDTD::ports::output_port&#8217;,&#8217;S&#8217;); (It is my output port)<\/p>\n<p>a=port2S.S;<\/p>\n<p>deg=angle(a);<\/p>\n<p>In the definition of angle(x), it says that the angle command &#8220;Returns the angle or phase of a complex number or matrix in radians.&#8221; But my data is not complex, then does this mean that I can&#8217;t use this approach?&nbsp;<\/p>\n<p>Thank you.<\/p>\n","protected":false},"template":"","class_list":["post-319227","topic","type-topic","status-closed","hentry","topic-tag-3DFDTD-1","topic-tag-phase-1","topic-tag-phase-change"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["259213","33648"],"_bbp_author_ip":["104.102.248.196"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["732"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["319227"],"_bbp_forum_id":["27833"],"_bbp_engagement":["33648","259213"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["339207"],"_bbp_last_active_id":["339207"],"_bbp_last_active_time":["2023-12-18 23:18:01"]},"test":"berkay-neselikaist-ac-kr"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/319227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/319227\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=319227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}