Download Getting Started - Center for Structural Biology

Transcript
5.2 Parameters
Suffixes p, d, and k have been given the following meaning when inputting numeric
parameters:
• The p suffix translates the input to ppm units. For example, entering sw=10p is
equivalent to entering sw=(10*reffrq).
• The d suffix translates the input to ppm units relative to the decoupler frequency. For
example, entering sw1=10d is equivalent to entering sw1=(10*reffrq).
• The k suffix translates the input to thousands. For example, fn=16k (setting the
Fourier number parameter to 16k) is equivalent to fn=(16*1000). Note, however,
that fn=16k is internally calculated to a power of 2; therefore, fn=16k actually sets
the Fourier number to 216 or 16384.
These definitions of p, d, and k are made in the bootup macro with the command unit.
Additional suffixes can be defined and p, d, and k can be redefined with the unit
command.
Mathematical expressions can contain numbers with these suffixes, so you can enter, for
example, sw=10p+tof–2k.
A string parameter takes a variable-length alphanumeric string as a value. The strings are
always enclosed within single quotation marks ('...'). For example, the value of dmm
(decoupler modulation mode) might be 'c', while the value of dm (decoupler mode) might
be 'nyy'. Many alphabetic parameters have values of 'y' for yes and 'n' for no.
By setting a parameter to the 'n' value, certain numeric parameters are capable of being
“turned off.” The parameter temp for probe temperature is an example. To select a
temperature of 60°C, type temp=60; to turn off the temperature regulation, type
temp='n'. A parameter that is deactivated by setting its value to 'n' can be reset to its
last numeric value by entering a value of 'y'. For example, if the current value of line
broadening is 1.5 (i.e., lb=1.5), you can deactivate line broadening with lb='n'. A
subsequent lb='y' will restore the value of lb to 1.5.
Parameter Entry
All parameters are entered the same way—type the name of the parameter, an equals sign,
the value, and then press the Return key. For example, to set the parameter sw to 1000, type
sw=1000 and press Return. Or to turn off temperature regulation, type temp='n' and
press Return. To input more than one parameter at the same time, separate each parameter
entry with a space and press Return after the last entry; for example, type nt=16
dm='yyy' temp=40 and press Return. (To avoid repetition in this manual, pressing the
Return key after each entry should be assumed and will not be mentioned except in special
cases.)
Parameters can be arrayed by entering a series of values separated by commas. Both
numeric parameters and string parameters can be arrayed in this fashion. For example,
entering nt=1,1,1,1 or dm='nnn','nny' makes nt or dm an arrayed parameter.
For easy entry of linearly spaced array values, you should use the array macro.
To change a specific element of an arrayed parameter, provide the array index in square
brackets ([...]) to access the element (e.g., nt[3]=2 sets the third value of the nt
array to 2). Multiple elements of an array can also be altered or added by entering a series
of values. Again using the nt example, nt[5]=4,4,4,4 adds elements 5, 6, 7, and 8
to the nt array and sets the value of each of these elements to 4.
01-999083-00 A1298
Getting Started: VNMR 6.1B
95