PixInsight Forum

Software Development => New Scripts and Modules => Topic started by: stevek on 2019 October 17 05:25:33

Title: FITS header output script ?????
Post by: stevek 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
Title: Re: FITS header output script ?????
Post by: stevek 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....

Title: Re: FITS header output script ?????
Post by: oldwexi on 2019 October 17 06:54:59
Have a look at the script FitsDataView from HvB

http://www.skypixels.at/pixinsight_scripts.html#FDV (http://www.skypixels.at/pixinsight_scripts.html#FDV)

Downloadable from:
https://www.skypixels.at/HVB_Repository/Z/FitsDataView.zip (https://www.skypixels.at/HVB_Repository/Z/FitsDataView.zip)

Gerald
Title: Re: FITS header output script ?????
Post by: stevek on 2019 October 17 07:10:22
Thank you Gerald, will take a look.

Kind regards, Steve