Monthly Archives: November 2010

SExtractor on Debian Squeeze (AMD64)

Installing from Debian Repository $ sudo aptitude install sextractor This version is rather old (v2.4.4) though. Installing from Source I need FFTW and ATLAS installed already, and assume that FFTW was installed at /usr/local/fftw, and ATLAS at /usr/local/atlas following the … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

FFTW on Debian Squeeze (AMD64)

Installing from Debian Repository $ sudo aptitude install libfftw3-3 libfftw3-dev The second package is only necessary for development. Installing from Source The version of FFTW I use here is 3.2.2.  Follow this: $ mkdir tmp $ cd tmp $ wget … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 2 Comments

ATLAS on Debian Squeeze (AMD64)

Installing from Debian Repository $ sudo aptitude install libatlas3gf-base $ sudo aptitude install libatlas-base-dev The second line is necessary only for development. Installing from Source Disable CPU throttling.  Find out how many CPUs I have: $ cat /proc/cpuinfo … info … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

Installing IRAF version 2.15 on Debian Squeeze

My way of installing IRAF v2.15, now 64-bit by default. First create a regular user named “iraf”: $ sudo adduser iraf $ sudo aptitude install csh $ sudo ln -s /usr/lib/libncurses.so /usr/lib/libtermcap.so.2 The second line installing csh is necessary because … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Some Physics Units Cheat Sheet

Before I forget: In CGS:     where        

Posted in Uncategorized | Tagged , , , | Leave a comment

Estimating Standard Deviation from N Data Points

In astronomy people often estimate a standard deviation in, say, background counts from the observed data themselves, since it is very difficult to know what true standard deviations are. Then the question is this: How many measurements (e.g., the number … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Installing mpi4py on Debian Squeeze

I want to do parallel computing on my desktop to take advantage of quad core.  Actually, I just need to test programs to be run on HPC clusters.  It is actually easy to set up a parallel computing environment. Install … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 3 Comments

Installing Firefox 4 Beta on Debian Squeeze

Update: I think the following note that I made a while ago is no longer applicable. Please visit: http://mozilla.debian.net/ for a more streamlined installation via apt-get. Caution: This note won’t work for a version >= Beta 8-1.  Unfortunately the new … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 9 Comments

Installing Sage (Math Library) on Debian Squeeze

First, download the source to some directory (here /usr/local/sage) from one of the official repositories (here it’s at U. of Washington, just for an illustration).  Move to the directory and then $ wget -c http://boxen.math.washington.edu/sage/src/sage-4.6.tar $ sudo aptitude install gcc … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 5 Comments

Setting Time and Time Zone in Debian on a Dual Boot Sytem with Windows

I noticed that my time is way off on my Debian box.  I’m dual booting one of my desktop with Windows XP, so I have to set the CMOS clock to the local time as opposed to the UTC time … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment