comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How can I make the headers of two fits files same in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How can I make the headers of two fits files same in IDL? [message #93005 is a reply to message #92999] Fri, 08 April 2016 07:30 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Friday, April 8, 2016 at 12:11:54 AM UTC-4, Meegle_Jade wrote:
> Is there any way to match the headers of two fits files?

This question could mean many different things.

But to make the FITS header in a file test2.fits the same as in file test1.fits

h = headfits('test1.fits')
modfits,'test2.fits',0,h

using routines from http://idlastro.gsfc.nasa.gov/homepage.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: wplot not zooming
Next Topic: Looping over odd values only

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:48:33 PDT 2025

Total time taken to generate the page: 0.64415 seconds