ecidentify and dispcor
samiam wrote on Feb 20, 2009
dispcor seems to want files that would result from the task identify, and doesn't seem to recognize the files from ecidentify.
I successfully used ecidentify on an echelle lamp spectrum, and it wrote a file to the database folder called ec[lampimage]. Then when I run dispcor, I get these error messages for each image:
Warning: Database field not found
Warning: Cannot open file (database/id[lampimage])
Warning: [objectimage].fits: Dispersion data not found
So it's looking for id[lampimage] not ec[lampimage]. I tried just changing the names of the files from ec[lampimage] to id[lampimage] and it seemed to run ok, but when I got to the end of the whole process I realized that it hadn't actually put in the wavelengths. The files I got at the end were arrays of pixel number and flux, not wavelength and flux.
I also tried taking "REFSPEC1" out of the header of the object image and rerunning it. It then ran using the ec[lampimage] files, but again, it didn't do the wavelength calibration.
Any ideas how to get dispcor to read the output from ecidentify? Thanks!
I successfully used ecidentify on an echelle lamp spectrum, and it wrote a file to the database folder called ec[lampimage]. Then when I run dispcor, I get these error messages for each image:
Warning: Database field not found
Warning: Cannot open file (database/id[lampimage])
Warning: [objectimage].fits: Dispersion data not found
So it's looking for id[lampimage] not ec[lampimage]. I tried just changing the names of the files from ec[lampimage] to id[lampimage] and it seemed to run ok, but when I got to the end of the whole process I realized that it hadn't actually put in the wavelengths. The files I got at the end were arrays of pixel number and flux, not wavelength and flux.
I also tried taking "REFSPEC1" out of the header of the object image and rerunning it. It then ran using the ec[lampimage] files, but again, it didn't do the wavelength calibration.
Any ideas how to get dispcor to read the output from ecidentify? Thanks!
Guest wrote on Feb 20, 2009
Hi,
I am no Iraf expert but I just finished calibrating my wavelength using ECIDENTIFY, REFSPECTRA, DISPCOR. Maybe REFSPECTRA didnât assign the lamp correctly. Maybe you can check that the names are correct:
If you give detail parameters of the tasks used, then it would be easier for the experts to help you. Best wishes.
Siti
I am no Iraf expert but I just finished calibrating my wavelength using ECIDENTIFY, REFSPECTRA, DISPCOR. Maybe REFSPECTRA didnât assign the lamp correctly. Maybe you can check that the names are correct:
ecidentify lampimage
refspectra objectimage refe=lampimage
dispcor objectimage objectimage_w databas=database
refspec1= âlampimageâ under image header.
When you cd database and âvi eclampimageâ you should see something like:
id lampimage
task ecidentify
image lampimage etc
If you give detail parameters of the tasks used, then it would be easier for the experts to help you. Best wishes.
Siti
Francisco Valdes wrote on Feb 20, 2009
I hope you got this sorted out. Dispcor is designed to automatically identify and use the appropriate dispersion solution from identify or ecidentify. I suspect, as Siti mentioned, that there is some other error in your parameters. If you are still having problems send as much information as you think might be relevant. This includes all parameter settings, any relevant header listings, and possible directory listings. Of course any error output is important also.
Yours,
Frank Valdes
Yours,
Frank Valdes
Last post on Feb 20, 2009