Read integration times from FITS file headers for Compose module

Requests for new features and wish-list items.
Post Reply
BrendanC
Posts: 113
Joined: Sun May 17, 2020 12:23 pm

Read integration times from FITS file headers for Compose module

Post by BrendanC »

Title says it all really!

Would be great if StarTools could read these details and auto-compile them into the Compose module.

Thanks, Brendan
Not so much boldly going as randomly stumbling where plenty of people have been before
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Read integration times from FITS file headers for Compose module

Post by admin »

Thank you for this suggestion.
I never looked into this, as I assumed there was no standard way of specifying total exposure times in the FITS header. If you are aware of a standard (or defacto standard) way these are encoded, please do let me know, as I agree this would be fantastic!
Ivo Jager
StarTools creator and astronomy enthusiast
BrendanC
Posts: 113
Joined: Sun May 17, 2020 12:23 pm

Re: Read integration times from FITS file headers for Compose module

Post by BrendanC »

I know that APP and DSS do this - seems to be a field called Temporal.IntegrationTime in the FITS metadata with the aggregate time from all the subs. The standard FITS Image Headers from APP and DSS also seem to have a field, EXPTIME, with the same value.

That's a good start!

I honestly don't know about other stacking software eg Siril, PixInsight, ASTAP, Affinity etc.
Not so much boldly going as randomly stumbling where plenty of people have been before
Mike in Rancho
Posts: 1166
Joined: Sun Jun 20, 2021 10:05 pm
Location: Alta Loma, CA

Re: Read integration times from FITS file headers for Compose module

Post by Mike in Rancho »

I checked some ASTAP files and the total integration in seconds is also EXPTIME.
BrendanC
Posts: 113
Joined: Sun May 17, 2020 12:23 pm

Re: Read integration times from FITS file headers for Compose module

Post by BrendanC »

Siril uses LIVETIME for total integration, and EXPTIME for the duration of the subs.

Affinity doesn't export FITS file formats, even though it accepts them for stacking!
Not so much boldly going as randomly stumbling where plenty of people have been before
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Read integration times from FITS file headers for Compose module

Post by admin »

Thank you for your sleuthing @BrendanC and @Mike in Rancho!
Though this confirms the problem with EXPTIME being used differently in different software, this, in combination with other fields that identify the originating software, may be enough to start work on integration time detection. :thumbsup:
Ivo Jager
StarTools creator and astronomy enthusiast
BrendanC
Posts: 113
Joined: Sun May 17, 2020 12:23 pm

Re: Read integration times from FITS file headers for Compose module

Post by BrendanC »

No problem! Glad it was useful. I'm trialling PixInsight too and if I ever actually manage to get anything out of it, I'll take a look and see whether it also holds this info in the header.
Not so much boldly going as randomly stumbling where plenty of people have been before
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Read integration times from FITS file headers for Compose module

Post by admin »

I found I can - in typical cases - reconstruct total exposure time from PI FITS files by multiplying the HISTORY ImageIntegration.numberOfImages field by EXPTIME. :thumbsup:

Expect this feature in the first 1.9 alpha release (ETA still unknown).

@BrendanC, if you are trialling PI, have a look at this table, so you get a better feel for how ST terminology relates to PI equivalents.
Ivo Jager
StarTools creator and astronomy enthusiast
Post Reply