<?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>The Telegraphic &#187; scripts</title>
	<atom:link href="http://blog.thetelegraphic.com/category/software/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thetelegraphic.com</link>
	<description>Online home of Danny Price, University of Oxford</description>
	<lastBuildDate>Mon, 19 Jul 2010 13:16:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>UWA Physics LyX Thesis template</title>
		<link>http://blog.thetelegraphic.com/2009/uwa-physics-lyx-thesis-template/</link>
		<comments>http://blog.thetelegraphic.com/2009/uwa-physics-lyx-thesis-template/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 18:05:37 +0000</pubDate>
		<dc:creator>dan</dc:creator>
				<category><![CDATA[physics]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.thetelegraphic.com/?p=137</guid>
		<description><![CDATA[In my honours at UWA (2008), I was the lone cowboy who decided to LyX instead of LaTeX. It saved me a shitload of time and LaTeX related anguish. As such, I thought I&#8217;d offer a UWA Thesis Template up to give a helping hand to anyone else who wants to give LyX  a stab. [...]]]></description>
			<content:encoded><![CDATA[<p>In my honours at UWA (2008), I was the lone cowboy who decided to <a title="LyX: What you see is what you want" href="http://www.lyx.org">LyX </a> instead of LaTeX. It saved me a shitload of time and LaTeX related anguish. As such, I thought I&#8217;d offer a <a href="http://blog.thetelegraphic.com/wp-content/uploads/2009/08/UWA-Thesis.zip">UWA Thesis Template</a> up to give a helping hand to anyone else who wants to give LyX  a stab. In retrospect, there&#8217;s a few things I did dodgy along the way (I was pretty stressed out though, in my defense). Even so, I reckon it&#8217;ll be useful for some.</p>
<p>A few hot tips:</p>
<ul>
<li>Press Ctrl + L to manually enter LaTeX, whenever you can&#8217;t do it out-of-the-box</li>
<li>Press Ctrl + M to enter maths mode</li>
<li>Learn all the maths shortcut key combinations (e.g. press Alt + M, then F to input a fraction)</li>
<li>Watch some youtube videos, <a href="http://www.youtube.com/watch?v=Wq9ti7GGHrs">like this one</a>, to help you get up to speed</li>
</ul>
<p>Good luck&#8230;</p>
<p style="text-align: right;"><a title="UWA thesis template - LyX" href="http://blog.thetelegraphic.com/wp-content/uploads/2009/08/UWA-Thesis.zip">Download LyX template »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thetelegraphic.com/2009/uwa-physics-lyx-thesis-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anritsu VNA Python Script</title>
		<link>http://blog.thetelegraphic.com/2009/anritsu-vna-python-script/</link>
		<comments>http://blog.thetelegraphic.com/2009/anritsu-vna-python-script/#comments</comments>
		<pubDate>Tue, 26 May 2009 14:11:58 +0000</pubDate>
		<dc:creator>dan</dc:creator>
				<category><![CDATA[physics]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://blog.thetelegraphic.com/?p=122</guid>
		<description><![CDATA[I spent a lot of time in the lab last month, taking measurements with an Anritsu 37xxxC series VNA. It would've taken me even longer if I hadn't made this little python script to control the VNA over GPIB.]]></description>
			<content:encoded><![CDATA[<p>I spent a lot of time in the lab last month, taking measurements with an Anritsu 37xxxC series VNA. It would&#8217;ve taken me even longer if I hadn&#8217;t made this little python script to control the VNA over GPIB. All it does it open a connection, grab the data off and then write it to a CSV file. The magic lines you need to know:</p>
<pre style="padding-left: 30px;"><span style="color: #DA4332;">## Open a connection to the VNA</span>
VNA = visa.instrument("GPIB::06")

<span style="color: #DA4332;">## Select a channel</span>
VNA.write("CH1")

<span style="color: #DA4332;">## Get frequency data</span>
freq = VNA.ask_for_values("OFV")

<span style="color: #DA4332;">## Get channel data</span>
S11 = VNA.ask_for_values("OFD")</pre>
<p>If you&#8217;re lazy just run the <a href="http://blog.thetelegraphic.com/wp-content/uploads/2009/05/grabData.py">grabData script</a> and voila. If you&#8217;re not, try editing the grabData() function to your needs and script away.</p>
<p>To get this to work, you&#8217;ll need <a href="http://www.python.org/">Python 2.5</a>, <a title="Python GPIB etc. support with pyVIsa" href="http://pyvisa.sourceforge.net/">pyVisa</a> and the relevant <a title="NI Instrument Driver Network" href="http://www.ni.com/devzone/idnet/">NI drivers</a> (488.2 and for me the ones for the UBS-GPIB thing). There&#8217;s some useful documentation on the <a href="http://www.us.anritsu.com/sitesearch/default.aspx?site=us_www_root&amp;q=37xxxc&amp;sort=date:D:L:d1&amp;filter=p">Anritsu site here</a>. Kudos to Oliver King for his help .</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thetelegraphic.com/2009/anritsu-vna-python-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
