Home >
Manuals >
EBSP Manual >

Before you start to analyse the patterns, you have to be sure that the pole types that are pre-defined by the vect_type_ebsp.m Matlab application are the ones that you will encounter in your patterns. Indeed, if you choose a pole in the pattern which is not in the pre-defined pole list (see *General description*) ebsp.m will not be able to index the pattern. Depending on the atoms and cubic structures, some poles will be better defined in your patterns than others (due to differences in structure factors, and extinction conditions).

To start, you can choose a large number of pole types to investigate in order to index your patterns easily, but after determining the ones that you actually encounter the most, you should try to reduce the number of pole types that ebsp.m has to investigate. This will greatly speed up the indexation process.

In the .m file vect_type_ebsp.m, which is a text file that can be modified, the variable *type* on the top of the file contains the pole types ( note that in Matlab a line preceded by "%"is a comment). Using the same format, you can enter other pole types in this variable, if you wish.

After having chosen the pole types, you must run vect_type_ebsp.m which will calculate all the equivalent crytallographic directions for each pole type, calculate the angles between the poles and save all the results into the files vecteb.mat and angleeb.mat which will be called by ebsp.m during the pattern indexation routine.