<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>michelle w&#039;s website</title>
	<atom:link href="http://www.michw.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michw.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 22:38:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Whale call &#8211; surface bounce interference</title>
		<link>http://www.michw.com/2012/01/whale-call-surface-bounce-interference/</link>
		<comments>http://www.michw.com/2012/01/whale-call-surface-bounce-interference/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 01:45:22 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1523</guid>
		<description><![CDATA[It feels like I&#8217;ve been doing nothing but estimating source levels lately (exciting times!). I started to outline it in the research section of this site (See Source Levels) &#8211; although that was ages ago and is now a bit &#8230; <a href="http://www.michw.com/2012/01/whale-call-surface-bounce-interference/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It feels like I&#8217;ve been doing nothing but estimating source levels lately (exciting times!). I started to outline it in the research section of this site (See <a href="http://www.michw.com/research/source-levels/">Source Levels</a>) &#8211; although that was ages ago and is now a bit outdated.</p>
<p>Measuring source levels of marine mammal vocalizations is complicated, and even more so when using ocean bottom seismometers. I&#8217;m trying to look at some of these complications and sources of error and uncertainty.</p>
<p>One of these is the interference between the direct path arrival and the surface bounce. Because they take different paths to reach the receiver, they arrive at slightly different times. These offsets result in interference patterns &#8211; sometimes constructive and sometimes destructive.</p>
<div id="attachment_1524" class="wp-caption alignnone" style="width: 594px"><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/int_sketch.png"><img class="size-large wp-image-1524" title="Interference patterns" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/int_sketch-1024x725.png" alt="" width="584" height="413" /></a><p class="wp-caption-text">R_1 and R_2 are the direct path and the surface bounce. D_s and D_r are the source depth and receiver depth. H is the horizontal distance between the source and the receiver.</p></div>
<p>I wrote some code to model these effects, and I&#8217;ll just start out with a little video clip that shows what I mean by constructive and destructive interference. I&#8217;m plotting the RMS (root-mean-square) amplitude of the received signal. You can see that in addition to the interference pattern, the amplitude of the input signals is decreasing &#8211; this is to account for transmission losses along the travel paths, modeled simply using a spherical spreading assumption (scaled by range).</p>
<p><iframe src="http://www.youtube.com/embed/h7LSB-3j9hc?rel=0" frameborder="0" width="420" height="315"></iframe></p>
<p>Next, I wanted to see how this effect might manifest itself in our particular setup.  I ran the code using an approximate receiver depth of 2200 meters, a source depth varying between 0 and 100 meters, and a horizontal range of 0 to 2200 meters.  I chose the source depths based on what I think are likely depths from which a fin whale might call.  The horizontal ranges are restricted such that the incidence angles will be small(ish) &#8211; a constraint that is imposed in part to reduce ambiguity with later multipath arrivals, and in part because of the physics of converting ground motion back to an acoustic pressure level (details I won&#8217;t go into here).  The surface bounce is given a 180 phase flip (and no loss of amplitude) since the surface is treated as a perfect pressure release boundary.</p>
<p>Here are the results of that model:</p>
<p>&nbsp;</p>
<div id="attachment_1534" class="wp-caption alignnone" style="width: 623px"><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/SL_Int_20120131.png"><img class=" wp-image-1534 " title="Interference patterns" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/SL_Int_20120131.png" alt="" width="613" height="467" /></a><p class="wp-caption-text">Interference patterns for a series of horizontal ranges and source depths.</p></div>
<p>&nbsp;</p>
<p>Wow, that is a lot of possible variability!  This has been just a quick little experiment, and there&#8217;s a significant possibility that I&#8217;m still doing something wonky in my code, but based on looking at examples from the literature (for example, Charif et al., 2002), it seems to be in the right ballpark.  Very interesting &#8211; this will definitely affect how I interpret my source level estimates.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/whale-call-surface-bounce-interference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FFMPEG: png to mpeg</title>
		<link>http://www.michw.com/2012/01/ffmpeg/</link>
		<comments>http://www.michw.com/2012/01/ffmpeg/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 03:37:00 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Matplotlib]]></category>
		<category><![CDATA[Numpy]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Scipy]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1515</guid>
		<description><![CDATA[I have been lucky enough to have a chance to do some of my more basic data processing in Python (with numpy/scipy/matplotlib). One of the things I&#8217;ve been working on is the effect of interference between the direct path and &#8230; <a href="http://www.michw.com/2012/01/ffmpeg/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been lucky enough to have a chance to do some of my more basic data processing in Python (with numpy/scipy/matplotlib). One of the things I&#8217;ve been working on is the effect of interference between the direct path and surface bounce arrivals from a fin whale that is near the surface. Hopefully I&#8217;ll have a post dedicated to that problem in particular, but for the time being, I&#8217;ve been trying to figure out the best way to animate a series of plots output each time the code goes through a loop.</p>
<p>There are a few options for doing this. From what I can gather, it&#8217;s not something that is easily done within Python (someone correct me if that&#8217;s wrong!). So instead, I&#8217;m creating a series of image files (.png&#8217;s), and converting to video outside Python. I looked at a couple of options and settled on ffmpeg, which seemed really simple.</p>
<p>I grabbed it from fink:</p>
<p><code>fink install ffmpeg</code></p>
<p>All of my image files were saved in a single folder, with names like 001.png, 002.png, &#8230; 198.png. Converting them to video format:</p>
<p><code>ffmpeg -i %03d.png -vb 1024K video.mpg</code></p>
<p>The -i flag is for input file(s) and -vb is video bitrate. Here&#8217;s the output:</p>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/6tZKYLbQOfA?rel=0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/ffmpeg/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oh hey, humans</title>
		<link>http://www.michw.com/2012/01/oh-hey-humans/</link>
		<comments>http://www.michw.com/2012/01/oh-hey-humans/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 19:35:06 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1509</guid>
		<description><![CDATA[The whales probably aren&#8217;t really trying to talk to us. &#160;But there is a good chance that they use those low frequency sounds to talk to each other. &#160;And being able to get their messages to each other is probably &#8230; <a href="http://www.michw.com/2012/01/oh-hey-humans/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p4.png"><img class="alignnone  wp-image-1510" title="ocean_p4" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p4-1024x1022.png" alt="" width="450" height="448" /></a></p>
<p>The whales probably aren&#8217;t really trying to talk to us. &nbsp;But there is a good chance that they use those low frequency sounds to talk to each other. &nbsp;And being able to get their messages to each other is probably very important for their livelihood &#8211; they might be telling each other about a delicious krill buffet. &nbsp;Or maybe they need to attract mates with a whale-themed pick-up line. &nbsp;Either way, it&#8217;s kind of bad if the noise in the ocean is so loud that they can&#8217;t hear each other.</p>
<div id="attachment_1511" class="wp-caption alignnone" style="width: 377px"><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/stopneedlessnoise.jpg"><img class="size-full wp-image-1511" title="stopneedlessnoise" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/stopneedlessnoise.jpg" alt="" width="367" height="500" /></a><p class="wp-caption-text">found at http://abbotlab.wordpress.com/2011/04/12/the-new-depths-of-noise-pollution/</p></div>
<p>HAPPY BIRTHDAY, DAX!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/oh-hey-humans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10,000 Page Views!</title>
		<link>http://www.michw.com/2012/01/10000-page-views/</link>
		<comments>http://www.michw.com/2012/01/10000-page-views/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 18:25:06 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1505</guid>
		<description><![CDATA[It doesn&#8217;t really mean much, but seems cool.  Ten thousand!  Thanks to all who have visited, you&#8217;re the reason I do this blog.  :-) This is how I&#8217;d like to celebrate.  Poutine!! &#160;]]></description>
			<content:encoded><![CDATA[<p>It doesn&#8217;t really mean much, but seems cool.  Ten thousand!  Thanks to all who have visited, you&#8217;re the reason I do this blog.  :-)</p>
<p>This is how I&#8217;d like to celebrate.  Poutine!!</p>
<div id="attachment_1507" class="wp-caption alignnone" style="width: 325px"><a href="http://www.heartsf.com/2011/07/27/poutine-poutine/"><img class=" wp-image-1507" title="Poutine01" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/Poutine01.jpg" alt="" width="315" height="237" /></a><p class="wp-caption-text">from http://www.heartsf.com/2011/07/27/poutine-poutine/</p></div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/10000-page-views/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Explanation</title>
		<link>http://www.michw.com/2012/01/an-explanation/</link>
		<comments>http://www.michw.com/2012/01/an-explanation/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 17:41:48 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1496</guid>
		<description><![CDATA[So whales probably do have conversations with each other, explaining life&#8217;s mysteries. Right? No? Okay, fine. But while we&#8217;re on the topic of unlikely depictions, check out this artistic rendering of a whale and her calf by Conrad Gesner:]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p3.png"><img class="alignnone  wp-image-1497" title="ocean_p3" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p3-1021x1024.png" alt="" width="409" height="410" /></a></p>
<p>So whales probably do have conversations with each other, explaining life&#8217;s mysteries. Right? No? Okay, fine. But while we&#8217;re on the topic of unlikely depictions, check out this artistic rendering of a whale and her calf by Conrad Gesner:</p>
<div id="attachment_1499" class="wp-caption alignnone" style="width: 310px"><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/whale_mother_calf.png"><img class="size-full wp-image-1499    " title="whale_mother_calf" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/whale_mother_calf.png" alt="" width="300" height="147" /></a><p class="wp-caption-text">by Conrad Gesner, published in 1560 in &quot;Icones Animalium&quot; and more recently in &quot;Monsters of the Sea&quot; by Richard Ellis. Found on the internets at http://www.strangescience.net/stsea2.htm</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/an-explanation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whale and OBS</title>
		<link>http://www.michw.com/2012/01/whale-and-obs/</link>
		<comments>http://www.michw.com/2012/01/whale-and-obs/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 17:30:48 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1489</guid>
		<description><![CDATA[Okay, just so you know &#8211; this is just a silly drawing, and doesn&#8217;t actually represent anything that happens in reality.  OBSs don&#8217;t look like that.  And fin whales probably wouldn&#8217;t care if they saw one anyway. This is what &#8230; <a href="http://www.michw.com/2012/01/whale-and-obs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p2.png"><img class="wp-image-1490 aligncenter" title="ocean_p2" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p2.png" alt="" width="429" height="429" /></a></p>
<p>Okay, just so you know &#8211; this is just a silly drawing, and doesn&#8217;t actually represent anything that happens in reality.  OBSs don&#8217;t look like that.  And fin whales probably wouldn&#8217;t care if they saw one anyway.</p>
<p>This is what a real OBS looks like:</p>
<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/obs_bb.png"><img class="wp-image-1491 aligncenter" title="obs_bb" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/obs_bb-1024x768.png" alt="" width="350" height="263" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.michw.com/2012/01/northeast-pacific-ocean/">Previous in series</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/whale-and-obs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A fin whale</title>
		<link>http://www.michw.com/2012/01/northeast-pacific-ocean/</link>
		<comments>http://www.michw.com/2012/01/northeast-pacific-ocean/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 15:45:45 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1484</guid>
		<description><![CDATA[Or, something that kind of resembles a fin whale.  Why are they so hard to draw? Previous in series Next in series]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone  wp-image-1485" title="ocean_p1" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_p1.png" alt="" width="390" height="390" /></p>
<p>Or, something that kind of resembles a fin whale.  Why are they so hard to draw?</p>
<p><a title="Sketchbook pro and whales" href="http://www.michw.com/2012/01/a-whale-story/">Previous in series</a></p>
<p><a title="Whale and OBS" href="http://www.michw.com/2012/01/whale-and-obs/">Next in series</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/northeast-pacific-ocean/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sketchbook pro and whales</title>
		<link>http://www.michw.com/2012/01/a-whale-story/</link>
		<comments>http://www.michw.com/2012/01/a-whale-story/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 23:05:02 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1478</guid>
		<description><![CDATA[This drawing (and whatever follow-on drawings that may go with it) is for Vera, who loves all animals, large and small.  Even big, scary spiders! Next in series]]></description>
			<content:encoded><![CDATA[<p><a href="http://mmjw.tumblr.com/post/15474056057"><img class="alignnone  wp-image-1479" title="ocean_title" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/ocean_title.png" alt="" width="455" height="455" /></a></p>
<p>This drawing (and whatever follow-on drawings that may go with it) is for Vera, who loves all animals, large and small.  Even big, scary spiders!</p>
<p><a title="A fin whale" href="http://www.michw.com/2012/01/northeast-pacific-ocean/">Next in series</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/a-whale-story/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Line-wrapping in Emacs</title>
		<link>http://www.michw.com/2012/01/line-wrapping-in-emacs/</link>
		<comments>http://www.michw.com/2012/01/line-wrapping-in-emacs/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 00:31:41 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[org-mode]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1473</guid>
		<description><![CDATA[It&#8217;s been a while, but I&#8217;m back to Org-Mode again.  This time I&#8217;m using it as a convenient and simple way to draft my paper on source levels (exporting to LaTeX).  And of course, since it&#8217;s been a while, I&#8217;m &#8230; <a href="http://www.michw.com/2012/01/line-wrapping-in-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while, but I&#8217;m back to Org-Mode again.  This time I&#8217;m using it as a convenient and simple way to draft my paper on source levels (exporting to LaTeX).  And of course, since it&#8217;s been a while, I&#8217;m constantly having to look things up that I&#8217;m certain I knew before.  Like line-wrapping.</p>
<p>To use line wrapping where lines are split on the spaces between words (instead of splitting at the screen width regardless of where you are in a word) is much better on the eyes.  To do that, it&#8217;s:</p>
<p><code>cmd-M Visual-Line-Mode</code></p>
<p>Hey, presto!</p>
<p>And if you don&#8217;t want to have to type that in every time, just put the following line in your .emacs file:</p>
<p><code>(global-visual-line-mode 1) ; 1 for on, 0 for off.</code></p>
<p>AND&#8230; because I love to see what Google Images will kick back, the exact search terms &#8220;line wrapping in emacs 23&#8243; gave me this:</p>
<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/shark.jpg"><img class="alignnone  wp-image-1474" title="shark" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/shark.jpg" alt="" width="350" height="263" /></a></p>
<p>To a certain friend of mine (you know who you are):  I tried using Bing, but there was nothing nearly this exciting or totally unrelated as this.  Sorry.  Next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/line-wrapping-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a geophysicist?</title>
		<link>http://www.michw.com/2012/01/what-is-a-geophysicist/</link>
		<comments>http://www.michw.com/2012/01/what-is-a-geophysicist/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 05:20:20 +0000</pubDate>
		<dc:creator>Michelle</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[Sketches]]></category>

		<guid isPermaLink="false">http://www.michw.com/?p=1470</guid>
		<description><![CDATA[Dax was looking for a cartoon about geophysicists.  And I was looking for a way to avoid doing actual work this evening. This one was made using the Intuos tablet and Sketchbook Pro (All Autodesk products are FREE for students! &#8230; <a href="http://www.michw.com/2012/01/what-is-a-geophysicist/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.michw.com/blogwp/wp-content/uploads/2012/01/geophysicist1.jpg"><img class="alignnone size-large wp-image-1471" title="geophysicist" src="http://www.michw.com/blogwp/wp-content/uploads/2012/01/geophysicist1-348x1024.jpg" alt="" width="348" height="1024" /></a></p>
<p>Dax was looking for a cartoon about geophysicists.  And I was looking for a way to avoid doing actual work this evening.</p>
<p>This one was made using the Intuos tablet and Sketchbook Pro (All Autodesk products are FREE for students!  How cool is that??)  In case you&#8217;re curious, this took me about 2 hours.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michw.com/2012/01/what-is-a-geophysicist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

