View Issue Details

IDProjectCategoryView StatusLast Update
0002164CCdciel[All Projects] Generalpublic19-08-11 17:21
ReporterhanAssigned To 
PrioritylowSeveritytweakReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target Version1.0Fixed in Version 
Summary0002164: Code tweak for HFD calculation
DescriptionSuggest the following code optimisation in cu_fits.pas. I noted that in very very rare cases the Sumval value can be below zero resulting in my program in a run time error.

In cu_fits line 1713 and line 1886, so twice:

- Sumval:=Sumval+0.00001;{prevent divide by zero}
+ if Sumval<0.00001 then Sumval:=0.00001;{prevent divide by zero}
TagsNo tags attached.


Patrick Chevalley

19-08-11 17:21

administrator   ~0005839

Thank you, I apply the fix.

Must be really strange image to get a star detection with the values inside the box smaller than BG.

Issue History

Date Modified Username Field Change
19-08-11 16:58 han New Issue
19-08-11 17:21 Patrick Chevalley Status new => resolved
19-08-11 17:21 Patrick Chevalley Resolution open => fixed
19-08-11 17:21 Patrick Chevalley Target Version => 1.0
19-08-11 17:21 Patrick Chevalley Note Added: 0005839