Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
7bea9588
Commit
7bea9588
authored
Jul 10, 2011
by
Thomas White
Committed by
Thomas White
Feb 22, 2012
Browse files
Mark reflections which were not found by update_partialities()
parent
9bd287bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/geometry.c
View file @
7bea9588
...
...
@@ -311,9 +311,11 @@ void update_partialities(struct image *image,
if
(
vals
==
NULL
)
{
if
(
n_notfound
!=
NULL
)
(
*
n_notfound
)
++
;
set_redundancy
(
refl
,
0
);
continue
;
}
if
(
n_found
!=
NULL
)
(
*
n_found
)
++
;
set_redundancy
(
refl
,
1
);
/* Transfer partiality stuff */
get_partial
(
vals
,
&
r1
,
&
r2
,
&
p
,
&
clamp1
,
&
clamp2
);
...
...
src/partialator.c
View file @
7bea9588
...
...
@@ -162,6 +162,9 @@ static int select_scalable_reflections(RefList *list, RefList *reference)
int
sc
=
1
;
double
v
;
/* This means the reflection was not found on the last check */
if
(
get_redundancy
(
refl
)
==
0
)
sc
=
0
;
if
(
get_partiality
(
refl
)
<
0
.
1
)
sc
=
0
;
v
=
fabs
(
get_intensity
(
refl
));
if
(
v
<
0
.
1
)
sc
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment