Commit Graph

1273 Commits

Author SHA1 Message Date
Luke Campagnola
81dac22c69 style fix 2016-09-07 23:08:31 -07:00
Luke Campagnola
152c5d393f Fixed bool / monochrome image display, added more unit tests 2016-09-07 17:56:00 -07:00
Luke Campagnola
8aec44d088 Use console's namespace as both local and global context for exec/eval.
This allows functions defined in the console to access global variables.
Also expose the console itself via special __console__ variable.
2016-09-06 17:54:54 -07:00
Luke Campagnola
748a8433b9 minor edits 2016-09-06 17:46:52 -07:00
Luke Campagnola
c17f03ea46 LineSegmentROI.getArrayRegion API correction 2016-09-02 20:03:20 -07:00
Luke Campagnola
db07a16913 Test update and more bugfixes 2016-08-31 15:15:44 -07:00
Luke Campagnola
b50e2423ce Add config option sanity checking 2016-08-31 15:15:03 -07:00
Luke Campagnola
e9afbb9b9c Clean up examples / docs 2016-08-31 15:14:25 -07:00
Luke Campagnola
2e36058130 IsocurveItem obeys imageAxisOrder config option 2016-08-27 22:36:05 -07:00
Luke Campagnola
e84af46380 Merge pull request #369 from campagnola/imageitem-tests
Imageitem tests
2016-08-27 17:26:43 -07:00
Luke Campagnola
95b2acb027 Merge pull request #349 from campagnola/roi-tests
Roi tests
2016-08-27 15:59:53 -07:00
Luke Campagnola
67bff6b9ca bugfix in polylineroi.getarrayregion 2016-08-27 15:51:54 -07:00
Luke Campagnola
df691596a7 ROI tests pass with row-major axis order 2016-08-25 18:18:15 -07:00
Luke Campagnola
956251f7ee enabled transposed ROI tests; not passing yet 2016-08-23 09:22:33 -07:00
Luke Campagnola
f49bfbf5a4 add transposed roi tests 2016-08-23 09:12:39 -07:00
Luke Campagnola
a76fc37112 imageAxisOrder config option now accepts "row-major" and "col-major" instead of "normal" and "legacy"
ImageItems can individually control their axis order
image tests pass with axis order check
2016-08-23 09:10:26 -07:00
Luke Campagnola
54fbfdb918 fix from prior merge 2016-08-23 09:06:43 -07:00
Luke Campagnola
e740cb4b49 updated examples to use normal axis order, fixed a few ROI bugs 2016-08-23 09:06:43 -07:00
Luke Campagnola
bee5878915 Added imageAxisOrder config option
Added global config documentation
ROIs don't exactly work yet..
2016-08-23 09:06:43 -07:00
Luke Campagnola
e46be6ddec Remove axes from tests; these break CI tests. 2016-07-18 17:35:33 -07:00
Luke Campagnola
0172d7b1e4 Fix pixel error in image tests by preventing an extra plot window from opening (no idea why this happens) 2016-07-18 17:22:17 -07:00
Luke Campagnola
e36fca8f49 Update test data tag 2016-07-18 17:22:17 -07:00
Luke Campagnola
8b0c61ef01 Add ImageItem tests, fix image downsampling bug 2016-07-18 17:21:02 -07:00
Luke Campagnola
08b93dce82 minor corrections 2016-07-18 09:13:06 -07:00
Luke Campagnola
0d131e4be4 Remove axes in ROI tests (these cause travis failures) 2016-07-18 08:13:25 -07:00
Luke Campagnola
f32dce7908 Avoid using QGraphicsLayout for tests; this produces unreliable results 2016-06-16 17:34:39 -07:00
Luke Campagnola
f0071a09dc docstring update 2016-06-14 22:02:05 -07:00
Luke Campagnola
637eab8359 Add debugging output for image testing 2016-06-14 21:56:25 -07:00
Luke Campagnola
230659a4db Allow Qt lib selection from environment variable for testing
Cover up some QtTest differences between PyQt4 / PyQt5
2016-06-05 00:48:13 -07:00
Luke Campagnola
2e59cd63cb Fix image test makePng function 2016-06-05 00:15:51 -07:00
Luke Campagnola
49d5543fa5 travis fix 2016-05-30 20:28:59 -07:00
Luke Campagnola
8f7b55302f Added PolyLineROI unit tests, fixed several bugs in mouse interaction with PolyLineROI. 2016-05-30 18:00:19 -07:00
Luke Campagnola
bb507cf6d0 ROI tests pass
FIX: PolyLineROI.setPoints() did not clear points previously
API: Allow ROI.setPos(x, y) in addition to setPos([x, y])
2016-05-17 18:04:52 -07:00
Luke Campagnola
ccf2ae4db4 Fix PolyLineROI.getArrayRegion and a few other bugs 2016-05-13 23:30:52 -07:00
Luke Campagnola
d4cc2e8b5d Add getArrayRegion tests for ROI, RectROI, and EllipseROI 2016-05-09 09:00:58 -07:00
Luke Campagnola
5c58448658 minor ROI corrections 2016-05-09 09:00:41 -07:00
Luke Campagnola
b4e41012d8 Correct color handling in test images 2016-05-09 08:56:21 -07:00
lidstrom83
5322c0233b Fix bug where int and float parameter limits are not always set. 2016-05-03 12:25:05 -06:00
Eric Dill
670d63cdf4 Merge pull request #327 from lidstrom83/InfLineLabel.setFormat_fix
Made InfLineLabel.setFormat actually set the format string.
2016-05-03 13:11:28 -04:00
lidstrom83
bb44a3387a Made InfLineLabel.setFormat actually set the format string. 2016-05-03 10:38:44 -06:00
Luke Campagnola
2ab52808d3 added simple roi tests (these do not check output) 2016-05-03 09:20:23 -07:00
Eric Dill
1acb8accbd Merge pull request #326 from rlegnain/develop
Added  "self.moving = False" in  InfLineLabel class
2016-05-03 11:06:29 -04:00
Legnain
b4b1aec162 Added "self.moving = False" in InfLineLabel class
Added  "self.moving = False" in  InfLineLabel class to solve the error message when clicking on the label.

    |  AttributeError: 'InfLineLabel' object has no attribute 'moving'
2016-05-03 04:54:21 -04:00
Luke Campagnola
c599635319 Merge pull request #305 from cboulay/MetArr_PrettierPrinting
MetaArray: PrettyInfo for all axes, not skipping last axis.
2016-04-24 14:30:09 -07:00
Chadwick Boulay
5a21d59538 A few small style changes to MetaArray.py 2016-04-24 13:38:19 -04:00
Chadwick Boulay
2eca4ed775 Set MetaArray._info after modifications during MetaArray.checkInfo().
Update MetaArray.prettyInfo() to print empty axes. Also fixed some spacing issues when number of elements had more digits in some axes than others (up to 5 digits).
2016-04-24 13:20:10 -04:00
Luke Campagnola
70626624ca Merge pull request #309 from ixjlyons/fix-issue257
Encode QPropertyAnimation property name if not passed as bytes.
2016-04-21 20:34:56 -07:00
Kenneth Lyons
9e4443cc68 More detailed comment. 2016-04-21 12:02:49 -07:00
Luke Campagnola
f49554d063 Merge pull request #304 from cboulay/osx_mremap
OSX RemoteGrahpics.py: Add shared mem file open and close to get around no mremap.
2016-04-21 00:35:31 -07:00
Luke Campagnola
6096926ea9 Merge pull request #281 from lionel-martin/colormap_positions
Fixing order of positions in colormap
2016-04-21 00:34:45 -07:00