Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DCT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
graintracking
DCT
Commits
1a165d7f
Commit
1a165d7f
authored
9 years ago
by
Nicola Vigano
Browse files
Options
Downloads
Patches
Plain Diff
FED - phantom generation: removed commented out sections
Signed-off-by:
Nicola Vigano
<
nicola.vigano@esrf.fr
>
parent
0c3713a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
7_fed2/gtFedTestLoadData_v2.m
+1
-28
1 addition, 28 deletions
7_fed2/gtFedTestLoadData_v2.m
with
1 addition
and
28 deletions
7_fed2/gtFedTestLoadData_v2.m
+
1
−
28
View file @
1a165d7f
...
@@ -169,10 +169,6 @@ if ~all(gradok)
...
@@ -169,10 +169,6 @@ if ~all(gradok)
disp
(
find
(
~
gradok
)
'
)
disp
(
find
(
~
gradok
)
'
)
end
end
% figure('name', 'Epsilon33')
% slice(dmvol(:, :, :, 3), grsize(1)/2, grsize(2)/2, grsize(3)/2);
% colorbar
disp
(
'Largest deformation component:'
)
disp
(
'Largest deformation component:'
)
disp
(
max
(
dmvol
(:)))
disp
(
max
(
dmvol
(:)))
disp
(
'Smallest deformation component:'
)
disp
(
'Smallest deformation component:'
)
...
@@ -195,27 +191,6 @@ end
...
@@ -195,27 +191,6 @@ end
grain
=
gtCalculateGrain
(
grain
,
parameters
);
grain
=
gtCalculateGrain
(
grain
,
parameters
);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Arrows of projection vectors
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Quiver figure of projection vectors
% dvecsam = grain.allblobs.dvecsam(lbl, :);
%
% figure('name', 'Projection vectors')
% quiver3(zeros(nbl, 1), zeros(nbl, 1), zeros(nbl, 1), ...
% dvecsam(:, 1), dvecsam(:, 2), dvecsam(:, 3));
% axis equal
% hold on
% for ii = 1:nbl
% text(dvecsam(ii, 1), dvecsam(ii, 2), dvecsam(ii, 3), ...
% num2str(ii), 'VerticalAlignment', 'Bottom', 'Color', 'm')
% text(dvecsam(ii, 1), dvecsam(ii, 2), dvecsam(ii, 3), ...
% num2str(fedpars.loadbl(ii)), 'VerticalAlignment', 'Top', 'Color', 'r')
% end
% title('blob ID in FED (magenta), blob ID in grain (red)')
% drawnow();
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Iinitial blob parameters
%%% Iinitial blob parameters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
@@ -230,7 +205,7 @@ grain.proj(1:num_dets) = struct( ...
...
@@ -230,7 +205,7 @@ grain.proj(1:num_dets) = struct( ...
for
n
=
1
:
num_dets
for
n
=
1
:
num_dets
% Checking if we should just project all of them, or wether the user
% Checking if we should just project all of them, or wether the user
% has something to say abou it.
% has something to say abou it.
if
(
isfield
(
fedpars
,
'detector'
))
if
(
isfield
(
fedpars
,
'detector'
)
&&
isfield
(
fedpars
.
detector
(
n
),
'ondet'
)
)
ondet
=
fedpars
.
detector
(
n
)
.
ondet
;
ondet
=
fedpars
.
detector
(
n
)
.
ondet
;
included
=
fedpars
.
detector
(
n
)
.
included
;
included
=
fedpars
.
detector
(
n
)
.
included
;
selected
=
fedpars
.
detector
(
n
)
.
selected
;
selected
=
fedpars
.
detector
(
n
)
.
selected
;
...
@@ -386,8 +361,6 @@ for n = 1:num_dets
...
@@ -386,8 +361,6 @@ for n = 1:num_dets
for
ii
=
1
:
nbl
for
ii
=
1
:
nbl
bl
(
ii
)
.
intm
=
bl
(
ii
)
.
int
;
bl
(
ii
)
.
intm
=
bl
(
ii
)
.
int
;
bl
(
ii
)
.
int
(:)
=
[];
bl
(
ii
)
.
int
(:)
=
[];
% bl(ii).int(:) = 0;
% bl(ii).intd(:) = bl(ii).int - bl(ii).intm;
bl
(
ii
)
.
comim
=
NaN
(
1
,
3
);
bl
(
ii
)
.
comim
=
NaN
(
1
,
3
);
bl
(
ii
)
.
combl
=
NaN
(
1
,
3
);
bl
(
ii
)
.
combl
=
NaN
(
1
,
3
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment