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
ddf46ecf
Commit
ddf46ecf
authored
12 years ago
by
Peter Reischig
Committed by
Nicola Vigano
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Help modified.
git-svn-id:
https://svn.code.sf.net/p/dct/code/trunk@540
4c865b51-4357-4376-afb4-474e03ccb993
parent
0664e6b5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zUtil_Cryst/gtCrystRodriguesTest.m
+7
-10
7 additions, 10 deletions
zUtil_Cryst/gtCrystRodriguesTest.m
with
7 additions
and
10 deletions
zUtil_Cryst/gtCrystRodriguesTest.m
+
7
−
10
View file @
ddf46ecf
function
[
Rout
,
good_plnorms
,
Rdist
,
Redge
]
=
gtCrystRodriguesTest
(
...
plnorm
,
hkl
,
spacegroup
,
Bmat
,
shkl_flag
,
plot_flag
,
toldist
)
%
%
% FUNCTION [Rout,good_plnorms,Rdist,Redge] = gtCrystRodriguesTest(
plnorm,hkl,
% FUNCTION [Rout,
good_plnorms,
Rdist,
Redge] = gtCrystRodriguesTest(
...
%
spacegroup,
latticepar,
shkl_flag,plot_flag,toldist)
%
plnorm, hkl,
spacegroup,
Bmat,
shkl_flag,
plot_flag,
toldist)
%
%
% Performs an orientation test in Rodrigues space on the specified plane
% Performs an orientation test in Rodrigues space on the specified plane
% normals. Gives which plane normals constitute a consistent crystal and
% normals. Gives which plane normals constitute a consistent crystal and
...
@@ -10,11 +12,10 @@
...
@@ -10,11 +12,10 @@
% limit.
% limit.
%
%
% INPUT
% INPUT
% plnorm
(nx3)
- plane normal coordinates in sample coords
% plnorm
- plane normal coordinates in sample coords
(nx3)
% hkl
(nx3)
- hkl reflection types, eg. [1 1 1; 0 0 2; 2 2 0]
% hkl
- hkl reflection types, eg. [1 1 1; 0 0 2; 2 2 0]
% OR if known, specific hkl reflections, eg. [-1 1 -1; 0 0
% OR if known, specific hkl reflections, eg. [-1 1 -1; 0 0
% 2; 2 -2 0].
% 2; 2 -2 0]. (nx3; nx4 for hexagonal lattice)
% For hexagonal, this be a 4 index notation.
% spacegroup - crystallographic spacegroup
% spacegroup - crystallographic spacegroup
% Bmat - transformation matrix from HKL to Cartesian coordinates
% Bmat - transformation matrix from HKL to Cartesian coordinates
% shkl_flag - set to true for speeding up, if the signed hkl-s
% shkl_flag - set to true for speeding up, if the signed hkl-s
...
@@ -32,10 +33,6 @@
...
@@ -32,10 +33,6 @@
% Redge - true if Rdist is smaller than the specified tolerance
% Redge - true if Rdist is smaller than the specified tolerance
%
%
function
[
Rout
,
good_plnorms
,
Rdist
,
Redge
]
=
gtCrystRodriguesTest
(
plnorm
,
hkl
,
...
spacegroup
,
Bmat
,
shkl_flag
,
plot_flag
,
toldist
)
% Tolerance for distance in Rodrigues's space; default=0.02
% Tolerance for distance in Rodrigues's space; default=0.02
if
isempty
(
toldist
)
if
isempty
(
toldist
)
...
...
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