Editing FITS file header

6 views (last 30 days)
pbilgi
pbilgi on 3 Apr 2017
Commented: pbilgi on 6 Apr 2017
How do you change a header keyword and value in a .fits file? Using matlab.io.fits.keyWrite doesn't work for me.

Answers (1)

Varun Gunda
Varun Gunda on 6 Apr 2017
The following file exchange submission will suit your purpose:
  1 Comment
pbilgi
pbilgi on 6 Apr 2017
Hey, thank you for that answer! I'll take a closer look. Though it's a shame that MATLAB's built-in fitsio functions don't take care of this. I just wanted to write unsigned 16 bit data to fits. However this requires a header modification and MATLAB makes that hard or impossible.

Sign in to comment.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!