{"id":64,"date":"2008-07-20T14:44:35","date_gmt":"2008-07-20T12:44:35","guid":{"rendered":"http:\/\/www.lookingatnothing.com\/?p=64"},"modified":"2011-01-04T17:01:04","modified_gmt":"2011-01-04T08:01:04","slug":"superellips-of-revolution-scattering-patterns","status":"publish","type":"post","link":"https:\/\/lookingatnothing.com\/index.php\/archives\/64","title":{"rendered":"Superellips of revolution scattering patterns"},"content":{"rendered":"<p>Herewith a small program I wrote a while ago and some documentation on how it&#8217;s built up.<\/p>\n<p> The Matlab program can calculate the scattering pattern of a superellips of revolution. I hope it is of some use to some of you, if only for satisfying curiosity.\u00a0The program runs in Matlab, opens a GUI, which requires the input of five variables.<\/p>\n<p> The first two dictate the limits in <span style=\"font-style: italic\" class=\"Apple-style-span\">q<\/span>\u00a0that one is interested in. The minimum q value determines the maximum size of the real-space box, and the distance between the minimum q and the maximum q determines the pixel resolution in real space. Good values for these are, for example, 0.01 for the minimum q and 2 for the maximum q.\u00a0<\/p>\n<p>The three other variables determine the size and shape of the superellips-of-revolution. The superellips is generated \u00a0with width <span style=\"font-style: italic\" class=\"Apple-style-span\">a<\/span> (in Angstrom), height <span style=\"font-style: italic\" class=\"Apple-style-span\">b<\/span>, and curvature <span style=\"font-style: italic\" class=\"Apple-style-span\">r<\/span>. The ellips is then revolved around the vertical axis to generate the ellips-of-revolution. A nice value for these are, for example, <span style=\"font-style: italic\" class=\"Apple-style-span\">a=20, b=100, r=4<\/span>.\u00a0<\/p>\n<p> Please see the attached documentation and have fun running the program. The program is distributed under the GPL V3 license.\u00a0<a href=\"http:\/\/www.lookingatnothing.com\/wp-content\/uploads\/2008\/07\/geomsuperell.pdf\" title=\"geomsuperell.pdf\">geomsuperell.pdf<\/a><a href=\"http:\/\/www.lookingatnothing.com\/wp-content\/uploads\/2008\/07\/selscatgui.tgz\" title=\"superellips-of-revolution scattering pattern simulator\">superellips-of-revolution scattering pattern simulator<\/a>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Herewith a small program I wrote a while ago and some documentation on how it&#8217;s built up. The Matlab program can calculate the scattering pattern <a class=\"mh-excerpt-more\" href=\"https:\/\/lookingatnothing.com\/index.php\/archives\/64\" title=\"Superellips of revolution scattering patterns\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[53],"tags":[31],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-software-2","tag-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1gZ2v-12","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":1,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}