Commit Graph

11366 Commits

Author SHA1 Message Date
Martin Diehl d965d66319 [skip ci] documenting 2020-06-28 09:34:10 +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
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
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
Martin Diehl 27220a03bc not invalid anymore 2020-06-25 09:23:43 +02:00
Martin Diehl 3290e2c585 handle even obscure directions 2020-06-25 08:29:36 +02:00
Martin Diehl 5d7213b062 restore reminder to document changes
causes conflicts with outdated tests and is not urgent: postpone until
release.
2020-06-25 08:19:07 +02:00
Martin Diehl c9829f0f1f only Chuck Norris can divide by zero 2020-06-25 08:18:39 +02:00
Martin Diehl cd23937af5 Merge branch 'development' into f-strings 2020-06-25 07:46:24 +02:00
Philip Eisenlohr e64d353865 condensed scale_to_coprime; added test of scale_to_coprime 2020-06-24 18:37:33 -04:00
Philip Eisenlohr 9999560247 easier understanding of from_ang data layout interpretation 2020-06-24 18:36:43 -04:00
Philip Eisenlohr 14d3b7e66d more f-stringing 2020-06-24 16:59:55 -04:00
Philip Eisenlohr 966b6f8007 shapes init copes with integers instead of strict tuples; introduced f-strings 2020-06-24 14:18:06 -04:00
Philip Eisenlohr f8f433e826 introduced f-strings 2020-06-24 14:13:56 -04:00
Philip Eisenlohr ff858fd4c8 [skip ci] corrected help string for "srepr" 2020-06-24 20:13:09 +02:00
Test User a71b8aea5c [skip ci] updated version information after successful test of v2.0.3-2692-g3d93a5ff 2020-06-24 17:29:13 +02:00
Philip Eisenlohr 4314ec1f37 [skip ci] started to replace .format() with f-strings 2020-06-24 11:02:37 -04:00
Anderson Wallace Paiva do Nascimento 3d93a5ff00 Merge branch 'migrate-to-pathlib' into 'development'
Migrate to pathlib

See merge request damask/DAMASK!177
2020-06-24 14:54:36 +02:00
Test User deaf055f88 [skip ci] updated version information after successful test of v2.0.3-2680-g17212b27 2020-06-22 15:59:31 +02:00
Jaber 17212b27dc Merge branch 'misc-improvements' into 'development'
Misc improvements

See merge request damask/DAMASK!181
2020-06-22 13:24:00 +02:00
Martin Diehl c6a5bb8a3b is 2020 2020-06-21 10:04:45 +02:00
Martin Diehl d4efadb333 should be availabe outside of this module 2020-06-21 10:03:52 +02:00
Martin Diehl 4c5939ef23 small polishing 2020-06-20 22:51:00 +02:00
Martin Diehl cf1cfb0cd9 Merge branch 'development' into misc-improvements 2020-06-20 21:43:28 +02:00
Martin Diehl 15b43bcebf from_directions is not general, removed
polishing
2020-06-20 19:57:49 +02:00
Martin Diehl 3f63a4fdbc [skip ci] typo 2020-06-20 18:13:34 +02:00
Martin Diehl d93ed2bc5c several improvements:
- vectorized from_directions
- more tests (96% coverage, only random functionality is untested)
- updated documentation, folloing numpy standard
- inverse operator '~' introduced
2020-06-20 12:20:43 +02:00
Martin Diehl 055fa64f5f better readable 2020-06-19 12:25:46 +02:00
Test User 01f21a9e3b [skip ci] updated version information after successful test of v2.0.3-2664-ge959aaab 2020-06-18 18:04:51 +02:00
Franz Roters e959aaab5d Merge branch 'Marc-no-pingpong' into 'development'
Marc no pingpong

See merge request damask/DAMASK!180
2020-06-18 15:29:21 +02:00
Martin Diehl 8fa68101b8 not needed 2020-06-17 22:28:29 +02:00
Martin Diehl 62384b5836 bugfix: invalid description/unit 2020-06-16 23:43:15 +02:00
Martin Diehl 829896390c hopefully not needed any more 2020-06-16 23:37:24 +02:00
Martin Diehl d0d9245707 clearer intention 2020-06-16 23:35:50 +02:00
Martin Diehl e0d4ee44a3 better name 2020-06-16 13:59:59 +02:00
Martin Diehl 753fbb70fd cleaning 2020-06-16 13:55:32 +02:00
Martin Diehl 06f6e15123 avoid public variables 2020-06-16 07:05:31 +02:00
Martin Diehl 54aa5a67ff polishing 2020-06-16 06:41:53 +02:00
Martin Diehl 0a9902818c polishing 2020-06-16 06:34:12 +02:00
Martin Diehl e952ab7127 bugfix
do not access unitinialized memory
2020-06-15 23:12:49 +02:00
Test User 0e11d6f049 [skip ci] updated version information after successful test of v2.0.3-2654-g5c544a6e 2020-06-14 15:51:48 +02:00
Martin Diehl e5c9380bac cleaning 2020-06-11 08:52:22 +02:00
Martin Diehl 579ced6a52 removed global public variables 2020-06-11 08:44:24 +02:00
Martin Diehl b353129ba8 cleaning 2020-06-11 08:36:21 +02:00
Martin Diehl 82326ed812 drop support for ping-pong scheme 2020-06-11 08:22:25 +02:00
Martin Diehl 5c544a6e4e bugfix
- IO_read sanities files such that they end with EOL (unless 0 byte)
- IO_readline simply counts EOL to determine number of lines
2020-06-05 20:58:36 +02:00
Martin Diehl 9cd9ee71c5 off-by-one issue fixed 2020-06-05 14:44:31 +02:00