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
2c932f6c
Commit
2c932f6c
authored
Jul 07, 2011
by
Thomas White
Browse files
Do errors properly
parent
f96e5b1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/hrs-scaling.c
View file @
2c932f6c
...
...
@@ -93,7 +93,9 @@ static void s_uhavha(signed int hat, signed int kat, signed int lat,
if
(
!
get_scalable
(
refl
)
)
continue
;
ic
=
get_intensity
(
refl
)
/
get_partiality
(
refl
);
sigi
=
ic
/
10
.
0
;
/* FIXME */
/* Get the error in the estimated full intensity */
sigi
=
get_esd_intensity
(
refl
)
/
get_partiality
(
refl
);
uha_val
+=
1
.
0
/
pow
(
sigi
,
2
.
0
);
vha_val
+=
ic
/
pow
(
sigi
,
2
.
0
);
...
...
src/partial_sim.c
View file @
2c932f6c
...
...
@@ -100,6 +100,7 @@ static void calculate_partials(RefList *partial, double osf,
Ip
=
osf
*
p
*
If
;
set_int
(
refl
,
Ip
);
set_esd_intensity
(
refl
,
Ip
/
10
.
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