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

Offline stevek

  • PixInsight Addict
  • ***
  • Posts: 148
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: 148
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: 627
    • Astronomy Pages G.W.
Re: FITS header output script ?????
« Reply #2 on: 2019 October 17 06:54:59 »

Offline stevek

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

Kind regards, Steve

Offline catpool

  • Newcomer
  • Posts: 3
Re: FITS header output script ?????
« Reply #4 on: 2019 December 30 23:49:59 »
Unfortunately none of them works with XIFS. Is there any solution for getting KEYWORDS from XIFS in batch?

Offline hvb356

  • PixInsight Enthusiast
  • **
  • Posts: 77
Re: FITS header output script ?????
« Reply #5 on: 2020 January 01 00:13:20 »
Did you select XISF in the file dialog?

Hartmut
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline catpool

  • Newcomer
  • Posts: 3
Re: FITS header output script ?????
« Reply #6 on: 2020 January 04 03:37:23 »
No I didn't. Many thanks!!! :)