{"id":339,"date":"2011-02-03T15:57:40","date_gmt":"2011-02-03T06:57:40","guid":{"rendered":"http:\/\/www.lookingatnothing.com\/?p=339"},"modified":"2011-04-07T22:32:11","modified_gmt":"2011-04-07T13:32:11","slug":"live-fourier-transform","status":"publish","type":"post","link":"https:\/\/lookingatnothing.com\/index.php\/archives\/339","title":{"rendered":"Live Fourier transform"},"content":{"rendered":"<p>During some recent presentations, I have used a small matlab program giving me a live Fourier transform of the laptop camera input. It can be used in combination with some printed &#8220;structures&#8221; to show what we would see on a SAXS or WAXS detector.<\/p>\n<p>The idea is not mine, I heard that it was used by dr. Henrik Lemke for his Ph.D. defense to show the effects of lattice strain on the diffraction pattern.<\/p>\n<p>It turns out to be quite popular with the audience so far, so I will post the code for Matlab running on a macbook Pro here. Feel fee to use the code. I will also make a short movie showing one example of how to use it. I am sure you can think of many other useful purposes for it!<\/p>\n<p>The package is here:\u00a0<a href=\"http:\/\/www.lookingatnothing.com\/wp-content\/uploads\/2011\/02\/FT_cam_package.zip\">FT_cam_package<\/a><\/p>\n<p>Since it is so specific in its application, there is no documentation. Also, run &#8220;FTcamdemo&#8221; and the rest should be quite self-explanatory in the GUI that comes up. This package uses (and comes with) camera <a href=\"http:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/22045-isight-image-capture\" target=\"_blank\">image capture code (Java) by Kalle Kempe and Ikkjin Ahn.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>During some recent presentations, I have used a small matlab program giving me a live Fourier transform of the laptop camera input. It can be <a class=\"mh-excerpt-more\" href=\"https:\/\/lookingatnothing.com\/index.php\/archives\/339\" title=\"Live Fourier transform\">[&#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":[1,55,53],"tags":[77,27,56,31,57],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-preteach","category-software-2","tag-fourier-transform","tag-matlab","tag-presentations","tag-software","tag-teaching"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1gZ2v-5t","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/339","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=339"}],"version-history":[{"count":5,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/posts\/339\/revisions\/415"}],"wp:attachment":[{"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookingatnothing.com\/index.php\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}