multiple-extension FITS file format
Guest wrote on Feb 20, 2006
Dear IRAF folks,
I have a relatively simple question:
I'm reducing some HIRES/Keck data that comes in multiple-extension FITS
file format. When I use RFITS to separate the three extensions,
corresponding to the three chips of the detector, the complete image
header is not saved. A small subset of the header remains but not the
full orginal which contains important information like UT, Date-obs,
exptime, targname, RA, Dec, etc.
Do you know of a way to separate the extensions and keep the image
headers? (I'd like to do this without using the .imh and .pix files, just
with plain IRAF fits format.)
Thanks!
Evgenya Shkolnik
-------------------------------------------------
Evgenya Shkolnik Tel: 808-956-8800
NRC Postdoctoral Fellow Fax: 808-956-7264
NASA Astrobiology Institute
University of Hawaii - Manoa
Post generated using Mail2Forum (http://www.mail2forum.com)
I have a relatively simple question:
I'm reducing some HIRES/Keck data that comes in multiple-extension FITS
file format. When I use RFITS to separate the three extensions,
corresponding to the three chips of the detector, the complete image
header is not saved. A small subset of the header remains but not the
full orginal which contains important information like UT, Date-obs,
exptime, targname, RA, Dec, etc.
Do you know of a way to separate the extensions and keep the image
headers? (I'd like to do this without using the .imh and .pix files, just
with plain IRAF fits format.)
Thanks!
Evgenya Shkolnik
-------------------------------------------------
Evgenya Shkolnik Tel: 808-956-8800
NRC Postdoctoral Fellow Fax: 808-956-7264
NASA Astrobiology Institute
University of Hawaii - Manoa
Post generated using Mail2Forum (http://www.mail2forum.com)
Guest wrote on Feb 20, 2006
Hello;
You can try:
imcopy in.fits[0] out1.fits
imcopy in.fits[1] out2.fits
....
Also, the fitsutil external package has a task to split a
MEF file with one command (fxsplit).
Regards
Nelson Zarate
NOAO
You can try:
imcopy in.fits[0] out1.fits
imcopy in.fits[1] out2.fits
....
Also, the fitsutil external package has a task to split a
MEF file with one command (fxsplit).
Regards
Nelson Zarate
NOAO
Guest wrote on Feb 20, 2006
"An addition to the previous reply":
If you want to have the global header (i.e. from in.fits[0]) appended to
your extension header then add the 'inherit+' parameter value:
imcopy in.fits[1][inherit+] out.fits
out.fits will contain the extension header plus the header from in.fits[0] (Global header).
Nelson Zarate
If you want to have the global header (i.e. from in.fits[0]) appended to
your extension header then add the 'inherit+' parameter value:
imcopy in.fits[1][inherit+] out.fits
out.fits will contain the extension header plus the header from in.fits[0] (Global header).
Nelson Zarate
Last post on Feb 20, 2006