Philip Eisenlohr
1a8feab255
Merge branch 'modernize_colormap' into 'development'
...
Modernize colormap
See merge request damask/DAMASK!183
2020-07-02 19:13:59 +02:00
Philip Eisenlohr
81b3c10305
removed ambiguous variable "l"
2020-07-02 10:37:57 -04:00
Philip Eisenlohr
368a241931
added testing of __iadd__ and __invert__
2020-07-02 10:27:52 -04:00
Philip Eisenlohr
5a96708f41
added __iadd__ method
2020-07-02 10:26:04 -04:00
Philip Eisenlohr
f3ff2e7412
added __iadd__ method
2020-07-02 10:25:04 -04:00
Philip Eisenlohr
3b72d0ec72
added __invert__ method to reverse colormap
2020-07-02 10:13:47 -04:00
Martin Diehl
b88becb9d0
don't go out of focus during initialization
2020-07-02 08:25:35 +02:00
Test User
fcea6d4606
[skip ci] updated version information after successful test of v2.0.3-2752-g0b2d62e9
2020-07-01 18:11:31 +02:00
Martin Diehl
c8adfae0fa
bugfix: wrong variables used
2020-06-30 07:16:49 +02:00
Philip Eisenlohr
8dc87023d1
test from_range; update ASCII colormap labels (i_RGBA)
2020-06-29 22:23:24 -04:00
Philip Eisenlohr
decbe8074a
not using unassigned variable
2020-06-29 22:22:21 -04:00
Philip Eisenlohr
d3b3d628b2
PEP conformity...
2020-06-29 22:07:14 -04:00
Philip Eisenlohr
39aac76859
__add__, from_range, fixed missing np.array(colors), show peppered...
2020-06-29 22:04:03 -04:00
Philip Eisenlohr
97ca1b1a9b
try wxPython before tkinter, recent macOS otherwise fails
2020-06-29 22:02:12 -04:00
Sharan Roongta
0b2d62e98d
polishing
2020-06-29 17:05:11 +02:00
Martin Diehl
fd8994786e
include polished tests
2020-06-29 15:26:37 +02:00
Martin Diehl
640bc7b190
[skip ci] polishing
2020-06-29 15:09:13 +02:00
Martin Diehl
a40d53d308
Merge branch 'development' into YAML-compatible-numerics
2020-06-29 14:46:00 +02:00
Martin Diehl
2d0c680daf
useful information
2020-06-29 07:30:42 +02:00
Martin Diehl
a657125840
standard version string
2020-06-28 19:30:23 +02:00
Martin Diehl
323f828606
Merge branch 'development' into modernize_colormap
2020-06-28 19:09:52 +02:00
Test User
c33c5a18a8
[skip ci] updated version information after successful test of v2.0.3-2717-g52aacf37
2020-06-28 18:52:17 +02:00
Martin Diehl
52aacf375c
Merge branch 'less-shell-scripts' into development
2020-06-28 11:52:50 +02:00
Martin Diehl
1cfa6d44d9
dummy version could be useful for other tests
...
note that monkey patching requires direct access to damask.version in
the respective modules.
'from xx import yy' creates a copy (at least for the version string).
2020-06-28 11:51:30 +02:00
Martin Diehl
b3f5ee022a
unified style
2020-06-28 11:40:19 +02:00
Martin Diehl
e6a87da37c
compare to reference results
...
need to patch damask.version to be independent of version strings (in
json and ASCII table)
2020-06-28 11:20:09 +02:00
Martin Diehl
6a748d2edf
do not expand single strings into characters
2020-06-28 11:19:18 +02:00
Martin Diehl
ae4146f1c6
report version, write out 'modern' ASCII table style
2020-06-28 11:18:22 +02:00
Martin Diehl
e81b67e964
polishing
2020-06-28 10:32:59 +02:00
Martin Diehl
1c03bd157f
more testing
2020-06-28 10:25:28 +02:00
Martin Diehl
b78c809375
real output
2020-06-28 10:25:28 +02:00
Martin Diehl
3513754647
low/high instead of left/right
2020-06-28 10:25:28 +02:00
Martin Diehl
f4d13bc810
binary representation depends on vtk lib version
2020-06-28 10:07:31 +02:00
Martin Diehl
d965d66319
[skip ci] documenting
2020-06-28 09:34:10 +02:00
Martin Diehl
8a9a768a77
support pathlib.Path
2020-06-28 07:17:51 +02:00
Test User
ecc1154a59
[skip ci] updated version information after successful test of v2.0.3-2710-gebaae151
2020-06-28 00:54:27 +02:00
Martin Diehl
8d5a72e936
more test, swich to pathlib
2020-06-27 23:38:58 +02:00
Martin Diehl
8c8132bcd7
coordinates should not have random names
2020-06-27 23:37:09 +02:00
Martin Diehl
c00a203527
VTK class and orientation class are thoroughly tested
2020-06-27 22:36:23 +02:00
Martin Diehl
c929af12c0
testing/polishing
2020-06-27 19:44:12 +02:00
Martin Diehl
cf63226721
testing all conversions
2020-06-27 18:55:27 +02:00
Martin Diehl
234699bd18
reverse should return DAMASK colormap
2020-06-27 16:25:10 +02:00
Martin Diehl
e779e190ea
new colormap class for use in python
...
- based on matplotlib "ListedColormap"
- constructors
- Array of RGB values (inherited),
- 'from_bounds': perceptual uniform colormap within given bounds
- 'from_predefined': from matplotlib or DAMASK templates
- export to files (WIP)
- preview on screen
2020-06-27 16:12:40 +02:00
Martin Diehl
ebaae151f5
not directly related to DAMASK
2020-06-26 22:03:42 +02:00
Martin Diehl
642931c203
Merge branch 'development' into less-shell-scripts
2020-06-26 21:59:50 +02:00
Sharan Roongta
6f9f494654
minor polishing
2020-06-26 12:22:33 +02:00
Test User
9c89d537d2
[skip ci] updated version information after successful test of v2.0.3-2706-g8ce5da55
2020-06-25 20:17:00 +02:00
Sharan Roongta
6e6e4dcdfd
typo during resolve merge conflict
2020-06-25 15:15:48 +02:00
Martin Diehl
8ce5da55fc
Merge branch 'f-strings' into 'development'
...
F strings
See merge request damask/DAMASK!182
2020-06-25 14:42:23 +02:00
Sharan Roongta
78bf8b0ab7
bugfix: close file before returning
2020-06-25 11:25:39 +02:00