Skip to content

Importing orientations file #2180

Jul 29, 2024 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

Here come the script to start with 😄

% define the crystal symmetry
cs = crystalSymmetry('432','mineral','myMineral')

% import the data
ori = orientation.load('Cu_h1_3um_random_modified_data.txt',cs,'ColumnNames',{'Euler1','Euler2','Euler3'});

% define some crystal directions
h = Miller({1,0,0},{1,1,0},{1,1,1},cs);

% plot pole figures
figure(1)
plotPDF(ori,h)

% compute an ODF
odf = calcDensity(ori)

% plot smooth pole figures
figure(2)
plotPDF(odf,h)

I hope this helps,
Ralf.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@bma698
Comment options

Comment options

You must be logged in to vote
1 reply
@bma698
Comment options

Comment options

You must be logged in to vote
3 replies
@bma698
Comment options

@ralfHielscher
Comment options

Answer selected by bma698
@bma698
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants