%% Import Script for EBSD Data
%
% This script was automatically created by the import wizard. You should
% run the whoole script or parts of it in order to import your data. There
% is no problem in making any changes to this script.

%% Specify Crystal and Specimen Symmetries

% crystal symmetry
CS = {... 
  'notIndexed',...
  symmetry('m3m', 'mineral', 'Iron', 'color', 'light blue')};

% specimen symmetry
SS = symmetry('triclinic');

% plotting convention
setMTEXpref('xAxisDirection','east');
setMTEXpref('zAxisDirection','outOfPlane');

%% Specify File Names

% path to files
pname = '/Volumes/otowi-1TB/Users/rollett/Word/teaching/Micro14/MatLab_Casper/IF_Metz_Steel';

% which files to be imported
fname = [pname '/fw-ar-IF1-avtr12-corr.ctf'];

%% Import the Data

% create an EBSD variable containing the data
ebsd = loadEBSD(fname,CS,SS,'interface','ctf',...
  'convertEuler2SpatialReferenceFrame');

