/your/aXeSIM/path and unpack it there with:
>gunzip aXeSIM10src.tar.gz >tar -xvf aXeSIM10src.taraXeSIM consists of a part written in ANSI C and a second part written in Python (www.python.org).
For Linux (Fedora Core 6), statically linked binaries are part of the aXeSIM distribution. In the (hopefully unlikely) case that these binaries do not work, or you work with a different operating system, you have to build the executables by yourself as described in the Chapter 2.3.
On the Python side there exists a script to compile the code. Go to the Python directory and compile the Python code there with:
>cd /your/aXeSIM/path/aXeSIM10/iraf/ >python compileaXe.py .If all went well, aXeSIM-1.0 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 axesim = /your/aXeSIM/path/aXeSIM10/iraf/
task axesim.pkg = axesim$axesim.cl
reset helpdb = (envget("helpdb") //", axesim$lib/helpdb.mip")
The next time PyRAF is launched, the package aXeSIM is available.
It can then be loaded as any other package by simply typing its name:
--> axesim The aXeSIM software package 1.0 was developed by the Slitless Group of the ST-ECF. Further information and documentation is available at the aXeSIM pages: http://www.stecf.org/software/slitless_software/axesim/ Any questions regarding this software can be directed to: acsdesk@eso.org axesim/: prepimages prepspectra simdata simdirim simdispim -->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 aXeSIM package and the tasks within it (of course provided that they have access to the installation directory).
aXeSIM was successfully built and tested under Fedora 6. It should be no problem to install aXeSIM under other Unix or Unix-like operating systems such as HPUX or MacOSX.
For the C part, a configure script is included with aXeSIM. To configure and then compile the C tasks do the following:
>cd aXeSIM10/iraf/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 aXeSIM
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 aXeSIM binaries. Type
>maketo execute the Makefile and create the binaries. The tasks must be installed in the bin sub-directory of the aXeSIM-iraf directory. Simply execute
>make installto move the binaries to their proper location.
The subscription to the aXeSIM/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 aXeSIM/aXe mailing list, please send an email to
majordomo@stecf.org with the content unsubscribe axe@stecf.org
in the mail body.