diff options
author | Thomas White <taw@physics.org> | 2013-07-26 11:53:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-26 11:53:39 +0200 |
commit | 08183502b3bd76687754bbfd35d7fd7d510d3d60 (patch) | |
tree | a7e543f6ddc11bf58954dc38092a3604fd9c6d58 | |
parent | 0d0fe09e122c83f5bef360724763cb4d7b594d8b (diff) |
partialator: Use Lorentz factor in partiality histograms
-rw-r--r-- | src/scaling-report.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c index ecd2943c..8e70af50 100644 --- a/src/scaling-report.c +++ b/src/scaling-report.c @@ -366,8 +366,8 @@ static void partiality_histogram(cairo_t *cr, Crystal **crystals, int n, Ipart = get_intensity(refl); Ifull = get_intensity(f); - /* FIXME: Wrong */ - pobs = Ipart/(crystal_get_osf(cryst)*Ifull); + pobs = (Ipart * crystal_get_osf(cryst)) + / (Ifull * get_lorentz(refl)); pcalc = get_partiality(refl); if ( calc ) { |