Commit Graph

13 Commits

Author SHA1 Message Date
Luke Campagnola
1729416914 Updated ImageView and ViewBox documentation 2014-04-29 17:17:05 -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
Pietro Zambelli
dad5d8f733 Detect range of the image using bottleneck if available 2014-03-04 16:56:56 +00:00
Luke Campagnola
210d07027e ImageView updates to improve subclassing flexibility:
- Allow non-ndarray image data
 - Make quickMinMax a normal method
2014-02-12 11:31:58 -05:00
Luke Campagnola
95dd56bdb6 Bugfixes:
- fixed PlotCurveItem generating exceptions when data has length=0
- fixed ImageView.setImage only working once
2014-01-01 20:22:13 -05:00
Luke Campagnola
a069104c6b rebuild UI files 2013-12-23 10:11:20 -05:00
Luke Campagnola
7e907db557 .ui files 2013-12-23 10:08:26 -05:00
Luke Campagnola
50df2b2def dockarea, imageview, metaarray 2013-12-23 10:06:26 -05:00
Antony Lee
f136b33033 Profilers controllable via PYQTGRAPHPROFILE.
A new function profiling system is implemented.  Most importantly, this
allows one to profile various internal functions directly by setting the
`PYQTGRAPHPROFILE` environment variable to a comma separated list of
function and method names, e.g.

    PYQTGRAPHPROFILE=functions.makeARGB,ImageItem.render \
        python -mexamples

Specifically, items in `PYQTGRAPHPROFILE` must be of the form
`classname.methodname` or `dotted_module_name.functionname`, with the
initial "pyqtgraph." stripped from the dotted module name.

Moreover, the overhead of inactive profilers has been kept minimal: an
introspective check of the caller's name (only if `PYQTGRAPHPROFILE` is
set) and a trivial function (not method) call per profiler call.

The new profilers rely on `sys._getframe` to find the caller's name,
although the previous system (passing the caller's name explicitely)
could certainly have been kept instead.

Finally the API of profilers has been changed: register a
profiling point simply by calling the profiler, and profilers are
automatically flushed on garbage collection.  See the docstring of
`pyqtgraph.debug.Profiler` for more details.
2013-11-27 09:57:46 -08:00
Luke Campagnola
59bbe0127e ImageView cleanups
- fixed auto-levelling when normalization options change
- added autoHistogramRange argument to setImage
2013-05-30 09:33:09 -04:00
Luke Campagnola
09b16baed1 python3 fixes
imageview fix
2013-05-13 08:51:59 -04:00
Luke Campagnola
86861b5a06 Fixed dock dragging on pyside
Added imageview.setImage argument documentation
2013-02-15 15:22:05 -05:00
Luke Campagnola
af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00