From 101101bbc994fa12a2f5689c138c09414444c9a5 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 2 Apr 2016 22:43:37 +0800 Subject: [PATCH] examples/fit_image: cleanup, comment --- examples/fit_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/fit_image.py b/examples/fit_image.py index 66c3c46d8..df0af75cd 100644 --- a/examples/fit_image.py +++ b/examples/fit_image.py @@ -1,7 +1,8 @@ +"""Image processing with SciPy example""" + import numpy as np from scipy.optimize import least_squares from scipy import constants -# from numba import jit class Fit: @@ -81,7 +82,6 @@ class Fit2DGaussParabola(Fit): # TODO: this is usually smarter, based on self.data and self.meta return [1000, 100, 100, 2000, 4, 4, 2000, 20, 20] - # @jit def model(self, param): p = self.variables_dict(param) x, y = self.xy