Aperture Photometry Tool (APT), v. 0.994


Russ Laher (laher@ipac.caltech.edu)
Spitzer Science Center, California Institute of Technology, M/S 314-6, Pasadena, CA 91125
Copyright 2007-2008, All rights reserved.

Software Documentation

Get it here.

Software Download

Download platform-independent tar ball from here.

Platform-Specific Installation and Execution Instructions

Intel Mac

Installation instructions (and uninstalling previous version of APT):

     cp APT_platform_independent_v0.994.tar /Applications
     cd /Applications
     rm -rf APT_v0.993 (if you installed it here last time)
     tar xvf APT_platform_independent_v0.994.tar
     rm APT_platform_independent_v0.994.tar
If your default shell is bash, add these lines to your .bash_profile file (or change from 0.993 to 0.994 if you installed the previous version of APT):
     PATH=/Applications/APT_v0.994:$PATH
     export CLASSPATH=./:/Applications/APT_v0.994
If your default shell is csh or tcsh, add the following lines to your .cshrc file (or change from 0.993 to 0.994 if you installed the previous version of APT):
     setenv PATH /Applications/APT_v0.994:${PATH}
     setenv CLASSPATH ./:/Applications/APT_v0.994

Execution instructions:

  1. Bring up a new terminal window.
  2. Change to a working directory.
  3. Execute the following command in the new terminal window:
     APT.csh

PowerPC Mac

The Intel-Mac package seems to also work on PowerPC-based Macs, except in some cases the following error occurs at the beginning of APT execution, which is apparently benign:

$ APT.csh
2008-02-15 09:59:05.364 java[6133] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x10b03, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2008-02-15 09:59:05.376 java[6133] CFLog (992): CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)

Linux

System requirements for APT: you must have java installed (version 1.6.0_03 or greater). To find this out, type the following command in a Command-Prompt window:

     which java
You should see a response like
     /cygdrive/c/Program Files/Java/jdk1.6.0_03/bin/java
If not, you must first download and install the JDK from www.sun.com.

Installation instructions for Linux (and uninstalling previous version of APT):

     cp APT_platform_independent_v0.994.tar ~/Applications
     cd ~/Applications
     rm -rf APT_v0.993 (if you installed it here last time)
     tar xvf APT_platform_independent_v0.994.tar
     rm APT_platform_independent_v0.994.tar
If your default shell is bash, add these lines to your .bash_profile file (or change from 0.993 to 0.994 if you installed the previous version of APT):
     PATH=/Applications/APT_v0.994:$PATH
     export CLASSPATH=./:/Applications/APT_v0.994
If your default shell is csh or tcsh, add the following lines to your .cshrc file (or change from 0.993 to 0.994 if you installed the previous version of APT):
     setenv PATH /Applications/APT_v0.994:${PATH}
     setenv CLASSPATH ./:/Applications/APT_v0.994

Execution instructions:

  1. Bring up a new terminal window.
  2. Change to a working directory.
  3. Execute the following command in the new terminal window:
     APT.csh

Solaris

Dr. Noriega-Crespo reported that both the Linux and Intel-Mac packages work just fine on the Solaris platform with version 1.6 update 4 of the JDK installed in his Solaris environment.

Windows

To unpack the tar ball, you must have the tar command installed. This common UNIX command comes with the Cygwin software package, which you can download for free from www.cygwin.com. Installation of Cygwin software with the default settings is easy.

System requirements for APT: you must have java installed (version 1.6.0_03 or greater). To find this out, type the following command in a Command-Prompt window:

C:\>java -version
You should see a response like
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
If your java version is less than 1.6.0_03, you must first download and install the JDK from www.sun.com.

Installation instructions to execute in a Command-Prompt window:

     cd C:\
     mkdir APT
     cd APT 
     rm -rf APT_v0.993 (if you installed it here last time)
     tar xvf APT_platform_independent_v0.994.tar
     rm APT_platform_independent_v0.994.tar
(the APT package can be installed anywhere you choose; the above commands assume the APT package will be installed under C:\APT)

Add the installation subdirectory to your path using the following steps:

  1. Bring up the following menu:
      Start > Control Panel > Performance and Maintenance > System > Advanced > Environment Variables
      
  2. Under "System variables", look for the "Path" variable, click on it, then hit the "Edit" button, and then add
      ;C:\APT\APT_v0.994
      
    to its current setting (assuming that is where you installed the APT package). Note the use of the beginning semi-colon delimiter and backslashes ("\") in the path.

  3. Under "User variables for Administrator", look for the "CLASSPATH" variable. If there is none, then hit the "New" button to add it:
      Variable Name: CLASSPATH
      Variable Setting: C:\APT\APT_v0.994
      
    If there is already a CLASSPATH variable listed, then add the following to its current setting:
      ;C:\APT\APT_v0.994
      
    where, again, the beginning semi-colon separates the APT setting from the other settings listed on the line.

Execution instructions:

You can run APT from either a Command-Prompt window or a Cygwin window.