esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

HKLEXTRA.MAC
See other macros in category: All
Description:
    Additional macros for scans in the reciprocal space.
Documentation:
    OVERVIEW
    These macros complement the standard spec macros for scanning in the reciprocal space. They include:
    • Delta scans (dhklscan, dhscan, dkscan, dlscan)
    • Radial scans in HK, HL and KL planes. These macros deal properly with the geometry of the reciprocal unit cell.


    EXAMPLE
    dlscan -.5 .5 20 1
    Scans the diffractometer in the L direction. The scan range is one reciprocal lattice unit around the current position (from L-.5 to L+.5). When the scan finishes or if the user stops the scan, the diffractometer is moved back to the initial position in the same way that dscan does for single motor scans.
    hkradscan .9 1.1 30 2
    Scan in a radial direction contained in the HK plane. The radius varies from .9 to 1.1 reciprocal lattice units. The direction is defined by the current position in reciprocal space.


Macros:
    dhklscan
    Usage: dhklscan <Hstart> <Hfinish> <Kstart> <Kfinish> <Lstart> <Lfinish> <interv.> <time>
    Scan in the reciprocal space analogous to a hklscan but the diffractometer is moved back to the initial position when the scan is finished or interrupted.

    dhscan
    Usage: dhscan <start> <finish> <intervals> <time>
    Scan in the reciprocal space analogous to a standard hscan but the diffractometer is moved back to the initial position when the scan is finished or interrupted.

    dkscan
    Usage: dkscan <start> <finish> <intervals> <time>
    Scan in the reciprocal space analogous to a standard kscan but the diffractometer is moved back to the initial position when the scan is finished or interrupted.

    dlscan
    Usage: dlscan <start> <finish> <intervals> <time>
    Scan in the reciprocal space analogous to a standard lscan but the diffractometer is moved back to the initial position when the scan is finished or interrupted.

    hkradscan
    Usage: hkradscan <Rstart> <Rfinish> <intervals> <time> [L=<expression>]
    Radial scan in the HK plane. The radius of the projection on the HK plane in made to vary from <Rstart> to <Rfinish> in reciprocal lattice units. The direction of the scan is determined by the current position of the diffractometer in the reciprocal space.
    By default the L value is constant unless <expression> is specified. If so, it is evaluated at each scan point and L is corrected accordingly.

    hlradscan
    Usage: hlradscan <Rstart> <Rfinish> <intervals> <time> [K=<expression>]
    Radial scan in the HL plane. Analogous to hkradscan.

    klradscan
    Usage: klradscan <Rstart> <Rfinish> <intervals> <time> [H=<expression>]
    Radial scan in the KL plane. Analogous to hkradscan.

    dhkradscan
    Usage: dhkradscan <Rstart> <Rfinish> <intervals> <time> [L=<expression>]
    Delta radial scan in the HK plane. It is analogous to hkradscan but <Rstart> and <Rfinish> are specified as relative values with respect to the current one. When the scan finishes or is interrupted, the diffractometer moves back to the initial position.

    dhlradscan
    Usage: dhlradscan <Rstart> <Rfinish> <intervals> <time> [K=<expression>]
    Delta radial scan in the HL plane. Analogous to dhkradscan.

    dklradscan
    Usage: dklradscan <Rstart> <Rfinish> <intervals> <time> [H=<expression>]
    Delta radial scan in the KL plane. Analogous to dhkradscan.

Internal Macros:
    _hklradscan
    Usage: _hklradscan


    _ahklradscan
    Usage: _ahklradscan


    _dhklradscan
    Usage: _dhklradscan


Filename: hklextra.mac
Author: P. Fajardo, (Original 12/96). $Revision: 3.0 $ / $Date: 1999/03/17 10:08:18 $
Last mod.: 08/08/2002 14:37 by berruyer