diff options
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r-- | src/hrs-scaling.c | 23 |
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 { |