View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Pset parameter declartion

ranisb wrote on Sep 05, 2008

Hi,
I am writing IRAF script. I am using Pset task and parameter, for this refering document "Named External Parameter Sets in the CL". But I didn't understand significance of comma,s,a ,h ,*,pset in parameter declartion which given on page 3 (2.2.1. Example ) in this this document.
Kindly help me.

Regards,
Rani
:?

Francisco Valdes wrote on Sep 05, 2008

IRAF parameters have 7 attributes:

name,type,mode,value,min|dictionary,max,prompt

The type may be

integer(i)
real(r)
string(s)
parameter set (pset)

In addition a preceeding * means it is "list structured". The value is a file name and each request for the parameter reads the next line for the value:

e.g. *r will read a real value from each line.

The mode may be

a for automatic
q for query
h for hidden

Anyway, what you are looking for is "pset" in order for a parameter whose value points to a file or task containing a set of parameters.

To read more on the IRAF parameter mechanism do


help parameters


The reason for the pset paper is that this was feature added after the basic IRAF parameter system was in place.

Yours,
Frank Valdes

ranisb wrote on Sep 05, 2008

thanks........Frank
:)
Rani

Last post on Sep 05, 2008