Welcome to iraf.net Friday, May 10 2024 @ 09:51 AM GMT
eteq |
06/28/2007 08:13PM (Read 2758 times)
|
|
|
Status: offline
Registered: 06/28/2007
Posts: 1
|
I'm using the apall task to extract a series of spectra, and I can't seem to find a way to tell it to do exactly what it did the last time it was run. I want to simply output the exact same thing, but in a different format (e.g. I want both strip and onedspec files.). If I set references to "last" and turn off the interactive option for the second one, I get very different spectra (I think because its not fitting the trace function if I don't interactively tell it to). Anyone know of how this can be done?
|
|
|
|
valdes |
06/28/2007 08:13PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
You should do the extraction on one, or go through the steps up to extraction, and save the aperture definitions. Normally this is automatic and it is saved with the same name as the image (without the .fits).To apply the same aperture definitions on another image set the "reference" parameter to the name of the image. Be sure to turn off all the steps except the extraction so that it doesn't change the definitions; e.g. you don't want to retrace.This should apply the exact same aperture definitions (centering, trace, aperture ids, etc.)Yours,
Frank Valdes
|
|
|
|
adidar |
06/28/2007 08:13PM
|
|
|
Status: offline
Registered: 07/20/2007
Posts: 1
|
[quote:cfeda50f05="valdes"]To apply the same aperture definitions on another image set the "reference" parameter to the name of the image. Be sure to turn off all the steps except the extraction so that it doesn't change the definitions; e.g. you don't want to retrace.[/quote:cfeda50f05]I'm also having the same problem. I tried this and it didn't work. Fuzzing around I also set the profiles parameter the same as references and that worked. You have to set both and also turn OFF apall.trace, apall.fittrace and the other parameters except for apall.extract, of course.
|
|
|
|
| |
|
Content generated in: 0.07 seconds |
|