From 6c18f52b7ff9d9423384b3ff8dc697f1ddd914c0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 19 Aug 2020 15:15:35 +0200 Subject: Set the same initial beam parameters as before --- libcrystfel/src/datatemplate.c | 2 +- libcrystfel/src/image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c index f524f185..4c4f58fb 100644 --- a/libcrystfel/src/datatemplate.c +++ b/libcrystfel/src/datatemplate.c @@ -874,7 +874,7 @@ DataTemplate *data_template_new_from_string(const char *string_in) dt->rigid_groups = NULL; dt->n_rg_collections = 0; dt->rigid_group_collections = NULL; - dt->bandwidth = 0.0; + dt->bandwidth = 0.00000001; dt->peak_list = NULL; dt->shift_x_from = NULL; dt->shift_y_from = NULL; diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index c12a9889..a9389b2f 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -860,7 +860,7 @@ struct image *image_new() image->serial = 0; image->spectrum = NULL; image->lambda = -1.0; - image->div = -1.0; + image->div = 0.0; image->bw = -1.0; image->peak_resolution = -1.0; image->features = NULL; -- cgit v1.2.3