aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-05-03 11:43:00 +0200
committerThomas White <taw@physics.org>2023-05-05 10:59:45 +0200
commit309b65d75993abbc9804b392117baea3a1101e3a (patch)
tree361ca8f1cc935d621e0d3f1a16c6426525490b24 /src/gui_project.h
parent5c1373e53709bd59403716b497c8c6c94b9143c4 (diff)
Move peak search parameters into separate structure
This change takes the peak parameters structure from gui_project.h, moves it to libcrystfel/peaks.h and uses it everywhere. It should slightly reduce the hassle involved with adding a new parameter. Four parameters (noisefilter, median_filter, check_hdf5_snr, use_saturated) were previously not part of the GUI project structure. Now they are, via the new structure. However, they are not yet exposed via the GUI and just take their default values.
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index bbecd0ba..318f9453 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -46,27 +46,6 @@ enum match_type_id
MATCH_CBFGZ,
};
-struct peak_params {
- enum peak_search_method method;
- float threshold; /* zaef, pf8 */
- float min_sq_gradient; /* zaef */
- float min_snr; /* zaef, pf8 */
- int min_pix_count; /* pf8 */
- int max_pix_count; /* pf8 */
- int local_bg_radius; /* pf8 */
- int min_res; /* pf8 */
- int max_res; /* pf8 */
- float min_snr_biggest_pix; /* pf9 */
- float min_snr_peak_pix; /* pf9 */
- float min_sig; /* pf9 */
- float min_peak_over_neighbour; /* pf9 */
- float pk_inn;
- float pk_mid;
- float pk_out;
- int half_pixel_shift; /* cxi, hdf5 */
- int revalidate;
-};
-
struct index_params {
/* Indexing */