aboutsummaryrefslogtreecommitdiff
path: root/noao/artdata/mkexamples/heneardc.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/heneardc.cl
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/artdata/mkexamples/heneardc.cl')
-rw-r--r--noao/artdata/mkexamples/heneardc.cl18
1 files changed, 18 insertions, 0 deletions
diff --git a/noao/artdata/mkexamples/heneardc.cl b/noao/artdata/mkexamples/heneardc.cl
new file mode 100644
index 00000000..8e1ab75f
--- /dev/null
+++ b/noao/artdata/mkexamples/heneardc.cl
@@ -0,0 +1,18 @@
+# heneardc - Helium-Neon-Argon spectrum (calibrated)
+
+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=4210.0, wend=7362.7, title="Helium-Neon-Argon Arc Example",
+ header=hdr, continuum=0.5, slope=0., temperature=0.,
+ lines="mkexamples$henear1.dat", profile="gaussian",
+ gfwhm=14, comments=b1)
+}
+
+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)