Category Archives: Research

Uncertainty in Flux and Magnitude

I keep forgetting this sort of simple algebra (aging is no fun), so here’s a note. Define magnitude to be related to flux as follows:     where is the zero point flux which defines the magnitude scale.  Let be … Continue reading

Posted in Astro, Research | Tagged , , | Leave a comment

Python Utility for the UVBLUE Stellar Spectrum Library

I have a need to use spectra from UVBLUE, but they only supply IDL programs (who needs these any more?) to deal with the data.  I want to use the spectra in Python, so I ported their program.  Download it … Continue reading

Posted in Research | Tagged , , | Leave a comment

Installing STSCI_PYTHON on Debian Squeeze

The version I use is 2.10. First, install IRAF, tables, and stsdas following this article. $ sudo aptitude install python-tk python-numpy python-pmw python-urwid $ sudo aptitude install libreadline6-dev python-matplotlib ipython $ wget http://stsdas.stsci.edu/download/stsci_python_2.10/stsci_python_2.10.tar.gz $ tar -xvzf stsci_python_2.10.tar.gz $ cd stsci_python_2.10 … Continue reading

Posted in Debian, Linux, Research, Squeeze | Tagged , , , , , , | Leave a comment

Installing IRAF on Debian Squeeze

IRAF doesn’t have a standard installation procedure using make tools, so it is no fun to install in any system.  One solution is to go for Scisoft, but I don’t necessarily want to install a whole bunch of software that … Continue reading

Posted in Debian, Linux, Research, Squeeze | 1 Comment

Installing 64-bit CFITSIO 3.181 on Mac OS X Leopard

It turns out that the data I’m working on now are too big for 32-bit programs to handle!! So along side Scisoft OS X which is all 32-bit, I need to install 64-bit version of CFITSIO since many programs depend … Continue reading

Posted in Leopard, Mac OS X, Research | 1 Comment

Installing HOTPANTS 5.1.10 on Mac OS X Leopard

You must love the name, but what the software does is far from sultry; it’s a piece of geekware. Anyways, I needed to edit files when I install HOTPANTS, photometric alignment utility by Andrew Becker.  Here is my installation note … Continue reading

Posted in Leopard, Mac OS X, Research | 1 Comment

SExtractor

Just a reminder for myself: The SExtractor convention is that the first pixel in a coordinate is indexed by one, not zero.

Posted in Research | Leave a comment

python-sao

Man, pysao is extremely useful.  Controlling DS9 from Python has never been easier.  Thank you, whoever is developing the software.

Posted in Research | Tagged | Leave a comment

PyRAF Tips

The Standard Calling Sequence for an IRAF Task within a Python Script This is just an example of how to run an IRAF task as if it is part of a Python module using PyRAF. It ensures that the task … Continue reading

Posted in Research | Tagged | Leave a comment

KCorrect: kcorrect Python Port Project

By Taro Sato (taro at ap.smu.ca) NOTE: This is a page for my old side programming project, on astrophysical computing.  I just moved it here since I haven’t been tracking access and therefore I don’t know if there has been … Continue reading

Posted in Research | Tagged | 14 Comments