Low-level data import

31 views
Skip to first unread message

claes.o...@gmail.com

unread,
Jan 5, 2016, 6:42:50 AM1/5/16
to MTEX

Dear somebody,

We have been using mtex ( currently 4.1) for a couple of years. We use it to calculate Kearn’s and other customized
texture factors factors from the full 0002 pole figure on Zr-base metals.

 We recently upgraded our diffractometer to a Bruker D8 with LynxEye XE detector.
 This means that we can aquire full theta-theta scans at every node point, with improved possibilities to record multiple poles, resolve overlaps etc.
 Now, Matlab is taking care of the data evaluation, and it appears OK. However,
 I am still not sure I understand how to properly construct a pole figure from raw intensities in mtex 4.1.
 
From the curve fitting routine, I build a matrix of intensities ”poleInts” size 1152x9, where every column
(except no 2) represents one set of pole intensities with background subtracted. I have written the following
code to create a pole figure structure in mtex:

----------Code Sample

psi = (0:5:355)*pi/180;
theta = (0:5:75)*pi/180;

% Crystal symmetry, Zr
cs = crystalSymmetry('6/mmm', [1 1 1.62]);

% Specimen symmetry
ss = specimenSymmetry('-1');

% Plotting convention
plotx2north;

hkls = { ...
        Miller(1, 0, -1, 0, cs), ...
        Miller(0, 0, 0, 2, cs), ...
        Miller(1, 0, -1, 1, cs), ...
        Miller(1, 0, -1, 2, cs), ...
        Miller(1, 1, -2, 0, cs), ...
        Miller(1, 0, -1, 3, cs), ...
        Miller(1, 1, -2, 2, cs), ...
        Miller(2, 0, -2, 1, cs); ...
    };

S2G = regularS2Grid('rho', psi, 'theta', theta);

k = 1;

for i = [1 3 4 5 6 7 8 9],
    pf({k}) = PoleFigure(hkls{k}, S2G, poleInts(:, i), 'CS', cs, 'SS', ss);
    k = k + 1;
end;


/-------Code Sample


With this, I manage to create a pole figure object 72x128,  with only the first 8 positions filled out.
The code gives reasonable results, but I feel there should be a better way of doing this?
Is there a cheat-sheet describing pole figure structure and how to perform low-level operations?
The starting point for the code above was one of the generic import routines.

Grateful for any hints.

Best wishes for 2016,

Claes Olsson

Reply all
Reply to author
Forward
0 new messages