<?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>Anthony Smith&#039;s Research Blog &#187; IDL</title>
	<atom:link href="http://www.anthonysmith.me.uk/research/tag/idl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anthonysmith.me.uk/research</link>
	<description>Surveying the Universe</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:25:05 +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>PSFs in IDL</title>
		<link>http://www.anthonysmith.me.uk/research/2009/03/18/psfs-in-idl/</link>
		<comments>http://www.anthonysmith.me.uk/research/2009/03/18/psfs-in-idl/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 15:14:52 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[IDL]]></category>
		<category><![CDATA[point sources]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/research/?p=175</guid>
		<description><![CDATA[Two methods of approximating a point-spread function in IDL: 1. StarFinder seems to do a great job at finding point sources in crowded fields. It includes a routine for generating the Airy pattern. For a 51 x 51 array, with the peak at [25, 25], and an FWHM of 8.0 pixels, this is the command:&#8230;]]></description>
			<content:encoded><![CDATA[<p>Two methods of approximating a <a href="http://en.wikipedia.org/wiki/Point_spread_function">point-spread function</a> in IDL:</p>
<p>1. <a href="http://www.bo.astro.it/~giangi/StarFinder/">StarFinder</a> seems to do a great job at finding point sources in crowded fields. It includes a routine for generating the <a href="http://en.wikipedia.org/wiki/Airy_pattern">Airy pattern</a>. For a 51 x 51 array, with the peak at [25, 25], and an FWHM of 8.0 pixels, this is the command:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">psf = airy_pattern(51, 51, 25, 25, 2./8.0)
isurface, psf</pre></div></div>

<p>The output looks something like this:</p>
<p><img class="alignnone size-full wp-image-179" title="PSF Airy pattern (StarFinder/IDL)" src="http://www.anthonysmith.me.uk/research/wp-content/uploads/2009/03/psf_airy.png" alt="PSF Airy pattern (StarFinder/IDL)" width="480" height="321" /></p>
<p>2. The <a href="http://idlastro.gsfc.nasa.gov/">IDL Astronomy User's Library</a> contains a routine, psf_gaussian, that produces a Gaussian PSF. To produce the same as above, the command would be:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">psf = psf_gaussian(npix=51, fwhm=8.0, /double)
isurface, psf</pre></div></div>

<p>... which produces something like this:</p>
<p><img class="alignnone size-full wp-image-180" title="PSF Gaussian (IDL Astronomy User's Library)" src="http://www.anthonysmith.me.uk/research/wp-content/uploads/2009/03/psf_gaussian.png" alt="PSF Gaussian (IDL Astronomy User's Library)" width="479" height="324" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/research/2009/03/18/psfs-in-idl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The eclipse of IDL 7</title>
		<link>http://www.anthonysmith.me.uk/research/2009/03/03/the-eclipse-of-idl-7/</link>
		<comments>http://www.anthonysmith.me.uk/research/2009/03/03/the-eclipse-of-idl-7/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 18:54:32 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[IDL]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/research/?p=168</guid>
		<description><![CDATA[I've finally made the transition from IDL 6.4 to IDL 7. Here are my handy hints... IDL Workbench rocks! (This is because it is basically Eclipse, which is a proper development environment, unlike that hideous old IDLDE.) Another reason for using IDL Workbench (for me at least, and for now) is that IDL help doesn't&#8230;]]></description>
			<content:encoded><![CDATA[<p>I've finally made the transition from <a href="http://www.ittvis.com/idl/">IDL</a> 6.4 to IDL 7. Here are my handy hints...</p>
<ul>
<li>IDL Workbench rocks! (This is because it is basically <a href="http://www.eclipse.org/">Eclipse</a>, which is a proper development environment, unlike that hideous old IDLDE.)</li>
<li>Another reason for using IDL Workbench (for me at least, and for now) is that IDL help doesn't seem to work if Java 6 is the default (as it is on my Mac), but the help <em>does</em> work if launched through the IDL Workbench.</li>
</ul>
<p>To transition to IDL Workbench:</p>
<ol>
<li>Import your code as described on <a href="http://www.dfanning.com/workbench/setup_projects.html">David Fanning's page</a> - fret not, it's easy and harmless</li>
<li>Preferences -&gt; IDL -&gt; Startup file, if you have one, and</li>
<li>Preferences -&gt; IDL -&gt; Paths -&gt; Insert... for me it was just my idl folder, including all sub-folders, to mimic my $IDL_PATH environment variable.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/research/2009/03/03/the-eclipse-of-idl-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pIDLy: IDL within Python</title>
		<link>http://www.anthonysmith.me.uk/research/2008/01/31/pidly-idl-within-python/</link>
		<comments>http://www.anthonysmith.me.uk/research/2008/01/31/pidly-idl-within-python/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 14:35:09 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[IDL]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/2008/01/31/pidly-idl-within-python/</guid>
		<description><![CDATA[Now Python and IDL can talk to each other (okay, Python talks to IDL and IDL does what it's told), using pIDLy (pronounce as you please). I experimented with a few other solutions available online but couldn't get them to work. So I cobbled this one together with surprisingly little trouble, thanks largely to pexpect.]]></description>
			<content:encoded><![CDATA[<p>Now Python and IDL can talk to each other (okay, Python talks to IDL and IDL does what it's told), using <a title="pIDLy" href="http://astronomy.sussex.ac.uk/~anthonys/pidly/">pIDLy</a> (pronounce as you please). I experimented with a few other solutions available online but couldn't get them to work. So I cobbled this one together with surprisingly little trouble, thanks largely to <a href="http://pexpect.sourceforge.net/">pexpect</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/research/2008/01/31/pidly-idl-within-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IDL code miscellany</title>
		<link>http://www.anthonysmith.me.uk/research/2008/01/28/idl-code-miscellany/</link>
		<comments>http://www.anthonysmith.me.uk/research/2008/01/28/idl-code-miscellany/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 13:15:58 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[IDL]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/2008/01/28/idl-code-miscellany/</guid>
		<description><![CDATA[IDLdoc 3.0 (more info here) gives my badly-written bits of IDL the deceptive appearance of being well designed, useful and user-friendly. So I've made a few available here for your enjoyment.]]></description>
			<content:encoded><![CDATA[<p><a title="IDLdoc downloads page" href="http://idldoc.idldev.com/wiki/Downloads">IDLdoc 3.0</a> (more info <a title="Getting Started with IDLdoc" href="http://idldoc.idldev.com/wiki/GettingStarted">here</a>) gives my badly-written bits of <a title="IDL homepage" href="http://www.ittvis.com/idl/">IDL</a> the deceptive appearance of being well designed, useful and user-friendly. So I've made a few available <a title="Anthony Smith's IDL routines" href="http://astronomy.sussex.ac.uk/~anthonys/idldoc/">here</a> for your enjoyment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/research/2008/01/28/idl-code-miscellany/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

