Get filternsme in flats file and FITS keywords

Somewhere to ask questions about the best way to use SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Post Reply
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Get filternsme in flats file and FITS keywords

#1

Post by zerolatitude »

Can't see a way to do this.

If I'm missing something, how do I do this?

If not, can this feature be added? Filter name should be visible in the flat filename as well as the FILTER keyword.

This is needed in Pixinsight ( and possibly other programs) which automatically match flats to lights using filters. Right now i am doing it manually but would purge to use the available automated feature 😀
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Get filternsme in flats file and FITS keywords

#2

Post by admin »

Ah, interesting!

There is currently no framework to give custom names to flat files (which makes adding the filter name to the file name hard). On the other hand, I think getting the FILTER keyword into the FITS headers will be easier - I will investigate.

cheers,

Robin
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Get filternsme in flats file and FITS keywords

#3

Post by zerolatitude »

Thanks. Adding to the FILTER keyword will do for now as that is what is generally picked up.

Regarding the file name, just to be clear, the ask is not for custom naming, its to change the default (and only) way it is named.

The current filename if I remember correctly is something like
<ExpTime>_<CaptureTime>_<Offset%>.fit

I'm suggesting the file instead be named as

masterflat_<Filter>_<ExpTime>_<Date:s>_<CaptureTime>_<Offset%>.fit

No customisation required. If anyone wants to add other imaging train details they can rename the file manually.

I suppose if the filter name can be picked up and deposited into the FITS header it can also be put into the name?

Thanks
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Get filternsme in flats file and FITS keywords

#4

Post by admin »

Hi,

I just tested this afternoon and I was getting FILTER headers in the saved flat FITS file (latest SharpCap 4.0, with a filter wheel connected). Can you confirm if you see the same or not. Very odd.

cheers,

Robin
User avatar
Menno555
Posts: 1060
Joined: Mon Apr 20, 2020 2:19 pm
Location: The Netherlands
Contact:

Re: Get filternsme in flats file and FITS keywords

#5

Post by Menno555 »

Hi Robin

I use the manual filter wheel setting and in neither Flats or Darkflats the filter name is in the header.
This with SC 4.0.8315

Menno
zerolatitude
Posts: 156
Joined: Mon Mar 01, 2021 5:24 am

Re: Get filternsme in flats file and FITS keywords

#6

Post by zerolatitude »

Hi Robin,

I just checked. Its there in the header in the flats I just took to test.

But not in the flats taken on 15 October.

Is this a recent addition?
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Get filternsme in flats file and FITS keywords

#7

Post by admin »

Hi,

no, but I wonder if the way it gets there might not be reliable - it may depend on exposure length (very short exposure may not populate the data) and other factors. I will investigate a bit more.

cheers,

Robin
Post Reply