Welcome to iraf.net Friday, May 10 2024 @ 09:52 PM GMT
ebubar |
09/14/2010 05:36PM (Read 1156 times)
|
|
|
Status: offline
Registered: 05/28/2009
Posts: 2
|
I wonder if anyone can help with this. I am reducing some MIKE echelle spectra using the mike_tools packages. I've reached the point where I am correcting for the tilt of the slit using a fortran program called tiltpars. It is compliled and I have linked to it using:
task tiltpars=location/./tilparsThis gives me an error:
ERROR: task 'tiltpars' has no param fileI assume I need to link somehow so that IRAF knows its a fortran executable, not an IRAF package. Any insight?
|
|
|
|
ebubar |
09/14/2010 05:36PM
|
|
|
Status: offline
Registered: 05/28/2009
Posts: 2
|
If anyone else runs into this, I seem to have fixed the problem. I needed to first include the path to my tiltpars executable in my .bashrc:
In my case:
PATH=$PATH:/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/:$PATHI also added an alias to my executable:
alias tiltpars='/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/./tiltpars'Finally, I loaded this into IRAF using the $foreign option...task $tiltpars=$foreign which I believe tells IRAF that the command tiltpars isn't an IRAF script.
|
|
|
|
| |
|
Content generated in: 0.05 seconds |
|