Commit Graph

41 Commits

Author SHA1 Message Date
Martin Chase
f2b4a15b2d
Performance enhancement: use CUDA in ImageItem (#1466)
* Add CLI args to video speed test for easier / automated benchmarking

* use a buffer-qimage so we can avoid allocing so much

this should improve performance under windows

* playing with numba

* oh, mins/maxes in the other order

* maybe put the cupy in here and see what happens

* pre-alloc for gpu and cpu

* handle possibility of not having cupy

* no numba in this branch

* organize imports

* name them after their use, not their expected device

* cupy.take does not support clip mode, so do it explicitly

* add CUDA option to the VideoSpeedTest

* rename private attr xp to _xp

* handle resizes at the last moment

* cupy is less accepting of lists as args

* or somehow range isn't allowed? what histogram is this?

* construct the array with python objects

* get the python value right away

* put LUT into cupy if needed

* docstring about cuda toolkit version

* better handling and display of missing cuda lib

* lint

* import need

* handle switching between cupy and numpy in a single ImageItem

* only use xp when necessary

we can now depend on numpy >= 1.17, which means __array_function__-implementing cupy can
seamlessly pass into numpy functions. the remaining uses of xp are for our functions which
need to allocate new data structures, an operation that has to be substrate-specific.

remove empty_cupy; just check if the import succeeded, instead.

* use an option to control use of cupy

* convert cupy.ceil array to int for easier mathing

* RawImageWidget gets to use the getCupy function now, too

* raise error to calm linters; rename for clarity

* Add Generated Template Files

* document things better

* cruft removal

* warnings to communicate when cupy is expected but somehow broken

* playing with settings to suss out timeout

* playing with more stuff to suss out timeout

* replace with empty list

* skip test_ExampleApp on linux+pyside2 only

Co-authored-by: Luke Campagnola <luke.campagnola@gmail.com>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2021-01-19 21:26:24 -08:00
KIU Shueng Chuan
54d25ffbcf README.md : update support matrix 2021-01-20 12:41:29 +08:00
Nils Nemitz
85719fd8df
Colormap extension (#1424)
* extend ColorMap functionality for palette management

* manual merge with changes in master branch

* extend ColorMap functionality for palette management

* manual merge with changes in master branch

* light mode / dark mode swapping demo

* color map updates

* added ColorCET and Matplotlib import for color maps

* minor cleanup

* restored lost indent

* Code cleanup

* Add colorcet as optional dependency

Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2021-01-04 22:01:30 -08:00
Ogi Moore
0356a358b3
Remove linting check, add pytest test publishing (#1477) 2020-12-23 23:04:30 -08:00
Ogi Moore
e5f123deb2 Add more badges 2020-12-22 22:08:31 -08:00
Ogi Moore
fcb387c86e Go to one yml file 2020-12-22 12:32:35 -08:00
Ogi Moore
c31cba5e06 Update README 2020-12-22 12:16:05 -08:00
Kyle Sunden
3b1e55af1e
MAINT: Post 0.11.1 release, drop py2, qt4 (#1473)
* MAINT: Post 0.11.1 release, drop py2, qt4

This focuses on distribution, tests, and docs. This may not be comprehensive, but covers the cases I found by looking and a few greps

Noteably, this does not change any actual internal code yet, to avoid merge conflicts with pending PRs.

* NEP 29 language/versions
2020-12-22 10:25:06 -08:00
Kenneth Lyons
c8757b2c07 Fix Azure Pipelines badge in README 2020-08-15 13:18:08 -07:00
Ogi Moore
4a5af52fca Update README for 0.11 release 2020-06-06 20:34:21 -07:00
Ogi
a171a098ad Expand CI to test latest PySide2 2020-06-03 21:27:49 -07:00
Kenneth Lyons
8b66d0e20f Updated README with readthedocs link and badge 2020-05-18 14:53:41 -07:00
Ognyan Moore
1d552feaf0 Update readme and contributing files 2020-02-28 14:48:24 -08:00
Ogi Moore
2203933393
Declare scipy optional (#1067)
* Replace use of scipy.random with numpy.random

* Update README to reflect scipy being an optional depenency
2019-11-12 09:02:08 -08:00
Ogi
fe637512b5 Skip GL* examples if on macOS with python2 and qt4 bindings, and update readme 2019-06-25 23:05:38 -07:00
Ogi
f359449715 README and CONTRIBUTING update 2019-06-10 22:39:38 -07:00
Ogi
309f89d413 Create tox configuration, update README accordingly. 2019-05-22 22:07:30 -07:00
Luke Campagnola
a240766607
add pip/git install method to README 2018-07-10 16:14:59 -07:00
Luke Campagnola
cfc9759502 update readme / install docs to mention PySide2 2018-05-24 17:16:38 -07:00
Luke Campagnola
5f778f905c
Clean up README
Removed contributor list; the actual list of contributors is way too long to hold here :D
2018-04-25 16:55:10 -07:00
Luke Campagnola
8bd940489b Update contributors list 2016-09-14 21:59:41 -07:00
Eric Dill
fb910dcf68 DOC: I should, uh, badge this repo correctly... 2015-07-31 15:37:47 -04:00
Eric Dill
3e9c9c93fa DOC: Add a travis and codecov badges 2015-07-31 10:23:00 -04:00
Luke Campagnola
1f93fe8108 contrib update 2015-07-11 11:32:29 -05:00
Luke Campagnola
b700a1ad3d Merge branch 'lidstrom83-DockArea_apoptose_fix' into develop
Also corrected temporary container persisting after calling dockarea.addDock()
2015-03-14 15:49:45 -04:00
Luke Campagnola
8e1c3856ea Added more examples to menu
Minor edits
2015-03-01 16:52:15 -05:00
Luke Campagnola
7fa0ce9711 Merge branch 'flowchart-node-menus' into develop 2014-11-14 08:12:33 -05:00
Luke Campagnola
021addcf0e Merge remote-tracking branch 'nicolaisi/ntj01' into develop 2014-10-25 14:24:15 -04:00
Thomas Feldmann
6e4b2f4ff4 Fixed typo in readme 2014-07-05 17:00:53 +02:00
Luke Campagnola
89b0a91c86 Update contrib list 2014-05-08 10:40:58 -04:00
Luke Campagnola
9cfc3a9f85 Update README to reflect loss of scipy dependency 2014-03-14 14:11:53 -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
82167a2488 corrected contributors list 2014-03-05 11:05:09 -05:00
Luke Campagnola
87ff0f314c Merge branch 'fix_finite_cache' into develop 2014-03-05 10:34:46 -05:00
Luke Campagnola
3e764b00c2 Minor edits 2014-03-03 13:48:31 -05: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
250ae84149 doc corrections
update contributors list
2014-02-28 21:09:03 -05:00
Luke Campagnola
21c1686221 Fixed AxisItem to support unicode in tick strings 2013-12-29 09:17:23 -05:00
Luke Campagnola
44ce6f5646 Updated contributors list 2013-12-15 11:38:44 -05:00
Guillaume Poulin
47c55ed4e3 Update README.md
correct markdown
2013-09-12 14:22:26 +08:00
Guillaume Poulin
85572d5f7a Convert README to markdown for better github presentation 2013-09-12 14:01:52 +08:00