Welcome to iraf.net Friday, May 17 2024 @ 04:58 AM GMT
rohit |
10/02/2007 08:51PM (Read 3477 times)
|
|
|
Status: offline
Registered: 06/01/2006
Posts: 86
|
Thanks Fitz for your help in the previous question. I would like to know how I could find the code written for a particular IRAF task. That is, how FXCOR task is written, that is see the code. Please let me know. Thanks!
|
|
|
|
fitz |
10/02/2007 08:51PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You can find the source for FXCOR in the noao$rv directory. I suspect you'll be most interested in the rvrvcor.x source that does the correction, there is a lot more code that prepares the spectra for the FFT, etc.-Mike
|
|
|
|
rohit |
10/02/2007 08:51PM
|
|
|
Status: offline
Registered: 06/01/2006
Posts: 86
|
thanks, Mike. I have emailed the support astronomer at KECK for the CDELT and CRVAL values. Suppose I get them, is it possible to change the header file to incorporate them? Is so, how do you add them in the header file? I think these are the ONLY two values I need to run the FXCOR without error, right? I feel I am so close to getting it, yet so far!! :-(
|
|
|
|
fitz |
10/02/2007 08:51PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
CRVAL/CDELT are a minimum WCS, the DC-FLAG is also used to tell IRAF the type of dispersion these represent (log, linear, etc) and things like RA/DEC, exposure time, etc are also used for the RV correction (see the KEYWPARS pset) but appear to be removed by the IDL script. The HEDIT task can be used to add/edit keywords in an image, however your images still need to somehow be extraced to 1-D spectra before the task will work properly (unless you've got something like 90 orders in this spectrum??).-Mike
|
|
|
|
| |
|
Content generated in: 0.16 seconds |
|