Author Topic: new Sript: write temperature data into fits files from datalogger data  (Read 4649 times)

Offline lucchett

  • PixInsight Old Hand
  • ****
  • Posts: 449
hi,
I don't know how difficult is...

Reason why: my camera has no temperature control and I want to write external temperatura data in the fits so that I can calibrate better and scale dark frames properly. I think this could be helpful also for DSLR users.

how: thanks to a temperature datalogger, I get the ambient temp. every minute and the values are written in a CSV files that contain date/time and the value.

A script should take the images in a folder, and for each one:

-check in the file the data point that is close in time
-read the temp value
-write the temp value in the prope field in the fits header

I hope some of you-smart guys can help me !
Best Regards,
Andrea

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
I thing it would be relatively easy to read the FITS keyword and do calculations.. scaling etc.
Logging the temp. automatically into the file is something that would have to be done by the acquisition software.

Max