From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001
From: Joe Hunkeler <jhunkeler@gmail.com>
Date: Tue, 11 Aug 2015 16:51:37 -0400
Subject: Repatch (from linux) of OSX IRAF

---
 noao/imred/quadred/doc/quadsections.hlp | 81 +++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)
 create mode 100644 noao/imred/quadred/doc/quadsections.hlp

(limited to 'noao/imred/quadred/doc/quadsections.hlp')

diff --git a/noao/imred/quadred/doc/quadsections.hlp b/noao/imred/quadred/doc/quadsections.hlp
new file mode 100644
index 00000000..2735e3d5
--- /dev/null
+++ b/noao/imred/quadred/doc/quadsections.hlp
@@ -0,0 +1,81 @@
+.help quadsections Aug01 noao.imred.quadred
+.ih
+NAME
+quadsections -- Create image sections
+.ih
+USAGE
+quadsplit images
+.ih
+PARAMETERS
+.ls images
+List of image names for images in \fBquadformat\fR.
+.le
+.ls window = "datasec" (datasec|trimsec|biassec)
+Type of section to output.  The choices are "datasec" for the amplifier
+section which includes the bias if any is present, "trimsec" for the trim
+section, and "biassec" for the bias section.
+.le
+.ls section = ""
+Section to be overlapped.  The output sections will be the parts of the
+amplifier windows which are included within this section.
+.le
+.ls template = ""
+Template for producing the output.  The template replaces occurs of
+$I with the image name, $S with the section, and $A with the amplifier
+label.  If none is specified then the default template "$I$S\\n" is
+used which produces the image name with section separated by new-lines.
+The special characters "\n" is the new-line and the extra "\" is
+required to pass the new-line through to the formatting routine.
+.le
+.ih
+DESCRIPTION
+Images in "quadformat" (see help topic \fBquadformat\fR) are broken down
+in sections and written to the standard output in a specified format.
+.ih
+EXAMPLES
+1. To print the default data sections.
+
+.nf
+    qu> quadsec quad0072
+    quad0072[1:1034,1:1024]
+    quad0072[1163:2196,1:1024]
+    quad0072[1:1034,1025:2048]
+    quad0072[1163:2196,1025:2048]
+.fi
+
+3. To apply an overlap section.
+
+.nf
+    qu> quadsec quad0072 section=[1000:2000,1000:2000]
+    quad0072[1000:1034,1000:1024]
+    quad0072[1163:2000,1000:1024]
+    quad0072[1000:1034,1025:2000]
+    quad0072[1163:2000,1025:2000]
+.fi
+
+2. To print the trim sections.
+
+.nf
+    qu> quadsec quad0072 window=trimsec
+    quad0072[11:1034,1:1024]
+    quad0072[1163:2186,1:1024]
+    quad0072[11:1034,1025:2048]
+    quad0072[1163:2186,1025:2048]
+.fi
+
+
+4.  To make a custom output.
+
+.nf
+    qu> quadsec quad0072 template="image=$I, section=$S, amplifier=$A\\n"
+    image=quad0072, section=[1:1034,1:1024], amplifier=11
+    image=quad0072, section=[1163:2196,1:1024], amplifier=12
+    image=quad0072, section=[1:1034,1025:2048], amplifier=21
+    image=quad0072, section=[1163:2196,1025:2048], amplifier=22
+    qu> quadsec quad0072 template="$I.$A,"
+    quad0072.11,quad0072.12,quad0072.21,quad0072.22,
+.fi
+.ih
+SEE ALSO
+quadformat
+.endhelp
-- 
cgit 

