


{"id":363687,"date":"2024-04-23T10:40:36","date_gmt":"2024-04-23T10:40:36","guid":{"rendered":"\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/"},"modified":"2024-04-23T10:40:36","modified_gmt":"2024-04-23T10:40:36","slug":"fdtdjisuanguangzijingtinengdaijiegouwenti","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/","title":{"rendered":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898"},"content":{"rendered":"<p>\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b&ldquo;<span style=\"font-size: 14pt\">Bandstructure of planar photonic crystal with a hexagonal lattice<\/span>&rdquo;\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002<\/p>\n<p>#############################################################################<\/p>\n<p># This script combines the results from the Gamma-M-K-Gamma sweep<\/p>\n<p># and plots the frequency spectrum fs from the bandstructure object<\/p>\n<p># results over k, and the bandstructure.<\/p>\n<p># The bandstructure information is extracted using tolerance and num_band<\/p>\n<p># specified by the user at the beginning of the script.<\/p>\n<p>#<\/p>\n<p># Properties:<\/p>\n<p># a: period used to normalize the frequency (f_norm=f*a\/c)<\/p>\n<p># f_band: Frequencies of bands in units of Hz<\/p>\n<p># f_band_norm: Frequencies of bands in units of Hz * a \/ c<\/p>\n<p>#############################################################################<\/p>\n<p># User Defined properties:<\/p>\n<p>tolerance = 1e-3; #tolerance for finding peaks and accepting bands<\/p>\n<p># setting this too low will result in noisy data where sidelobes of<\/p>\n<p># peaks are interpreted as new bands<\/p>\n<p># setting it too high will mean that some bands are not found<\/p>\n<p>num_band = 10; #number of bands to search for in the bandstructure<\/p>\n<p>#<\/p>\n<p>#############################################################################<\/p>\n<p>&nbsp;<\/p>\n<p>runsweep; # run all sweeps<\/p>\n<p>&nbsp;<\/p>\n<p># get a from model<\/p>\n<p>a = getnamed(&#8220;::model&#8221;,&#8221;a&#8221;);<\/p>\n<p>&nbsp;<\/p>\n<p># get fs data from the sweeps<\/p>\n<p>sweepname=&#8221;Gamma-M&#8221;;<\/p>\n<p>spectrum=getsweepresult(sweepname,&#8221;spectrum&#8221;);<\/p>\n<p>f=c\/spectrum.lambda;<\/p>\n<p>fs_all=matrix(length(f),30); # initialize matrix to store fs data in<\/p>\n<p>fs_all(1:length(f),1:10)=spectrum.fs;<\/p>\n<p>&nbsp;<\/p>\n<p>sweepname=&#8221;M-K&#8221;;<\/p>\n<p>spectrum=getsweepresult(sweepname,&#8221;spectrum&#8221;);<\/p>\n<p>fs_all(1:length(f),11:20)=spectrum.fs;<\/p>\n<p>&nbsp;<\/p>\n<p>sweepname=&#8221;K-Gamma&#8221;;<\/p>\n<p>spectrum=getsweepresult(sweepname,&#8221;spectrum&#8221;);<\/p>\n<p>fs_all(1:length(f),21:30)=spectrum.fs;<\/p>\n<p>&nbsp;<\/p>\n<p># simple imaging of fs vs k<\/p>\n<p>image(1:30,f,transpose(fs_all),&#8221;k (Gamma-M-K-Gamma)&#8221;,&#8221;f (Hz)&#8221;,&#8221;bandstructure, logscale&#8221;,&#8221;logplot&#8221;);<\/p>\n<p>image(1:30,f,transpose(fs_all),&#8221;k (Gamma-M-K-Gamma)&#8221;,&#8221;f (Hz)&#8221;,&#8221;bandstructure, linearscale&#8221;);<\/p>\n<p>&nbsp;<\/p>\n<p>setplot(&#8220;colorbar min&#8221;,0);<\/p>\n<p>setplot(&#8220;colorbar max&#8221;,max(fs_all)*1e-4);<\/p>\n<p>&nbsp;<\/p>\n<p># plot bandstructure<\/p>\n<p>bandstructure=matrix(num_band,30); # initialize matrix in which to store band frequency information<\/p>\n<p>&nbsp;<\/p>\n<p># loop over sweep results<\/p>\n<p>for (i=1:30){<\/p>\n<p>#use findpeaks to find num_band number of peaks<\/p>\n<p>temp = findpeaks(fs_all(1:length(f),i),num_band);<\/p>\n<p>&nbsp;<\/p>\n<p>#collect data for any peaks that are more than &#8216;tolerance&#8217; of the maximum peak (to avoid minor peaks like sidelobes)<\/p>\n<p>minvalue = fs_all(temp(1),i)*tolerance;<\/p>\n<p>f_band=matrix(num_band);<\/p>\n<p>for(bandcount = 1:num_band) {<\/p>\n<p>if( fs_all(temp(bandcount),i) &gt; minvalue) {<\/p>\n<p>f_band(bandcount) = f(temp(bandcount));<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>f_band_norm = f_band*a\/c; # normalize the frequency vector<\/p>\n<p>bandstructure(1:num_band,i)=f_band_norm;<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>bandstructure=transpose(bandstructure);<\/p>\n<p>plot(1:30,bandstructure,&#8221;k (Gamma-M-K-Gamma)&#8221;,&#8221;f (Hz*a\/c)&#8221;,&#8221;bandstructure&#8221;,&#8221;plot points&#8221;);<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png\" width=\"1166\" height=\"86\"><\/p>\n<p>\u8bf7\u95ee\u8001\u5e08\u662f\u6211\u8bbe\u7f6e\u6709\u4ec0\u4e48\u95ee\u9898\u5417\uff1f<\/p>\n","protected":false},"template":"","class_list":["post-363687","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-23T10:40:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-23T10:40:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/#listItem\",\"name\":\"FDTD\\u8ba1\\u7b97\\u5149\\u5b50\\u6676\\u4f53\\u80fd\\u5e26\\u7ed3\\u6784\\u95ee\\u9898\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/#listItem\",\"position\":3,\"name\":\"FDTD\\u8ba1\\u7b97\\u5149\\u5b50\\u6676\\u4f53\\u80fd\\u5e26\\u7ed3\\u6784\\u95ee\\u9898\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/\",\"name\":\"FDTD\\u8ba1\\u7b97\\u5149\\u5b50\\u6676\\u4f53\\u80fd\\u5e26\\u7ed3\\u6784\\u95ee\\u9898 | Ansys Learning Forum\",\"description\":\"\\u8001\\u5e08\\u60a8\\u597d\\uff0c\\u5728\\u6848\\u4f8b\\u201cBandstructure of planar photonic crystal with a hexagonal lattice\\u201d\\u4e2d\\uff0c\\u6211\\u4f7f\\u7528\\u4e86\\u5982\\u4e0b\\u811a\\u672c\\u6765\\u8ba1\\u7b97\\u80fd\\u5e26\\u7ed3\\u6784\\uff0c\\u4f46\\u7cfb\\u7edf\\u62a5\\u9519\\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fdtdjisuanguangzijingtinengdaijiegouwenti\\\/#breadcrumblist\"},\"datePublished\":\"2024-04-23T10:40:36+00:00\",\"dateModified\":\"2024-04-23T10:40:36+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum","description":"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/#listItem","name":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/#listItem","position":3,"name":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/","name":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum","description":"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/#breadcrumblist"},"datePublished":"2024-04-23T10:40:36+00:00","dateModified":"2024-04-23T10:40:36+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum","og:description":"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png","article:published_time":"2024-04-23T10:40:36+00:00","article:modified_time":"2024-04-23T10:40:36+00:00","twitter:card":"summary_large_image","twitter:title":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898 | Ansys Learning Forum","twitter:description":"\u8001\u5e08\u60a8\u597d\uff0c\u5728\u6848\u4f8b\u201cBandstructure of planar photonic crystal with a hexagonal lattice\u201d\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u5982\u4e0b\u811a\u672c\u6765\u8ba1\u7b97\u80fd\u5e26\u7ed3\u6784\uff0c\u4f46\u7cfb\u7edf\u62a5\u9519\u3002############################################################################## This script combines the results from the Gamma-M-K-Gamma sweep# and plots the frequency spectrum fs from the bandstructure object# results over k, and the bandstructure.# The bandstructure information is extracted using tolerance and num_band# specified by the user at the beginning of the script.## Properties:# a:","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/23-04-2024-1713868699-mceclip0.png"},"aioseo_meta_data":{"post_id":"363687","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:45:46","updated":"2024-10-28 16:45:46","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"FDTD\u8ba1\u7b97\u5149\u5b50\u6676\u4f53\u80fd\u5e26\u7ed3\u6784\u95ee\u9898","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fdtdjisuanguangzijingtinengdaijiegouwenti\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["294265","2592","343827"],"_bbp_author_ip":["23.206.193.154"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1678"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["363687"],"_bbp_forum_id":["27835"],"_bbp_engagement":["2592","294265","343827"],"_bbp_voice_count":["3"],"_bbp_reply_count":["6"],"_bbp_last_reply_id":["382957"],"_bbp_last_active_id":["382957"],"_bbp_last_active_time":["2024-09-18 09:02:06"]},"test":"liqingyunsztu-edu-cn"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/363687","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\/363687\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=363687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}