diff options
author | Thomas White <taw@physics.org> | 2017-03-23 14:59:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-03-24 14:47:38 +0100 |
commit | 425619c37c3973cd354a667a61e84ccab7d81572 (patch) | |
tree | 374a6cd1a36ca42e6a8fb373bb7ebea452009fd7 /libcrystfel/src/peakfinder8.h | |
parent | 6aea5300ee1c70ac2e99a7f3e6de4d26fb7e243a (diff) |
Mostly fussiness
Diffstat (limited to 'libcrystfel/src/peakfinder8.h')
-rw-r--r-- | libcrystfel/src/peakfinder8.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/libcrystfel/src/peakfinder8.h b/libcrystfel/src/peakfinder8.h index 1103ef96..483eebdf 100644 --- a/libcrystfel/src/peakfinder8.h +++ b/libcrystfel/src/peakfinder8.h @@ -1,7 +1,7 @@ /* * peakfinder8.h * - * The processing pipeline for one image + * The peakfinder8 algorithm * * Copyright © 2012-2017 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. @@ -33,10 +33,18 @@ #include "image.h" -int peakfinder8(struct image *img, int max_n_peaks, - float threshold, float min_snr, - int mix_pix_count, int max_pix_count, - int local_bg_radius, int min_res, - int max_res, int use_saturated); +#ifdef __cplusplus +extern "C" { +#endif + +extern int peakfinder8(struct image *img, int max_n_peaks, + float threshold, float min_snr, + int mix_pix_count, int max_pix_count, + int local_bg_radius, int min_res, + int max_res, int use_saturated); + +#ifdef __cplusplus +} +#endif #endif // PEAKFINDER8_H |