aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/apphot/lib/finddef.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /noao/digiphot/apphot/lib/finddef.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/apphot/lib/finddef.h')
-rw-r--r--noao/digiphot/apphot/lib/finddef.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/lib/finddef.h b/noao/digiphot/apphot/lib/finddef.h
new file mode 100644
index 00000000..4ea9e99d
--- /dev/null
+++ b/noao/digiphot/apphot/lib/finddef.h
@@ -0,0 +1,26 @@
+# FIND header file
+
+define LEN_FIND (10)
+
+# find model parameters
+
+define AP_RATIO Memr[P2R($1)] # Gaussian axis ratio
+define AP_THETA Memr[P2R($1+1)] # Gaussian position angle
+define AP_NSIGMA Memr[P2R($1+2)] # Size of convolution kernel
+define AP_SHARPLO Memr[P2R($1+3)] # Lower sharpness bound
+define AP_SHARPHI Memr[P2R($1+4)] # Upper sharpness bound
+define AP_ROUNDLO Memr[P2R($1+5)] # Lower roundness bound
+define AP_ROUNDHI Memr[P2R($1+6)] # Higher roundness bound
+define AP_THRESHOLD Memr[P2R($1+7)] # Threshold in sigma for detection
+
+
+# noise model defaults
+
+define DEF_RATIO 1.0
+define DEF_THETA 0.0
+define DEF_NSIGMA 1.5
+define DEF_SHARPLO 0.2
+define DEF_SHARPHI 1.0
+define DEF_ROUNDLO -1.0
+define DEF_ROUNDHI 1.0
+define DEF_THRESHOLD 0.0