diff options
author | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2019-07-09 10:20:20 +0200 |
---|---|---|
committer | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2019-07-09 10:20:20 +0200 |
commit | 654a6ac93513c3cc1ef97cacd782ff674c6f4559 (patch) | |
tree | 3b986e4972de7c57fa465820367602fc34bcb0d3 /silx/math/medianfilter/test/benchmark.py | |
parent | a763e5d1b3921b3194f3d4e94ab9de3fbe08bbdd (diff) |
New upstream version 0.11.0+dfsg
Diffstat (limited to 'silx/math/medianfilter/test/benchmark.py')
-rw-r--r-- | silx/math/medianfilter/test/benchmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/math/medianfilter/test/benchmark.py b/silx/math/medianfilter/test/benchmark.py index 0d1da94..cbb16b3 100644 --- a/silx/math/medianfilter/test/benchmark.py +++ b/silx/math/medianfilter/test/benchmark.py @@ -1,6 +1,6 @@ # coding: utf-8 # /*########################################################################## -# Copyright (C) 2017 European Synchrotron Radiation Facility +# Copyright (C) 2017-2019 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -108,7 +108,6 @@ class BenchmarkMedianFilter(object): return res -global app # QApplication must be global to avoid seg fault on quit app = qt.QApplication([]) kernels = [3, 5, 7, 11, 15] benchmark = BenchmarkMedianFilter(imageWidth=1000, kernels=kernels) @@ -120,3 +119,4 @@ if pymca is not None: plot.addCurve(x=kernels, y=benchmark.getExecTimeFor("pymca"), legend='pymca') plot.show() app.exec_() +del app |