aboutsummaryrefslogtreecommitdiff
path: root/src/hrs-scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-03 11:56:11 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:13 +0100
commit4398834ad2897c83987d8537ea305d84f6d7b64c (patch)
treea4bcef2eb052a15b8ea8beffa35599eff3040446 /src/hrs-scaling.c
parentacde580b102dcfd09ad65bc1ca6078413707d19a (diff)
Don't try to use unscalable reflections for post refinement
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r--src/hrs-scaling.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 8e17bee7..c0308483 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -375,29 +375,6 @@ double *scale_intensities(struct image *images, int n, const char *sym,
/* Start with all scale factors equal */
for ( m=0; m<n; m++ ) images[m].osf = 1.0;
- /* Decide which reflections can be scaled */
- for ( m=0; m<n; m++ ) {
-
- int j;
-
- for ( j=0; j<images[m].n_cpeaks; j++ ) {
-
- int scalable = 1;
-
- if ( images[m].cpeaks[j].p < 0.1 ) scalable = 0;
- if ( !images[m].cpeaks[j].valid ) {
- scalable = 0;
- } else {
- double v = fabs(images[m].cpeaks[j].intensity);
- if ( v < 0.1 ) scalable = 0;
- }
-
- images[m].cpeaks[j].scalable = scalable;
-
- }
-
- }
-
/* Iterate */
i = 0;
do {