Cmds File Examples
From BYU Astro Docs
Contents |
[edit]
Introduction
There are two versions of cmd files. Versions that are used prior to IRAF version 2.11 are old school cmds files. However either can be used based if asthedit parameters are set correctly. See asthedit help on iraf.net for more information.
For these example files:
- The items written in bold are the items to be edited by the user.
- The quotes are needed in the .cmds file. There are a few places were single quotes (') are used, be sure to follow the format.
- Edit only the items that are in bold.
[edit]
New Style cmds Files
- For these to work, the asthedit parameter option oldstyle should be set to no.
[edit]
AP8p with MaxIm Software
title = "Wolf 359" subset = "V" ra = "10:56:28.99" dec = "+07:00:52.0" epoch = "2000" imagetyp = "object" observers = "Locutus of Borg" obs = '@observat' observat = "esc" ut = sexstr(@'time-obs') st = mst(@'date-obs',@'time-obs',obsdb(observat,"longitude"))
[edit]
Old School cmds Files
- For these to work, the asthedit parameter option oldstyle must be set to yes.
[edit]
Pictor CCD and Pictor Software
title "Wolf 359" subset "V" date "14/06/02" ra "10:56:28.99" dec "+07:00:52.0" epoch "2000" imagetyp "object" observers "Locutus of Borg" ut sexstr ($ut) st mst (@'date',ut,obsdb(observat,"longitude"))
Note: date is in day/month/year format.
[edit]
Apogee CCD / MaxIm Software
title "Wolf 359" subset "V" ra "10:56:28.99" dec "+07:00:52.0" epoch "2000" imagetyp "object" observers "Locutus of Borg" obs '@observat' observat "esc" ut sexstr (@'time-obs') st mst (@'date-obs',@'time-obs',obsdb(observat,"longitude"))

