<?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>Computational Legal Studies™ &#187; sonia</title>
	<atom:link href="http://computationallegalstudies.com/tag/sonia/feed/" rel="self" type="application/rss+xml" />
	<link>http://computationallegalstudies.com</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 21:05:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Visualizing Dynamic Networks with Python, Igraph, and SONIA</title>
		<link>http://computationallegalstudies.com/2009/08/08/visualizing-dynamic-networks-with-python-igraph-and-sonia/</link>
		<comments>http://computationallegalstudies.com/2009/08/08/visualizing-dynamic-networks-with-python-igraph-and-sonia/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 16:15:05 +0000</pubDate>
		<dc:creator>mjbommar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dynamic networks]]></category>
		<category><![CDATA[igraph]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sonia]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=1801</guid>
		<description><![CDATA[igraph2sonia Example 1 from michael bommarito on Vimeo. When it comes to quickly motivating a point or engaging students in a classroom, one of the most effective tools is visualization. Not only do movies provide fun and excitement, but they &#8230; <a href="http://computationallegalstudies.com/2009/08/08/visualizing-dynamic-networks-with-python-igraph-and-sonia/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6007381&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=6007381&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/6007381">igraph2sonia Example 1</a> from <a href="http://vimeo.com/user2142498">michael bommarito</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p style="text-align: justify;">When it comes to quickly motivating a point or engaging students in a classroom, one of the most effective tools is visualization.  Not only do movies provide fun and excitement, but they also allow viewers to leverage the abilities of the visual cortex to infer dynamics and patterns in the animated system.</p>
<p style="text-align: justify;">For our recent research, dynamic graphs are the type of system of interest.  As <a href="http://computationallegalstudies.com/2009/07/01/how-python-can-turn-the-internet-into-your-dataset-part-1/">I&#8217;ve covered before</a>, Python is my language of choice for most programming tasks.  Furthermore, <a href="http://www.python.org/">Python </a>is a very accessible language, even for beginners.  However, when it comes to visualizing dynamic networks, we need another tool.  Our tool of choice is <a href="http://sourceforge.net/projects/sonia/">SONIA</a>, the Social Network Image Animator.</p>
<p style="text-align: justify;">I thought I&#8217;d provide a helpful little function to generate SONIA input files from igraph objects, along with a few examples.</p>
<p style="text-align: justify;"><script src="http://gist.github.com/164432.js"></script> This function takes as input an igraph.Graph object and a file name to store the SONIA output in.  <strong>Every vertex in the Graph object should have a time attributed specified, either simply as an integer indicating the start time, or as a tuple or list of the form (startTime,endTime).</strong> Check out the following two examples if you need more guidance.  Both examples visualize the construction of a periodic lattice.  However, in the second example, nodes decay after some random time.  Make sure not to miss the second video at the bottom of the post!  <script src="http://gist.github.com/164433.js"></script></p>
<p><script src="http://gist.github.com/164435.js"></script><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6007973&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=6007973&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/6007973">igraph2sonia Example 2</a> from <a href="http://vimeo.com/user2142498">Michael J Bommarito II</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/08/08/visualizing-dynamic-networks-with-python-igraph-and-sonia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 3/6 queries in 0.001 seconds using apc
Object Caching 275/278 objects using apc

Served from: computationallegalstudies.com @ 2012-05-22 11:02:58 -->
