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/obsutil/src/sptime/abzero.cl | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'noao/obsutil/src/sptime/abzero.cl')
-rw-r--r-- | noao/obsutil/src/sptime/abzero.cl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noao/obsutil/src/sptime/abzero.cl b/noao/obsutil/src/sptime/abzero.cl new file mode 100644 index 00000000..c8b3e76b --- /dev/null +++ b/noao/obsutil/src/sptime/abzero.cl @@ -0,0 +1,10 @@ +procedure abzero (w, logf) + +real w {prompt="Wavelength (microns)"} +real logf {prompt="Log f_lambda (W/cm^2/micron)"} + +begin + x = 10000 * w + y = -2.5 * (logf + 3) - 5 * log10 (x) - 2.4 + printf ("%d %.3f\n", x, y) +end |