aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index a9bf1cdb..99b01eca 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -375,6 +375,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
/* Set beam spectrum for pink beam data */
if ( iargs->spectrum != NULL ) {
image.spectrum = iargs->spectrum;
+ } else {
+ image.spectrum = spectrum_generate_gaussian(image.lambda, image.bw);
}
if ( image_feature_count(image.features) < iargs->min_peaks ) {