<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5644342161145112177</id><updated>2011-08-02T23:01:24.335-07:00</updated><category term='gnuplot'/><category term='beer tasting'/><category term='matplotlib'/><category term='beer'/><category term='me'/><category term='astronomy'/><category term='mathematica'/><category term='agpy'/><category term='security'/><category term='brewing'/><category term='latex'/><category term='song'/><category term='l111'/><category term='comic'/><category term='ssh'/><category term='nrao'/><category term='ultimate'/><category term='idl'/><category term='art'/><category term='astronomers'/><category term='bash'/><category term='grad school'/><category term='bgps'/><category term='marketable skills'/><category term='pdf'/><category term='meta'/><category term='travel'/><category term='photo'/><category term='spreadsheet'/><category term='ds9'/><category term='python'/><category term='baking'/><category term='animation'/><category term='unix'/><category term='mac'/><category term='gardening'/><category term='class'/><category term='computer'/><category term='internet'/><category term='movie review'/><category term='postscript'/><category term='observing'/><category term='review'/><category term='teaching'/><category term='iraf'/><category term='humor'/><category term='bitters'/><title type='text'>BTD</title><subtitle type='html'>A blog about astrophysics &amp;amp; computing. More info about me @ &lt;a href="http://casa.colorado.edu/~ginsbura/index.htm"&gt;Adam Ginsburg's page&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default?start-index=101&amp;max-results=100'/><author><name>Buffalo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>160</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3897981777901734151</id><published>2010-11-03T09:03:00.000-07:00</published><updated>2010-11-03T09:03:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='agpy'/><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>Repositories for observers</title><content type='html'>I should have posted these a while ago....&lt;br /&gt;&lt;a href="http://code.google.com/p/casaradio/"&gt; casaradio &lt;/a&gt; is a subversion repository for folks at &lt;a href="http://casa.colorado.edu"&gt;The Center for Astrophysics and Space Astronomy at CU Boulder&lt;/a&gt; to post radio astronomy related codes.  So far, emphasizes single dish (GBT, Arecibo), but will include EVLA, CARMA, and ALMA eventually.&lt;br /&gt;&lt;a href="http://code.google.com/p/aposoftware/"&gt;aposoftware&lt;/a&gt; is a similar page, but is a mercurial repository and is meant to include instrument-specific software for the &lt;a href="http://www.apo.nmsu.edu/"&gt; Apache Point Observatory &lt;/a&gt; &lt;a href="http://www.apo.nmsu.edu/arc35m/GeneralInfo_ARC35m.html"&gt; 3.5m telescope&lt;/a&gt;.  Right now includes a TUI script or two and the TSPEC and DIS IRAF-twodspec pipelines.&lt;br /&gt;&lt;br /&gt;I'd be remiss to leave out the &lt;a href="http://code.google.com/p/bgpspipeline/"&gt;BGPS pipeline&lt;/a&gt; even though it's mentioned on the previous post.&lt;br /&gt;&lt;br /&gt;Also, &lt;a href="http://code.google.com/p/agpy/"&gt;agpy&lt;/a&gt; is my personal code repository.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3897981777901734151?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3897981777901734151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3897981777901734151' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3897981777901734151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3897981777901734151'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/11/repositories-for-observers.html' title='Repositories for observers'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8920147369515777303</id><published>2010-11-03T08:57:00.000-07:00</published><updated>2010-11-03T08:57:54.321-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='bgps'/><title type='text'>BGPS data paper published</title><content type='html'>Metalinking!  The BGPS paper finally made it onto astro-ph today.  It will be published in ApJS before the year's end.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bolocam.blogspot.com/2010/11/bgps-data-paper-published.html"&gt; Links to all of the published BGPS papers at the Bolocam Data Team website&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And just because I want more linking, here they all are again:&lt;br /&gt;&lt;a href="http://irsa.ipac.caltech.edu/data/BOLOCAM_GPS/bgps_methods.pdf"&gt; The Bolocam Galactic Plane Survey I. Survey Description and Data Reduction&lt;/a&gt; &lt;a href=http://arxiv.org/abs/1011.0691&gt; arXiv&lt;/a&gt;&lt;br /&gt;&lt;a href="http://adsabs.harvard.edu/abs/2010ApJS..188..123R"&gt; The Bolocam Galactic Plane Survey II. Catalog of the Image Data&lt;/a&gt; &lt;a href="http://arxiv.org/abs/0909.2871"&gt; arXiv&lt;/a&gt;&lt;br /&gt;&lt;a href="http://adsabs.harvard.edu/abs/2010ApJ...717.1157D"&gt; The Bolocam Galactic Plane Survey III. Characterizing Physical Properties of Massive Star-Forming Regions in the Gemini OB1 Molecular Cloud &lt;/a&gt; &lt;a href="http://arxiv.org/abs/1005.4969"&gt; arXiv&lt;/a&gt;&lt;br /&gt;&lt;a href="http://adsabs.harvard.edu/abs/2010ApJ...721..137B"&gt; The Bolocam Galactic Plane Survey IV: λ = 1.1 and 0.35 mm Dust Continuum Emission in the Galactic Center Region&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The same set of links is reproduced at &lt;a href="http://code.google.com/p/bgpspipeline/"&gt;the pipeline googlecode page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8920147369515777303?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8920147369515777303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8920147369515777303' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8920147369515777303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8920147369515777303'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/11/bgps-data-paper-published.html' title='BGPS data paper published'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3235673750284066962</id><published>2010-08-16T17:37:00.000-07:00</published><updated>2010-08-16T17:56:13.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Neat new things....</title><content type='html'>1. &lt;a href="http://www.pas.rochester.edu/~mpecaut/sptool/"&gt; sptool &lt;/a&gt; is a quick way to compare standards to stellar spectra.  Nice, I'd been looking for a tool like that.&lt;br /&gt;2. &lt;a href="http://blog.bigsmoke.us/2008/12/04/gnu-screen-window-captions-as-xterm-tabs"&gt; GNU screen captions &lt;/a&gt; are useful especially when working in a screen-within-a-screen environment (who does that, really?)&lt;br /&gt;3. finally got &lt;a href="http://www.starlink.ac.uk/splat/"&gt; SPLAT &lt;/a&gt; to work... turns out I just hadn't reduced my damned data&lt;br /&gt;4. &lt;a href="http://www.serverwatch.com/tutorials/article.php/3607246/Fresh-From-the-Linux-Kill.htm"&gt; kill -STOP and kill -CONT &lt;/a&gt; are really useful ways to pause programs that are sucking up resources if you want to resume them later.  Haven't tried this on "real" code yet.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3235673750284066962?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3235673750284066962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3235673750284066962' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3235673750284066962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3235673750284066962'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/08/neat-new-things.html' title='Neat new things....'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8595903539562923550</id><published>2010-08-13T12:20:00.000-07:00</published><updated>2010-08-13T12:21:56.223-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='matplotlib'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Filled step plots in matplotlib</title><content type='html'>It's not possible to do a simple filled step plot in matplotlib using default&lt;br /&gt;commands.  Workaround:&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;def steppify(arr,isX=False,interval=0):&lt;br /&gt;    """&lt;br /&gt;    Converts an array to double-length for step plotting&lt;br /&gt;    """&lt;br /&gt;    if isX and interval==0:&lt;br /&gt;        interval = abs(arr[1]-arr[0]) / 2.0&lt;br /&gt;        newarr = array(zip(arr-interval,arr+interval)).ravel()&lt;br /&gt;        return newarr&lt;br /&gt;&lt;br /&gt;plot(xx,yy,linestyle='steps-mid',color='b',linewidth=1.5)&lt;br /&gt;fill_between(steppify(xx[x1:x2],isX=True),&lt;br /&gt;    steppify(yy[x1:x2])*0,&lt;br /&gt;    steppify(yy[x1:x2]),&lt;br /&gt;    facecolor='b',alpha=0.2)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8595903539562923550?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8595903539562923550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8595903539562923550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8595903539562923550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8595903539562923550'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/08/filled-step-plots-in-matplotlib.html' title='Filled step plots in matplotlib'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-43756008896581447</id><published>2010-07-28T08:09:00.000-07:00</published><updated>2010-07-28T08:09:05.946-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='spreadsheet'/><title type='text'>Histogram in Google Spreadsheet</title><content type='html'>It's not easy to make a histogram in google spreadsheets without replicating data.  The "countif" function would be great, except it only allows very simple criteria.  However, there's a workaround:&lt;br /&gt;=count(Filter('Grades'!V2:V30,'Grades'!V2:V30&gt;0.9))&lt;br /&gt;=count(Filter('Grades'!V2:V30,'Grades'!V2:V30&lt;0.9,'Grades'!V2:V30&gt;0.8))&lt;br /&gt;&lt;br /&gt;The Filter() function returns an array, which can be operated on like any other set of cells.  &lt;br /&gt;&lt;br /&gt;It's still not easy to make a nice-looking histogram, but the output of this process is at least usable.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-43756008896581447?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/43756008896581447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=43756008896581447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/43756008896581447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/43756008896581447'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/07/histogram-in-google-spreadsheet.html' title='Histogram in Google Spreadsheet'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4260188948386049219</id><published>2010-07-09T07:55:00.000-07:00</published><updated>2010-07-09T07:55:14.952-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>IDL-to-Python</title><content type='html'>astrobetter started up an &lt;a href="http://www.astrobetter.com/wiki/tiki-index.php?page=Python+Switchers+Guide"&gt;idl-to-python guide&lt;/a&gt; on their wiki.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4260188948386049219?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4260188948386049219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4260188948386049219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4260188948386049219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4260188948386049219'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/07/idl-to-python.html' title='IDL-to-Python'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4083936056979447788</id><published>2010-06-13T00:04:00.000-07:00</published><updated>2010-06-13T00:04:05.326-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='postscript'/><title type='text'>Ghostscript error?</title><content type='html'>I've been receiving the following error when attempting to compile (ps2pdf) my w5 outflows paper:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Error: /rangecheck in --get--&lt;br /&gt;Operand stack:&lt;br /&gt;   pdfmark   --dict:20/25(ro)(L)--   --nostringval--   50&lt;br /&gt;Execution stack:&lt;br /&gt;   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   %finish_show   --nostringval--   --nostringval--   8   6   1   --nostringval--   (pdf_text_enum_t)   %op_show_continue   --nostringval--&lt;br /&gt;Dictionary stack:&lt;br /&gt;   --dict:1153/1684(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   --dict:125/300(L)--   --dict:44/200(L)--   --dict:138/224(L)--&lt;br /&gt;Current allocation mode is local&lt;br /&gt;Last OS error: 2&lt;br /&gt;Current file position is 267478928&lt;br /&gt;GPL Ghostscript 8.71: Unrecoverable error, exit code 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I get the same error with Ghostscript 8.64, but on my laptop, using the fink version, it works.  Similarly, there are errors with the postscript, so I'm led to believe it's an error in latex:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$ latex --version&lt;br /&gt;pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009)&lt;br /&gt;kpathsea version 5.0.0&lt;br /&gt;Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).&lt;br /&gt;There is NO warranty.  Redistribution of this software is&lt;br /&gt;covered by the terms of both the pdfTeX copyright and&lt;br /&gt;the Lesser GNU General Public License.&lt;br /&gt;For more information about these matters, see the file&lt;br /&gt;named COPYING and the pdfTeX source.&lt;br /&gt;Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).&lt;br /&gt;Compiled with libpng 1.2.39; using libpng 1.2.39&lt;br /&gt;Compiled with zlib 1.2.3; using zlib 1.2.3&lt;br /&gt;Compiled with xpdf version 3.02pl3&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;No idea what the cause is but it's time to start documenting steps and looking for a workaround.  Compiling on the lappy isn't a good option.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4083936056979447788?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4083936056979447788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4083936056979447788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4083936056979447788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4083936056979447788'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/06/ghostscript-error.html' title='Ghostscript error?'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3049565950486129631</id><published>2010-05-26T14:01:00.001-07:00</published><updated>2010-05-26T14:01:32.243-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>EVLA information</title><content type='html'>It has been really hard to find EVLA information like beam size, largest angular scale, sensitivity, etc. on the VLA pages because all of the google searches point to old VLA information. The most useful and recent  &lt;a href="http://evlaguides.nrao.edu/index.php?title=Category:Status"&gt;EVLA information on beam size and largest angular scale is here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3049565950486129631?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3049565950486129631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3049565950486129631' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3049565950486129631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3049565950486129631'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/05/evla-information.html' title='EVLA information'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1589146365294367021</id><published>2010-05-25T15:35:00.000-07:00</published><updated>2010-05-25T15:35:42.044-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='matplotlib'/><title type='text'>usetex failure in latex documents</title><content type='html'>When I use matplotlib's internal tex (rcParams['text.useTex']=False), the postscript files generated cause errors that look like this when you try to ps2pdf them:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ps2pdf h2co_pilot.ps&lt;br /&gt;Error: /rangecheck in --get--&lt;br /&gt;Operand stack:&lt;br /&gt;   --dict:20/25(ro)(L)--   --nostringval--   71&lt;br /&gt;Execution stack:&lt;br /&gt;   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   1739   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   %finish_show   --nostringval--   --nostringval--   9   6   0   --nostringval--   (pdf_text_enum_t)   %op_show_continue   --nostringval--&lt;br /&gt;Dictionary stack:&lt;br /&gt;   --dict:1147/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--   --dict:116/300(L)--   --dict:44/200(L)--   --dict:25/42(L)--&lt;br /&gt;Current allocation mode is local&lt;br /&gt;Last OS error: 2&lt;br /&gt;Current file position is 791626&lt;br /&gt;GPL Ghostscript 8.64: Unrecoverable error, exit code 1&lt;br /&gt;make: *** [h2co_pilot.pdf] Error 1&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;They will not open in MacOS's Preview.app either.&lt;br /&gt;&lt;br /&gt;Solution:  Make figures with rcParams['text.useTex'] = True&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1589146365294367021?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1589146365294367021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1589146365294367021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1589146365294367021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1589146365294367021'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/05/usetex-failure-in-latex-documents.html' title='usetex failure in latex documents'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8482129838261260100</id><published>2010-05-01T11:31:00.001-07:00</published><updated>2010-06-26T16:18:39.027-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>RATRAN on Mac OS X</title><content type='html'>Mac OS X doesn't like the defaults built in to &lt;a href="http://www.sron.rug.nl/~vdtak/ratran/frames.html"&gt;RATRAN&lt;/a&gt;.  It died unhappily with errors like:&lt;br /&gt;&lt;br /&gt;&lt;code&gt; ld_classic: can't locate file for: -lcrt0.o &lt;/code&gt;&lt;br /&gt;and&lt;br /&gt;&lt;code&gt;ld: warning: in /usr/local/lib//libcfitsio.a, file is not of required architecture&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In order to get it to run, I had to do the following:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Install CFITSIO with &lt;code&gt;CFLAGS="-arch x86_64 -arch i386 -g -O2" &lt;/code&gt; to /usr/local/lib&lt;br /&gt;&lt;li&gt; Edit the sky/Makefile OPT variable (line 23) to read:&lt;br /&gt;&lt;code&gt;OPT = -I. -O2 -fno-automatic -arch x86_64&lt;/code&gt;&lt;br /&gt;&lt;/ol&gt;Also, you need to set up system variables: &lt;pre&gt;&lt;code&gt;&lt;br /&gt;export RATRAN=/path/to/Ratran &lt;br /&gt;export RATRANRUN=/path/to/Ratran/run &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8482129838261260100?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8482129838261260100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8482129838261260100' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8482129838261260100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8482129838261260100'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/05/ratran-on-mac-os-x.html' title='RATRAN on Mac OS X'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1572938387699333740</id><published>2010-04-22T08:55:00.000-07:00</published><updated>2010-04-22T08:55:01.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='class'/><title type='text'>Gildas CLASS</title><content type='html'>It's absurdly difficult to find help on GILDAS Class, probably because you can't google "class" and most people probably don't label every piece of code with "GILDAS class".&lt;br /&gt;&lt;br /&gt;Anyway, here are some scripts that I refer back to often:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;file in August2009BGPS.dat&lt;br /&gt;file out August2009fits.dat multiple&lt;br /&gt;on error "file out August2009fits.dat"&lt;br /&gt;say "READ IN FILES"&lt;br /&gt;define character sourcelist*10[300]&lt;br /&gt;accept sourcelist /column observed_sources.txt&lt;br /&gt;on error "continue"&lt;br /&gt;get 1001&lt;br /&gt;set window -100 160&lt;br /&gt;set mask -400 -100 160 400&lt;br /&gt;set mode x -400 400&lt;br /&gt;set align velocity&lt;br /&gt;for i 1 to 161&lt;br /&gt;    say "Working on SOURCE "'i'&lt;br /&gt;    find /source 'sourcelist[i]' /telescope "CSO 4GHZ IF1" /offset 0 0 /quality 5&lt;br /&gt;    average&lt;br /&gt;    on error "@avplot2 'sourcelist[i]' 'i'; next"&lt;br /&gt;    base 3&lt;br /&gt;    line 0&lt;br /&gt;    min&lt;br /&gt;    plot&lt;br /&gt;    vis&lt;br /&gt;    write i&lt;br /&gt;!    on error "continue"&lt;br /&gt;next&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;file in araya-2004.cls&lt;br /&gt;find&lt;br /&gt;define character filename*20&lt;br /&gt;for i 1 to 20 &lt;br /&gt;    say "Working on source "'i'&lt;br /&gt;    get next&lt;br /&gt;    let filename "araya-2004_"'i'".fits" &lt;br /&gt;    say "fits write "'filename'" /mode spectrum"&lt;br /&gt;    fits write 'filename' /mode spectrum&lt;br /&gt;next&lt;br /&gt;&lt;br /&gt;!file in araya-2002.cls&lt;br /&gt;!find&lt;br /&gt;!define character filename*20&lt;br /&gt;!for i 1 to 42 &lt;br /&gt;!    say "Working on source "'i'&lt;br /&gt;!    get i&lt;br /&gt;!    let filename "araya-2002_"'i'".fits" &lt;br /&gt;!    say "fits write "'filename'" /mode spectrum"&lt;br /&gt;!    fits write 'filename' /mode spectrum&lt;br /&gt;!next&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1572938387699333740?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1572938387699333740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1572938387699333740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1572938387699333740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1572938387699333740'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/04/gildas-class.html' title='Gildas CLASS'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3676262070617171288</id><published>2010-03-28T10:25:00.001-07:00</published><updated>2010-03-28T10:25:14.170-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iraf'/><title type='text'>IRAF append/prepend/replace</title><content type='html'>IRAF has special syntax to append/replace, so you can do something like:&lt;br /&gt;&lt;code&gt;imarith *.fits - dark.fits ds_//*.fits&lt;/code&gt;&lt;br /&gt;...though I can't remember right now how to do replacement etc.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3676262070617171288?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3676262070617171288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3676262070617171288' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3676262070617171288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3676262070617171288'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/03/iraf-appendprependreplace_28.html' title='IRAF append/prepend/replace'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8281122221650810488</id><published>2010-03-18T15:29:00.000-07:00</published><updated>2010-03-18T15:31:03.742-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>command line &amp; escape key</title><content type='html'>Problem: in both the bash command line and ipython, if I hit escape twice, I can never again do history-search-backwards (i.e. when you type part of a command and type "up" and reverse-search through your command history).  Any idea how to fix this?&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8281122221650810488?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8281122221650810488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8281122221650810488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8281122221650810488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8281122221650810488'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/03/command-line-escape-key.html' title='command line &amp; escape key'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1189420976972280940</id><published>2010-03-05T07:55:00.001-08:00</published><updated>2010-03-05T10:52:35.518-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>Rebuilding python from scratch again</title><content type='html'>I got scipy working a week or two ago, but doing so killed matplotib's tkagg.  So, I switched to the MacOSX backend, which worked ok until I realized that the interactive (connect) features of macosx failed miserably.  This led me to try to get matplotlib working.... which broke with those awful "symbol not found" errors in ft2font.so and _path.so, which I've determined all have to do with linking to the wrong library files.&lt;br /&gt;&lt;br /&gt;The most worrisome part of this process was discovering that a full Time Machine recovery of /usr and /Library/Frameworks and /Library/Python did *not* restore python - it stayed dead with IDENTICAL errors.  So there are probably additional layers of hidden links.&lt;br /&gt;&lt;br /&gt;The process below is based on &lt;a href="http://blog.hyperjeff.net/?p=160"&gt;hyperjeff's blog post&lt;/a&gt; but differs substantially based on &lt;a href="http://casa.colorado.edu/~skillman/research_and_codes/files/649710e82f85745eb65a90535f0f3098-5.html"&gt; Sam Skillman's recommendations &lt;/a&gt; and the very big issue I ran into that my /usr/local files appeared to be corrupted.  After this install, my path no longer includes /usr/local/bin and /sw has been moved to /_sw... hopefully one of these days I'll be ballsy enough to delete it.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Install python 2.6.4&lt;br /&gt;&lt;ol type="a"&gt;&lt;li&gt; Needed a clean terminal with no flags set at all.  Don't know why - all I had set were a bunch of -arch x86_64 flags.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;export LD_LIBRARY_PATH="/usr/local/lib:/usr/X11/lib"&lt;br /&gt;./configure --enable-framework=/Library/Frameworks MACOSX_DEPLOYMENT_TARGET=10.6 &lt;br /&gt;make -j 17&lt;br /&gt;sudo make install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Reset PYTHONPATH to blank&lt;br /&gt;&lt;li&gt; &lt;code&gt; alias clearflags='export CFLAGS=""; export CCFLAGS=""; export CXXFLAGS=""; export LDFLAGS=""; export FFLAGS="";'&lt;/code&gt; to make sure&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;li&gt; Install FFTW&lt;br /&gt;&lt;code&gt;&lt;br /&gt;cd ~/tmp&lt;br /&gt;curl -O http://www.fftw.org/fftw-3.2.2.tar.gz&lt;br /&gt;tar xf fftw-3.2.2.tar.gz&lt;br /&gt;cd fftw-3.2.2&lt;br /&gt;clearflags&lt;br /&gt;./configure CC="gcc -arch x86_64" CXX="g++ -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E"&lt;br /&gt;make -j 17&lt;br /&gt;sudo make install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Install UMFPACK&lt;br /&gt;&lt;code&gt;&lt;br /&gt;cd ~/tmp&lt;br /&gt;curl -O http://www.cise.ufl.edu/research/sparse/umfpack/current/UMFPACK.tar.gz&lt;br /&gt;curl -O http://www.cise.ufl.edu/research/sparse/UFconfig/current/UFconfig.tar.gz&lt;br /&gt;curl -O http://www.cise.ufl.edu/research/sparse/amd/current/AMD.tar.gz&lt;br /&gt;tar xf AMD.tar.gz&lt;br /&gt;tar xf UFconfig.tar.gz&lt;br /&gt;tar xf UMFPACK.tar.gz&lt;br /&gt;sed -ibck 's/F77 = f77/F77 = gfortran/' UFconfig/UFconfig.mk &lt;br /&gt;sed -ibck '299,303s/# //' UFconfig/UFconfig.mk&lt;br /&gt;cp UFconfig/UFconfig.h AMD/Include/&lt;br /&gt;cp UFconfig/UFconfig.h UMFPACK/Include/&lt;br /&gt;cd UMFPACK&lt;br /&gt;make -j 17&lt;br /&gt;make hb&lt;br /&gt;make clean&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Install numpy&lt;br /&gt;&lt;ol type="a"&gt;&lt;li&gt; Set environment variables&lt;br /&gt;&lt;code&gt;&lt;br /&gt;export MACOSX_DEPLOYMENT_TARGET=10.6&lt;br /&gt;export CFLAGS="-arch x86_64"&lt;br /&gt;export FFLAGS="-m64"&lt;br /&gt;export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch x86_64"&lt;br /&gt;export PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/"&lt;br /&gt;echo "[amd]&lt;br /&gt;library_dirs = /Users/adam/tmp/AMD/Lib&lt;br /&gt;include_dirs = /Users/adam/tmp/AMD/Include&lt;br /&gt;amd_libs = amd&lt;br /&gt;&lt;br /&gt;[umfpack]&lt;br /&gt;library_dirs = /Users/adam/tmp/UMFPACK/Lib&lt;br /&gt;include_dirs = /Users/adam/tmp/UMFPACK/Include&lt;br /&gt;umfpack_libs = umfpack" &gt; site.cfg&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Setup &amp; Install&lt;br /&gt;&lt;code&gt;&lt;br /&gt;python setup.py build --fcompiler=gnu95&lt;br /&gt;sudo python setup.py install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Test: python -c "import numpy"&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;li&gt; Install scipy.  The important thing is to use g++-4.2 because g++-4.5 doesn't accept the -arch flag.  Also, get rid of /sw if it's on your computer at all.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo mv /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpyX&lt;br /&gt;cd ~/repos/scipy-0.7.1&lt;br /&gt;python setup.py clean&lt;br /&gt;rm -rf build&lt;br /&gt;clearflags&lt;br /&gt;FFLAGS="-m64" CFLAGS="-arch x86_64 -I/usr/local/include/freetype2 -I/usr/X11/include -L/usr/X11/lib"  LDFLAGS="-Wall -undefined dynamic_lookup -bundle  -lpng -arch x86_64" CXX="/usr/bin/g++-4.2" CC="/usr/bin/gcc-4.2" python setup.py build&lt;br /&gt;python setup.py install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Test the install:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;python -c "import scipy, scipy.fftpack, scipy.interpolate"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; &lt;ol type='a'&gt; &lt;li&gt; Install matplotlib.  MAKE SURE /usr/bin/texbin is in front of /usr/local/bin and /sw/bin so that dvipng comes from MacTEX.  I also ended up having to remove /usr/local/bin from my path completely&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo mv /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpyX&lt;br /&gt;cd ~/repos/matplotlib-svn&lt;br /&gt;python setup.py clean&lt;br /&gt;rm -rf build&lt;br /&gt;clearflags&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Do hyperjeff's recommended edits except don't use /usr/local because it's f'd: &lt;br /&gt;make.osx:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;MACOSX_DEPLOYMENT_TARGET=10.6&lt;br /&gt;PREFIX=/usr&lt;br /&gt;PYTHON=/Library/Frameworks/Python.framework/Versions/Current/bin/python&lt;br /&gt;&lt;br /&gt;## You shouldn't need to configure past this point (and yet…)&lt;br /&gt;&lt;br /&gt;PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"&lt;br /&gt;CFLAGS="-arch i386 -arch x86_64 -I${PREFIX}/include -I${PREFIX}/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk"&lt;br /&gt;LDFLAGS="-arch i386 -arch x86_64 -L${PREFIX}/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk"&lt;br /&gt;FFLAGS="-arch i386 -arch x86_64"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;setup.cfg:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wxagg = False&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Do the install (different from hyperjeff b/c I don't want root)&lt;br /&gt;&lt;code&gt; sudo make -f make.osx fetch deps &lt;br /&gt;make -f mpl_build mpl_install&lt;br /&gt;python setup.py install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;li&gt; Install setuptools&lt;br /&gt;&lt;li&gt; easy_install ipython&lt;br /&gt;&lt;li&gt; install everything else pythonically&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1189420976972280940?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1189420976972280940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1189420976972280940' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1189420976972280940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1189420976972280940'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/03/rebuilding-python-from-scratch-again.html' title='Rebuilding python from scratch again'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-312527251880897612</id><published>2010-03-01T12:53:00.000-08:00</published><updated>2010-03-01T12:54:30.777-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>apache/php/mysql on snow leopard</title><content type='html'>&lt;a href="http://maestric.com/doc/mac/apache_php_mysql_snow_leopard"&gt;This post&lt;/a&gt; helped me out&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-312527251880897612?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/312527251880897612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=312527251880897612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/312527251880897612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/312527251880897612'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/03/apachephpmysql-on-snow-leopard.html' title='apache/php/mysql on snow leopard'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-9085305205280328195</id><published>2010-02-25T12:14:00.000-08:00</published><updated>2010-02-25T12:15:40.844-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>macvim crash</title><content type='html'>well, it finally happened.... my reliable, trusty editor crashed.  That should be impossible.  I am ready to call it quits for the week....&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Process:         MacVim [650]&lt;br /&gt;Path:            /Applications/Vim.app/Contents/MacOS/MacVim&lt;br /&gt;Identifier:      org.vim.MacVim&lt;br /&gt;Version:         7.2 (49)&lt;br /&gt;Code Type:       X86 (Native)&lt;br /&gt;Parent Process:  Vim [649]&lt;br /&gt;&lt;br /&gt;Date/Time:       2010-02-25 13:12:43.001 -0700&lt;br /&gt;OS Version:      Mac OS X 10.6.2 (10C540)&lt;br /&gt;Report Version:  6&lt;br /&gt;&lt;br /&gt;Interval Since Last Report:          871676 sec&lt;br /&gt;Crashes Since Last Report:           26&lt;br /&gt;Per-App Interval Since Last Report:  938504 sec&lt;br /&gt;Per-App Crashes Since Last Report:   1&lt;br /&gt;Anonymous UUID:                      03159B9E-2257-4E38-8C4A-4D4DAF5641A7&lt;br /&gt;&lt;br /&gt;Exception Type:  EXC_BAD_ACCESS (SIGSEGV)&lt;br /&gt;Exception Codes: 0x000000000000000d, 0x0000000000000000&lt;br /&gt;Crashed Thread:  0  Dispatch queue: com.apple.main-thread&lt;br /&gt;&lt;br /&gt;Thread 0 Crashed:  Dispatch queue: com.apple.main-thread&lt;br /&gt;0   com.apple.CoreFoundation       0x99119480 __CFSetCallback + 0&lt;br /&gt;1   com.apple.CoreFoundation       0x990c78bc ___CFBasicHashFindBucket1 + 444&lt;br /&gt;2   com.apple.CoreFoundation       0x990cfaac CFBasicHashFindBucket + 252&lt;br /&gt;3   com.apple.CoreFoundation       0x990e8293 CFSetGetValue + 131&lt;br /&gt;4   com.apple.AppKit               0x961bae7e -[NSWindow _discardTrackingRect:] + 59&lt;br /&gt;5   com.apple.AppKit               0x961badca -[NSView(NSInternal) _uninstallTrackingArea:] + 123&lt;br /&gt;6   com.apple.AppKit               0x960d2c32 -[NSView(NSInternal) _uninstallRemovedTrackingAreas] + 293&lt;br /&gt;7   com.apple.AppKit               0x960dac40 -[NSView(NSInternal) _updateTrackingAreas] + 646&lt;br /&gt;8   com.apple.CoreFoundation       0x990ea4e0 CFArrayApplyFunction + 224&lt;br /&gt;9   com.apple.AppKit               0x960daefb -[NSView(NSInternal) _updateTrackingAreas] + 1345&lt;br /&gt;10  com.apple.CoreFoundation       0x990ea4e0 CFArrayApplyFunction + 224&lt;br /&gt;11  com.apple.AppKit               0x960daefb -[NSView(NSInternal) _updateTrackingAreas] + 1345&lt;br /&gt;12  com.apple.CoreFoundation       0x990ea4e0 CFArrayApplyFunction + 224&lt;br /&gt;13  com.apple.AppKit               0x960daefb -[NSView(NSInternal) _updateTrackingAreas] + 1345&lt;br /&gt;14  com.apple.AppKit               0x960da8db _handleInvalidCursorRectsNote + 392&lt;br /&gt;15  com.apple.CoreFoundation       0x99135892 __CFRunLoopDoObservers + 1186&lt;br /&gt;16  com.apple.CoreFoundation       0x990f218d __CFRunLoopRun + 557&lt;br /&gt;17  com.apple.CoreFoundation       0x990f1864 CFRunLoopRunSpecific + 452&lt;br /&gt;18  com.apple.CoreFoundation       0x990f1691 CFRunLoopRunInMode + 97&lt;br /&gt;19  com.apple.HIToolbox            0x936f6f0c RunCurrentEventLoopInMode + 392&lt;br /&gt;20  com.apple.HIToolbox            0x936f6bff ReceiveNextEventCommon + 158&lt;br /&gt;21  com.apple.HIToolbox            0x936f6b48 BlockUntilNextEventMatchingListInMode + 81&lt;br /&gt;22  com.apple.AppKit               0x960b0ac5 _DPSNextEvent + 847&lt;br /&gt;23  com.apple.AppKit               0x960b0306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156&lt;br /&gt;24  com.apple.AppKit               0x9607249f -[NSApplication run] + 821&lt;br /&gt;25  com.apple.AppKit               0x9606a535 NSApplicationMain + 574&lt;br /&gt;26  org.vim.MacVim                 0x0000238b _start + 209&lt;br /&gt;27  org.vim.MacVim                 0x000022b9 start + 41&lt;br /&gt;&lt;br /&gt;Thread 1:  Dispatch queue: com.apple.libdispatch-manager&lt;br /&gt;0   libSystem.B.dylib              0x98d0c0ea kevent + 10&lt;br /&gt;1   libSystem.B.dylib              0x98d0c804 _dispatch_mgr_invoke + 215&lt;br /&gt;2   libSystem.B.dylib              0x98d0bcc3 _dispatch_queue_invoke + 163&lt;br /&gt;3   libSystem.B.dylib              0x98d0ba68 _dispatch_worker_thread2 + 234&lt;br /&gt;4   libSystem.B.dylib              0x98d0b4f1 _pthread_wqthread + 390&lt;br /&gt;5   libSystem.B.dylib              0x98d0b336 start_wqthread + 30&lt;br /&gt;&lt;br /&gt;Thread 2:&lt;br /&gt;0   libSystem.B.dylib              0x98ce58da mach_msg_trap + 10&lt;br /&gt;1   libSystem.B.dylib              0x98ce6047 mach_msg + 68&lt;br /&gt;2   com.apple.CoreFoundation       0x990f277f __CFRunLoopRun + 2079&lt;br /&gt;3   com.apple.CoreFoundation       0x990f1864 CFRunLoopRunSpecific + 452&lt;br /&gt;4   com.apple.CoreFoundation       0x990f1691 CFRunLoopRunInMode + 97&lt;br /&gt;5   com.apple.Foundation           0x91b24430 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329&lt;br /&gt;6   com.apple.Foundation           0x91aeb8d8 -[NSThread main] + 45&lt;br /&gt;7   com.apple.Foundation           0x91aeb888 __NSThread__main__ + 1499&lt;br /&gt;8   libSystem.B.dylib              0x98d12fbd _pthread_start + 345&lt;br /&gt;9   libSystem.B.dylib              0x98d12e42 thread_start + 34&lt;br /&gt;&lt;br /&gt;Thread 3:&lt;br /&gt;0   libSystem.B.dylib              0x98d04856 select$DARWIN_EXTSN + 10&lt;br /&gt;1   com.apple.CoreFoundation       0x99131ddd __CFSocketManager + 1085&lt;br /&gt;2   libSystem.B.dylib              0x98d12fbd _pthread_start + 345&lt;br /&gt;3   libSystem.B.dylib              0x98d12e42 thread_start + 34&lt;br /&gt;&lt;br /&gt;Thread 4:&lt;br /&gt;0   libSystem.B.dylib              0x98d0b182 __workq_kernreturn + 10&lt;br /&gt;1   libSystem.B.dylib              0x98d0b718 _pthread_wqthread + 941&lt;br /&gt;2   libSystem.B.dylib              0x98d0b336 start_wqthread + 30&lt;br /&gt;&lt;br /&gt;Thread 0 crashed with X86 Thread State (32-bit):&lt;br /&gt;  eax: 0x00515db0  ebx: 0x990c7711  ecx: 0x00516460  edx: 0xbfffcabc&lt;br /&gt;  edi: 0x00001041  esi: 0x00504270  ebp: 0xbfffca38  esp: 0xbfffc99c&lt;br /&gt;   ss: 0x0000001f  efl: 0x00010246  eip: 0x99119480   cs: 0x00000017&lt;br /&gt;   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037&lt;br /&gt;  cr2: 0x97a20000&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-9085305205280328195?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/9085305205280328195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=9085305205280328195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9085305205280328195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9085305205280328195'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/macvim-crash.html' title='macvim crash'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-111477734981216542</id><published>2010-02-17T14:20:00.001-08:00</published><updated>2010-02-17T14:21:07.416-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Command of the Day</title><content type='html'>&lt;code&gt; ls | wc &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and for when &lt;code&gt; ls * &lt;/code&gt; fails&lt;br /&gt;&lt;br /&gt;&lt;code&gt; find . -name "*" | xargs -I {} mv {} away/ &lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-111477734981216542?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/111477734981216542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=111477734981216542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/111477734981216542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/111477734981216542'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/command-of-day.html' title='Command of the Day'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8511342743388879869</id><published>2010-02-16T20:44:00.001-08:00</published><updated>2010-02-16T20:45:51.622-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ds9'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>DS9 gaussian fitting</title><content type='html'>One thing DS9 desperately needs is an interactive gaussian fitter.  I have NOT implemented one yet, but it is high on my to do list.  Has anyone else (googlers?) tried or succeeded in implementing such a thing?  Ideally, something with NO dependencies: if I write one, it will require python, numpy, and probably pyds9 - ick.  Straight-up TCL would be very much preferable.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8511342743388879869?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8511342743388879869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8511342743388879869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8511342743388879869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8511342743388879869'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/ds9-gaussian-fitting.html' title='DS9 gaussian fitting'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5128877710154526154</id><published>2010-02-16T13:47:00.000-08:00</published><updated>2010-02-16T13:49:05.202-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>Another attempt to get 64 bit python on Snow Leopard</title><content type='html'>Sam Skillman posted &lt;a href="http://casa.colorado.edu/~skillman/research_and_codes/files/5426de84108df075adee2e9a5c23d90e-4.html"&gt; his attempt to get 64 bit python on snow leopard&lt;/a&gt;.  It worked, but you need to install python with --enable-framework and NOT --prefix and NOT --enable-universalSDK.  It is 64-bit only, not universal: universal causes trouble.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5128877710154526154?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5128877710154526154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5128877710154526154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5128877710154526154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5128877710154526154'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/another-attempt-to-get-64-bit-python-on.html' title='Another attempt to get 64 bit python on Snow Leopard'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5397689500531983946</id><published>2010-02-15T08:57:00.000-08:00</published><updated>2010-02-15T09:23:42.634-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Python 64-bit on Mac OS X 10.6 Snow Leopard</title><content type='html'>After &lt;a href="http://buffalothedestroyer.blogspot.com/2010/02/installing-snow-leopard.html"&gt;yesterday's disastrous attempt&lt;/a&gt; to install various python packages, I started from scratch.  First, I got rid of all of my python frameworks (backed up but removed from the path).  Then, I compiled python 2.7 from scratch:&lt;br /&gt;&lt;br /&gt;I got some help from &lt;a href="http://blog.mahmoudimus.com/2009/12/python-2-6-4-and-twisted-9-on-os-x-10-6-snow-leopard/"&gt;http://blog.mahmoudimus.com/2009/12/python-2-6-4-and-twisted-9-on-os-x-10-6-snow-leopard/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;./configure --enable-framework --enable-universalsdk=/Developer/SDKs/MacOSX10.6.sdk MACOSX_DEPLOYMENT_TARGET=10.6 --with-universal-archs=intel -with-readline-dir=/usr/local&lt;br /&gt;make -j 17&lt;br /&gt;make -j 17 test &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt; make &lt;/code&gt; results:&lt;br /&gt;&lt;pre&gt;Python build finished, but the necessary bits to build these modules were not found:&lt;br /&gt;_bsddb             dl                 gdbm            &lt;br /&gt;imageop            linuxaudiodev      ossaudiodev     &lt;br /&gt;spwd               sunaudiodev                        &lt;br /&gt;To find the necessary bits, look in setup.py in detect_modules() for the module's name.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I'm not concerned about these - I don't use any of them and I assume I need to install some other packages to get them to work.&lt;br /&gt;&lt;br /&gt;During make test, I had two failures that resulted in "python crash" pop-up boxes:&lt;br /&gt;&lt;pre&gt;test_subprocess&lt;br /&gt;.&lt;br /&gt;    this bit of output is from a test of stdout in a different process ...&lt;br /&gt;.&lt;br /&gt;    this bit of output is from a test of stdout in a different process ...&lt;br /&gt;test_sunaudiodev&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then, I got some malloc errors:&lt;br /&gt;&lt;pre&gt;test_io&lt;br /&gt;&lt;br /&gt;Testing large file ops skipped on darwin.&lt;br /&gt;It requires 2147483648 bytes and a long time.&lt;br /&gt;Use 'regrtest.py -u largefile test_io' to run it.&lt;br /&gt;&lt;br /&gt;Testing large file ops skipped on darwin.&lt;br /&gt;It requires 2147483648 bytes and a long time.&lt;br /&gt;Use 'regrtest.py -u largefile test_io' to run it.&lt;br /&gt;python.exe(22914,0x7fff70d3ebe0) malloc: *** mmap(size=9223372036854775808) failed (error code=12)&lt;br /&gt;*** error: can't allocate region&lt;br /&gt;*** set a breakpoint in malloc_error_break to debug&lt;br /&gt;python.exe(22914,0x7fff70d3ebe0) malloc: *** mmap(size=9223372036854775808) failed (error code=12)&lt;br /&gt;*** error: can't allocate region&lt;br /&gt;*** set a breakpoint in malloc_error_break to debug&lt;br /&gt;python.exe(22914,0x7fff70d3ebe0) malloc: *** mmap(size=9223372036854775808) failed (error code=12)&lt;br /&gt;*** error: can't allocate region&lt;br /&gt;*** set a breakpoint in malloc_error_break to debug&lt;br /&gt;test_ioctl&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5397689500531983946?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5397689500531983946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5397689500531983946' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5397689500531983946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5397689500531983946'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/python-64-bit-on-mac-os-x-106-snow.html' title='Python 64-bit on Mac OS X 10.6 Snow Leopard'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6933178011210412311</id><published>2010-02-14T12:23:00.000-08:00</published><updated>2010-03-02T08:16:27.165-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Installing Snow Leopard</title><content type='html'>I'm going to attempt to install snow leopard today.  This post will serve as a record of the difficulties I run into.&lt;br /&gt;&lt;br /&gt;Things to install (and ensure they are 64-bit):&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;ipython&lt;br /&gt;&lt;li&gt;numpy&lt;br /&gt;&lt;li&gt;scipy&lt;br /&gt;&lt;li&gt;matplotlib&lt;br /&gt;&lt;li&gt;stsci-python&lt;br /&gt;&lt;li&gt;starlink&lt;br /&gt;&lt;li&gt;gfortran&lt;br /&gt;&lt;li&gt;latex&lt;br /&gt;&lt;li&gt;idl (check)&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Things that have happened:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; Had to restart again (twice) to install additional updates&lt;br /&gt;&lt;li&gt; My bash command line looked funny - something about bash changed, but I don't know what.  The fix was easy: commented out some code from &lt;a href="http://pseudogreen.org/blog/set_tab_names_in_leopard_terminal.html"&gt;http://pseudogreen.org/blog/set_tab_names_in_leopard_terminal.html&lt;/a&gt; that I had been using to set the tab title&lt;br /&gt;&lt;li&gt; My locate db broke.  Needed repair: &lt;code&gt;sudo /usr/libexec/locate.updatedb &lt;/code&gt;&lt;br /&gt;&lt;li&gt; numpy svn failed to build:&lt;br /&gt;&lt;code&gt; python setup.py build&lt;br /&gt;Running from numpy source directory.non-existing path in 'numpy/distutils': 'site.cfg'&lt;br /&gt;F2PY Version 2_8111&lt;br /&gt;numpy/core/setup_common.py:86: MismatchCAPIWarning: API mismatch detected, the C API version numbers have to be updated. Current C api version is 4, with checksum 59750b518272c8987f02d66445afd3f1, but recorded checksum for C API version 4 in codegen_dir/cversions.txt is 3d8940bf7b0d2a4e25be4338c14c3c85. If functions were added in the C API, you have to update C_API_VERSION  in numpy/core/setup_common.pyc.&lt;br /&gt;  MismatchCAPIWarning)&lt;br /&gt;blas_opt_info:&lt;br /&gt;  FOUND:&lt;br /&gt;    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']&lt;br /&gt;    define_macros = [('NO_ATLAS_INFO', 3)]&lt;br /&gt;    extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']&lt;br /&gt;&lt;br /&gt;lapack_opt_info:&lt;br /&gt;  FOUND:&lt;br /&gt;    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']&lt;br /&gt;    define_macros = [('NO_ATLAS_INFO', 3)]&lt;br /&gt;    extra_compile_args = ['-faltivec']&lt;br /&gt;&lt;br /&gt;running build&lt;br /&gt;running config_cc&lt;br /&gt;unifing config_cc, config, build_clib, build_ext, build commands --compiler options&lt;br /&gt;running config_fc&lt;br /&gt;unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options&lt;br /&gt;running build_src&lt;br /&gt;build_src&lt;br /&gt;building py_modules sources&lt;br /&gt;building library "npymath" sources&lt;br /&gt;customize NAGFCompiler&lt;br /&gt;Found executable /usr/local/bin/f95&lt;br /&gt;customize AbsoftFCompiler&lt;br /&gt;Could not locate executable f90&lt;br /&gt;Found executable /usr/bin/f77&lt;br /&gt;absoft: no Fortran 90 compiler found&lt;br /&gt;absoft: no Fortran 90 compiler found&lt;br /&gt;customize IBMFCompiler&lt;br /&gt;Could not locate executable xlf90&lt;br /&gt;Could not locate executable xlf&lt;br /&gt;customize IntelFCompiler&lt;br /&gt;Could not locate executable ifort&lt;br /&gt;Could not locate executable ifc&lt;br /&gt;customize GnuFCompiler&lt;br /&gt;Found executable /usr/local/bin/g77&lt;br /&gt;gnu: no Fortran 90 compiler found&lt;br /&gt;gnu: no Fortran 90 compiler found&lt;br /&gt;customize Gnu95FCompiler&lt;br /&gt;Found executable /usr/local/bin/gfortran&lt;br /&gt;customize Gnu95FCompiler&lt;br /&gt;customize Gnu95FCompiler using config&lt;br /&gt;C compiler: gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes&lt;br /&gt;&lt;br /&gt;compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c'&lt;br /&gt;gcc: _configtest.c&lt;br /&gt;gcc _configtest.o -o _configtest&lt;br /&gt;ld: library not found for -lcrt1.10.5.o&lt;br /&gt;collect2: ld returned 1 exit status&lt;br /&gt;ld: library not found for -lcrt1.10.5.o&lt;br /&gt;collect2: ld returned 1 exit status&lt;br /&gt;failure.&lt;br /&gt;removing: _configtest.c _configtest.o&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;  File "setup.py", line 210, in &lt;module&gt;&lt;br /&gt;    setup_package()&lt;br /&gt;  File "setup.py", line 203, in setup_package&lt;br /&gt;    configuration=configuration )&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/core.py", line 186, in setup&lt;br /&gt;    return old_setup(**new_attr)&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup&lt;br /&gt;    dist.run_commands()&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands&lt;br /&gt;    self.run_command(cmd)&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command&lt;br /&gt;    cmd_obj.run()&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/command/build.py", line 37, in run&lt;br /&gt;    old_build.run(self)&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run&lt;br /&gt;    self.run_command(cmd_name)&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command&lt;br /&gt;    self.distribution.run_command(command)&lt;br /&gt;  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command&lt;br /&gt;    cmd_obj.run()&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/command/build_src.py", line 152, in run&lt;br /&gt;    self.build_sources()&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/command/build_src.py", line 163, in build_sources&lt;br /&gt;    self.build_library_sources(*libname_info)&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/command/build_src.py", line 298, in build_library_sources&lt;br /&gt;    sources = self.generate_sources(sources, (lib_name, build_info))&lt;br /&gt;  File "/Users/adam/repos/numpy-svn/numpy/distutils/command/build_src.py", line 385, in generate_sources&lt;br /&gt;    source = func(extension, build_dir)&lt;br /&gt;  File "numpy/core/setup.py", line 670, in get_mathlib_info&lt;br /&gt;    raise RuntimeError("Broken toolchain: cannot link a simple C program")&lt;br /&gt;RuntimeError: Broken toolchain: cannot link a simple C program&lt;/code&gt;&lt;br /&gt;&lt;br&gt;&lt;b&gt;SOLUTION:&lt;/b&gt; Use the Mac OS X 10.6 python (/usr/bin/python).  I will do this until I run into another problem.  Numpy build successfully&lt;br /&gt;&lt;li&gt; Build/install matplotlib - failed!  Completely!&lt;br /&gt;&lt;li&gt; Acquired gcc/gfortran from &lt;a href="http://hpc.sourceforge.net/"&gt;hpc&lt;/a&gt;&lt;br /&gt;&lt;li&gt; Followed instructions from &lt;a href="http://blog.hyperjeff.net/?p=160"&gt;hyperjeff&lt;/a&gt; on fortran install...&lt;br /&gt;&lt;li&gt; Get rid of numpy 1.2.1: &lt;code&gt; mv /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/.not_numpy.bak&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Try to install scipy.  Fail on missing umfpack, follow &lt;a href="http://blog.hyperjeff.net/?p=160"&gt;hyperjeff&lt;/a&gt;'s instructions (but make sure to edit the site.cfg in scipy, not just the one in numpy)&lt;br /&gt;&lt;br&gt; Had to add the following code:&lt;br /&gt;&lt;code&gt; &lt;br /&gt;sudo cp AMD/Lib/libamd.a /System/Library/Frameworks/Python.framework/Versions/2.6/lib&lt;br /&gt;sudo cp UMFPACK/Lib/libumfpack.a /System/Library/Frameworks/Python.framework/Versions/2.6/lib&lt;br /&gt;sudo cp AMD/Include/amd.h /System/Library/Frameworks/Python.framework/Versions/2.6/include&lt;br /&gt;sudo cp UFconfig/UFconfig.h /System/Library/Frameworks/Python.framework/Versions/2.6/include&lt;br /&gt;sudo cp UMFPACK/Include/*.h /System/Library/Frameworks/Python.framework/Versions/2.6/include&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;li&gt; Installed fftw from &lt;a href="http://www.fftw.org/"&gt;fftw.org&lt;/a&gt; with simple ./configure, make, sudo make install - no compiler opts as they killed the install&lt;br /&gt;&lt;li&gt; Get SoundSource from &lt;a href="http://www.rogueamoeba.com/freebies/"&gt;rogueamoeba&lt;/a&gt;&lt;br /&gt;&lt;li&gt; Updated &lt;a href="http://www.islayer.com/apps/istatmenus/"&gt; istatmenus &lt;/a&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6933178011210412311?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6933178011210412311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6933178011210412311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6933178011210412311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6933178011210412311'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/installing-snow-leopard.html' title='Installing Snow Leopard'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4291644217762708306</id><published>2010-02-12T08:01:00.000-08:00</published><updated>2010-03-13T09:57:34.840-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='agpy'/><title type='text'>PSDs, cross-correlation...</title><content type='html'>scipy is capable of doing fft-base cross-correlation, convolution, etc., but it requires the stsci package, which is not generally easy to install.  For that matter, scipy can be a pain some of the time.  So agpy now includes a 2D cross-correlation code and a power spectrum / power spectral density code.  These are pure-numpy codes that should be easy to use without any other bothersome dependencies.&lt;br /&gt;&lt;br /&gt;EDIT: I have them check for scipy (which can cause crashes if you have a bad scipy install, e.g. 32 bit executables on a 64 bit system) because scipy uses FFTW and numpy appears not to.  Also, this code &amp; related stuff has been &lt;a href="http://www.astrobetter.com/fourier-transforms-of-images-in-python/"&gt;discussed on astrobetyter&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/agpy/"&gt; agpy &lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/agpy/source/browse/trunk/agpy/correlate2d.py"&gt; correlate2d&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/agpy/source/browse/trunk/agpy/psds.py"&gt; psds &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4291644217762708306?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4291644217762708306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4291644217762708306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4291644217762708306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4291644217762708306'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/psds-cross-correlation.html' title='PSDs, cross-correlation...'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1623812719625876981</id><published>2010-02-04T18:31:00.000-08:00</published><updated>2010-02-04T19:05:07.811-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='matplotlib'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Logarithmic Colormap / Other Colormap in Matplotlib</title><content type='html'>This is kind of a pain to find out:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;from matplotlib.colors import LogNorm&lt;br /&gt;&lt;br /&gt;im = imshow(.... cmap=... , norm=LogNorm(vmin=clevs[0], vmax=clevs[-1])) &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;It also works for contours, and can be particularly useful if you only want to display contours at a few levels, but you want the colormap to start at a different point.  e.g.:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;contour(xx,levels=[2,3,4,5,6,7,8,9,10],norm=matplotlib.colors.Normalize(vmin=0,vmax=10))&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;will start at light blue instead of dark blue in the default colormap&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1623812719625876981?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1623812719625876981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1623812719625876981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1623812719625876981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1623812719625876981'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/02/logarithmic-colormap-other-colormap-in.html' title='Logarithmic Colormap / Other Colormap in Matplotlib'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4060623618377006214</id><published>2010-01-27T17:52:00.001-08:00</published><updated>2010-01-27T17:54:14.777-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><title type='text'>wrapping text around a figure in latex</title><content type='html'>An example from Devin:&lt;br /&gt;&lt;br /&gt;%\begin{wrapfigure}{l}{0.5\textwidth}&lt;br /&gt;%  \vspace{-27pt}&lt;br /&gt;%  \begin{center}&lt;br /&gt;%    \includegraphics[width=0.48\textwidth]{nsf_fig3.ps}&lt;br /&gt;%  \end{center}&lt;br /&gt;%  \vspace{-27pt}&lt;br /&gt;%   \caption{\it{}}&lt;br /&gt;%  \vspace{-12pt}&lt;br /&gt;%\end{wrapfigure}&lt;br /&gt;1:16&lt;br /&gt;\usepackage{wrapfig}&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4060623618377006214?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4060623618377006214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4060623618377006214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4060623618377006214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4060623618377006214'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/01/wrapping-text-around-figure-in-latex.html' title='wrapping text around a figure in latex'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3481127581092103142</id><published>2010-01-03T16:39:00.000-08:00</published><updated>2010-01-03T16:44:41.232-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='travel'/><title type='text'>my month of travel</title><content type='html'>I figure most people spending a month away from home would bring more than a small duffel full of clothes.  I was quite satisfied with what I had.  The things I missed (as a reminder for next time):&lt;br /&gt;My desktop, eta&lt;br /&gt;My music collection&lt;br /&gt;Powerbars&lt;br /&gt;&lt;br /&gt;...nothin else, really&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3481127581092103142?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3481127581092103142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3481127581092103142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3481127581092103142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3481127581092103142'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2010/01/my-month-of-travel.html' title='my month of travel'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5214183130291570973</id><published>2009-12-15T00:58:00.001-08:00</published><updated>2009-12-15T01:01:58.879-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><title type='text'>Detexify!</title><content type='html'>for when you can't remember how to draw an angstrom:&lt;br /&gt;&lt;a href="http://detexify.kirelabs.org/classify.html"&gt; detexify &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lsgW26mWZnU/SydQdSeP5EI/AAAAAAAAFds/f8-29Qvef3E/s1600-h/detexify.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 280px;" src="http://2.bp.blogspot.com/_lsgW26mWZnU/SydQdSeP5EI/AAAAAAAAFds/f8-29Qvef3E/s400/detexify.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5415385541041448002" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5214183130291570973?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5214183130291570973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5214183130291570973' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5214183130291570973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5214183130291570973'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/12/detexify.html' title='Detexify!'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lsgW26mWZnU/SydQdSeP5EI/AAAAAAAAFds/f8-29Qvef3E/s72-c/detexify.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6113926027898083635</id><published>2009-11-19T19:39:00.001-08:00</published><updated>2009-11-19T19:42:29.188-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>wget</title><content type='html'>wget is very useful for acquiring data from, e.g., IRSA, the NASA Infrared Science Archive.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;wget -nd -r -l1 -A*g09*_b4_20.fits http://irsa.ipac.caltech.edu/data/IGA/images/&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The important elements:&lt;br /&gt;-nd: don't reproduce the host directory structure&lt;br /&gt;-r:  recursive.  Grab the files referred to by the page, not just the page itself&lt;br /&gt;-l#: number of recursion levels&lt;br /&gt;-A:  "accept" wildcard&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6113926027898083635?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6113926027898083635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6113926027898083635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6113926027898083635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6113926027898083635'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/11/wget.html' title='wget'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4248349916200527962</id><published>2009-10-21T06:52:00.000-07:00</published><updated>2009-10-21T07:00:40.908-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>New python software</title><content type='html'>&lt;a href="http://idlsave.sourceforge.net/"&gt; IDLsave &lt;/a&gt; was released on my birthday.  It does what you'd expect - read IDL save files into Python.&lt;br /&gt;&lt;a href="http://aplpy.sourceforge.net/"&gt; APLpy &lt;/a&gt;has a make_RGB_cube function now that takes care of all the internals of making an RGB image.... haven't tried it yet but I need to because it is awesome.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4248349916200527962?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4248349916200527962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4248349916200527962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4248349916200527962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4248349916200527962'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/new-python-software.html' title='New python software'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6548983755860708249</id><published>2009-10-21T06:49:00.000-07:00</published><updated>2009-10-21T06:50:42.487-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>astro-better post</title><content type='html'>I &lt;a href="http://www.astrobetter.com/analysis/better-ways-to-make-large-image-mosiacs/"&gt;contributed to a post&lt;/a&gt; on &lt;a href="http://www.astrobetter.com/"&gt; Astro Better &lt;/a&gt; asking about mosaicing software.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6548983755860708249?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6548983755860708249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6548983755860708249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6548983755860708249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6548983755860708249'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/astro-better-post.html' title='astro-better post'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-377385375667586548</id><published>2009-10-18T18:51:00.000-07:00</published><updated>2009-10-21T06:51:38.418-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>#6 on Astro-ph today</title><content type='html'>&lt;a href="http://arxiv.org/abs/0910.2990"&gt;IRAS 05358 on astro-ph&lt;/a&gt;.  Check out &lt;a href="http://casa.colorado.edu/~ginsbura/iras05358.htm"&gt; my page on the region &lt;/a&gt; too.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-377385375667586548?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/377385375667586548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=377385375667586548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/377385375667586548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/377385375667586548'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/6-on-astro-ph-today.html' title='#6 on Astro-ph today'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3655256815900915092</id><published>2009-10-18T15:21:00.000-07:00</published><updated>2009-10-18T15:23:31.187-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='beer'/><category scheme='http://www.blogger.com/atom/ns#' term='beer tasting'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><title type='text'>This week at the Sun</title><content type='html'>Wednesday, Thursday, Saturday, Sunday @ The Southern Sun: Delicious.  The Holler's Haze Smoked Porter is new on tap, and it's delicious.  Very smooth, the smoke is pretty subtle (i.e. not overpowering the way most porters are), and it's 6.4%.  &lt;br /&gt;&lt;br /&gt;Cleveland Brown is back on tap too.  It's not as good as I remember, but it will probably be better on nitro.&lt;br /&gt;&lt;br /&gt;Still no word on whether the Carne Asada burrito will return.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3655256815900915092?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3655256815900915092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3655256815900915092' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3655256815900915092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3655256815900915092'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/this-week-at-sun.html' title='This week at the Sun'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2074469139059504824</id><published>2009-10-16T09:26:00.000-07:00</published><updated>2009-10-16T09:32:47.964-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>First paper accepted</title><content type='html'>&lt;a href="http://casa.colorado.edu/~ginsbura/iras05358.htm"&gt; My Comps II paper on IRAS 05358+3543&lt;/a&gt; was accepted by ApJ on Wednesday.  It will show up on arxiv in a few days and I'll post the link then.  Unfortunately, there were significant problems rendering the paper, so I recommend downloading my version.&lt;br /&gt;&lt;br /&gt;Also, working on the HISA KDA... &lt;a href="http://eta.colorado.edu/cutouts/"&gt; I have a nice section of cutouts &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2074469139059504824?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2074469139059504824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2074469139059504824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2074469139059504824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2074469139059504824'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/first-paper-accepted.html' title='First paper accepted'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1909774056111405586</id><published>2009-10-14T09:22:00.000-07:00</published><updated>2009-10-14T09:23:48.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>Galaxy Map</title><content type='html'>If you're ever interested in seeing a face-on view of the Milky Way, check out the &lt;a href="http://www.spitzer.caltech.edu/Media/releases/ssc2008-10/index.shtml"&gt;Spitzer press release&lt;/a&gt;.  This link is very surprisingly hard to find on google.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1909774056111405586?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1909774056111405586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1909774056111405586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1909774056111405586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1909774056111405586'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/10/galaxy-map.html' title='Galaxy Map'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7101989876851733604</id><published>2009-08-26T10:40:00.000-07:00</published><updated>2009-08-26T10:44:44.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>cython vs f2py</title><content type='html'>I had a go at optimizing some code this past week, and ended up learning to use both cython and f2py.  &lt;br /&gt;&lt;br /&gt;f2py is much easier to use.  If you want to write a function in fortran and use it in python, all you do is write the code and add specifications using comments in the fortran code.&lt;br /&gt;&lt;br /&gt;cython is more natural to code.  The code style is C/fortran-like: think in terms of loops instead of arrays.  The syntax is python-like, which makes coding somewhat clearer and simpler.&lt;br /&gt;&lt;br /&gt;For my code, I found that cython was ~10% slower than fortran.  &lt;br /&gt;&lt;br /&gt;Check out the plfits in:&lt;br /&gt;http://code.google.com/p/agpy/source/browse/#svn/trunk/&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7101989876851733604?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7101989876851733604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7101989876851733604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7101989876851733604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7101989876851733604'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/cython-vs-f2py.html' title='cython vs f2py'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7964792071631622399</id><published>2009-08-17T07:45:00.000-07:00</published><updated>2009-08-17T07:52:15.900-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo'/><title type='text'>How to make a pretty image</title><content type='html'>The most difficult requirement to satisfy is WCS matching.  Each image has to be in exactly the same pixel space in order to overlay them successfully in an image program.  The process is generally to use Montage's mProject to project the images into the same plane, then mAdd with a blank map of a given size so that the dimensions in pixels are identical.&lt;br /&gt;&lt;br /&gt;Once that's done, I load the images into GIMP.  However, GIMP reads .fits files as 256 bit data - which is essentially useless because most (interesting) images have a dynamical range &gt;~1000.  So I usually make images emphasizing the faint emission in log scale with the high and low ends cut off (I use DS9 to determine high/low).  I make a second copy showing the details of the very bright regions, again in logscale but it ends up being a different log scale - essentially, my transfer function becomes a broken power law.  &lt;br /&gt;&lt;br /&gt;The tricks in GIMP are numerous, but primarily two:&lt;br /&gt;1. Rotate the color table ~60 degrees&lt;br /&gt;2. Use images as "Layer Masks" (aka alpha layers) on a solid color background&lt;br /&gt;&lt;br /&gt;There's also the nice trick when using radio data of using optical or some other wavelength to provide the high-resolution details, while the radio emission provides the intensity.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7964792071631622399?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7964792071631622399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7964792071631622399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7964792071631622399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7964792071631622399'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/how-to-make-pretty-image.html' title='How to make a pretty image'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2138195979003632576</id><published>2009-08-15T13:46:00.001-07:00</published><updated>2009-08-15T16:11:54.595-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><title type='text'>FITS manipuation with imagemagick, gimp, etc.</title><content type='html'>It is possible to convert .fits files to .png, .jpg, etc:&lt;br /&gt;&lt;code&gt; convert -normalize a.fits a.png &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To get things to come out nicely, you have to do the scaling essentially by hand in python/idl/iraf.  DS9 is only useful for finding out what scaling you want to use; past that it's pretty much not useable.&lt;br /&gt;&lt;br /&gt;To make colors look nice in the GIMP, use solid background layers with your image as the alpha mask.  Then put your image in with itself as an alpha mask so you can easily control the whiteness (saturation) of the color you've selected.&lt;br /&gt;&lt;br /&gt;I'll be blogging about this more as I prep my next entry for the NRAO photo contest.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2138195979003632576?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2138195979003632576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2138195979003632576' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2138195979003632576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2138195979003632576'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/fits-manipuation-with-imagemagick-gimp.html' title='FITS manipuation with imagemagick, gimp, etc.'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8269733447199891375</id><published>2009-08-14T08:21:00.001-07:00</published><updated>2009-08-14T08:21:43.400-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>Acquiring DSS images</title><content type='html'>This is the way to get DSS images:&lt;br /&gt;&lt;a href="http://archive.eso.org/cms/tools-documentation/the-eso-st-ecf-digitized-sky-survey-application"&gt;ESO's batch downloader&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8269733447199891375?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8269733447199891375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8269733447199891375' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8269733447199891375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8269733447199891375'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/acquiring-dss-images.html' title='Acquiring DSS images'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7669325181085678919</id><published>2009-08-13T08:25:00.001-07:00</published><updated>2009-08-13T08:25:54.718-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><title type='text'>login shell</title><content type='html'>to change your default login shell, use &lt;code&gt;chsh&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7669325181085678919?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7669325181085678919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7669325181085678919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7669325181085678919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7669325181085678919'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/login-shell.html' title='login shell'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3700180496716785245</id><published>2009-08-12T08:49:00.001-07:00</published><updated>2009-08-24T07:02:48.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Quicksilver sounds</title><content type='html'>To switch sound source from the command line:&lt;br /&gt;&lt;a href="http://code.google.com/p/switchaudio-osx/"&gt;switchaudio&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Use this to make scripts such as:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;/Users/adam/humor/SwitchAudioSource -s "Built-in Line Output"&lt;br /&gt;afplay /Users/adam/humor/losinghorn.wav&lt;br /&gt;/Users/adam/humor/SwitchAudioSource -s "Built-in Output"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then make triggers in Quicksilver by:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; Go to trigger pane, make new hotkey trigger&lt;br /&gt;&lt;li&gt; press "." to allow you to type a command&lt;br /&gt;&lt;li&gt; make sure the action is "Run"&lt;br /&gt;&lt;li&gt; hook up a hotkey&lt;br /&gt;&lt;li&gt; if it doesn't work, just try again.  Persist through crashes, they happen often.&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Follow-up: You can also control the volume!&lt;br /&gt;http://discussions.apple.com/thread.jspa?threadID=585781&lt;br /&gt;&lt;code&gt; osascript -e 'set volume output volume 100'&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3700180496716785245?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3700180496716785245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3700180496716785245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3700180496716785245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3700180496716785245'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/08/quicksilver-sounds.html' title='Quicksilver sounds'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8274355858906236360</id><published>2009-07-25T22:51:00.000-07:00</published><updated>2009-07-25T22:52:30.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movie review'/><title type='text'>Movie Review: Public Enemies</title><content type='html'>Boring.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8274355858906236360?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8274355858906236360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8274355858906236360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8274355858906236360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8274355858906236360'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/07/movie-review-public-enemies.html' title='Movie Review: Public Enemies'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7719990179198295023</id><published>2009-07-12T16:37:00.000-07:00</published><updated>2009-07-12T16:43:46.116-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='beer tasting'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>Year in review</title><content type='html'>It's been just over a year since I started this blog.  I posted a LOT more than I thought I would.  Also, I apparently dropped the tradition of reviewing beers.  So I'll start by reviewing some beers!&lt;br /&gt;&lt;br /&gt;Mountain Sun Hummingbird - a strong honey-ale (meade-beer?) brewed with orange blossom honey.  Slightly darker than a typical Belgian Golden but similar in style.  The beer is mildly sweet but very drinkable.  Hmm... there are flavors I should mention but they escape me.&lt;br /&gt;&lt;br /&gt;Mountain Sun/Avery Van Diemens - brewed with Tasmanian Pepper Berry, this is a very curious, semi-dark beer.  When I first sampled it, I tasted a little bit of pepper kick at the end, but couldn't really identify any other flavors.  Yesterday I sampled it next to a burrito with some somewhat spicy salsa.  Somehow, since my mouth was already sensitized to spiciness, the flavor I got was root beer (sassafras?).  It was... odd.  Pretty good, but I didn't end up purchasing a glass.&lt;br /&gt;&lt;br /&gt;Moving on to code.  I don't know why I haven't mentioned this, but with my discovery of svn, I started uploading my code to the webternets: &lt;a href="http://code.google.com/p/agpy/"&gt;agpy&lt;/a&gt; is my Google Code page and includes a number of useful python codes, especially &lt;code&gt;readcol&lt;/code&gt; and &lt;code&gt;gaussfitter&lt;/code&gt;, which I have tested and used extensively since writing them.  Python is still a long way from a cohesive astrolib code base, but with individual contributions, the STSCI development group, and APLpy underway, we're getting closer.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7719990179198295023?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7719990179198295023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7719990179198295023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7719990179198295023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7719990179198295023'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/07/year-in-review.html' title='Year in review'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6437115208790277428</id><published>2009-07-08T08:11:00.001-07:00</published><updated>2009-07-08T08:14:58.224-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>SUCCESS!  64 bit python with 64 bit tcl/tk!!!</title><content type='html'>After a long, tedious process (see previous posts), I got 64 bit python, 64 bit tcl/tk, and 64 bit tkinter all to work!  I can now use the TkAgg backend in matplotlib!&lt;br /&gt;&lt;br /&gt;Python 64 bit on Mac OS X: &lt;a href="http://solo.colorado.edu/~skillman/www/Code_Blog/Entries/2009/6/24_64-bit_Python_on_os_x.html"&gt; Sam Skillman's post &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tcl/Tk 64 bit: &lt;a href="http://www.nabble.com/Error-compiling-tk-8.5.7-on-Mac-OS-X-10.5-td23790967.html"&gt; a post on the tcl/tk forums &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tkinter 64 bit: &lt;a href="http://bugs.python.org/issue4017"&gt;python bug report 4017 (last two posts give the solution)&lt;/a&gt; and &lt;a href="http://bugs.python.org/issue6441"&gt;my posted solution&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6437115208790277428?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6437115208790277428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6437115208790277428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6437115208790277428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6437115208790277428'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/07/success-64-bit-python-with-64-bit-tcltk.html' title='SUCCESS!  64 bit python with 64 bit tcl/tk!!!'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-9071794657767492119</id><published>2009-07-05T16:52:00.000-07:00</published><updated>2009-07-12T16:20:35.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Failure to compile 64 bit gtk on mac os</title><content type='html'>Attempted to install gtk+-2.17.2 on my mac.  Had to install:&lt;br /&gt;glib-2.21.2&lt;br /&gt;which would not let me compile with multiple architectures, and &lt;br /&gt;pkgconfig-0.9.0, &lt;br /&gt;which won't configure because:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;configure: configuring in glib-1.2.8&lt;br /&gt;configure: running /bin/sh './configure' --prefix=/usr/local  CC= CFLAGS= LDFLAGS= --cache-file=/dev/null --srcdir=.&lt;br /&gt;configure: warning: CC=: invalid host type&lt;br /&gt;configure: warning: CFLAGS=: invalid host type&lt;br /&gt;configure: error: can only configure for one host and one target at a time&lt;br /&gt;configure: error: /bin/sh './configure' failed for glib-1.2.8&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;which is bs because I don't have any compiler flags set.&lt;br /&gt;&lt;br /&gt;So, gtk+ seems hopeless.&lt;br /&gt;&lt;br /&gt;UPDATE: 0.9.0 is not the latest version, 0.23.0 is.  Dumb version numbering.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GTK is absurd to install.  You need:&lt;br /&gt;pkg-config&lt;br /&gt;glib&lt;br /&gt;cairo&lt;br /&gt;  pixman&lt;br /&gt;pango (MUST be installed AFTER cairo)&lt;br /&gt;&lt;a href="http://ftp.gnome.org/pub/gnome/sources/atk/"&gt;atk&lt;/a&gt;&lt;br /&gt;&lt;a href="ftp://ftp.remotesensing.org/pub/libtiff/"&gt;libtiff&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ijg.org/"&gt;libjpg&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.openjpeg.org/index.php"&gt;jpeg2000&lt;/a&gt; - but I just passed a flag to not do this because it didn't install right.  --without-libjasper&lt;br /&gt;&lt;a href="http://fontconfig.org/wiki/"&gt;fontconfig&lt;/a&gt; I mean, really?  at this point it's just ridiculous....&lt;br /&gt;&lt;br /&gt;and finally, it died with this:&lt;br /&gt;checking Pango flags... configure: error:&lt;br /&gt;*** Pango not found. Pango built with Cairo support is required&lt;br /&gt;*** to build GTK+. See http://www.pango.org for Pango information.&lt;br /&gt;&lt;br /&gt;which meant that I had to reinstall Pango because I had installed it before Cairo.&lt;br /&gt;&lt;br /&gt;I believe this is where the term &lt;a href="http://en.wikipedia.org/wiki/Dependency_hell"&gt;dependency hell&lt;/a&gt; comes from.&lt;br /&gt;&lt;br /&gt;Also, I don't think any of these are x86-64 compatible.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then I'm STILL not done.&lt;br /&gt;&lt;br /&gt;PyGTK dies with an import error on dsextras, which a painful google search traces to pygobject.  pygobject makes and installs fine.... but then I find out it installed to /usr/local/lib/python2.6/site-packages/gtk-2.0/, which is obviously not on my python path since I installed a framework.  &lt;br /&gt;&lt;br /&gt;So:&lt;br /&gt;./configure --prefix=/Library/Frameworks/Python.framework/Versions/2.6/&lt;br /&gt;in both pygobject and pygtk.&lt;br /&gt;&lt;br /&gt;Oh, guess what?  Need pycairo too.  What happens there?  What you'd guess:&lt;br /&gt;ld warning: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/libcairo.dylib, file is not of required architecture&lt;br /&gt;&lt;br /&gt;so when I configure pygtk:&lt;br /&gt;&lt;br /&gt;The following modules will be built:&lt;br /&gt;&lt;br /&gt;atk&lt;br /&gt;pango&lt;br /&gt;&lt;br /&gt;The following modules will NOT be built:&lt;br /&gt;&lt;br /&gt;pangocairo&lt;br /&gt;gtk&lt;br /&gt;gtk.glade&lt;br /&gt;gtk.unixprint&lt;br /&gt;&lt;br /&gt;Damn.  That blows.&lt;br /&gt;&lt;br /&gt;python-64 -c "import gtk"&lt;br /&gt;ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so, 2): no suitable image found.  Did find:&lt;br /&gt;        /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: mach-o, but wrong architecture&lt;br /&gt;&lt;br /&gt;FAIL.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-9071794657767492119?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/9071794657767492119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=9071794657767492119' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9071794657767492119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9071794657767492119'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/07/blog-post.html' title='Failure to compile 64 bit gtk on mac os'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3603215459755727918</id><published>2009-07-02T17:43:00.000-07:00</published><updated>2009-07-08T08:24:56.405-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Installing 64 bit tcl/tk on Mac OS X</title><content type='html'>Everything is described in this post:&lt;br /&gt;http://www.nabble.com/Error-compiling-tk-8.5.7-on-Mac-OS-X-10.5-td23790967.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But here's a script too:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;curl -O 'http://osdn.dl.sourceforge.net/sourceforge/tcl/t{cl,k}8.5.7-src.tar.gz'&lt;br /&gt;for f in t*8.5.7*.gz; do tar zxf $f; done &lt;br /&gt;cd tcl8.5.7/unix/&lt;br /&gt;./configure --enable-framework --enable-64-bit&lt;br /&gt;cd tk8.5.7/unix/&lt;br /&gt;./configure --enable-framework --enable-64-bit&lt;br /&gt;make -j 4 -C tcl8.5.7/unix &lt;br /&gt;make -j 4 -C tk8.5.7/unix&lt;br /&gt;sudo make install -C tcl8.5.7/unix &lt;br /&gt;sudo make install -C tk8.5.7/unix &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Concerns:&lt;br /&gt;-might be necessary to do this in the macosx directory for some reason, though Aqua doesn't support 64 bits&lt;br /&gt;-have to recompile python to get _tkinter to work (see &lt;a href="http://buffalothedestroyer.blogspot.com/2009/07/success-64-bit-python-with-64-bit-tcltk.html"&gt;a later post&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3603215459755727918?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3603215459755727918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3603215459755727918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3603215459755727918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3603215459755727918'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/07/installing-64-bit-tcltk-on-mac-os-x.html' title='Installing 64 bit tcl/tk on Mac OS X'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6165273129286968795</id><published>2009-06-29T08:47:00.000-07:00</published><updated>2009-06-29T08:49:42.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><title type='text'>Make PDFs open with the thumbnails window open</title><content type='html'>Neat trick I picked up from here:&lt;br /&gt;http://www.ghostscript.com/~ghostgum/pdftips.htm&lt;br /&gt;&lt;br /&gt;Add this code:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  \special{! /pdfmark &lt;br /&gt;              [/View [/XYZ null null 1]  % unspecified x and y offset, 100% zoom&lt;br /&gt;               /Page 1&lt;br /&gt;               /PageMode /UseThumbs % /UseNone /UserOutlines /UseThumbs /FullScreen&lt;br /&gt;              /DOCVIEW pdfmark &lt;br /&gt;              }&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;to a LaTeX document (probably near the top) and when you ps2pdf it, it will open the PDF with the thumbnail bar open.  This is very useful for proofreading after you latex a file.  Of course, xdvi also works well for this, but xdvi is VERY unstable on the Mac.  At least adobe, being a native Mac program, doesn't crash as often.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6165273129286968795?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6165273129286968795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6165273129286968795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6165273129286968795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6165273129286968795'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/06/make-pdfs-open-with-thumbnails-window.html' title='Make PDFs open with the thumbnails window open'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6004424068638360354</id><published>2009-06-22T16:31:00.001-07:00</published><updated>2009-06-22T16:31:33.132-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgps'/><title type='text'>BGPS public release</title><content type='html'>&lt;a href="http://irsa.ipac.caltech.edu/"&gt;http://irsa.ipac.caltech.edu/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6004424068638360354?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6004424068638360354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6004424068638360354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6004424068638360354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6004424068638360354'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/06/bgps-public-release.html' title='BGPS public release'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5702612839250055965</id><published>2009-06-15T16:49:00.001-07:00</published><updated>2009-07-08T08:25:58.052-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='art'/><title type='text'>Art mimicing reality</title><content type='html'>An artist who likes painting astronomical objects:&lt;br /&gt;&lt;a href="http://web.me.com/mariannebeacham/Manifestations/Gallery_I.html"&gt;Marianne Beacham Gallery&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5702612839250055965?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5702612839250055965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5702612839250055965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5702612839250055965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5702612839250055965'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/06/art-mimicing-reality.html' title='Art mimicing reality'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2840854389728555781</id><published>2009-06-14T18:48:00.000-07:00</published><updated>2009-06-14T20:00:54.123-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grad school'/><title type='text'>Comps 2 reflections</title><content type='html'>Comps 2 included some successes and some failures.  &lt;br /&gt;&lt;br /&gt;The most successful part of my Comps preparation was the Monday talk.  The previous talk on Tuesday was somewhat helpful in terms of realizing that I needed larger figure axes, but otherwise provided no useful feedback.  The Monday talk allowed me to realize what needed to be done to make my talk accessible to a larger audience.&lt;br /&gt;&lt;br /&gt;At the defense, I ended up going only ~40 minutes despite having gone far over time in the Monday version and spending ~5 minutes answering questions from Don and Mike.  I think that was a good thing; I didn't need to say anything more even though there was an enormous amount of additional material I could have covered.&lt;br /&gt;&lt;br /&gt;The main change I made from Monday to Friday was reorganizing such that I discussed the largest scales first and zoomed in, and I spent much more time discussing the larger context of my work.  Unfortunately, I also spent most of the week before the presentation determining the larger context and reading papers.  Ideally, I would have done that before handing in the paper.  &lt;br /&gt;&lt;br /&gt;The closed door Q&amp;A section went OK but not great.  There were a few important bits of information related to the IMF that I didn't know off the top of my head - e.g. the ratio of total # of stars to the # of B stars.  I got the lowest mass star (.07) confused with the most common star mass (.3).  I wasn't particularly able to integrated the IMF on the board either.  I didn't remember the Jeans mass-temperature and mass-density relationships but was able to derive them quickly enough.&lt;br /&gt;&lt;br /&gt;Probably the biggest problem was dealing with a question about the partition function - specifically how did the partition function come into play in the column density equation.  I didn't come up with the right answer at all, and in particular quoted the wrong distribution.  However, I think a big part of what they expected to hear was a dependence on temperature AND degeneracy, and I never explicitly mentioned degeneracy.  It turned out that the equation I had quoted in both the paper and the talk was correct, but I couldn't come anywhere close to proving that on the spot.&lt;br /&gt;&lt;br /&gt;My expected result is therefore a low pass, though it was not made explicit.  That's rather unfortunate as it's possible that another month of preparation could have gotten me the high pass, but at the same time, it's well worth having the project done.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2840854389728555781?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2840854389728555781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2840854389728555781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2840854389728555781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2840854389728555781'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/06/comps-2-reflections.html' title='Comps 2 reflections'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1100970469775298227</id><published>2009-06-02T09:52:00.000-07:00</published><updated>2009-06-02T09:54:47.684-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>Most important astronomical publications</title><content type='html'>I'm interested to hear input on this.  Some I know of:&lt;br /&gt;Cardelli, Clayton, Mathis 1989 - determined interstellar extinction law&lt;br /&gt;Kurucz 1993 - possibly a book?  Stellar atmosphere calculations&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1100970469775298227?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1100970469775298227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1100970469775298227' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1100970469775298227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1100970469775298227'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/06/most-important-astronomical.html' title='Most important astronomical publications'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2245409669123126193</id><published>2009-05-26T06:49:00.000-07:00</published><updated>2009-07-12T16:19:33.458-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomers'/><title type='text'>public perception of astronomers</title><content type='html'>&lt;a href="http://arxiv.org/abs/0905.3956"&gt;Public Perception of Astronomers&lt;/a&gt;  &lt;br /&gt;&lt;br /&gt;While the article has some.... almost-interesting points, I don't agree with the thesis or the suggested methods.  I don't really have a problem with the stereotype of astronomers being the old, white, socially inept guy - because for the most part that's a fair assessment.  We're scientists, and at least for me and my peers, that's directly correlated with not fitting in to some social circles.  &lt;br /&gt;&lt;br /&gt;I agree that we should become better communicators in general, but it's silly to think that embracing new technologies (i.e. social networking tools) is going to change the public image of astronomers at all.  Personally I hope to see a backlash against social networking and blogs sometime in the next 5 years, but who knows.... after all, I'm writing a blog post.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2245409669123126193?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2245409669123126193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2245409669123126193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2245409669123126193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2245409669123126193'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/05/boring-article.html' title='public perception of astronomers'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7024779651059585027</id><published>2009-05-25T20:22:00.000-07:00</published><updated>2009-06-02T07:46:02.753-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comic'/><title type='text'>some comics</title><content type='html'>http://ableandbaker.net/index.php?comic=198&lt;br /&gt;http://ableandbaker.net/index.php?comic=222&lt;br /&gt;http://ableandbaker.net/index.php?comic=357&lt;br /&gt;http://ableandbaker.net/index.php?comic=396&lt;br /&gt;http://ableandbaker.net/index.php?comic=471&lt;br /&gt;545 "Put on your snuggle trunks and jump in the cuddle pool."&lt;br /&gt;http://ableandbaker.net/index.php?comic=905&lt;br /&gt;http://ableandbaker.net/index.php?comic=922&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7024779651059585027?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7024779651059585027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7024779651059585027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7024779651059585027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7024779651059585027'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/05/some-comics.html' title='some comics'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7821654394655294828</id><published>2009-05-07T10:07:00.001-07:00</published><updated>2009-05-07T10:07:48.958-07:00</updated><title type='text'></title><content type='html'>Comedic timing has been fixed using quicksilver's command line execution abilities.&lt;br /&gt;&lt;br /&gt;Also been playing with dashboard... Safari's new dashboard feature is pretty cool, but also incompetent.  It refreshes every time you reload the dashboard, which is inefficient and makes saving settings impossible.  Also, the gmail compose feature fails miserably.  So, dashboard must die again.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7821654394655294828?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7821654394655294828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7821654394655294828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7821654394655294828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7821654394655294828'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/05/comedic-timing-has-been-fixed-using.html' title=''/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3054352103692334920</id><published>2009-05-06T08:38:00.000-07:00</published><updated>2009-05-06T08:39:37.475-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Quicksilver and Awesome</title><content type='html'>Set up f17-19 today to play amusing sounds.  Also, recalled that I use ScreenSaverEngine to lock my screen with a shortcut key.&lt;br /&gt;&lt;br /&gt;Quicksilver triggers are the way to do it.  Mac is stupid w/o quicksilver.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3054352103692334920?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3054352103692334920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3054352103692334920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3054352103692334920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3054352103692334920'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/05/quicksilver-and-awesome.html' title='Quicksilver and Awesome'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-509782855953223209</id><published>2009-04-21T10:41:00.000-07:00</published><updated>2009-04-21T18:15:11.192-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Python 64 bit!</title><content type='html'>I got python 64 bit to compile, but it required a number of tricky steps.&lt;br /&gt;&lt;br /&gt;First, this guy has the instructions I followed:&lt;br /&gt;&lt;a href="http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/"&gt;captnswing&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;However, it didn't work entirely as advertised.  I ran the configure as advertised:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;./configure --enable-framework=/Library/Frameworks \&lt;br /&gt;--enable-universalsdk=/ \&lt;br /&gt;MACOSX_DEPLOYMENT_TARGET=10.5 \&lt;br /&gt;--with-universal-archs=all \&lt;br /&gt;--with-readline-dir=/usr/local&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;then the make install, but /usr/local/bin/python pointed to the wrong place, so I replaced the symbolic link in my python path with the correct one:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo rm /Library/Frameworks/Python.framework/Versions/2.6/bin/python &lt;br /&gt;sudo ln -s /Library/Frameworks/Python.framework/Versions/2.6/bin/python-64 /Library/Frameworks/Python.framework/Versions/2.6/bin/python&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now python is 64 bit:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;eta ~$ python -c "import sys; print sys.maxint"&lt;br /&gt;9223372036854775807&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I haven't checked whether it works yet though...&lt;br /&gt;&lt;br /&gt;Update:  Had to reinstall with gnu readline installed.  Also have to install PyQt4 and might have to recompile numpy...&lt;br /&gt;&lt;br /&gt;numpy won't compile with python 2.6.2:&lt;br /&gt;&lt;code&gt;C compiler: gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes&lt;br /&gt;&lt;br /&gt;compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.5-universal-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c'&lt;br /&gt;gcc: build/src.macosx-10.5-universal-2.6/numpy/core/src/_sortmodule.c&lt;br /&gt;In file included from numpy/core/include/numpy/ndarrayobject.h:26,&lt;br /&gt;                 from numpy/core/include/numpy/noprefix.h:7,&lt;br /&gt;                 from numpy/core/src/_sortmodule.c.src:29:&lt;br /&gt;numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown CPU: can not set endianness&lt;br /&gt;lipo: can't figure out the architecture type of: /var/folders/ni/ni+DtdqFGMeSMH13AvkNkU+++TI/-Tmp-//cceaWIvZ.out&lt;br /&gt;In file included from numpy/core/include/numpy/ndarrayobject.h:26,&lt;br /&gt;                 from numpy/core/include/numpy/noprefix.h:7,&lt;br /&gt;                 from numpy/core/src/_sortmodule.c.src:29:&lt;br /&gt;numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown CPU: can not set endianness&lt;br /&gt;lipo: can't figure out the architecture type of: /var/folders/ni/ni+DtdqFGMeSMH13AvkNkU+++TI/-Tmp-//cceaWIvZ.out&lt;br /&gt;error: Command "gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Inumpy/core/include -Ibuild/src.macosx-10.5-universal-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c build/src.macosx-10.5-universal-2.6/numpy/core/src/_sortmodule.c -o build/temp.macosx-10.5-universal-2.6/build/src.macosx-10.5-universal-2.6/numpy/core/src/_sortmodule.o" failed with exit status 1&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;That sucks.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-509782855953223209?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/509782855953223209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=509782855953223209' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/509782855953223209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/509782855953223209'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/python-64-bit.html' title='Python 64 bit!'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-9119162263723020851</id><published>2009-04-20T07:52:00.000-07:00</published><updated>2009-04-20T07:55:47.434-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Hosting on my mac</title><content type='html'>I'm hosting my website off my mac; it should be accessible to the outside world now: &lt;a href="http://eta.colorado.edu/"&gt;eta.colorado.edu&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;A few things went into this....&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; Don't install the fink version.  The two versions clash and depending on how you access your computer you could end up looking at entirely different directories (e.g. localhost and eta.colorado.edu referred to different sites for a while)&lt;br /&gt;&lt;li&gt; The configuration file is /private/etc/apache2/httpd.conf&lt;br /&gt;&lt;li&gt; I needed to change  DirectoryIndex to index.htm (from index.html)&lt;br /&gt;&lt;li&gt; uncommmented "LoadModule php5_module        libexec/apache2/libphp5.so"&lt;br /&gt;&lt;li&gt; had to allow override so that .htaccess files would work.&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-9119162263723020851?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/9119162263723020851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=9119162263723020851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9119162263723020851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/9119162263723020851'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/hosting-on-my-mac.html' title='Hosting on my mac'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2549587144133104208</id><published>2009-04-15T07:57:00.000-07:00</published><updated>2009-04-15T07:58:39.517-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Mac stuff cont'd</title><content type='html'>Trying to get Apache server to run, and it's just a pain.&lt;br /&gt;&lt;br /&gt;I frequently forget how to update the locate database because it's different on macs.  Marcos' Mac Singularity &lt;a href="http://macsingularity.org/2004/12/17/the-locate-database/"&gt; has the instructions &lt;/a&gt;.  &lt;br /&gt;&lt;br /&gt;In short:&lt;br /&gt;&lt;code&gt;sudo /usr/libexec/locate.updatedb&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2549587144133104208?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2549587144133104208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2549587144133104208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2549587144133104208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2549587144133104208'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/mac-stuff-contd.html' title='Mac stuff cont&apos;d'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2308048627588516560</id><published>2009-04-14T09:43:00.001-07:00</published><updated>2009-04-14T09:45:12.717-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Google has failed me</title><content type='html'>So, either no one on the internet has successfully installed 64-bit python on a mac (which I find nothing short of impossible) or google has totally failed.  None of the hits for any combination of 64 bit, python, mac, etc. has shown a useful result.  Wow.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2308048627588516560?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2308048627588516560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2308048627588516560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2308048627588516560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2308048627588516560'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/google-has-failed-me.html' title='Google has failed me'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8258886695581662239</id><published>2009-04-06T21:46:00.000-07:00</published><updated>2009-04-06T21:50:42.511-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='me'/><title type='text'>Caffeine</title><content type='html'>Caffeine consumption stopped around mid-October.  I think it was when I got back from observing so October 20 give or take.  Re-started consumption mid-March.  Date is hard to say... I think it was Sunday before Spring Break, but hard to say because I still took it easy until ~last week.&lt;br /&gt;&lt;br /&gt;Conclusions?  I'm probably more tired in the mornings with caffeine than without.  Also, probably perform better @ ulty when I'm not addicted.  However.... not really conclusive.  Just addictive.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8258886695581662239?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8258886695581662239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8258886695581662239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8258886695581662239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8258886695581662239'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/caffeine.html' title='Caffeine'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6517325067909207049</id><published>2009-04-04T17:39:00.001-07:00</published><updated>2009-04-04T18:01:18.677-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='iraf'/><title type='text'>weekend</title><content type='html'>What did I do this weekend?&lt;br /&gt;-upgraded PyRAF from 1.6.1 to 1.7&lt;br /&gt;-switched matplotlib backends from TkAgg to Qt4&lt;br /&gt;-put up a new article on &lt;a href="http://molecularclouds.blogspot.com"&gt;molecularclouds&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So... totally unproductive, but only in an awesome way?&lt;br /&gt;&lt;br /&gt;I tried to switch PyRAF from X11 to Aqua a la &lt;a href="http://astropy.scipy.org/astropy/pyraf/ticket/86"&gt;Ticket 86&lt;/a&gt; on the PyRAF trac site, but it failed with a can't-load error.&lt;br /&gt;&lt;br /&gt;Also, updated &lt;a href="http://casa.colorado.edu/~ginsbura/pyreadcol.htm"&gt;readcol&lt;/a&gt; documentation so that it makes sense.  Sam has used it, Robbie might.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6517325067909207049?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6517325067909207049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6517325067909207049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6517325067909207049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6517325067909207049'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/weekend.html' title='weekend'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6614545614139416857</id><published>2009-04-01T08:31:00.000-07:00</published><updated>2009-04-01T08:48:07.037-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='humor'/><title type='text'>April 1st, 2009</title><content type='html'>No April fools' day would be complete without scientists' contributions:&lt;br /&gt;&lt;br /&gt;http://arxiv.org/abs/0903.5308&lt;br /&gt;http://arxiv.org/abs/0903.5321&lt;br /&gt;http://arxiv.org/abs/0903.5377&lt;br /&gt;&lt;br /&gt;although it's not obvious whether .5308 is actually intended to be humorous&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6614545614139416857?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6614545614139416857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6614545614139416857' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6614545614139416857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6614545614139416857'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/04/april-1st-2009.html' title='April 1st, 2009'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1906321398309871807</id><published>2009-02-25T13:41:00.001-08:00</published><updated>2009-02-25T13:43:15.642-08:00</updated><title type='text'>Astronomy gets some recognition</title><content type='html'>First off, &lt;a href="http://www.cfa.harvard.edu/%7Ereid/"&gt;this guy&lt;/a&gt; does some amazing work, like &lt;a href="http://arxiv.org/abs/0902.3913"&gt;measuring the galactic rotation curve&lt;/a&gt;.  He got recognized by the &lt;a href="http://www.colbertnation.com/the-colbert-report-videos/215963/january-14-2009/little-victories---america-s-galaxy-is-big"&gt;Colbert Report&lt;/a&gt;.  Sweet.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1906321398309871807?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1906321398309871807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1906321398309871807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1906321398309871807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1906321398309871807'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/02/astronomy-gets-some-recognition.html' title='Astronomy gets some recognition'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2149807824183884202</id><published>2009-02-18T17:38:00.001-08:00</published><updated>2009-02-18T17:46:49.011-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo'/><title type='text'>My works featured...</title><content type='html'>Curiously, one of my wikimedia commons images has been included in this article: &lt;a href="http://www.scienceinschool.org/2008/issue10/tamaradavis"&gt;http://www.scienceinschool.org/2008/issue10/tamaradavis&lt;/a&gt;, though the image has little to do with the subject in question.  Noodle (can't remember her real name... that's sad on my part) is in the picture.  Neat!&lt;br /&gt;&lt;br /&gt;This might not be something to be proud of:&lt;br /&gt;&lt;a href="http://www.denverptc.org/denver.html"&gt;http://www.denverptc.org/denver.html&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;GC was featured in:&lt;br /&gt;&lt;a href="http://www.strudel.org.uk/blog/astro/000855.shtml"&gt;http://www.strudel.org.uk/blog/astro/000855.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2149807824183884202?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2149807824183884202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2149807824183884202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2149807824183884202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2149807824183884202'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/02/my-works-featured.html' title='My works featured...'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8672943806938770239</id><published>2009-01-22T18:20:00.000-08:00</published><updated>2009-01-22T18:21:38.783-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='postscript'/><title type='text'>ps2pdf keep resolution, crop to bounding box</title><content type='html'>&lt;code&gt;  ps2pdf -dEPSCrop -dAutoRotatePages=/None -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true l007_displaycrop.ps &lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://groups.google.com/group/comp.lang.postscript/browse_thread/thread/c7570a90f8b96848?ie=UTF-8&amp;q=ps2pdf+image+quality#62fe763939a66789"&gt;this post&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8672943806938770239?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8672943806938770239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8672943806938770239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8672943806938770239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8672943806938770239'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/01/ps2pdf-keep-resolution-crop-to-bounding.html' title='ps2pdf keep resolution, crop to bounding box'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4465375388642878806</id><published>2009-01-22T09:26:00.001-08:00</published><updated>2009-01-22T09:27:25.575-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='idl'/><title type='text'>Making a postscript plot of a gigantic fits image</title><content type='html'>&lt;code&gt;&lt;br /&gt;    map = readfits('MOSAIC.fits',hdr)&lt;br /&gt;&lt;br /&gt;    crpix1 = sxpar(hdr,'CRPIX1')&lt;br /&gt;    crpix2 = sxpar(hdr,'CRPIX2')&lt;br /&gt;    crval1 = sxpar(hdr,'CRVAL1')&lt;br /&gt;    crval2 = sxpar(hdr,'CRVAL2')&lt;br /&gt;    cd1_1 = sxpar(hdr,'CD1_1')&lt;br /&gt;    cd2_2 = sxpar(hdr,'CD2_2')&lt;br /&gt;   &lt;br /&gt;    x = lindgen(n_e(map[*,0]))&lt;br /&gt;    y = lindgen(n_e(map[0,*]))&lt;br /&gt;    l = (x-crpix1)*cd1_1+crval1-360&lt;br /&gt;    b = (y-crpix2)*cd2_2+crval2&lt;br /&gt;&lt;br /&gt;    imdisp,map,/axis,xrange=[max(l),min(l)],yrange=[min(b),max(b)],range=[-1,8]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This code makes use of &lt;a href="http://cimss.ssec.wisc.edu/~gumley/idl/imdisp.pro"&gt;imdisp.pro&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4465375388642878806?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4465375388642878806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4465375388642878806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4465375388642878806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4465375388642878806'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/01/making-postscript-plot-of-gigantic-fits.html' title='Making a postscript plot of a gigantic fits image'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-442239814488691155</id><published>2009-01-14T13:05:00.000-08:00</published><updated>2009-01-14T13:10:42.123-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iraf'/><title type='text'>MOSAIC data reduction</title><content type='html'>MOSAIC reduction is very difficult.  &lt;br /&gt;&lt;a href="http://www.noao.edu/noao/noaodeep/ReductionOpt/frames.html"&gt;http://www.noao.edu/noao/noaodeep/ReductionOpt/frames.html&lt;/a&gt; has the official instructions.&lt;br /&gt;&lt;br /&gt;Important things:&lt;br /&gt;Have the latest version of &lt;a href="http://iraf.noao.edu/iraf/ftp/iraf/extern/mscred/"&gt;MSCRED&lt;/a&gt; and &lt;a href="http://iraf.noao.edu/iraf/ftp/iraf/extern/mscdb/"&gt;MSCDB&lt;/a&gt; installed.  Both will give cryptic errors or "cannot open file" errors (because the files don't exist) otherwise.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mscred&lt;br /&gt;setinstrument kpno CCDMosaThin1&lt;br /&gt;msccmatch obj09*.fits coords="!mscgetcat $I $C" search=60 rsearch=1 nfit=30 accept=yes interactive=no fit=no&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-442239814488691155?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/442239814488691155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=442239814488691155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/442239814488691155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/442239814488691155'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/01/mosaic-data-reduction.html' title='MOSAIC data reduction'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2279964262418578590</id><published>2009-01-13T21:06:00.000-08:00</published><updated>2009-01-13T21:07:55.991-08:00</updated><title type='text'>Site visits, comps</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lsgW26mWZnU/SW1zJneiW3I/AAAAAAAAEsA/HITQ84ZANXU/s1600-h/compsvisits.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 257px;" src="http://4.bp.blogspot.com/_lsgW26mWZnU/SW1zJneiW3I/AAAAAAAAEsA/HITQ84ZANXU/s400/compsvisits.jpg" alt="" id="BLOGGER_PHOTO_ID_5291011746283281266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Amusing - visits to my site increased steadily leading up to Jan 9, then crashed precipitously.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2279964262418578590?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2279964262418578590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2279964262418578590' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2279964262418578590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2279964262418578590'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2009/01/site-visits-comps.html' title='Site visits, comps'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_lsgW26mWZnU/SW1zJneiW3I/AAAAAAAAEsA/HITQ84ZANXU/s72-c/compsvisits.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3890654166490384387</id><published>2008-12-27T16:17:00.000-08:00</published><updated>2008-12-27T16:20:18.924-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><title type='text'>LaTeX: replace double quotes with tex quotes</title><content type='html'>People often make the mistake of putting " in place of `` in LaTeX documents. To repair this, the only easy solution is something like:&lt;br /&gt;s/\(\s\)"/\1``/g&lt;br /&gt;in VIM or sed.&lt;br /&gt;&lt;br /&gt;I've seen alternate solutions posted but they're all too complicated.  One recommendation was to switch to XeTeX, which sounds like overkill, and others all stated that a complicated perl script is required.  The latter is technically true, but why isn't such a thing readily available? &lt;br /&gt;&lt;br /&gt;Any other ideas?&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3890654166490384387?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3890654166490384387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3890654166490384387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3890654166490384387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3890654166490384387'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/12/latex-replace-double-quotes-with-tex.html' title='LaTeX: replace double quotes with tex quotes'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8256131040279433913</id><published>2008-12-21T12:33:00.001-08:00</published><updated>2008-12-21T12:34:21.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><title type='text'>Skim: a PDF reader that allows annotations</title><content type='html'>from Sam: &lt;a href="http://skim-app.sourceforge.net/"&gt;http://skim-app.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;neat&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8256131040279433913?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8256131040279433913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8256131040279433913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8256131040279433913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8256131040279433913'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/12/skim-pdf-reader-that-allows-annotations.html' title='Skim: a PDF reader that allows annotations'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6240411671469059431</id><published>2008-12-11T13:10:00.001-08:00</published><updated>2008-12-11T13:10:37.245-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='marketable skills'/><title type='text'>skill set</title><content type='html'>is it a marketable skill that I can bring down almost any computer system I'm given access too entirely unintentionally?&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6240411671469059431?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6240411671469059431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6240411671469059431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6240411671469059431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6240411671469059431'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/12/skill-set.html' title='skill set'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6700220976677663659</id><published>2008-12-05T15:53:00.001-08:00</published><updated>2008-12-05T15:53:50.438-08:00</updated><title type='text'>post rate</title><content type='html'>my post rate is too low I need to up it so that my front page doesn't show the same posts any more&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6700220976677663659?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6700220976677663659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6700220976677663659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6700220976677663659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6700220976677663659'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/12/post-rate.html' title='post rate'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8820197482298874822</id><published>2008-12-03T12:20:00.000-08:00</published><updated>2008-12-03T12:21:21.780-08:00</updated><title type='text'>scary</title><content type='html'>I think this is my worst nightmare: &lt;br /&gt;&lt;a href="http://antwrp.gsfc.nasa.gov/apod/ap081203.html"&gt;http://antwrp.gsfc.nasa.gov/apod/ap081203.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LA.  Not the smiley.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8820197482298874822?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8820197482298874822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8820197482298874822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8820197482298874822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8820197482298874822'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/12/scary.html' title='scary'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7379730571099478257</id><published>2008-11-24T10:50:00.000-08:00</published><updated>2008-11-24T12:13:24.029-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>.inputrc</title><content type='html'>New unix stuff!&lt;br /&gt;&lt;br /&gt;This is, again, stuff I'd searched for forever but never found the right collection of terms.  This is what bash readline is REALLY all about.&lt;br /&gt;&lt;br /&gt;if you make an inputrc file, you can get awesome readline capabilities (similar to ipython).  &lt;a href="http://lifehacker.com/software/command-line/ctrl%252Br-to-search-and-other-terminal-history-tricks-278888.php#c1887277"&gt; This post at lifehacker &lt;/a&gt; showed me how to do it.  &lt;a href="http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlkeyprogs.html"&gt; This site &lt;/a&gt; has a more complete description of how to use readline/inputrc.&lt;br /&gt;&lt;br /&gt;Even better: &lt;a href="http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/"&gt;VI command line editing &lt;/a&gt;.  &lt;br /&gt;&lt;br /&gt;There's also something called &lt;a href="http://stackoverflow.org/wiki/Inputrc_for_bash_history_completion_using_up/down_arrows"&gt; magic space&lt;/a&gt; but I don't know what purpose it serves all the time... it will replace 'magic' characters like !* and !&amp; and !! with whatever command they represent if you hit space immediately after typing them (explained better &lt;a href="http://mike.hostetlerhome.com/2006/05/18/neat-bash-tricks/"&gt;here&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Wow.  Awesome.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7379730571099478257?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7379730571099478257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7379730571099478257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7379730571099478257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7379730571099478257'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/inputrc.html' title='.inputrc'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1528518052861050281</id><published>2008-11-20T17:42:00.000-08:00</published><updated>2010-02-14T18:44:46.761-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='animation'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>MOVIES!</title><content type='html'>Making movies is surprisingly difficult.  No matter what language you use, apparently true movie files can only be made by stringing together images, i.e. there is no native movie-producing feature.   Gnuplot can do some simple animations but to do anything sophisticated you need to start delving into variables, and for that I switch to a real language.&lt;br /&gt;&lt;br /&gt;So, I returned to python.  As usual, it took no more than a few hours of coding and learning to come up with something.  But it bothers me that it took that long: I still think python is most deficient in its failure to create a default column-text reader like 'readcol' in IDL.  I can't complain that much, though: I wrote &lt;a href="http://casa.colorado.edu/~ginsbura/pyreadcol.htm"&gt;my own&lt;/a&gt; in about 5 minutes.&lt;br /&gt;&lt;br /&gt;Anyway, the key is to use the &lt;code&gt;.set_xdata&lt;/code&gt; and &lt;code&gt;.set_ydata&lt;/code&gt; functions of a plot to update a canvas.  I still don't have nearly as high a plotting speed as I'd like, but it works alright if I don't display to screen.  Probably a different backend would be more effective but I don't like to mess with backends.&lt;br /&gt;&lt;br /&gt;I use &lt;code&gt; savefig(filename,dpi=50) &lt;/code&gt; to reduce the image quality so that it's easier for the animator to handle.&lt;br /&gt;&lt;br /&gt;ImageMagick's convert can be used to stitch any kind of image into a movie given that you've installed an mpeg2 encoder (fink gave me &lt;code&gt;mpeg2vidcodec      &lt;/code&gt;).  The command is very simple:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;convert -size 300x300 *.png movie.mpg&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I had to use a smaller image size because a series of 1000x12kb files somehow chomped ~6-8 GB of RAM and swap space.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1528518052861050281?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1528518052861050281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1528518052861050281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1528518052861050281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1528518052861050281'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/movies.html' title='MOVIES!'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6633097913884241133</id><published>2008-11-17T10:54:00.000-08:00</published><updated>2008-11-17T12:18:39.716-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Screen cont'd</title><content type='html'>&lt;A href="http://news.softpedia.com/news/GNU-Screen-Tutorial-44274.shtml"&gt;Guide to screen&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Particularly useful features:&lt;br /&gt;&lt;br /&gt;Scrollback:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ctrl-a [&lt;br /&gt;[scroll keys]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Switch to a numbered screen (doesn't work for me so far):&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ctrl-a [number]&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6633097913884241133?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6633097913884241133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6633097913884241133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6633097913884241133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6633097913884241133'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/screen-contd.html' title='Screen cont&apos;d'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8165049808236188905</id><published>2008-11-16T20:12:00.001-08:00</published><updated>2008-11-16T20:14:43.352-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='teaching'/><category scheme='http://www.blogger.com/atom/ns#' term='ultimate'/><title type='text'>Ultimate today</title><content type='html'>We went 2-1 in the tournament, losing the final in a windy game on universe point, 15-14.  We won the first game 13-5 or 13-6, and the second by a similarly wide margin.  I think I scored 15-20 points on the day and threw an additional few.  2-3 drops and 3-4 throwaways to balance that out.  Pretty good on the whole for what was probably my last ultimate of the season.&lt;br /&gt;&lt;br /&gt;Of course, that made me very exhausted for the review session this evening.  Oh well, I think it worked out.  I need to remember to come up with (and post!) a clear explanation of why you can use that silly little triangle to come up with the translation between angle on the sky and image size.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8165049808236188905?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8165049808236188905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8165049808236188905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8165049808236188905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8165049808236188905'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/ultimate-today.html' title='Ultimate today'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7499961864284102590</id><published>2008-11-13T20:53:00.000-08:00</published><updated>2008-11-13T21:01:44.186-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>BASH discoveries, readline questions</title><content type='html'>1. &lt;code&gt; shopt -p &lt;/code&gt;&lt;br /&gt;Maybe my hostname completion worked and then stopped working because the bash option hostcomplete was not set.  Duh!  Why?  I don't know.  Anyway, &lt;code&gt; shopt -s hostcomplete&lt;/code&gt; solves the problem.&lt;br /&gt;&lt;br /&gt;&lt;code&gt; nocaseglob &lt;/code&gt; is also pretty cool (case insensitive tab completion)&lt;br /&gt;&lt;br /&gt;2. it's really hard to search for readline stuff on google.  Can anyone explain to me how BASH readline works?  I would REALLY like to make bash readline work like ipython, in which you can start typing a command and hit the 'up' key to search through the history for anything beginning with the stuff you've typed up to that point.  But I can't even find documentation for the ipython readline!  Any hints, anyone?&lt;br /&gt;&lt;br /&gt;3. my desktop at work blocks ssh connections.  I can ssh into some computers and then into it, but not directly into it.&lt;br /&gt;&lt;br /&gt;...as usual, I made a list where not-a-list would have sufficed, and I had to add the last thing because a 2-item list is dumb.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7499961864284102590?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7499961864284102590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7499961864284102590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7499961864284102590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7499961864284102590'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/bash-discoveries-readline-questions.html' title='BASH discoveries, readline questions'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6198654188226605875</id><published>2008-11-12T21:28:00.000-08:00</published><updated>2008-11-13T07:12:42.115-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomers'/><title type='text'>Why do astronomers have such a strong presence on the web?</title><content type='html'>I'm not making this a complete post, just a few examples of blogs and websites I'm aware of.  But we do have a strong presence on the web - astronomers have an unusually high google ranking etc.  Is it just because 'we' were here first ('we' excludes me, I'm just jumping on the bandwagon and getting a free ride)?&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;a href="http://www.starstryder.com/"&gt;Pamela Gay&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dustchick.blogspot.com/"&gt;Dr Lisa&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Science writers who write on astronomy:&lt;br /&gt;&lt;a href="http://blogs.discovery.com/space_disco/"&gt;Dave Mosher&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6198654188226605875?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6198654188226605875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6198654188226605875' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6198654188226605875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6198654188226605875'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/why-do-astronomers-have-such-strong.html' title='Why do astronomers have such a strong presence on the web?'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-180526628250479428</id><published>2008-11-05T23:28:00.000-08:00</published><updated>2008-11-05T23:40:18.327-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo'/><category scheme='http://www.blogger.com/atom/ns#' term='nrao'/><title type='text'>Photo Contest</title><content type='html'>&lt;a href="http://www.nrao.edu/index.php/learn/gallery/imagecontest "&gt;http://www.nrao.edu/index.php/learn/gallery/imagecontest&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-180526628250479428?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/180526628250479428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=180526628250479428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/180526628250479428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/180526628250479428'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/11/photo-contest.html' title='Photo Contest'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7969712626596398630</id><published>2008-10-28T22:19:00.000-07:00</published><updated>2008-10-29T09:14:49.647-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Python magic / advanced numpy indexing</title><content type='html'>Yeah, indexing python arrays should really be easy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mentat.za.net/numpy/numpy_advanced_slides/"&gt;Stefan van der Walt's page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;In [85]: bi = (f.bolo_indices[np.newaxis,:] + zeros([7751,1])).astype('int')&lt;br /&gt;&lt;br /&gt;In [86]: whc = (whscan[:,np.newaxis] + zeros([1,107])).astype('int')&lt;br /&gt;&lt;br /&gt;In [87]: array2d[whc,bi] = temp2d&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7969712626596398630?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7969712626596398630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7969712626596398630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7969712626596398630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7969712626596398630'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/python-magic-advanced-numpy-indexing.html' title='Python magic / advanced numpy indexing'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7865185541262641423</id><published>2008-10-28T13:34:00.000-07:00</published><updated>2008-10-28T13:35:48.069-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Python: one-line arrays</title><content type='html'>Ahhh, refreshing:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;      whscan = asarray([arange(scanlen)+i for i in scans_info[:,0]]).ravel()&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Not like IDL, which takes at least 4 lines b/c of the variable declaration.  There's probably a better way to do that too.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7865185541262641423?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7865185541262641423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7865185541262641423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7865185541262641423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7865185541262641423'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/python-one-line-arrays.html' title='Python: one-line arrays'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-518124671483960207</id><published>2008-10-28T06:49:00.000-07:00</published><updated>2008-10-28T07:22:04.113-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Port vs Fink</title><content type='html'>Port failed to install:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;adam-macbook ~$ sudo port install py25-matplotlib&lt;br /&gt;---&gt;  Building py25-hashlib with target build&lt;br /&gt;---&gt;  Staging py25-hashlib into destroot&lt;br /&gt;---&gt;  Installing py25-hashlib 2.5.2_0&lt;br /&gt;---&gt;  Activating py25-hashlib 2.5.2_0&lt;br /&gt;---&gt;  Cleaning py25-hashlib&lt;br /&gt;---&gt;  Fetching py25-zlib&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-zlib&lt;br /&gt;---&gt;  Extracting py25-zlib&lt;br /&gt;---&gt;  Configuring py25-zlib&lt;br /&gt;---&gt;  Building py25-zlib with target build&lt;br /&gt;---&gt;  Staging py25-zlib into destroot&lt;br /&gt;---&gt;  Installing py25-zlib 2.5.2_0&lt;br /&gt;---&gt;  Activating py25-zlib 2.5.2_0&lt;br /&gt;---&gt;  Cleaning py25-zlib&lt;br /&gt;---&gt;  Fetching py25-setuptools&lt;br /&gt;---&gt;  Attempting to fetch setuptools-0.6c8.tar.gz from http://cheeseshop.python.org/packages/source/s/setuptools/&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-setuptools&lt;br /&gt;---&gt;  Extracting py25-setuptools&lt;br /&gt;---&gt;  Applying patches to py25-setuptools&lt;br /&gt;---&gt;  Configuring py25-setuptools&lt;br /&gt;---&gt;  Building py25-setuptools with target build&lt;br /&gt;---&gt;  Staging py25-setuptools into destroot&lt;br /&gt;---&gt;  Installing py25-setuptools 0.6c8_2&lt;br /&gt;---&gt;  Activating py25-setuptools 0.6c8_2&lt;br /&gt;---&gt;  Cleaning py25-setuptools&lt;br /&gt;---&gt;  Fetching py25-tz&lt;br /&gt;---&gt;  Attempting to fetch pytz-2007k.tar.bz2 from http://cheeseshop.python.org/packages/source/p/pytz/&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-tz&lt;br /&gt;---&gt;  Extracting py25-tz&lt;br /&gt;---&gt;  Configuring py25-tz&lt;br /&gt;---&gt;  Building py25-tz with target build&lt;br /&gt;---&gt;  Staging py25-tz into destroot&lt;br /&gt;---&gt;  Installing py25-tz 2007k_0&lt;br /&gt;---&gt;  Activating py25-tz 2007k_0&lt;br /&gt;---&gt;  Cleaning py25-tz&lt;br /&gt;---&gt;  Fetching py25-dateutil&lt;br /&gt;---&gt;  Attempting to fetch python-dateutil-1.4.1.tar.gz from http://labix.org/download/python-dateutil&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-dateutil&lt;br /&gt;---&gt;  Extracting py25-dateutil&lt;br /&gt;---&gt;  Configuring py25-dateutil&lt;br /&gt;---&gt;  Building py25-dateutil with target build&lt;br /&gt;---&gt;  Staging py25-dateutil into destroot&lt;br /&gt;---&gt;  Installing py25-dateutil 1.4.1_0&lt;br /&gt;---&gt;  Activating py25-dateutil 1.4.1_0&lt;br /&gt;---&gt;  Cleaning py25-dateutil&lt;br /&gt;---&gt;  Fetching fftw-3&lt;br /&gt;---&gt;  Attempting to fetch fftw-3.1.3.tar.gz from http://www.fftw.org/&lt;br /&gt;---&gt;  Verifying checksum(s) for fftw-3&lt;br /&gt;---&gt;  Extracting fftw-3&lt;br /&gt;---&gt;  Configuring fftw-3&lt;br /&gt;---&gt;  Building fftw-3 with target all&lt;br /&gt;---&gt;  Staging fftw-3 into destroot&lt;br /&gt;---&gt;  Installing fftw-3 3.1.3_0&lt;br /&gt;---&gt;  Activating fftw-3 3.1.3_0&lt;br /&gt;---&gt;  Cleaning fftw-3&lt;br /&gt;---&gt;  Fetching py25-nose&lt;br /&gt;---&gt;  Attempting to fetch nose-0.10.4.tar.gz from http://somethingaboutorange.com/mrl/projects/nose/&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-nose&lt;br /&gt;---&gt;  Extracting py25-nose&lt;br /&gt;---&gt;  Configuring py25-nose&lt;br /&gt;---&gt;  Building py25-nose with target build&lt;br /&gt;---&gt;  Staging py25-nose into destroot&lt;br /&gt;---&gt;  Installing py25-nose 0.10.4_0&lt;br /&gt;---&gt;  Activating py25-nose 0.10.4_0&lt;br /&gt;---&gt;  Cleaning py25-nose&lt;br /&gt;---&gt;  Fetching py25-numpy&lt;br /&gt;---&gt;  Attempting to fetch numpy-1.2.0.tar.gz from http://downloads.sourceforge.net/numpy&lt;br /&gt;---&gt;  Verifying checksum(s) for py25-numpy&lt;br /&gt;---&gt;  Extracting py25-numpy&lt;br /&gt;---&gt;  Applying patches to py25-numpy&lt;br /&gt;---&gt;  Configuring py25-numpy&lt;br /&gt;---&gt;  Building py25-numpy with target build&lt;br /&gt;Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0" &amp;&amp; /opt/local/bin/python2.5 setup.py build " returned error 1&lt;br /&gt;Command output:     setup_package()&lt;br /&gt;  File "setup.py", line 89, in setup_package&lt;br /&gt;    configuration=configuration )&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/core.py", line 184, in setup&lt;br /&gt;    return old_setup(**new_attr)&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 151, in setup&lt;br /&gt;    dist.run_commands()&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 974, in run_commands&lt;br /&gt;    self.run_command(cmd)&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 994, in run_command&lt;br /&gt;    cmd_obj.run()&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/command/build.py", line 37, in run&lt;br /&gt;    old_build.run(self)&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/build.py", line 112, in run&lt;br /&gt;    self.run_command(cmd_name)&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/cmd.py", line 333, in run_command&lt;br /&gt;    self.distribution.run_command(command)&lt;br /&gt;  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 994, in run_command&lt;br /&gt;    cmd_obj.run()&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/command/build_src.py", line 130, in run&lt;br /&gt;    self.build_sources()&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/command/build_src.py", line 147, in build_sources&lt;br /&gt;    self.build_extension_sources(ext)&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/command/build_src.py", line 250, in build_extension_sources&lt;br /&gt;    sources = self.generate_sources(sources, ext)&lt;br /&gt;  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.2.0/numpy/distutils/command/build_src.py", line 307, in generate_sources&lt;br /&gt;    source = func(extension, build_dir)&lt;br /&gt;  File "numpy/core/setup.py", line 87, in generate_config_h&lt;br /&gt;    raise SystemError,"Failed to test configuration. "\&lt;br /&gt;SystemError: Failed to test configuration. See previous error messages for more information.&lt;br /&gt;&lt;br /&gt;Error: The following dependencies failed to build: py25-numpy py25-tkinter tcl tk&lt;br /&gt;Error: Status 1 encountered during processing.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I don't want to deal with it so I'm just using Fink.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-518124671483960207?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/518124671483960207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=518124671483960207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/518124671483960207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/518124671483960207'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/port-vs-fink.html' title='Port vs Fink'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5564352687445306010</id><published>2008-10-26T23:45:00.000-07:00</published><updated>2008-10-26T23:47:34.365-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Reinstalling a system</title><content type='html'>Python died tonight when I foolishly tried to update numpy or matplotlib.  One was not compatible with the other in upgraded form, and the update for matplotlib wouldn't install because of GTK issues that were totally opaque.&lt;br /&gt;&lt;br /&gt;So, I reinstalled EVERYTHING - fink AND macports - from scratch.  If I don't get things running by morning I'm going to have to do a restore, which is ugly as death.&lt;br /&gt;&lt;br /&gt;Things I need to do post-install:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;        sudo port install python_select  &lt;br /&gt;        sudo python_select python25&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;test ipython&lt;br /&gt;test matplotlib&lt;br /&gt;test numpy&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5564352687445306010?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5564352687445306010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5564352687445306010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5564352687445306010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5564352687445306010'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/reinstalling-system.html' title='Reinstalling a system'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7617249166559347169</id><published>2008-10-26T19:20:00.000-07:00</published><updated>2008-10-26T20:04:02.840-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Python: setting matplotlib defaults</title><content type='html'>Setting matplotlib defaults is a lot more difficult than it should be.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;matplotlib.defaultParams['image.origin']='lower'&lt;br /&gt;matplotlib.defaultParams['image.interpolation']='nearest'&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7617249166559347169?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7617249166559347169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7617249166559347169' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7617249166559347169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7617249166559347169'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/python-setting-matplotlib-defaults.html' title='Python: setting matplotlib defaults'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-7697445991710829582</id><published>2008-10-20T04:51:00.000-07:00</published><updated>2008-10-20T04:55:20.914-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='observing'/><title type='text'>Observing 10/20</title><content type='html'>I don't have a better place to post this one, so here it is:&lt;br /&gt;&lt;a href="http://sites.google.com/site/iras05358/figure-discussion/figures/iras05358_triple_17.29.png?attredirects=0"&gt;http://sites.google.com/site/iras05358/figure-discussion/figures/iras05358_triple_17.29.png?attredirects=0&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My automated fitter (&lt;a href="http://casa.colorado.edu/~ginsbura/pygausscollapse.htm"&gt;Gaussfitting Cube Collapser&lt;/a&gt;) has come a long way.  I now adaptively choose to fit 1, 2, or 3 Gaussian components to output to a data cube.  &lt;br /&gt;&lt;br /&gt;The purpose of that code is primarily to find a two-dimensional way to display information about the 3D structure, specifically about the presence/absence of outflows.  Outflows will inevitably be confused with multiple velocity components, but they are also likely to be convolved with them.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-7697445991710829582?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/7697445991710829582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=7697445991710829582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7697445991710829582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/7697445991710829582'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/observing-1020.html' title='Observing 10/20'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6510623268999807572</id><published>2008-10-19T20:42:00.000-07:00</published><updated>2008-10-19T20:52:26.033-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Screen, nohup, ssh, scp</title><content type='html'>I learned a lot about the above in the past day, but I didn't keep track of the links.&lt;br /&gt;&lt;br /&gt;First, screen is very useful: it allows you to run any task, detach the screen, and let it run in the background.  You can resume it later.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;screen&lt;br /&gt;ipython run_fitter.py&lt;br /&gt;&amp;lt;ctrl-a&amp;gt; d&lt;br /&gt;screen -r&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Second, it's a huge pain to type a password every time I use scp and ssh.  The solution is to make a key on your computer and put it in the authorized_keys file.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ssh-keygen -t rsa&lt;br /&gt;scp ~/.ssh/id_rsa ginsbura@milkyway.colorado.edu:.&lt;br /&gt;ssh ginsbura@milkyway.colorado.edu&lt;br /&gt;cat id_rsa &gt;&gt; ~/.ssh/authorized_keys&lt;br /&gt;ssh -v ginsbura@milkyway.colorado.edu&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Use ssh -v to figure out why it fails if it still asks you for a password.  In one case, this happened because the computer I was using expected the id to be in ~/.ssh/identity instead of ~/.ssh/id_rsa.  There may also be permissions issues (i.e. you want restrictive permissions on your ssh keys).&lt;br /&gt;&lt;br /&gt;With the latter, you can still use nohup, which is helpful if you want to pipe your output to a log file.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6510623268999807572?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6510623268999807572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6510623268999807572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6510623268999807572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6510623268999807572'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/screen-nohup-ssh-scp.html' title='Screen, nohup, ssh, scp'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2382947847852516448</id><published>2008-10-17T23:02:00.000-07:00</published><updated>2008-10-17T23:11:13.896-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Listing variables (e.g IDL help) in Python</title><content type='html'>Again, IDL has the simple 'help' command to tell you all variables in your namespace.  Python has the same thing, but the namespace tends to be cluttered with imported functions.  The commands who, who_ls, and whos are meant for interactive use.  They are a hell of a lot more useful than var, locals, globals, and dir.  &lt;br /&gt;&lt;br /&gt;examples:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;whos float&lt;br /&gt;whos ndarray&lt;br /&gt;who module&lt;br /&gt;float_vars = %who_ls float&lt;br /&gt;grep('x',float_vars)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I'm afraid I don't know how to make the last two lines into a one-liner, as would be desirable.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2382947847852516448?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2382947847852516448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2382947847852516448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2382947847852516448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2382947847852516448'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/listing-variables-eg-idl-help-in-python.html' title='Listing variables (e.g IDL help) in Python'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3308019850288719916</id><published>2008-10-17T21:46:00.000-07:00</published><updated>2008-10-17T22:02:13.843-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>SAVE / RESTORE in Python</title><content type='html'>Save/Restore is probably the single best feature of IDL that, sadly, is very poorly replicated in Python.  For 1 or 2 dimensional variables, you can use Pylab's &lt;code&gt;save/load&lt;/code&gt;, but I never use such piddling tiny arrays.  For higher dimensional objects, either using FITS files (a pain because of header definitions) or pickling ought to work.&lt;br /&gt;&lt;br /&gt;e.g.:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;import numpy&lt;br /&gt;import pickle&lt;br /&gt;x=ones([10,10,10,10],dtype='float64')&lt;br /&gt;pickle.dump(x,open('x.pysav','w'))&lt;br /&gt;X = pickle.load(open('x.pysav','r'))&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3308019850288719916?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3308019850288719916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3308019850288719916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3308019850288719916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3308019850288719916'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/save-restore-in-python.html' title='SAVE / RESTORE in Python'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1224030378824059341</id><published>2008-10-15T00:58:00.000-07:00</published><updated>2008-10-15T01:21:17.371-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='l111'/><category scheme='http://www.blogger.com/atom/ns#' term='observing'/><title type='text'>Last month's observations in L111</title><content type='html'>Mapped sources:&lt;br /&gt;SH 2-156  [no high resolution observations; covered by 1.2m CO 1-0 survey]&lt;br /&gt;SH 2-157  &lt;a href="http://simbad.u-strasbg.fr/cgi-bin/cdsbib4?2003ApJS..149..375S"&gt;Yancy CS 5-4 &lt;/a&gt;, &lt;a href="http://simbad.u-strasbg.fr/cgi-bin/cdsbib4?2004AJ....128.1716A"&gt; CO, 13CO 1-0, CS 2-1 &lt;/a&gt;, HCN &amp; SCUBA too....&lt;br /&gt;IRAS 23151 (two pointings)&lt;br /&gt;&lt;br /&gt;Unmapped:&lt;br /&gt;BFS 18 =  IRAS 23042+6000 = IRCO 859  &lt;br /&gt;&lt;a href="http://cdsads.u-strasbg.fr/cgi-bin/nph-bib_query?2005AJ....129..330W&amp;db_key=AST&amp;nosetcookie=1"&gt; Wu et al &lt;/a&gt; mapped this in CO 2-1 and detected no outflows.  They used the NRAO 12m with a heterodyne array with very high T&lt;sub&gt;sys&lt;/sub&gt; ~700-1100K.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1224030378824059341?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1224030378824059341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1224030378824059341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1224030378824059341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1224030378824059341'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/last-months-observations-in-l111.html' title='Last month&apos;s observations in L111'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5244290040189768555</id><published>2008-10-12T20:34:00.000-07:00</published><updated>2008-10-12T21:00:24.645-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gnuplot'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><category scheme='http://www.blogger.com/atom/ns#' term='postscript'/><title type='text'>How do I print a multi-page postscript?</title><content type='html'>I want to print a multi-page postscript duplexed and, if possible, two per page.  pstopng, pstopdf, and the variants failed me horribly by making postscripts that don't fit the bounding box at all.  Any ideas?&lt;br /&gt;&lt;br /&gt;So far the best I've come up with is switching gnuplot's output to pdf, which is a workaround rather than a solution, but is useful nonetheless:&lt;br /&gt;&lt;code&gt;set terminal pdf enhanced dashed&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5244290040189768555?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5244290040189768555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5244290040189768555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5244290040189768555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5244290040189768555'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/how-do-i-print-multi-page-postscript.html' title='How do I print a multi-page postscript?'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8710069621452233488</id><published>2008-10-12T11:23:00.000-07:00</published><updated>2008-10-12T11:33:53.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mathematica'/><title type='text'>Mathematica &amp; Series expansions</title><content type='html'>Mathematica does something stupid and incomprehensible (to me) with their series expansions.  For no clear reason, it makes the O[x]&lt;sup&gt;n&lt;/sup&gt; uneditable, and adds a bunch of formatting things that prevent you from copying &amp; pasting the expression and then solving for a variable.  Argh.  While this is repairable using the "show expression" tool (Shift-Apple-E), it's a pain and "show expression" is not meant to be human readable.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8710069621452233488?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8710069621452233488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8710069621452233488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8710069621452233488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8710069621452233488'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/mathematica-series-expansions.html' title='Mathematica &amp; Series expansions'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1434008055861866933</id><published>2008-10-11T22:10:00.001-07:00</published><updated>2008-10-11T22:10:53.897-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comic'/><title type='text'>teaching</title><content type='html'>&lt;a href="http://www.smbc-comics.com/index.php?db=comics&amp;id=1303"&gt;this is the only right way to teach&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1434008055861866933?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1434008055861866933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1434008055861866933' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1434008055861866933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1434008055861866933'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/teaching.html' title='teaching'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3430913755390183668</id><published>2008-10-07T21:00:00.000-07:00</published><updated>2008-10-07T21:02:03.856-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gardening'/><title type='text'>gardening</title><content type='html'>I realized I don't have a gardening category and I should.&lt;br /&gt;&lt;br /&gt;I have eaten 2 garden tomatoes.  There have been a total of 3 that ripened.  There is a fourth on the vine. There are ~40-50 big green ones being big and green.&lt;br /&gt;&lt;br /&gt;I ate basil in my pasta sauce yesterday.  I need to buy some pine nuts.  But I'm not pining for nuts.&lt;br /&gt;&lt;br /&gt;Next year, start growing in March!&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3430913755390183668?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3430913755390183668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3430913755390183668' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3430913755390183668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3430913755390183668'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/gardening.html' title='gardening'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-4701027151086285394</id><published>2008-10-07T20:55:00.001-07:00</published><updated>2008-10-07T20:56:25.897-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>sage casjobs</title><content type='html'>annoying feature of sage casjobs: no spaces are allowed, no matter what, even if quoted.  so when importing must remove all spaces.  gurrh.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-4701027151086285394?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/4701027151086285394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=4701027151086285394' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4701027151086285394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/4701027151086285394'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/sage-casjobs.html' title='sage casjobs'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-2160181108318877016</id><published>2008-10-07T06:14:00.000-07:00</published><updated>2008-10-07T06:16:28.660-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>mathematica</title><content type='html'>//. and /. use 'rules' of the form {x-&gt;y} for substitutions&lt;br /&gt;&lt;br /&gt;how do you make the layout of a page look nice?  How do you change line spacing?&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-2160181108318877016?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/2160181108318877016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=2160181108318877016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2160181108318877016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/2160181108318877016'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/10/mathematica.html' title='mathematica'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-6848572055411086479</id><published>2008-09-27T06:46:00.001-07:00</published><updated>2008-09-27T06:54:11.864-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='observing'/><title type='text'>Observing run summary</title><content type='html'>3 nights of worse than grade 4 weather (tau ~.4, i.e. the atmosphere is nearly opaque) have given me a few interesting results.&lt;br /&gt;&lt;br /&gt;1. Non-detections of CS 5-4 in a few bright BGPS cores.  My best guess is that the pointing was off, though, because I definitely got down to a noise level around 50mK.&lt;br /&gt;2. Lots of CO 2-1 mapping, 13CO/C18O too.  That means I can now use this plot: &lt;a href="http://dustem.astro.umd.edu/pdrt/co3221web.html"&gt;http://dustem.astro.umd.edu/pdrt/co3221web.html&lt;/a&gt;  to try to measure the incident flux.&lt;br /&gt;3. I can't do homework at the summit.  Maybe it's just that I can't do stellar structures homework, but I really am not processing this stuff well.  Damn.&lt;br /&gt;4. Running at altitude uphill is really, really hard.  All the running I've been doing the past N months has not even come close to preparing me.  Need to correct that...&lt;br /&gt;5. "I am inappropriate."  I probably violate a bunch of those rules... the important ones...&lt;br /&gt;6. gotta get back to the mountains.  Really.  Seriously.  OMFG.&lt;br /&gt;7. ARGH those papers need writing!  Lots of it!&lt;br /&gt;&lt;br /&gt;For the next observing run, need the following:&lt;br /&gt;1. Pre-prepared A3 rasters&lt;br /&gt;2. Larger selection of summit music &lt;br /&gt;3. Better sleep schedule preparation&lt;br /&gt;4. More caffeinated drinks per night&lt;br /&gt;5. Cloud cannons.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-6848572055411086479?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/6848572055411086479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=6848572055411086479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6848572055411086479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/6848572055411086479'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/observing-run-summary.html' title='Observing run summary'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1786409464530298797</id><published>2008-09-25T21:00:00.000-07:00</published><updated>2008-09-25T21:09:25.855-07:00</updated><title type='text'>running at altitude</title><content type='html'>wow dude.  I suck at that.&lt;br /&gt;&lt;br /&gt;I swear there were some other things I had to write down but I can't remember them now.&lt;br /&gt;&lt;br /&gt;precipitable water vapor precipitates and that can be good&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1786409464530298797?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1786409464530298797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1786409464530298797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1786409464530298797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1786409464530298797'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/running-at-altitude.html' title='running at altitude'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-3250623890792112508</id><published>2008-09-25T01:33:00.001-07:00</published><updated>2008-09-25T01:34:37.973-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='song'/><title type='text'>pwv</title><content type='html'>precipitable water vapor, precipitable water vapor, go away, come again some other observer's day&lt;br /&gt;little HARPy wants to receive&lt;br /&gt;so clear up before I leave&lt;br /&gt;&lt;br /&gt;stupid bumping-head old man.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-3250623890792112508?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/3250623890792112508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=3250623890792112508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3250623890792112508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/3250623890792112508'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/pwv.html' title='pwv'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-1384656609371302075</id><published>2008-09-24T09:36:00.001-07:00</published><updated>2008-09-24T09:52:49.812-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy'/><title type='text'>Marc Pound's toolbox</title><content type='html'>This is neat:&lt;br /&gt;&lt;a href="http://dustem.astro.umd.edu/pdrt/quickmodels.html"&gt;&lt;br /&gt;Line Ratio as a function of density, incident flux from Marc Pound&lt;/a&gt;.  Sadly, straight CO 3-2 intensity isn't included.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-1384656609371302075?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/1384656609371302075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=1384656609371302075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1384656609371302075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/1384656609371302075'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/marc-pounds-toolbox.html' title='Marc Pound&apos;s toolbox'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-5005637063882369308</id><published>2008-09-24T05:59:00.001-07:00</published><updated>2008-09-24T06:00:54.479-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>python stuff</title><content type='html'>to get imshow defaults to be nearest neighbor, need to edit ~/.matplotlib/matplotlibrc.  Still don't know how to change default command-line output format.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-5005637063882369308?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/5005637063882369308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=5005637063882369308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5005637063882369308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/5005637063882369308'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/python-stuff.html' title='python stuff'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5644342161145112177.post-8961539748610236158</id><published>2008-09-24T00:45:00.000-07:00</published><updated>2008-09-24T00:47:55.153-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Do not install 10.5.5</title><content type='html'>Well, I didn't obey that excellent advice from Charles.  I installed the 10.5.5 update.  Now DS9 - in my opinion, one of the heartiest and most reliable programs I've dealt with in the astronomy world - won't work because TCL is broken. I doubt TUI or most of the other things I use will work either.  That's a tragedy of significant proportions - I NEED ds9 to make my observing files!   I can only pray that an update of TCL using port will work... if not I'm basically screwed.&lt;div class="blogger-post-footer"&gt;&lt;a href="http://casa.colorado.edu/~ginsbura/"&gt;Home&lt;/a&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5644342161145112177-8961539748610236158?l=buffalothedestroyer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalothedestroyer.blogspot.com/feeds/8961539748610236158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5644342161145112177&amp;postID=8961539748610236158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8961539748610236158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5644342161145112177/posts/default/8961539748610236158'/><link rel='alternate' type='text/html' href='http://buffalothedestroyer.blogspot.com/2008/09/do-not-install-1055.html' title='Do not install 10.5.5'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_lsgW26mWZnU/TFrJGo9luwI/AAAAAAAAFyM/LI2PJWpF21k/S220/tyrannosaur_in_f-14.jpg'/></author><thr:total>0</thr:total></entry></feed>
