esrf

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

MSCAN.MAC
See other macros in category: Scans
Description:
    Macro for special mirror scans to determine its shape
Documentation:
    DESCRIPTION
    The incoming beam will be scanned in height and at each point the outgoing reflection will be searched with another scan. You will need a motor which can scan the beam up and down ( a pinhole for example) and a motor which scans a one dimensional detector up and down (like a wire monitor or a slit). The resulting data can be treated with a special program (contact us)

Macros:
    mscansetup
    Usage: mscansetup
    Sets the scan up. the following questions will be asked:
    Factor to multiply FWHM to get new scan width
    After the first wire scan, the new scan will be done around the the point where the beam should be for a plane mirror.
    Minimum FWHM to accept a peak as a peak
    Minimum max_counts to accept peak
    Both questions are to define the beam on the wire monitor
    Distance Mirror-zero to wire monitor [m]
    Mirror Angle (for Slope Error) [mrad]
    Questions about the geometrical setup of your experiment
    Do you want to do a regular check scan
    A regular checkscan with the beam going back to 0 and a wire scan can be done to be sure not to loose steps. All the following questions are for these checkscans
    Interval between check scans (1,2,..)
    From Position
    To Position
    No of points
    Count time


    mscan
    Usage: mscan <mot1 s1 f1 intervals1 mot2 s2 f2 intervals2 time>
    Derived from a standard spec mesh scan. The mot1 will be the wire (or beam monitor) and mot2 the pinhole (beam scan motor)

    mscshow
    Usage: mscshow
    Print the results from the last scan on the screen

Internal Macros:
    msc_calcpars
    Usage: msc_calcpars


    msc_res
    Usage: msc_res


    msc_calcres
    Usage: msc_calcres


    mscslope
    Usage: mscslope


    mscpos
    Usage: mscpos


    msc_checksteps
    Usage: msc_checksteps


    msc_MAX
    Usage: msc_MAX


    msc_FWHM
    Usage: msc_FWHM


    msc_CFWHM
    Usage: msc_CFWHM


Filename: mscan.mac
Author: JK
Last mod.: 19/08/2013 10:57 by witsch