Skip to content

Instantly share code, notes, and snippets.

View lagru's full-sized avatar

Lars Grüter lagru

View GitHub Profile
@lagru
lagru / eval_select_by_peak_distance.ipynb
Last active March 22, 2018 19:36
Evaluation of _select_by_peak_distance.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lagru
lagru / eval_peak_prominences.ipynb
Last active March 22, 2018 19:47
Evaluation of peak_prominences
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lagru
lagru / eval_peak_widths.ipynb
Created March 22, 2018 21:30
eval_peak_widths.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lagru
lagru / benchmark_maxima_nd.ipynb
Last active May 21, 2018 09:16
Benchmark: Maxima detection in 2D (for skimage)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lagru
lagru / select_by_distance.ipynb
Created July 15, 2018 12:00
select_by_distance.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lagru
lagru / output.log
Last active January 4, 2019 12:22
Debugging NumPy development build in conda env
$ conda list
# packages in environment at /home/lg/.miniconda3/envs/dev-numpy:
#
# Name Version Build Channel
alabaster 0.7.12 py37_0
asn1crypto 0.24.0 py37_0
asv 0.3.1 py37hfc679d8_0 conda-forge
atomicwrites 1.2.1 py37_0
attrs 18.2.0 py37h28b3542_0
babel 2.6.0 py37_0
@lagru
lagru / version_switcher.json
Last active September 16, 2023 08:02
Provides a list of documentation versions of scikit-image. Uploaded as a target for demoing the PyData theme in https://github.com/scikit-image/scikit-image/pull/6714.
[
{
"name": "dev",
"version": "dev",
"url": "https://scikit-image.org/docs/dev/"
},
{
"name": "0.21 (stable)",
"version":"0.21.0",
"url": "https://scikit-image.org/docs/stable/",
@lagru
lagru / ghpr.py
Last active June 10, 2024 20:38
A small convenience script to checkout pull requests as a local branch and clean up once done
#!/usr/bin/env python
"""Checkout GitHub pull requests locally.
A small convenience script to checkout pull requests as a local branch
and clean up once done.
Inspired by git-pr [1]_ from Stéfan van der Walt.
.. [1] https://github.com/stefanv/git-tools/blob/10cd994c8737e5192ada06d850ecbdbe3f223e34/scripts/git-pr