aboutsummaryrefslogtreecommitdiff
path: root/noao/artdata/mkexamples/henear.cl
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/artdata/mkexamples/henear.cl
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/artdata/mkexamples/henear.cl')
-rw-r--r--noao/artdata/mkexamples/henear.cl20
1 files changed, 20 insertions, 0 deletions
diff --git a/noao/artdata/mkexamples/henear.cl b/noao/artdata/mkexamples/henear.cl
new file mode 100644
index 00000000..cec48b98
--- /dev/null
+++ b/noao/artdata/mkexamples/henear.cl
@@ -0,0 +1,20 @@
+# henear - Helium-Neon-Argon spectrum (uncalibrated)
+
+file out, hdr
+
+out = s1
+hdr = "mkexamples$archdr.dat"
+
+for (k=1; k<=i; k+=1) {
+ mk1dspec (out, output="", ap=k, rv=0., z=no, ncols=512, naps=i,
+ wstart=4209.0+k, wend=7361.7+k, title="Helium-Neon-Argon Arc Example",
+ header="", continuum=0.5, slope=0., temperature=0.,
+ lines="mkexamples$henear2.dat", profile="gaussian", gfwhm=14,
+ comments=b1)
+}
+
+mkheader (out, hdr, append=no, verbose=no)
+
+mknoise (out, output="", ncols=512, nlines=512, title="", header="",
+ background=0., gain=1., rdnoise=10., poisson=yes, seed=j, cosrays="",
+ ncosrays=0, energy=30000., radius=0.5, ar=1., pa=0., comments=b1)