{"id":1590,"date":"2015-03-03T12:10:49","date_gmt":"2015-03-03T03:10:49","guid":{"rendered":"http:\/\/www.lookingatnothing.com\/?p=1590"},"modified":"2015-03-03T12:10:49","modified_gmt":"2015-03-03T03:10:49","slug":"calculating-scattering-by-hand-example-1","status":"publish","type":"post","link":"https:\/\/lookingatnothing.com\/index.php\/archives\/1590","title":{"rendered":"Calculating scattering by hand &#8211; example 1"},"content":{"rendered":"<p>Those who read the older SAXS literature will note liberal use of Fourier transforms to calculate the scattering behaviour of odd-shaped particles. Likewise, the effects of smearing due to (for example) beam shape (think &#8220;blurring&#8221; of the scattering pattern) can be easily determined using such transforms. It is useful to get a feel for the methods for derivation of such Fourier transforms, so I decided it was time to refresh my rusty Fourier transform skills. <!--more--><\/p>\n<p><em>[ed: Please remember that the deadline for the <a href=\"http:\/\/www.helmholtz-berlin.de\/events\/sas\/\">SAS2015<\/a> conference abstracts is coming up, and that abstracts need to be submitted by the end of this week! The abstract word template is <a href=\"https:\/\/congressa.de\/SAS2015\/public-upload\/files\/sas2015-abstract-template.doc\">here<\/a>]<\/em><\/p>\n<p>The full derivation is in <a href=\"http:\/\/www.lookingatnothing.com\/wp-content\/uploads\/2015\/03\/FTExample1.pdf\">this document<\/a>. Here I just highlight the initial and final result, followed by some hints so you can try to figure out the rest as a fun exercise.<\/p>\n<h3>Initial definitions:<\/h3>\n<p>We start by defining the Fourier transform itself, which, when applied to scattering, takes the following form [1]:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=F%28%5Cmathbf%7Bq%7D%29+%3D+%5Cint_v+%5Crho%28%5Cmathbf%7Br%7D%29+%5Cexp%5E%7B-i%5Cmathbf%7Bqr%7D%7D+%5Cmathrm%7Bd%7Dv&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"F(&#92;mathbf{q}) = &#92;int_v &#92;rho(&#92;mathbf{r}) &#92;exp^{-i&#92;mathbf{qr}} &#92;mathrm{d}v\" class=\"latex\" \/><\/p>\n<p>For our density function, we can choose a block function, which would be similar to the scattering from square slits (provided the radiation is sufficiently coherent):<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Crho%28%5Cmathbf%7Br%7D%29+%3D+%5Crho%28x%29+%5Cleft%5C%7B++%5Cbegin%7Barray%7D%7Blr%7D++%5Cfrac%7B1%7D%7B2R%7D+%26+%5Ctextrm%7B%2C+for+%7D+-R+%5Cleq+x+%5Cleq+R%5C%5C++0+%26+%5Ctextrm%7B%2C+for+%7D+x+%3C+-R%2C+x+%3E+R%5C%5C++%5Cend%7Barray%7D++%5Cright.++++&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"&#92;rho(&#92;mathbf{r}) = &#92;rho(x) &#92;left&#92;{  &#92;begin{array}{lr}  &#92;frac{1}{2R} &amp; &#92;textrm{, for } -R &#92;leq x &#92;leq R&#92;&#92;  0 &amp; &#92;textrm{, for } x &lt; -R, x &gt; R&#92;&#92;  &#92;end{array}  &#92;right.    \" class=\"latex\" \/><\/p>\n<p>I used the following auxilary equivalencies as well in the derivation<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=z+%3D+x+%2B+iy+%3D+%5Cmid+z+%5Cmid+%28%5Ccos+%5Ctheta+%2B+i+%5Csin+%5Ctheta%29+%3D+%5Cmid+z+%5Cmid+%5Cexp%5E%7Bi%5Ctheta%7D++++&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"z = x + iy = &#92;mid z &#92;mid (&#92;cos &#92;theta + i &#92;sin &#92;theta) = &#92;mid z &#92;mid &#92;exp^{i&#92;theta}    \" class=\"latex\" \/><\/p>\n<p>and<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Cbegin%7Barray%7D%7Bl%7D++%5Ccos+%28-x%29+%3D+%5Ccos+x+%5C%5C++%5Csin+%28-x%29+%3D+-+%5Csin%28x%29+%5C%5C++%5Cend%7Barray%7D++++&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"&#92;begin{array}{l}  &#92;cos (-x) = &#92;cos x &#92;&#92;  &#92;sin (-x) = - &#92;sin(x) &#92;&#92;  &#92;end{array}    \" class=\"latex\" \/><\/p>\n<p>With these, the derivation should follow quite smoothly.<\/p>\n<h3>Result:<\/h3>\n<p>Once derived, you should end up at the &#8220;sinc&#8221; equation:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=F%28q%29+%3D+%5Cfrac%7B%5Csin%28qR%29%7D%7BqR%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"F(q) = &#92;frac{&#92;sin(qR)}{qR}\" class=\"latex\" \/><\/p>\n<p>This is a very useful equation in scattering, and you will find it used quite a bit!<\/p>\n<h3>References:<\/h3>\n<p>[1] W. Ruland. Fourier transform methods for the slit-height correction in small-angle scattering. <a href=\"http:\/\/dx.doi.org\/10.1107\/S0365110X64000391\">Acta Cryst., 17:138\u2013142, 1964.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Those who read the older SAXS literature will note liberal use of Fourier transforms to calculate the scattering behaviour of odd-shaped particles. Likewise, the effects <a class=\"mh-excerpt-more\" href=\"https:\/\/lookingatnothing.com\/index.php\/archives\/1590\" title=\"Calculating scattering by hand &#8211; example 1\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":2,"featured_media":1594,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,85],"tags":[],"class_list":["post-1590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","category-looking-into-something"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/lookingatnothing.com\/wp-content\/uploads\/2015\/03\/Quickgrab.png","jetpack_shortlink":"https:\/\/wp.me\/p1gZ2v-pE","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/1590","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/comments?post=1590"}],"version-history":[{"count":3,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/1590\/revisions"}],"predecessor-version":[{"id":1595,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/1590\/revisions\/1595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/media\/1594"}],"wp:attachment":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/media?parent=1590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/categories?post=1590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/tags?post=1590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}