To compile the C-code you need:
New aXe releases from the aXe webpage usually have tasks with the same names as in previous releases and in the STSDAS version of aXe, but the implementation (e.g. parameter settings) of the tasks may have changed. To keep the aXe tasks in your STSDAS distribution separate from the new aXe tasks downloaded from the aXe webpages, the aXe tasks distributed via the webpage always start with the letter t. For example, the task tsex2gol in the (local) taxe16 package corresponds to the task sex2gol in STSDAS, taf2pet in taxe16 corresponds to af2pet in STSDAS, and so on. While this manual describes always the newest aXe releases from the website, the tasks are named with the non-prefix version throughout the manual. In case that you downloaded the newest version from the website and intend to work with it, don't forget to put a t in front of every command you find in the manual. Otherwise you may still use an old aXe distributed with STSDAS, which may have a different syntax and different behaviour.
/your/aXe1.6/path and unpack it there with:
>gunzip aXe1.6-taxe16src.tar.gz >tar -xvf aXe1.6-taxe16src.taraXe-1.6 consists of a part written in ANSI C and a second part written in Python (www.python.org). For the C part a configure script is included with aXe. To configure and then compile the C tasks do the following:
>cd taxe16/ccc >./configureFor MacsOSX, the option "-build=powerpc" must be added to the
configure command for Power PC machines, and the option
``-build=i386-pc-macosx'' for Intel Macs . If some libraries used by aXe are not installed
in the usual places,
online parameters must be used to tell the configure
script where to find them. For example
./configure --with-cfitsio-prefix=/your_axelibs/cfitsio
--with-gsl-prefix=/your_axelibs/gsl-1.0
--with-wcstools-prefix=/your_axelibs/wcstools-3.0.4
specifies explicitly the location of the GSL and the CFITSIO
library. Follow the instructions given by the configure
script to solve problems.
The configure script generates a Makefile which is used to compile
the aXe-tasks. Type
>maketo execute the Makefile and create the tasks. The tasks must be installed in the bin directory of the taxe16 package. Simply execute
>make installto move the binaries to their proper location.
On the Python side there exists a similar script to compile the code. Go to the Python directory and compile the Python code there with:
>cd ../iraf >python compileaXe.py .If all went well, aXe-1.6 is now ready. The new package with its tasks must be declared in PyRAF. To do this, add the following lines near the end of your login.cl file, or in loginuser.cl:
reset taxe16 = /your/aXe1.6/path/taxe16/iraf/
task taxe16.pkg = taxe16$taxe16.cl
reset helpdb = (envget("helpdb") //",taxe16$lib/helpdb.mip")
The next time PyRAF is launched, the package taxe16 should be available.
It can then be loaded as any other package by simply typing its name:
--> taxe16 The aXe software package 1.6 was developed by the ACS group of the ST-ECF. Further information and documentation is available at the aXe pages: http://www.stecf.org/instruments/ACSgrism/axe/ Any questions regarding this software can be directed to: acsdesk@eso.org taxe16/: taf2pet taxeprep tfcubeprep tpetcont taxecore tbackest tgol2af tpetff taxedrizzle tdrz2pet tiolprep tsex2gol taxegps tdrzprep tpet2spc tstamps -->The message which appears during the loading of the package and the task overview indicate that everything went OK and that the tasks can be used from now on. The package can be used by more than one user. Other users only have to modify their login.cl or loginuser.cl as described above to access the aXe1.6 package and the tasks within it (provided that they have access to the installation directory).
aXe-1.6 was successfully built and tested under Fedora Core 3 and Solaris 2.8. It should be no problem to install aXe-1.6 under other Unix or Unix-like operating systems such as HPUX or MacOSX.
/your/aXe1.6/path and unpack it there with:
>gunzip aXe1.6-taxe16src.tar.gz >tar -xvf aXe1.6-taxe16src.tarThen move the C-binaries to their proper location and unpack them there:
>mv aXe1.6-<arch>.bin.tar.gz taxe16/iraf/bin/. >cd taxe16/iraf/bin/ >gunzip aXe1.6-<arch>.bin.tar.gz >tar -xvf aXe1.6-<arch>.bin.tarThe Python code must still be compiled. To do that execute:
>cd .. >python compileaXe.py .aXe-1.6 is now ready. Declare the new package in PyRAF by adding the following lines near the end of your login.cl file, or in loginuser.cl:
reset taxe16 = /your/aXe1.6/path/taxe16/iraf/
task taxe16.pkg = taxe16$taxe16.cl
reset helpdb = (envget("helpdb") //",taxe16$lib/helpdb.mip")
The next time PyRAF is launched, the package taxe16 is available.
It can be loaded with ``-->taxe16'' from the PyRAF shell.
The prism test data was taken as part of the calibration proposal 10391 (PI: S.S. Larsen).
Reference spectra generated by running aXe-1.6 on the test data also supplied as part of the test package. If the output obtained by running aXe-1.6 on the test data is identical to these reference spectra, the proper working of aXe-1.6 is assured.
The subscription to the aXe mailing list is done by sending an email to majordomo@stecf.org with the content subscribe axe@stecf.org in the mail body.
To unsubscribe from the aXe mailing list, please send an email to
majordomo@stecf.org with the content unsubscribe axe@stecf.org
in the mail body.