University of Illinois at Urbana-Champaign

emcSetBeamShift

NAME

emcSetBeamShift- Change the beam shift

SYNOPSIS

#include "emc.h"
int emcSetBeamShift(EM *em, int units, int correction, int relative,
                    double x, double y);

DESCRIPTION

emcSetBeamShift() sets the current beam shift parameters

*em
points to an EM control and communications structure that was returned by the emcOpen() call.
units
the units the values are expressed in:
UNCALIBRATED_UNITS Native image shift units of instrument
ANGSTROM_UNITS Units are measured in angstroms
NANOMETER_UNITS Units are measured in nanometers
MICRON_UNITS Units are measured in microns
PIXEL_UNITS Units are measured in pixels in current camera
correction
Boolean value which enables correction of known side effects of this function.
relative
Flags what the high tension change is relative to:
EMC_RELATIVE Image shift change measured relative to current value.
EMC_ABSOLUTE Image shift changed measured relative to "no image shift" (absolute shift)
x
the amount of X-axis image shift
y
the amount of Y-axis image shift
 

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error
EMC_UNCALIBRATED (-100) Instrument not calibrated for given request
EMC_BADUNITS (-101) Invalid units specified for this request
EMC_UNSUPPORTED (-102) Function not supported

PREVIOUS Page 45 of 54 NEXT