<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<?xml-stylesheet type="text/css" href="http://www.aliceandval.com/valswork/blog/styles/feed.css"?>


<title type="html">Brain Log - Think it out. Write it down.</title>
<subtitle type="html">A place to capture ideas, howtos, and other details related to ocean engineering and oceanography.</subtitle>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog"/>
<link rel="self" type="application/atom+xml" href="http://www.aliceandval.com/valswork/blog/atom.xml"/>
<updated>2010-03-03T20:41:12-05:00</updated>
<author>
<name>Val Schmidt</name>
<uri>http://www.aliceandval.com/valswork/blog</uri>
</author>
<id>http://www.aliceandval.com/valswork/blog/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.4.1">
NanoBlogger
</generator>

<entry>
<title type="html">Taking Derivatives </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/03/03/taking_derivatives/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/03/03/taking_derivatives/index.html</id>
<published>2010-03-03T20:41:11-05:00</published>
<updated>2010-03-03T20:41:11-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Occasionally one comes across a particularly handy site. <a href="http://calc101.com/webMathematica/derivatives.jsp#topdoit">Taking Derivatives</a> is just that &ndash; for checking your work of course.</p>
</div>
</content>

</entry>
<entry>
<title type="html">Phased Array Doppler Sonar </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/02/23/phased_array_doppler_sonar/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/02/23/phased_array_doppler_sonar/index.html</id>
<published>2010-02-23T09:39:29-05:00</published>
<updated>2010-02-23T09:39:29-05:00</updated>
<category term="ocean_engineering" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I'm at the AGU Ocean Sciences meeting in Portland, OR this week. There have been many fascinating talks. One that particularly caught my eye was by Jerry Smith (Scripps), which compared theory with results from a newly developed &ldquo;phased array doppler sonar&rdquo;.</p>

<p>Heres an animation of some results from <a href="http://jerry.ucsd.edu/">Dr. Smith&rsquo;s web site</a>.:</p>

<p><EMBED SRC="http://jerry.ucsd.edu//12thBiPad_sqrti_tilt8(+33-55)_xave.mov"
PLUGINSPAGE="http://www.apple.com/quicktime/" WIDTH=577 HEIGHT=500
CONTROLLER=TRUE LOOP=false AUTOPLAY=FALSE></p>
</div>
</content>

</entry>
<entry>
<title type="html">Fink Commander Fix for Snow Leopard </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/02/11/fink_commander_fix_for_snow_leopard/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/02/11/fink_commander_fix_for_snow_leopard/index.html</id>
<published>2010-02-11T12:11:11-05:00</published>
<updated>2010-02-11T12:11:11-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>After my upgrade to Snow Leopard I was having trouble getting Fink Commander working right. The app would load but not display anything in the table. After some searching I found <a href="http://www.mail-archive.com/fink-beginners@lists.sourceforge.net/msg23906.html">this</a> link which suggests that I follow the directions, install perl588, and set the path to perl in the Fink Commander preferences to the new version. It works!!!</p>
</div>
</content>

</entry>
<entry>
<title type="html">Aviary </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/02/10/aviary/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/02/10/aviary/index.html</id>
<published>2010-02-10T06:16:41-05:00</published>
<updated>2010-02-10T06:16:41-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I just stumbled across a fascinating and exiting looking image editing site <a href="http://aviary.com/">Aviary</a> (that&rsquo;s browser based and fee!). Check it out!</p>

<p><embed src="http://blip.tv/play/g9ImgYbQUwI%2Em4v" type="application/x-shockwave-flash" width="480" height="390" allowscriptaccess="always" allowfullscreen="true"></embed></p>
</div>
</content>

</entry>
<entry>
<title type="html">Gavia captured in Echo-sounder</title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/02/04/gavia_captured_in_echo-sounder/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/02/04/gavia_captured_in_echo-sounder/index.html</id>
<published>2010-02-04T09:35:33-05:00</published>
<updated>2010-02-04T09:35:33-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I just got back from New Zealand where we ran our Gavia AUV in several lakes and Tasman Bay. Most of our work was related to water chemistry rather than seafloor mapping but it was super fun and very interesting. On one of our adventures in Tasman Bay we drifted over Gavia&rsquo;s path and caught a glimpse of here on the boat&rsquo;s echo-sounder. I took a snapshot. Its the blob about 19.5 m down under the cross-hairs.:</p>

<center> <img src="http://www.aliceandval.com/valswork/blog/images/fishfindergavia.png" width="300" alt="gavia" /></center>
</div>
</content>

</entry>
<entry>
<title type="html">Parrot AR.Drone uses Iphone for Navigation - Coolest thing EVER </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/01/07/parrot_ar_drone_uses_iphone_for_navigation_-_coolest_thing_ever/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/01/07/parrot_ar_drone_uses_iphone_for_navigation_-_coolest_thing_ever/index.html</id>
<published>2010-01-07T09:06:09-05:00</published>
<updated>2010-01-07T09:06:09-05:00</updated>
<category term="news" />
<category term="mac" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I was recently sent a link about the new Parrot AR.Drone remote control quad-rotor helicopter. It is navigated using the tilt sensors of the iphone which is cool in itself. But it also has a live video feed from one of two cameras back to the iphone so you can see its poing of view. It comes with an optional shroud for the rotors so you can bump into things if your flying in tight spaces. Check out their video:</p>

<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/V3KrFV0-WFw&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/V3KrFV0-WFw&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>

<p>As if all this isn&rsquo;t enough, the very best thing about it is that they are planning to release a software developer&rsquo;s kit for it! Oh the science we could do. Now I wonder what payload it might be able to carry.</p>

<p>We'd need a small onboard auxiliary power supply, data logger, a GPS, and maybe a tilt sensor. <a href="http://www.ocean-server.com/compass.html">Ocean Server</a> has a small enough attitude sensor with onboard magnetic compass. Yes, there&rsquo;s lots of cool stuff we could do with one of these.</p>
</div>
</content>

</entry>
<entry>
<title type="html">New Vacuum Robot uses SLAM</title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/01/07/new_vacuum_robot_uses_slam/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/01/07/new_vacuum_robot_uses_slam/index.html</id>
<published>2010-01-07T08:48:42-05:00</published>
<updated>2010-01-07T08:48:42-05:00</updated>
<category term="news" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p><a href="http://www.neatorobotics.com/">Neato Robotics</a> has just released a competitor to the Roomba (iRobot&rsquo;s vaccuum cleaner). This is the first commercial consumer robot I know of tha uses SLAM &ndash; (Simultaneous Localization and Mapping) in which a vehicle maps its environment as it navigates through it allowing it to keep track of where it has been and where it is going.Their robot does its mapping with a laser scanner. Very cool.</p>
</div>
</content>

</entry>
<entry>
<title type="html">Executing Python from Within MATLAB </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/01/06/executing_python_from_within_matlab/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/01/06/executing_python_from_within_matlab/index.html</id>
<published>2010-01-06T12:47:50-05:00</published>
<updated>2010-01-06T12:47:50-05:00</updated>
<category term="mac" />
<category term="linux" />
<category term="matlab" />
<category term="python" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Today I figured out a way to execute python code from within MATLAB. This wil work on OS-X and Linux and a variant should work under Windows &ndash; depending no your python installation. Here&rsquo;s how it works.</p>

<p>First create the following bash script:</p>

<pre><code>#!/bin/bash
# 
# Val Schmidt
# CCOM/JHC
# Jan 2010
#
# A script to provide a wrapper for execution of python from MATLAB.
PYTHONCODE=/Users/vschmidt/svnsandbox/Gavia/python
/usr/bin/env python $PYTHONCODE/$@
</code></pre>

<p>Be sure to modify the PYTHONCODE variable to point to the directory of python scripts you want to execute. Make the script executable (<code>chmod +x executepy.sh</code>) and put it in your path somewhere.</p>

<p>From within MATLAB you can execute your script like this:</p>

<pre><code>unix('source ~/.bash_profile; executepy.sh pythonscript args')
</code></pre>

<p>Where <code>pythonscript</code> is the python script you want to execute and <code>args</code> are it&rsquo;s arguments. It is assumed here that<code>.bash_profile</code> contains your PATH definition (or redefinition). You may have to modify that. You could also modify your PATH on the fly rather than the source statement above if there are things in .bash_profile you don&rsquo;t want MATLAB&rsquo;s shell to execute.</p>

<p>This method doesn&rsquo;t return anything to MATLAB directly. I'm not aware of a way to do that, other than saving the results of your python script to a file that MATLAB can natively read in a subsequent command. (See scipy.io.savemat.)</p>
</div>
</content>

</entry>
<entry>
<title type="html">Direct Path to Bottom Bounce Propagation Time Difference vs. Range </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/01/05/direct_path_to_bottom_bounce_propagation_time_difference_vs__range/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/01/05/direct_path_to_bottom_bounce_propagation_time_difference_vs__range/index.html</id>
<published>2010-01-05T22:16:05-05:00</published>
<updated>2010-01-05T22:16:05-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Today for a project I'm helping with in ocean acoustics I made a nomograph of the differenced in receive time of a transient signal that follows both a direct path and a bottom bounce trajectory, as a function of range.</p>

<center><img src="http://www.aliceandval.com/valswork/blog/images/nomograph.jpg" width="300" alt="nomograph" /></center>

<p>As a submariner in the Navy We did this kind of ranging all the time, but I've never properly done the calculations complete with ray-trace model. You can see some wiggle in the curve at the most distant ranges where my algorithm for detecting where the two ranges intersect gets a little wonky.</p>
</div>
</content>

</entry>
<entry>
<title type="html">Logon Real Time Airport Monitor </title>
<author>
<name>Val Schmidt</name>
</author>
<link rel="alternate" type="text/html" href="http://www.aliceandval.com/valswork/blog/archives/2010/01/04/logon_real_time_airport_monitor/index.html"/>

<id>http://www.aliceandval.com/valswork/blog/archives/2010/01/04/logon_real_time_airport_monitor/index.html</id>
<published>2010-01-04T17:31:32-05:00</published>
<updated>2010-01-04T17:31:32-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I just ran across <a href="http://www4.passur.com/bos.html">this site</a> which shows a 10 minute delayed feed of Airport traffic into and out of Logon International Airport. Check it out!</p>

<center> <img src="http://www.aliceandval.com/valswork/blog/images/logonairport.png" width="600" alt="logon" /></center>

<p>This is really cool, but isn&rsquo;t this a security threat? I wonder who uses this. It won&rsquo;t load on my iphone so it is not likely something you could scan before coming to pick someone up.  You certainly get a feel for what it must be like to be an air traffic controller &ndash; Shew! Fun to watch.</p>

<p>I wonder if the Coast Guard would ever do this for shipping via AIS. (&ldquo;No&rdquo; is probably the answer to that question.)</p>
</div>
</content>

</entry>

</feed>
