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
245c058f
Commit
245c058f
authored
10 years ago
by
preischig
Browse files
Options
Downloads
Patches
Plain Diff
Modified comments only.
Signed-off-by:
preischig
<
preischig@gmail.com
>
parent
2a72af0a
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
1_preprocessing/gtSetup.m
+7
-11
7 additions, 11 deletions
1_preprocessing/gtSetup.m
with
7 additions
and
11 deletions
1_preprocessing/gtSetup.m
+
7
−
11
View file @
245c058f
...
...
@@ -278,13 +278,6 @@ disp('Saving parameters.mat in the analysis directory...');
save
(
parameters_name
,
'parameters'
);
clear
xmlfname
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LABGEO - setup geometry
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The parameters.labgeo field contains the geometric parameters of the
% setup, defined in the Lab reference frame.
% get edf info structure from first image file
if
parameters
.
acq
.
interlaced_turns
>
0
[
im
,
info
]
=
edf_read
(
fullfile
(
parameters
.
acq
.
collection_dir
,[
parameters
.
acq
.
name
'0_0000.edf'
]));
...
...
@@ -306,13 +299,18 @@ else
parameters
.
acq
.
rotation_name
=
'unknown'
;
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LABGEO - setup geometry
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The parameters.labgeo field contains the geometric parameters of the
% setup, defined in the Lab reference frame.
% get default values for labgeo
parameters
.
labgeo
=
gtGeoLabDefaultParameters
(
parameters
.
acq
);
parameters
.
acq
=
rmfield
(
parameters
.
acq
,
'rotation_name'
);
clear
tmp_motors
info
% Estimate 2 theta range covered by the detector
if
~
parameters
.
acq
.
no_direct_beam
disp
(
'Estimation of 2 theta range covered by the detector'
)
...
...
@@ -323,8 +321,6 @@ else
maxangle
=
angles
(
2
);
end
if
isempty
(
minangle
)
parameters
.
labgeo
.
detanglemin
=
0
;
else
...
...
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