next up previous 530
Next: Specifying Groups of Objects
Up: Parameters
Previous: Special Keywords: ACCEPT, PROMPT, RESET


MIN and MAX parameter values

Many parameters have well-defined ranges of allowed values. In some cases it is useful to assign the maximum or minimum value to the parameter. Rather than give some numerical value, you can instead supply MIN to select the minimum-allowed value, and MAX to select the maximum. This applies both on the command line and at prompts. In the example,

     % block wlim=max

Parameter WLIM takes its maximum (1.0) meaning that if any of the input pixels in the smoothing box is bad, the corresponding output pixel is set bad.

Consult the reference section or the online help to see if a given parameter has such a range. If you attempt to use MIN and MAX where there is no range defined, you'll see an error message like

    !! SUBPAR_MNMX: Parameter FONT - no upper limit set

and you'll be invited to give another value.


next up previous 530
Next: Specifying Groups of Objects
Up: Parameters
Previous: Special Keywords: ACCEPT, PROMPT, RESET

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council