Author Topic: FITS header output script ?????  (Read 362 times)

Offline stevek

  • PixInsight Addict
  • ***
  • Posts: 128
    • View Profile
FITS header output script ?????
« on: 2019 October 17 05:25:33 »
Hi,
Anyone know of a PI script or tool that can read user defined headers from a set of FITS/XISF files please and output them to a CSV/text/plot?
Batchstatistics script looked ideal but cannot define variables for things like filter position, focus position, temperature etc that exist in the header.  I want to plot some things against temperature to see if there is a linear correlation.

Maybe need to build a Python CLI tool.  Just wondered if I am reinventing the wheel and there is a PI script?

Many thanks, Steve

Offline stevek

  • PixInsight Addict
  • ***
  • Posts: 128
    • View Profile
Re: FITS header output script ?????
« Reply #1 on: 2019 October 17 06:33:57 »
Actually, you can do it in a roundabout way with FITSKeywords script.

Open the script.  Load the files.  Select the FITS keywords you are interested in.  Then hit FITS.txt and it will generate a text file with the values populated.  A bit of reformatting of this text and then copy and paste into Excel to plot.

Surely must be a better way to plot there and then inside PI.  May look if subframe selector can do it....


Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 623
    • View Profile
    • Astronomy Pages G.W.
Re: FITS header output script ?????
« Reply #2 on: 2019 October 17 06:54:59 »

Offline stevek

  • PixInsight Addict
  • ***
  • Posts: 128
    • View Profile
Re: FITS header output script ?????
« Reply #3 on: 2019 October 17 07:10:22 »
Thank you Gerald, will take a look.

Kind regards, Steve