Commit 6b527a89 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix compiling peak search func

parent c41bbf02
......@@ -21,11 +21,11 @@ def find_peaks_single_panel(cnp.ndarray[cnp.npy_float, ndim=2] data, str geom_fi
crystfel.beam_params beam
crystfel.image image
image.dp[0] = data.data
image.dp[0] = <float*>data.data
image.det = crystfel.get_detector_geometry(os.fsencode(geom_file), &beam)
crystfel.search_peaks_peakfinder8(
image, max_n_peaks=200, threshold=20, min_snr=3, min_pix_count=2,
&image, max_n_peaks=200, threshold=20, min_snr=3, min_pix_count=2,
max_pix_count=200, local_bg_radius=3, min_res=0, max_res=1200,
use_saturated=True,
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment