From 11891c47e1da226d57df751731af1c53b27ec8dc Mon Sep 17 00:00:00 2001 From: Steffen Hirtle Date: Fri, 20 Oct 2023 19:55:19 +0200 Subject: [PATCH] Save AI-version in fits header --- graxpert/preferences.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graxpert/preferences.py b/graxpert/preferences.py index d624ec6..46ca958 100644 --- a/graxpert/preferences.py +++ b/graxpert/preferences.py @@ -161,6 +161,7 @@ def app_state_2_fitsheader(app, app_state, fits_header): fits_header["INTP-OPT"] = prefs["interpol_type_option"] fits_header["SMOOTHING"] = prefs["smoothing_option"] fits_header["CORR-TYPE"] = prefs["corr_type"] + fits_header["AI-VER"] = prefs["ai_version"] if prefs["interpol_type_option"] != "AI": fits_header["SAMPLE-SIZE"] = prefs["sample_size"]