Commit Graph

35 Commits

Author SHA1 Message Date
Luke Campagnola
ecca8855df - ScatterPlotItem disables render cache during export
- Fixes for SVG exporter
- functions.isosurface() is a bazillion times faster (API change: return value format has changed)
2012-12-22 15:16:38 -05:00
Luke Campagnola
3de5719011 Merged testing code from Kratz
Numerous fixes for python 3 compatibility
2012-12-05 00:25:45 -05:00
Luke Campagnola
80148920c9 Bugfixes:
- Image exporter detects GraphicsView background color
- Corrected exporter filename handling for SVG export
- ViewBox no longer attempts to deregister itself while python is exiting
- Speedup for conversion using np.array(MetaArray_instance)
- GLGraphicsItem updates immediately when its GL options have changed
- Corrected some GL shader program bugs for nVidia drivers
- Fixed coordinate mapping bug in functions.transformCoordinates
- Fixed PySide import error
2012-12-04 21:02:05 -05:00
Luke Campagnola
e5f383fbb5 Bugfixes and updates to functions.py:
- generalized makeARGB API: can now process arrays of arbitrary shape.
  - affineSlice automatically converts vector arguments to array
  - new function applyLookupTable taken from makeARGB
  - isosurface function returns array
Updated VideoSpeedTest example to follow new makeARGB API

LayoutWidget: row argument now accepts 'next' as value
ParameterTree bugfix: avoid infinite recursion when accessing non-existent attributes
ViewBox: avoid exit error caused when cleanup callback is invoked while python is shutting down
2012-11-23 16:01:25 -05:00
Luke Campagnola
450626a3bb Fixes for PySide compatibility 2012-10-26 08:55:53 -04:00
Luke Campagnola
15d9c1b351 PlotCurveItem now has 'step' mode for drawing histograms
Added function for generating pseudo-scatter plots (points stack in a histogram-like manner)
2012-10-22 13:35:58 -04:00
Luke Campagnola
c4019b900d Overhaul of ScatterPlotItem to improve performance. (API should be mostly unchanged)
Much more efficient at rapid updates.
2012-10-18 22:48:36 -04:00
Luke Campagnola
a011b34509 Fixed bug in functions.invertQTransform -- incorrectly checked for scipy.weave instead of scipy.linalg 2012-10-10 15:10:04 -04:00
Luke Campagnola
1d05656a73 - Fixed issue with numpy.concatenate wrapper
- ConsoleWidget now correctly catches its own exceptions
- Fixed ViewBox auto-scaling bug
- Fixed functions.siEval not parsing units correctly
- Fixed bug caused when opengl GL_VERSION_STR is None
2012-10-09 20:40:48 -04:00
Luke Campagnola
844dbb20a5 Fixed error message in Qt.py
Made scipy optional in functions and ImageItem
2012-10-06 16:58:35 -04:00
Luke Campagnola
c2f0bebe09 Added functions.transformCoordinates() for mapping numpy arrays of coordinates from QTransform and QMatrix4x4
Minor updates:
- fixed SRTTransform3D.matrix()
- ViewBox fix: updateAutoRange leaves unused axes completely unchanged
- documentation updates
2012-10-06 16:56:53 -04:00
Luke Campagnola
ced5583ae1 fixed error message in Qt.py
made scipy optional in functions and ImageItem
2012-10-06 02:23:23 -04:00
Luke Campagnola
27c90c5dd5 Many minor updates:
- added ability for ScatterPlotItem to use arbitrary symbol shapes
- added scatter plot speed test for evaluating new methods
- added butterworth notch filter to flowchart library
- fixed bugs with ViewBox trying to close itself after python has started cleaning up
- fixed python 2.6 compatibility bug in PlotCurveItem
- fixed support for list-of-dicts and dict-of-lists input for PlotDataItem
- check to ensure Qt version is >= 4.7
- workaround for numpy segmentation fault
- several other minor updates and documentation changes
2012-10-02 21:23:59 -04:00
Luke Campagnola
0402d08604 Minor updates and bug fixes:
- fixed handling of foreground colors in AxisItem
  - fixed rare crash caused in AxisItem 
  - fixed improper propagation of key events from SpinBox
  - many others
2012-08-31 17:18:06 -04:00
Luke Campagnola
c686395ebe ImageView fix: display correct coordinates in ROI plot for scaled, single-frame images
Minor documentation updates
2012-08-02 22:46:08 -04:00
Luke Campagnola
a41d330c29 Bugfixes:
- Fixed some floating-point precision issues. (Added a workaround for QTransform.inverted() bug)
  - No longer putting asUnicode inside __builtin__ since this causes problems in some rare circumstances
    (pyshell, lazy import recipe)
  - Minor docstring updates
2012-07-12 15:35:58 -04:00
Luke Campagnola
2c80098cf6 Added functions for
- generating arrow paths
 - solving 3d affine mapping matrix
 - solving 2d bilinear mapping matrix
2012-05-29 23:12:13 -04:00
Luke Campagnola
fc9b3dee4d Started Python3 compatibility changes 2012-05-11 18:05:41 -04:00
Luke Campagnola
9b5c8d0ada ScatterPlotItem minor performance fixes
SpinBox bugfix - improper handling of arguments to setOpts in integer mode
2012-04-30 18:20:27 -04:00
Luke Campagnola
044b26e11c OpenGL:
improved mouse/keyboard interaction
  bugfix in GLViewWidget.cameraPosition
2012-04-28 15:12:46 -04:00
Luke Campagnola
dc29a9060e documentation updates 2012-04-15 12:32:20 -04:00
Luke Campagnola
5c0c47cda2 3D mesh updates:
- Can initialize GLMeshItem using MeshData instance
 - MeshData has save/restore methods
2012-04-15 10:21:31 -04:00
Luke Campagnola
5a357ddb2a Several minor bugfixes and features
- Added rate-limited mode to SignalProxy
  - Added basic text justification to LabelItem
  - ViewBox.addItem now has ignoreBounds option, which causes the item to be ignored when autoscaling
  - Added ValueLabel widget
  - Fixed some autoscaling bugs
  - InfiniteLine fix - no hilight if movable=False
2012-04-03 01:01:33 -04:00
Luke Campagnola
9c268b0728 fix from last rev 2012-03-27 12:33:02 -04:00
Luke Campagnola
ad232ff79b - re-merged isocurve code
- re-enabled OpenGL on windows, added a config option for enabling/disabling OpenGL
- minor bug fixes
2012-03-27 12:30:51 -04:00
Luke Campagnola
f6da6e2fd0 Added matplotlib exporter
Updates to MeshData class (this is still not tested)
2012-03-23 22:13:41 -04:00
Luke Campagnola
c814499bee Added features from meganbkratz:
- isocurves
 - array processing through gradientwidget
2012-03-23 13:38:53 -04:00
Luke Campagnola
920fd9333e OpenGL scenegraph updates
- volumetric rendering
 - isosurfaces, mesh rendering
 - basic transformation and parent/child functionality
2012-03-09 12:38:15 -05:00
Luke Campagnola
d4e8e2b883 Imported major changes from acq4 project. 2012-03-01 21:55:32 -05:00
Luke Campagnola
4d846e2aad Updates merged from acq4:
- disabled opengl (performance issues in Qt 4.7)
 - numerous caching changes (disabled deviceCoordinateCache due to performance issues)
 - speed up loading large images in ImageView
 - bugfixes from Ingo Breßler
 - Transform rotation bugfix
 - Added debug module
 - Major performance enhancements for scatterplot, fixed point clicking issues
     ** API change for scatterplot click signals
 - Drawing on ImageItem is working well now
 - PlotItem downsampling no longer uses scipy.signal.resample (this was creating artifacts)
 - Fixed ViewBox behavior when aspect-locked
2011-06-14 19:47:52 -04:00
Luke Campagnola
7629bca34d Updates merged in from ACQ4:
- converted most old-style signals into new-style for PySide compatibility (beware: API changes)
  - removed ObjectWorkaround, now just using QGraphicsWidget
  - performance enhancements, particularly in ROI.getArrayRegion
  - numerous bugfixes
2011-04-05 10:35:50 -04:00
Luke Campagnola
c55392965f Merge from ACQ4:
- Lots of bug fixes
 - API change in PlotItem.plot(...)
 - Started replacing QObjectWorkaround with QWidget
 - Made plotCurveItems clickable
 - Added curve-following arrows
2011-02-07 19:40:38 -05:00
Luke Campagnola
39cf791fba minor updates / fixes 2010-07-25 00:33:26 -04:00
Luke Campagnola
7efc975400 Numerous updates merged from acq4 2010-05-01 12:19:27 -04:00
Luke Campagnola
3d84aefbc4 Initial commit (again) 2010-03-22 01:48:52 -04:00