


{"id":235910,"date":"2022-09-21T17:27:25","date_gmt":"2022-09-21T17:27:25","guid":{"rendered":"\/forum\/forums\/reply\/235910\/"},"modified":"2022-09-21T17:27:25","modified_gmt":"2022-09-21T17:27:25","slug":"235910","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/235910\/","title":{"rendered":"Reply To: How to convert energy in terms of wavelength"},"content":{"rendered":"<p>&lt;p&gt;You want to know how to convert wavelength to energy? it is inside the analysis group:&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;sigma.addparameter(&#8220;lambda&#8221;,c\/f,&#8221;f&#8221;,f, &#8220;energy&#8221;, h*f\/e);&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;where e and h are reserved constants in Lumerical:&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;e is the charge;&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;h is the Plank constant.&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;&nbsp;&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;energy=f*h\/e=(c\/lambda)*h\/e&lt;\/p&gt;&lt;p style=&#8221;-qt-block-indent: 0; text-indent: 0px; margin: 0px;&#8221;&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-235910","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/235910","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\/235910\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=235910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}