12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Four-CircleMacrosThe macros below are used in setting the parameters and selecting modes.Name Arguments Descriptionsetmode 1optional Choose geometry mode.setsector 1optional Choose sector.setlat 6optional Set lattice parameters.setaz 3optional Set azimuthal reference vector.setmono 2optional Set beam-line monochromator parameters.or0 3optional Set primary orientation reflection.or1 3optional Set secondary orientation reflection.setor0 none Alternative to set primary orientation reflection.setor1 none Alternative to set secondary orientation reflection.or_swap none Swap values for primary and secondary vectors.freeze none Turn on freeze mode.unfreeze none Turn freeze mode off.cz 6 Calculate zone.sz 6 Set zone parameters.mz 6 Move to zone.cuts 2/6optional Show or set cut points.Most of the macros with optional arguments will prompt for the required values ifinvoked without arguments. Using any of these macros to change a parameter willproduce a comment on the printer and in the data file.The or0 macro is a typical example of these macros.14.FOURC> prdef or0def or0 ’if ($# == 3) {_1 = $1; _2 = $2; _3 = $3} else if ($# == 0) {print "\nEnter primary-reflection HKL coordinates:"_1 = getval(" H", g_h0)_2 = getval(" K", g_k0)_3 = getval(" L", g_l0)} else {print "Usage: or0 or or0 H K L"exit}waitmove; get_anglesgpset _1 g_h0 # gpset documents the changegpset _2 g_k0gpset _3 g_l0gpset A[mA[0]] g_u00178 FOUR-CIRCLE REFERENCE INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!