Wavextract
Download
Installation instructions
- Unbundle the tar file in some directory
- In wavext.com there is a link to an IRAF library which links Fortran code to IRAF enabling the FITS data and header parameters to be read and written. You need to find libiraf77.a on your machine (perhaps under iraf/extern/stsdas/lib/libiraf77.a or in the Scisoft directory structure if you have that installed) and then change the link. You may have to consult your systems person but usually the library is somewhere accessible.
- Compile the code with >sh wavext.com. This makes wavext.e in the directory.
- In the directory in which you usually start IRAF there is a file called login.cl. Around where you have lines like
#
# Default USER package; extend or modify as you wish. Note that this can
# be used to call FORTRAN programs from IRAF.
#
package user
#
add a line
task wavextract = /directory/wavext.e
where the directory is the location where you compiled the code.
When you next log in to IRAF you should find a new task called wavextract and you can enter parameters with epar as any other task.
If you recompile or change the wavextract.par file you need to log in to IRAF (or PYRAF if you use that instead) again.
Many thanks to Jeremy Walsh for providing this script
page_revision: 2, last_edited: 1243442823|%e %b %Y, %H:%M %Z (%O ago)





