Editing FITS file header

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

0 votes

The following file exchange submission will suit your purpose:

1 Comment

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.

Products

Tags

Asked:

on 3 Apr 2017

Commented:

on 6 Apr 2017

Community Treasure Hunt

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

Start Hunting!