Commit Graph

2964 Commits

Author SHA1 Message Date
Luke Campagnola
693df7030a Fixed multiprocess deadlock on windows
Added several utilities and debugging tools
Merge branch 'multiprocess-fix' into develop
2014-03-14 18:48:07 -04:00
Luke Campagnola
79cfd3601e Rename Mutex module 2014-03-14 18:00:29 -04:00
Luke Campagnola
5d709251d1 clean up debug messages 2014-03-14 17:57:44 -04:00
Luke Campagnola
89c04c8a81 Corrected bug in multiprocess causing deadlock at exit
Multiprocess debugging messages now use one color per process
Corrected RemoteGraphicsView not setting correct pg options on remote
process

New debugging tools:
* util.cprint for printing color on terminal (based on colorama)
* debug.ThreadColor causes each thread to print in a different color
* debug.PeriodicTrace used for debugging deadlocks
* Mutex for detecting deadlocks
2014-03-14 14:18:46 -04:00
Luke Campagnola
adfcfa99a1 Fixed multiprocess port re-use on windows 2014-03-14 14:17:42 -04:00
Luke Campagnola
9cfc3a9f85 Update README to reflect loss of scipy dependency 2014-03-14 14:11:53 -04:00
fabioz
6433795e78 Make sure we don't leave view boxes alive by doing a 'bridge' for the on the plot items. Also added warnings if proper cleanup wasn't done. 2014-03-13 17:38:50 -03:00
fabioz
e46bb31449 Checking if view is alive before returning it. 2014-03-13 15:52:49 -03:00
Luke Campagnola
1edf1375ed Removed all dependencies on scipy.
Merge branch 'make_scipy_optional' into develop
2014-03-11 19:05:30 -04:00
Luke Campagnola
34802c8aec Added pg.gaussianFilter, removed all dependency on gaussian_filter 2014-03-11 19:01:34 -04:00
Luke Campagnola
ff697ce492 Expanded capabilities of interpolateArray function to support broadcasting 2014-03-11 13:13:33 -04:00
Luke Campagnola
72a3902a18 Added pure-python implementation of scipy.ndimage.map_coordinates 2014-03-11 10:11:04 -04:00
Luke Campagnola
1eac666d02 PlotDataItem._fourierTransform now uses np.interp 2014-03-11 10:11:03 -04:00
Luke Campagnola
4263379a90 added test for solve3DTransform 2014-03-11 10:11:03 -04:00
Luke Campagnola
0bc923b719 Added SRTTransform3D test, corrected fromMatrix bug 2014-03-11 10:11:03 -04:00
Luke Campagnola
18ddff76f0 colormap no longer requires scipy.interpolate 2014-03-11 10:11:03 -04:00
Luke Campagnola
b398ccd0ce corrected import 2014-03-11 10:11:03 -04:00
Luke Campagnola
816069c020 All scipy imports in the library are now optional (need to test each of these changes)
Several examples still require scipy.
2014-03-11 10:11:03 -04:00
Luke Campagnola
00418e4921 Allow GLMeshItem to draw edges from MeshData with face-indexed vertexes. 2014-03-10 23:04:10 -04:00
Luke Campagnola
c8f03e828e Ignore NaN when checking data range in ImageView.
Merge remote-tracking branch 'zarch/bottleneck_range' into develop
2014-03-06 15:30:36 -05:00
Luke Campagnola
8eb85d97e8 clarification in CONTRIB 2014-03-06 11:17:14 -05:00
Luke Campagnola
82167a2488 corrected contributors list 2014-03-05 11:05:09 -05:00
Luke Campagnola
a82e940f7a Added instructions for contributing to pg 2014-03-05 11:01:53 -05:00
Luke Campagnola
87ff0f314c Merge branch 'fix_finite_cache' into develop 2014-03-05 10:34:46 -05:00
Luke Campagnola
41c3d47d43 Correct GraphicsItem to use relative import of lru_cache
Update MultiPlotSpeedTest to test lru_cache performance
2014-03-05 10:25:55 -05:00
Luke Campagnola
dcb2c42179 Moved lru_cache to util, test to util/tests 2014-03-05 09:16:53 -05:00
Luke Campagnola
dad001b9d4 Style corrections 2014-03-05 09:12:23 -05:00
Luke Campagnola
eb33970274 Correct to unix line endings 2014-03-05 09:11:53 -05:00
Pietro Zambelli
dad5d8f733 Detect range of the image using bottleneck if available 2014-03-04 16:56:56 +00:00
fabioz
e7cd4012bc Changed FiniteCache which had a bug where calling items() would make it recurse forever with a new LRUCache implementation. 2014-03-04 10:03:20 -03:00
Luke Campagnola
0045863165 Merge branch 'fabioz-crash' into develop 2014-03-03 13:49:05 -05:00
Luke Campagnola
3e764b00c2 Minor edits 2014-03-03 13:48:31 -05:00
Luke Campagnola
ad11ff3950 Minor cleanups for GraphItem 2014-03-03 12:56:15 -05:00
fabioz
c4880863b9 Fixed crash when collecting items on ViewBox and fixed exception which could happen when dragging when mouse handling is disabled. 2014-03-03 09:32:14 -03:00
Luke Campagnola
2e3cfcbd6d Make setPen() methods more consistent throughout the package.
Merge remote-tracking branch 'termim/develop' into develop

Conflicts:
	pyqtgraph/graphicsItems/ROI.py
2014-03-01 09:37:59 -05:00
Luke Campagnola
05b70e9e49 Added ConsoleWidget documentation 2014-02-28 21:44:48 -05:00
Luke Campagnola
fccae7d72c Added note about opengl and vispy 2014-02-28 21:33:48 -05:00
Luke Campagnola
250ae84149 doc corrections
update contributors list
2014-02-28 21:09:03 -05:00
Luke Campagnola
c72638ab1b Merge branch 'tommy3001-doc-updates' into develop
Conflicts:
	pyqtgraph/graphicsItems/AxisItem.py
	pyqtgraph/graphicsItems/PlotDataItem.py
	pyqtgraph/graphicsItems/ROI.py
2014-02-28 21:07:43 -05:00
Luke Campagnola
912f1f13c2 documentation fixes 2014-02-28 20:27:22 -05:00
Luke Campagnola
43ec2bcd2c Expanded ROI documentation 2014-02-28 18:24:01 -05:00
Mikhail Terekhov
953b9e4129 Make signature of the setPen method consistent 2014-02-28 16:16:13 -05:00
Mikhail Terekhov
6255dca99c MouseClickEvent: sometimes __repr__ could cause an exception
This happens during debugging session in an IDE (eric5) when debugger inspects
variables but self._scenePos is not yet initialized.
2014-02-28 16:15:25 -05:00
Luke Campagnola
37adecc06e udpate changelog 2014-02-28 09:54:12 -05:00
Luke Campagnola
ab0729bb04 Add check for even array length when using arrayToQPath(connect='pairs') 2014-02-28 08:55:30 -05:00
Luke Campagnola
5b6bc6715c Added GLViewWidget.setBackgroundColor() 2014-02-28 08:54:33 -05:00
Luke Campagnola
7d32ef85be Added automatic image downsampling (disabled by default)
- Reduces aliasing when zoomed out
  - Improves performance and memory usage for large images
Merge branch 'image_downsampling' into develop

Conflicts:
	pyqtgraph/graphicsItems/ImageItem.py
2014-02-17 20:48:22 -05:00
Luke Campagnola
036cadb44c pg.dbg() now returns pointer to console widget 2014-02-17 20:02:42 -05:00
Luke Campagnola
d67464af72 Update imageToArray to support Py2.6 + Qt 4.10 2014-02-17 20:02:03 -05:00
tommy3001
da4bb3df23 List alignments class WidgetParameterItem 2014-02-15 11:42:36 +01:00