From 16ebce56f315c75b700179b9fc56bf402257924f Mon Sep 17 00:00:00 2001
From: gerald <gerald.moesenlechner@univie.ac.at>
Date: Wed, 31 Jan 2024 18:24:48 +0100
Subject: [PATCH] Release of V1.1

---
 matlab_model/HFS_config.xml | 38 +++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/matlab_model/HFS_config.xml b/matlab_model/HFS_config.xml
index e8429b8..971893f 100644
--- a/matlab_model/HFS_config.xml
+++ b/matlab_model/HFS_config.xml
@@ -21,17 +21,17 @@
         flat field is clipped at 1.0 per pixel.  -->
   <flat_sigma>0.03</flat_sigma>
 
-  <!-- Fixed bias value that is included in the final image. -->
+  <!-- Fixed bias value that is included in the final image. Default: 2000 -->
   <bias>2000.0</bias>
 
-  <!--  The mean read noise of a pixel in ADU. -->
+  <!--  The mean read noise of a pixel in ADU. Default: 20 -->
   <readout_noise>20.0</readout_noise>
 
   <!-- The mean bkgr noise in photons per second. -->
   <bkgr_noise>1.1</bkgr_noise>
 
   <!--  The mean dark current in a pixel in electrons per
-        second. -->
+        second. Deefault: 1 -->
   <dark_average>1</dark_average>
 
   <!--  The fraction of hotpixels of all sensor pixels. These
@@ -56,16 +56,16 @@
   <!--  State variable denoting end of ongoing reset, Default: 0-->
   <reset_end>0</reset_end>
 
-  <!--  Tolerance for the timing related checks for centroid generation, rerset 
+  <!--  Tolerance for the timing related checks for centroid generation, reset 
         and transitions, Default: 0.005-->
-  <timing_tolerance>0.0</timing_tolerance>
+  <timing_tolerance>0.005</timing_tolerance>
 
   <!--  relative path of the Psf input files. The psfs are given as 40x40px
         arrays that are stored in the C array format -->
 
-  <FGS1_Psf>../FGS1_270nm.txt</FGS1_Psf>
+  <FGS1_Psf>./FGS1_270nm.txt</FGS1_Psf>
 
-  <FGS2_Psf>../FGS2_270nm.txt</FGS2_Psf>
+  <FGS2_Psf>./FGS2_270nm.txt</FGS2_Psf>
 
   <!-- Plate scale of FGS1 in mas/px, Default: 175 -->
   <FGS1_PS>175.0</FGS1_PS>
@@ -103,7 +103,7 @@
   <FGS_mode>Tracking</FGS_mode>
 
   <!-- FWHM of the gaussian used as a weighting function in the centroid calculation in px.
-      Default: FGS1: x = 16, y = 15; FGS2: x = 11, y = 14
+      Default: FGS1: x = 5, y = 5; FGS2: x = 6, y = 6
   -->
   <FWHM_FGS1_x>5</FWHM_FGS1_x>
   <FWHM_FGS1_y>5</FWHM_FGS1_y>
@@ -121,7 +121,7 @@
   <target_signal>60000</target_signal>
 
   <!--  lower signal limit ("There is a signal" check) for centroid validation in % of target signal. defalt 1%-->
-  <lower_signal_limit>1.0</lower_signal_limit>
+  <lower_signal_limit>1</lower_signal_limit>
 
   <!--  Sigma threshold in ADU used in the validation procedure -->
   <validation_sigma>10</validation_sigma>
@@ -130,7 +130,7 @@
         Index can range from -1 to 1. A value of 0.5 to 0.6 serves as a
         decent cutoff for invalid measurements-->
   <validation_pearson_limit>0.6</validation_pearson_limit>
-  
+
   <!-- default failed status of the HFS -->
   <failed_status>0</failed_status>
 
@@ -140,13 +140,15 @@
     <iterations>5</iterations>
     <!--  Toogle optional median filter -->
     <median_filter>1</median_filter>
-    <!--  Toogle thresholding, 1: minimum thresholding, 2: aggressive threshold using sigma -->
+    <!--  Toogle thresholding -->
     <thresholding>2</thresholding>
     <!--  Delay of the centroid packet in seconds.
           Note: must be lower than the integration time (0.125 s) -->
     <delay>0.02</delay>
     <!-- Exposure time for mode Tracking in s, default: 0.1 -->
     <exposure_time>0.1</exposure_time>
+    <!--  Brightness tolerance for Validation default is 30% -->
+    <tolerance>30</tolerance>
     <!-- Dimension of the Tracking window in px, default: 64 -->
     <dim>64</dim>
   </Tracking>
@@ -157,27 +159,27 @@
     <iterations>3</iterations>
     <!--  Toogle optional median filter -->
     <median_filter>0</median_filter>
-    <!--  Toogle thresholding, 1: minimum thresholding, 2: aggressive threshold using sigma -->
+    <!--  Toogle thresholding -->
     <thresholding>2</thresholding>
     <!--  Delay of the centroid packet in seconds.
           Note: must be lower than the integration time (0.5 s) -->
     <delay>0.1</delay>
     <!-- Exposure time for mode Acquisition in s, default: 0.5 -->
     <exposure_time>0.5</exposure_time>
-    <!--  Brightness tolerance for target identification default is 20% -->
-    <tolerance>20</tolerance>
+    <!--  Brightness tolerance for target identification default is 30% -->
+    <tolerance>30</tolerance>
     <!-- Dimensiton of the Acquisition window for FGS1, default: 128px -->
     <FGS1_dim>128</FGS1_dim>
     <!-- Dimensiton of the Acquisition window for FGS2, default: 161px -->
     <FGS2_dim>161</FGS2_dim>
-    <!-- Limit of brightest sources to be considered in the source extraction. Default: 10-->
-    <target_limit>10</target_limit>
+    <!-- Limit of brightest sources to be considered in the source extraction. Default: 25-->
+    <target_limit>25</target_limit>
     <!-- Signal Sigma Limit for Source extent check. Default: 1000. Possible cause for 107 error if set too high-->
     <extension_sigma>1000</extension_sigma>
   </Acquisition>
 
-  <!--  Relative path to the star catalouge -->
-  <Star_catalouge>../src/Star_catalouge.csv</Star_catalouge>
+  <!--  Relative path to the star catalogue -->
+  <Star_catalogue>./src/Star_catalogue.csv</Star_catalogue>
 
   <!-- 	Flag indicating if images features shall be generated from existing files. 
   	Only applicable for saved states-->
-- 
GitLab