Tomography Toolbox    

tom_center_slit

centers the slit of the energy filter

Syntax

cycles=tom_center_slit(delta_Energy_Shift,dark_bright_ratio,max_iterations,State,COMS,platform)

Input:
delta_Energy_shift :increment of the slitmovement
dark_bright_ratio :threshold for the edge of zero-loss peak
max_iterations :max number of iterations done to search the edge of zero loss (in one direction)
State :state (structure), to set microscope in certain mode
COMS :structrure including the interface to the microcoscope (ActiveX Server)
platform :use the matlab code below or call digital micrograph routine
Output  
cycles :number of iterations needed to center the slit

Description

The edge of the slit is searched by moving the energy slit and calculating an
intensity ratio between old and new position. If the edge is not found
in one direction the sign of the shift is altered and the search is reversed.

Examples

cycles=tom_center_slit(delta_Energy_Shift,dark_bright_ratio,max_iterations,handles.Slit,handles.COMS,'Matlab');

See Also

tom_tilt_series, recenter_slit.s

    tom_center_detail_xcorr  tom_center_slit_settings