Commit Graph

2612 Commits

Author SHA1 Message Date
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
Megan Kratz
2ca4cddff7 merge from luke 2012-11-10 11:27:33 -05:00
Megan Kratz
af5a5d3eb3 Start of work on DateAxis 2012-11-10 11:22:56 -05:00
Luke Campagnola
a5a40be8bb Bugfix: GLScatterPlotItem would not display when using non-array size and pxMode=True 2012-10-31 02:07:19 -04:00
Luke Campagnola
eab1d75592 ROI updates:
- ROI.movePoint now expects parent coordinates by default
   - Added ROI.getHandles()
   - Renamed MultiLineROI to MultiRectROI
   - Reorganized MultiRectROI, added addSegment and removeSegment methods (thanks Martin!)
2012-10-31 02:01:55 -04:00
Luke Campagnola
2c679dfbcc ViewBox will now correctly auto-range when an item's position or transform changes. 2012-10-31 01:57:00 -04:00
Luke Campagnola
679de86509 Minor changes and fixes:
- documentation updates
   - PlotItem informs all items when switching to log mode
   - GradientEditorItem has sigGradientChangeFinished
   - ParameterTree list types check linits on initialization
   - Fixed RuntimeError in TreeWidget.clear()
2012-10-31 01:53:16 -04:00
Luke Campagnola
b09182d19a GLScatterPlotItem: use shader programs to allow specifying spot size by array
Reorganized shader programs
Infrastructure updates for OpenGL system
2012-10-26 21:47:45 -04:00
Megan Kratz
885d2157f1 merge from luke 2012-10-26 15:50:04 -04:00
Luke Campagnola
450626a3bb Fixes for PySide compatibility 2012-10-26 08:55:53 -04:00
Luke Campagnola
bbba3f1f78 Updated GLScatterPlotItem for performance. 2012-10-26 00:09:47 -04:00
Luke Campagnola
8551a990c6 Merged ViewBox bugfix from Kratz 2012-10-25 00:22:18 -04:00
Luke Campagnola
8b950e807f Merged Ddocumentation updates for DockArea 2012-10-25 00:20:47 -04:00
Luke Campagnola
65f0f10198 added documentation for GLScatterPlotItem 2012-10-25 00:19:08 -04:00
Luke Campagnola
916241e6aa documentation updates for DockArea 2012-10-25 00:15:11 -04:00
Luke Campagnola
f04049f098 Added histogram example 2012-10-22 14:10:16 -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
16434272c2 Bugfix: ScatterPlotItem not updating correctly when view is resized
Documentation updates (linked GLImageItem and Legend item to indexes)
2012-10-22 13:34:03 -04:00
Luke Campagnola
65ed889a77 Added very basic LegendItem. Functional, but still missing some basic features.
Added GLImageItem and example.
2012-10-18 23:18:20 -04:00
Luke Campagnola
1c8579d4b4 - Bugfixes:
Fixed exporters to automatically add filename extension.
    Fixed ViewBox 'auto pan' option.
- Other minor edits.
2012-10-18 22:51:46 -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
3c5503039f speedup 2012-10-16 22:35:53 -04:00
Luke Campagnola
3a0d599d70 scatterplot spots are clickable again 2012-10-16 20:54:42 -04:00
Luke Campagnola
5ce8d09aa0 10-100x speedup for ScatterPlotItem 2012-10-16 17:07:23 -04:00
Megan Kratz
c039074e79 bugfix for ViewBox.childrenBounds -- vertical infiniteLines were not being included in autoscale range 2012-10-15 15:41:11 -04:00
Luke Campagnola
50aa289ab6 Converted all png files to compiled .py file; this allows easier packaging with py2exe
Added example scripts used for bundling with py2exe
2012-10-11 12:14:35 -04:00
Luke Campagnola
b96a0f1b39 Added example scripts used for bundling with py2exe 2012-10-11 11:57:51 -04:00
Luke Campagnola
083ee00268 merge with dev 2012-10-11 11:17:40 -04:00
Luke Campagnola
64be9c8b1f converted all png files to compiled .py file; this allows easier packaging with py2exe 2012-10-11 11:14:35 -04:00
Luke Campagnola
ad7645c9c5 Better support for frozen environments:
- integrated Cristian Gavin's replacement for os.listdir
  - added replacement for os.isdir
Fixed ViewBox generating error messages at shutdown
2012-10-11 01:26:44 -04:00
Luke Campagnola
5081c97ac5 Better support for frozen environments:
- built in Christian Gavin's os.listdir replacement
  - added os.isdir replacement
Fixed ViewBox causing errors at shutdown
2012-10-11 00:57:24 -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
01deeb7579 fixed import statement in flowchart/eq 2012-09-13 11:07:29 -04:00
Luke Campagnola
ca9d0ed147 Added preliminary support for python 2.6
Fixed setup.py to automatically search for all sub-packages
2012-09-13 10:12:59 -04:00
Luke Campagnola
c022f3a10f Bugfixes:
- initialize ImageItem.menu
 - fixed default argument for ROI.getAffineSliceParams(axes)
2012-09-11 10:26:34 -04:00
Luke Campagnola
8b4596a107 added distutils setup script 2012-09-10 18:00:59 -04:00
Luke Campagnola
79e4775165 Parametertree updates:
- fixes for saveState / restoreState (better handling of custom parameter classes)
  - added method GroupParameter.setAddList
  - ListParameter now remembers its value even if its list is cleared and rebuilt
  - added ActionParameter (buttons) and TextParameter
2012-09-09 19:13:30 -04:00
Luke Campagnola
32311351f1 Now detects and switches between PyQt / PySide automatically; no need to distribute different versions of the library anymore. 2012-09-09 19:07:36 -04:00
Luke Campagnola
f9a7dad5dc Minor changes:
- ROI.getArrayRegion makes sure the ROI and image share the same scene
  - Added a few binary operator methods to metaarray 
  - Fixed flowchart/eq.py handling of metaarray objects
2012-09-09 18:56:48 -04:00
Luke Campagnola
5a4fd82cd9 merge with dev branch repository 2012-08-31 17:23:19 -04:00
Luke Campagnola
92d11cee91 Parallelizer: more clever assessment of CPU count (ignores hyperthreaded cores on linux) 2012-08-31 17:20:05 -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
bb48f1cb36 Console: Added some filtering to ignore common exception locations 2012-08-31 17:09:08 -04:00
Luke Campagnola
c71ee6ed6f Minor documentation fixes 2012-08-23 11:17:40 -04:00
Luke Campagnola
4c3dfa8c97 added textitem to documentation 2012-08-23 11:04:50 -04:00