diff options
author | Thomas White <taw@physics.org> | 2013-07-25 17:49:03 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-25 17:49:03 +0200 |
commit | febc21aa72b87d7f743eeb98c71ece50b301701f (patch) | |
tree | 849739ed2545751853cceafb5eb7f79873051b50 /src/scaling-report.c | |
parent | 0431728cc5efd3321b1c60f97a830dd525cf04c8 (diff) |
partialator: Account for Lorentz factor
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r-- | src/scaling-report.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c index a02a1796..1d7904a6 100644 --- a/src/scaling-report.c +++ b/src/scaling-report.c @@ -251,13 +251,13 @@ static void partiality_graph(cairo_t *cr, Crystal **crystals, int n, if ( f == NULL ) continue; if ( get_redundancy(f) < 2 ) continue; - Ipart = get_intensity(refl); - Ifull = crystal_get_osf(cryst) * get_intensity(f); + Ipart = crystal_get_osf(cryst) * get_intensity(refl); + Ifull = get_intensity(f); //if ( Ifull < 10 ) continue; /* FIXME: Ugh */ pobs = Ipart/Ifull; - pcalc = get_partiality(refl); + pcalc = get_lorentz(refl) * get_partiality(refl); //STATUS("%4i %4i %4i : %9.6f %9.6f %e %e %e\n", // h, k, l, pobs, pcalc, |