Commit df353ddf authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix peak finding example

parent 5af39fb4
......@@ -72,8 +72,11 @@ def find_peaks_single_panel(cnp.ndarray[cnp.npy_float, ndim=2] data, str geom_fi
df = featurelist_to_dataframe(image.features)
image.dp = NULL
crystfel.image_free(image)
return df
# Pointer wrapper machinery based on Cython docs:
# https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#instantiation-from-existing-c-c-pointers
......
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