aboutsummaryrefslogtreecommitdiff
path: root/noao/nproto/ace/detect.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/nproto/ace/detect.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/nproto/ace/detect.h')
-rw-r--r--noao/nproto/ace/detect.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/noao/nproto/ace/detect.h b/noao/nproto/ace/detect.h
new file mode 100644
index 00000000..1c807e7c
--- /dev/null
+++ b/noao/nproto/ace/detect.h
@@ -0,0 +1,16 @@
+# Detection parameter structure.
+define DET_LEN 62 # Length of parameter structure
+define DET_STRLEN 99 # Length of strings in structure
+
+define DET_CNV P2C($1) # Convolution string
+define DET_HSIG Memr[P2R($1+51)] # High detection sigma
+define DET_LSIG Memr[P2R($1+52)] # Low detection sigma
+define DET_HDETECT Memi[$1+53] # Detect above sky?
+define DET_LDETECT Memi[$1+54] # Detect below sky?
+define DET_NEIGHBORS Memi[$1+55] # Neighbor type
+define DET_MINPIX Memi[$1+56] # Minimum number of pixels
+define DET_SIGAVG Memr[P2R($1+57)] # Minimum average above sky in sigma
+define DET_SIGPEAK Memr[P2R($1+58)] # Minimum peak above sky in sigma
+define DET_FRAC2 Memr[P2R($1+59)] # Fraction of difference relative to 2
+define DET_BPVAL Memi[$1+60] # Output bad pixel value
+define DET_SKB Memi[$1+61] # Parameters for sky update