To inspect the inputs of a task, as well as to select the task, e.g. histo type
Miriad% inp histo
miriad will
show the parameters of the task along with the values, if any,
previously set. For example, if, the first time you run miriad, you type:
Miriad% inp histo
miriad will reply by writing:
Task: histo
in =
region =
range =
nbin =
and will replace the Miriad% prompt with a task prompt
histo%
indicating that you have chosen the task histo. You can also choose the
task histo without using inp by typing:
Miriad% task histo
miriad will then replace the Miriad% prompt with the
histo% prompt, but
the inputs will not be printed out. In either way
a parameter can be set by typing any of:
histo% in=gauss
histo% set in gauss
(the first form being preferred). In either case retyping:
histo% inp
will result in miriad replying:
Task: histo
in = gauss
region =
range =
nbin =
Tasks are run either by typing go taskname at
the Miriad% prompt
(advisable only if you know you like the inputs) or by typing go at the
taskname% prompt. Thus, in the above example, typing:
histo% go
would result in the task histo running with in=gauss as the only
assigned paramater (all the other parameters were set to their default
values).
Any task can be run regardless of the chosen task, merely by typing:
Miriad% go itemize
miriad then executes the task itemize
(using whatever input parameters it finds from the lastexit file
or a previous run) and changes the default
task and prompt to:
itemize%