diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/artdata/mkexamples/spectrum.cl | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'noao/artdata/mkexamples/spectrum.cl')
-rw-r--r-- | noao/artdata/mkexamples/spectrum.cl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noao/artdata/mkexamples/spectrum.cl b/noao/artdata/mkexamples/spectrum.cl new file mode 100644 index 00000000..a5045b8f --- /dev/null +++ b/noao/artdata/mkexamples/spectrum.cl @@ -0,0 +1,19 @@ +# spectrum - Object spectrum (calibrated) + +file out, hdr + +out = s1 +hdr = "mkexamples$objhdr.dat" + +for (k=1; k<=i; k+=1) { + x = k * 100. + mk1dspec (out, output="", ap=k, rv=0., z=no, ncols=512, naps=i, + wstart=4210.0, wend=7362.7, title="Artificial Spectrum", + header=hdr, continuum=x, slope=0., temperature=5700., + lines="", nlines=50, peak=-0.5, profile="gaussian", gfwhm=24, + seed=i, comments=b1) +} + +mknoise (out, output="", ncols=512, nlines=512, title="", header="", + background=0., gain=1., rdnoise=3., poisson=yes, seed=j, cosrays="", + ncosrays=0, energy=30000., radius=0.5, ar=1., pa=0., comments=b1) |