Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CrystFEL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Oleksii Turkot
CrystFEL
Commits
d6c040ed
Commit
d6c040ed
authored
12 years ago
by
Thomas White
Browse files
Options
Downloads
Patches
Plain Diff
Single point of truth for indices when sorting reflections
parent
cfbbdae0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libcrystfel/src/peaks.c
+2
-6
2 additions, 6 deletions
libcrystfel/src/peaks.c
with
2 additions
and
6 deletions
libcrystfel/src/peaks.c
+
2
−
6
View file @
d6c040ed
...
...
@@ -534,9 +534,6 @@ int peak_sanity_check(struct image *image)
struct
integr_ind
{
signed
int
h
;
signed
int
k
;
signed
int
l
;
double
res
;
Reflection
*
refl
;
};
...
...
@@ -578,9 +575,6 @@ static struct integr_ind *sort_reflections(RefList *list, UnitCell *cell,
get_indices
(
refl
,
&
h
,
&
k
,
&
l
);
res
=
resolution
(
cell
,
h
,
k
,
l
);
il
[
i
].
h
=
h
;
il
[
i
].
k
=
k
;
il
[
i
].
l
=
l
;
il
[
i
].
res
=
res
;
il
[
i
].
refl
=
refl
;
...
...
@@ -620,10 +614,12 @@ void integrate_reflections(struct image *image, int use_closer, int bgsub,
double
pfs
,
pss
;
int
r
;
Reflection
*
refl
;
signed
int
h
,
k
,
l
;
refl
=
il
[
i
].
refl
;
get_detector_pos
(
refl
,
&
pfs
,
&
pss
);
get_indices
(
refl
,
&
h
,
&
k
,
&
l
);
/* Is there a really close feature which was detected? */
if
(
use_closer
)
{
...
...
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