scripts & stuff Archive

  • I recently spent a few weeks at the Medicina Radiotelescope, Italy, working on getting data from a correlator into a format that CASA and AIPS could read. To do this, I made a python script to convert the data into a FITS IDI file. The FITS Interferometry Data Interchange Convention...

    pyFitsidi – Python FITS IDI writing

    I recently spent a few weeks at the Medicina Radiotelescope, Italy, working on getting data from a correlator into a format that CASA and AIPS could read. To do this, I made a python script to convert the data into a FITS IDI file. The FITS Interferometry Data Interchange Convention...

    Continue Reading...

  • Typing in “bottle python awesome” into Google doesn’t produce anywhere near as many results as it should. Bottle is an amazingly easy to use, lightweight framework with a very simple template engine, and all the goodies that you’ll want for form handling, cookies and that sort of thing. It’s not...

    Bottle: Quick Python Web Apps

    Typing in “bottle python awesome” into Google doesn’t produce anywhere near as many results as it should. Bottle is an amazingly easy to use, lightweight framework with a very simple template engine, and all the goodies that you’ll want for form handling, cookies and that sort of thing. It’s not...

    Continue Reading...

  • I recently ran into an error on my Mac install of LyX, where pdf images weren’t being displayed. After some searching, it looks like the error is a bug in Ghostscript 8.70, and can be fixed easily: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg80148.html With Ghostscript 9.00 now out, this bug should be squashed (although I...

    LyX: Error converting PDF to loadable format

    I recently ran into an error on my Mac install of LyX, where pdf images weren’t being displayed. After some searching, it looks like the error is a bug in Ghostscript 8.70, and can be fixed easily: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg80148.html With Ghostscript 9.00 now out, this bug should be squashed (although I...

    Continue Reading...

  • To celebrate the release of LyX 1.6.6, I thought I’d upload an Oxford Thesis Template for mathematics/physics/engineering, based on K. Gillow’s excellent LaTeX class. While it’s tailored to Oxford, with a few modifications I’m sure it could be used for any thesis. To get it working, you’ll  have to copy...

    Oxford LyX Thesis Template

    To celebrate the release of LyX 1.6.6, I thought I’d upload an Oxford Thesis Template for mathematics/physics/engineering, based on K. Gillow’s excellent LaTeX class. While it’s tailored to Oxford, with a few modifications I’m sure it could be used for any thesis. To get it working, you’ll  have to copy...

    Continue Reading...

  • To anyone doing an undergraduate degree in physics – download and learn to use these three programs: LyX: A frontend for LaTeX,  specially designed for people who don’t like LaTeX. You could consider it “training wheels for LaTeX”, but if you learn it well you’ll probably never need to learn...

    Physics report with LyX + JabRef + Inkscape

    To anyone doing an undergraduate degree in physics – download and learn to use these three programs: LyX: A frontend for LaTeX,  specially designed for people who don’t like LaTeX. You could consider it “training wheels for LaTeX”, but if you learn it well you’ll probably never need to learn...

    Continue Reading...