Jump to content

Editing FITS Headers


TerryMcK

Recommended Posts

Anybody know a quick way to batch edit the FITS header? I took some subs last night and forgot the FILTER to be added to the header on 16 of them. Needless to say WBPP errors. I found a website https://www.theastrogazer.com/home/fits-header-tool which supposedly is some freeware but that program has a bitmining program embedded within it.

Link to comment
Share on other sites

2 hours ago, TerryMcK said:

Anybody know a quick way to batch edit the FITS header? I took some subs last night and forgot the FILTER to be added to the header on 16 of them. Needless to say WBPP errors. I found a website https://www.theastrogazer.com/home/fits-header-tool which supposedly is some freeware but that program has a bitmining program embedded within it.

Looks like this can be done in Pixinsight by using a script, or the image container.

 

https://pixinsight.com/forum/index.php?threads/batch-edit-fits-headers.9389/

Link to comment
Share on other sites

I've actually edited the FITS header within PI as there were so few. I missed off adding the filter within the acquisition stage of EKOS. I saw that script and installed it but it didn't seem to do what I wanted but I must admit I only gave it a cursory glance. Maybe I need to look a bit closer 🙂

 

Somebody on another forum said they had done it with a program called FITSwork https://www.fitswork.de/software/softw_en.php which I downloaded and it looks interesting.

Link to comment
Share on other sites

49 minutes ago, TerryMcK said:

I've actually edited the FITS header within PI as there were so few. I missed off adding the filter within the acquisition stage of EKOS. I saw that script and installed it but it didn't seem to do what I wanted but I must admit I only gave it a cursory glance. Maybe I need to look a bit closer 🙂

 

Somebody on another forum said they had done it with a program called FITSwork https://www.fitswork.de/software/softw_en.php which I downloaded and it looks interesting.

Can you save file naming in your profile as in SGP, similar to the setup in the image? Once applied to a profile you can forget all about file naming, unless you want to add something else, like focuser position etc.

 

Untitled-1.jpg.401ba9c1320d8857f0eb48b42c21654f.jpg

Link to comment
Share on other sites

Yes the filesnames can follow a similar format to SGP

I have them set like this "veil_Light_H_Alpha_360_secs_2021-08-24T21-57-00_003.fits" but you can add many things to the filename like temperature for instance.

The WBPP script uses the FITS header to separate lights into their respective filters but I forget to add the filter to the header in EKOS during capture 😞 

 

However I have also used the grouping keywords too recently. That was great for doing mosaics which I named PART1, PART2 etc. So I think I can use that to separate the files with H_Alpha in the name too. Several ways to do it.

image.thumb.png.39d622b91279a795cdb40ca61353ddab.png

 

However if I had got in right in the acquisition stage it would have been better LOL.

 

Link to comment
Share on other sites

I've just found another way to add the lights with no filter within the header into WBPP. Click Add Custom and it allows you to state the Image type (Light etc) and the Filter name

image.png.fc41d6d7a256eaaa3f2aeae4d1b070f7.png

 

So all is not lost and I don't have to edit the FITS header if I do it wrong again!!!

Link to comment
Share on other sites

3 hours ago, TerryMcK said:

I've just found another way to add the lights with no filter within the header into WBPP. Click Add Custom and it allows you to state the Image type (Light etc) and the Filter name

image.png.fc41d6d7a256eaaa3f2aeae4d1b070f7.png

 

So all is not lost and I don't have to edit the FITS header if I do it wrong again!!!

There is also another way. Do the calibration manually. 😀

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...