diff options
author | Thomas White <taw@physics.org> | 2020-08-19 15:15:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-19 15:15:35 +0200 |
commit | 6c18f52b7ff9d9423384b3ff8dc697f1ddd914c0 (patch) | |
tree | 4a3b652f03119afe99f4f025f0d89a10affb713f /libcrystfel | |
parent | c2717ebfa586f99e8f6668d2e78a41735c3e8ede (diff) |
Set the same initial beam parameters as before
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/datatemplate.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/image.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |