Skip to content

Commit

Permalink
EBSD3 data
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Jan 21, 2025
1 parent c93c091 commit ccedb5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Binary file added data/EBSD3/SimulatedMultiPhase.h5
Binary file not shown.
1 change: 1 addition & 0 deletions data/summary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ alphaBetaTitanium EBSD EDXLMDTi64.cpr
testgrains grain2d testgrains.mat
NeperGrain3d grain3d ..
dubnaODF SO3Fun ..
xnovo EBSD3 SimulatedMultiPhase.h5
13 changes: 10 additions & 3 deletions tools/mtexdata.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
% read list of all available sample data
list = readtable(fullfile(mtexDataPath,'summary.txt'),'ReadRowNames',true);

type2var = containers.Map({'PoleFigure', 'EBSD', 'grain2d','SO3Fun','grain3d'}, {'pf','ebsd','grains','odf','grains'});
type2var = containers.Map({'PoleFigure', 'EBSD', 'EBSD3','grain2d','SO3Fun','grain3d'}, {'pf','ebsd','ebsd3','grains','odf','grains'});

if nargin < 1

Expand Down Expand Up @@ -48,10 +48,9 @@
% change warning to error to make it catchable
w = warning('error','MATLAB:load:cannotInstantiateLoadedVariable');
try

matFile = fullfile(mtexDataPath,[ lower(name) '.mat']);
assert(~check_option(varargin,'force'));
load(matFile,'out');

catch

fName = fullfile(mtexDataPath,type,char(list(name,:).files));
Expand Down Expand Up @@ -87,6 +86,14 @@

switch type


case 'EBSD3'
switch name
case 'xnovo'
out = loadEBSD_xnovo(fName);
end


case 'grain3d'
switch name
case 'NeperGrain3d'
Expand Down

0 comments on commit ccedb5f

Please sign in to comment.