|
|
|
|
|
|
Re: How can I make the headers of two fits files same in IDL? [message #93027 is a reply to message #93026] |
Tue, 12 April 2016 22:14   |
Sonu Tabitha
Messages: 29 Registered: April 2016
|
Junior Member |
|
|
On Wednesday, April 13, 2016 at 9:01:37 AM UTC+5:30, Meegle_Jade wrote:
> On Friday, April 8, 2016 at 9:41:54 AM UTC+5:30, Meegle_Jade wrote:
>> Is there any way to match the headers of two fits files?
>
> Infact I have to make the header of fits file 'exponential.fits'same as that of 'empirical.fits'. I gave the following code for that
>
> im = readfits('empirical.fits',h)
> hdr = 'exponential.fits'
> check_FITS, im, hdr, /UPDATE
> end
>
> I saved it as FITSMATCH.pro. On executing I am getting the following error
>
> Library file does not contain a procedure or function.
> % Compiled module: FITSMATCH.
> % Attempt to call undefined procedure/function: 'FITSMATCH'.
> % Execution halted at: $MAIN$
Or is there any way to do it with write_fits?
|
|
|
|