University of Illinois at Urbana-Champaign

emcGetImageShift

NAME

emcGetImageShift - Retrieve image shift settings

SYNOPSIS

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

DESCRIPTION

emcGetImageShift() retrieves the current beam shift settings

*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
*x
points where to store the current X image shift value
*y
points where to store the current Y image shift value

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

PREVIOUS Page 37 of 54 NEXT