eXTReMe Tracker Back to my home page
Email me at
WebSDB@gmail.com
Last updated:
June 21, 2006

What's new?   

Recommended reading:

A MUST for programming Perl
iraf.net

IRAF Parameters
for aperture photometry

SummerDale's IRAF Scripts

Get all of them
Get the setup file
sdphot    mkcmds    rcoo    etime   
Recommended handbook:

Perl Pocket Reference -- for quick answers

sdphot

      In order to run sdphot, be in noao=>digiphot=>apphot, and create a coordinates file from your first .imh file.
      It will phot all your files for you, resetting the coordinates file each time (based on the stars' centers), but it will leave your original coordinates file intact.
      In the event of an error, or a significant magnitude jump, it will stop and ask if you would like to continue, skip the file, or quit to reset the coordinates file. If you choose to skip it, the corresponding .mag. file will be deleted, and it will move on to the next file.
You must download both files.

Easy Install

Download the .tar.gz file and the setup file to the same directory, then get to that directory in a terminal and type the following:
perl setup.pl

Answer "yes" to the first question.

More complex method:

Download to your home directory, and add the following line to your login.cl:
task   $sdphot = "$!/home/yourlogin/sdphot.pl"
where "yourlogin" is your user name.

Open sdphot.pl in a text editor, and change "/home/sdb" to your home directory.
Download sdphot
Download the error check file
both files as a .tar.gz file



mkcmds

      You can run this from anywhere in IRAF.
      It will create a .cmds file by prompting you for information. Months can be entered either as number values or names.
      You can have it create the file either for old-style headers or new-style headers. If you're not sure which you need, it is a simple matter to create both (just run it twice). *Note*-- if you end up needing the old-style, I highly recommend you also download etime (below).
      It will search RaDec.sdb for the coordinates of your object. If it does not find your object, you must input the coordinates when prompted. You will be given the option to permanently add the object to your copy of RaDec.sdb.

Easy Install

Download the .tar.gz file and the setup file to the same directory, then get to that directory in a terminal and type the following:
perl setup.pl

Answer "yes" to the first question.

More complex method:

Download to your home directory, and add the following line to your login.cl:
task   $mkcmds = "$!/home/yourlogin/MakeCMDS.pl"
where "yourlogin" is your user name.

Open MakeCMDS.pl in a text editor, and change "/home/sdb" to your home directory (in three places).
Download mkcmds
Download RaDec.sdb by right-clicking on the
file name and choosing "Save Target As..."
download both files as a .tar.gz file



rcoo


      You can run this from anywhere in IRAF.
      It will take your coordinates file and rotate the coordinates 180 degrees. You must provide it with the dimensions of your file (which can be read off of ds9 -- if you don't know how, type "help" when prompted for the dimensions).
      This is useful if you went over the pier during the course of the night, however it will not automatically line up the rotated points with your stars. It will simply turn the pattern around. You must then load the new points in ds9 and line them up (using "selall" or "all").
      rcoo is especially useful for work with clusters.

Easy Install

Download the .tar.gz file and the setup file to the same directory, then get to that directory in a terminal and type the following:
perl setup.pl

Answer "yes" to the first question.

More complex method:

Download to your home directory, and add the following line to your login.cl:
task   $rcoo = "$!/home/yourlogin/rotate.pl"
where "yourlogin" is your user name.

Download rcoo
get the .tar.gz version



etime

      You can run this from anywhere in IRAF.
      It will take an old-style "time" file and delete the date, leaving it in the form IRAF needs in order to update the headers.

Easy Install

Download the .tar.gz file and the setup file to the same directory, then get to that directory in a terminal and type the following:
perl setup.pl

Answer "yes" to the first question.

More complex method:

Download to your home directory, and add the following line to your login.cl:
task   $etime = "$!/home/yourlogin/EditTime.pl"
where "yourlogin" is your user name.

Download etime
get the .tar.gz version



Entire Package

Easy Install

Download the scripts and the setup file to the same directory,
then get to that directory in a terminal and type the following:
perl setup.pl

Answer "yes" to the first question.

More complex method:

Download to your home directory, and add the following 4 lines to your login.cl:
           task   $sdphot = "$!/home/yourlogin/sdphot.pl"
           task   $mkcmds = "$!/home/yourlogin/MakeCMDS.pl"
           task   $rcoo = "$!/home/yourlogin/rotate.pl"
           task   $etime = "$!/home/yourlogin/EditTime.pl"

where "yourlogin" is your user name.

Unzip the files by typing the following in a terminal:
tar -xzvf sdbscripts.tar.gz
     
Open sdphot.pl and MakeCMDS.pl in a text editor,
and change "/home/sdb" to your home directory.
You can see what each script does by reading about it above.
Download all
my IRAF scripts




Setup File

      This setup file will unzip (if necessary) the .tar files and edit the scripts to run from your account. It will also task them into IRAF for you, if you like.
Download this to the same directory as the scripts, then get to that directory in a terminal and type the following:
perl setup.pl

Download the setup file
get the .tar.gz version

Top


Click here for IRAF help.

iraf.net