Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Kluyver
Pycrystfel
Commits
df353ddf
Commit
df353ddf
authored
Jan 12, 2021
by
Thomas Kluyver
Browse files
Fix peak finding example
parent
5af39fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycrystfel/bindings.pyx
View file @
df353ddf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment