Commit Graph

1094 Commits

Author SHA1 Message Date
Martin Diehl d6f74daf53 cleaning
no DADF5 anymore
2020-03-19 08:13:13 +01:00
Martin Diehl c40e607e08 standard-conforming and nice labels 2020-03-18 20:49:39 +01:00
Martin Diehl b5a1295cb9 ASCIItable -> Table 2020-03-18 13:47:09 +01:00
Martin Diehl 1c75198af5 do not document the obvious 2020-03-18 13:44:39 +01:00
Martin Diehl 45e3b8f7c6 no brackets for reshape required 2020-03-17 12:25:44 +01:00
Martin Diehl 25b3fa4427 image data seems to work in general with python3 ...
... after fix for colormaps
imageDataDeformed is based on the core module, i.e. it has not been used
for years. Either update soon or remove
2020-03-17 11:53:59 +01:00
Martin Diehl a2b21abcba easier with zip 2020-03-17 09:52:13 +01:00
Martin Diehl 17e7b32b31 update to changes in Result class 2020-03-17 08:55:44 +01:00
Martin Diehl 1e1fb35e14 new class is easier to use 2020-03-17 08:40:03 +01:00
Martin Diehl 8e0a91f948 typo 2020-03-17 00:51:21 +01:00
Martin Diehl 0695cc1829 simplified 2020-03-16 22:50:09 +01:00
Martin Diehl d87d13087c unmaintained python2.7 scripts 2020-03-16 22:50:09 +01:00
Martin Diehl a1beb80b54 double precision for vtkPoints
simplifies migration to new class
2020-03-16 22:50:09 +01:00
Martin Diehl 5a90982d85 do not add vertices to point cloud 2020-03-16 22:50:09 +01:00
Martin Diehl 8798dd1af3 new names consistently used 2020-03-02 23:47:29 +01:00
Martin Diehl ed2489de9a not needed anymore 2020-02-29 19:57:37 +01:00
Martin Diehl 48604292e2 Merge remote-tracking branch 'origin/development' into MiscImprovements 2020-02-25 17:33:39 +01:00
Martin Diehl 071dc6f4a5 adjusted to new signature 2020-02-21 18:50:30 +01:00
Martin Diehl 75280b9fb4 correct conversion for python3 2020-02-21 11:02:31 +01:00
Martin Diehl f6c921e811 Merge branch 'development' into DADF5_point_calculations-2 2020-02-21 07:56:19 +01:00
Martin Diehl bc1d356d21 fixing prospector complaints
'except Exception': not really nice, but shell scripts will be remove
soon anyway
2020-02-20 15:27:37 +01:00
Martin Diehl e93f5c84ff 'buffered' has no effect any more 2020-02-20 15:05:38 +01:00
Martin Diehl e3753e9444 use central functionality 2020-02-15 16:11:57 +01:00
Martin Diehl ff41061759 no bare 'except' 2020-01-28 23:39:46 +01:00
Martin Diehl ea560ee167 typo 2020-01-26 15:14:16 +01:00
Martin Diehl e2802ca640 Table replaces ASCIItable 2020-01-15 06:37:53 +01:00
Martin Diehl ff60cf0b67 use new table class 2020-01-13 03:47:41 +01:00
Martin Diehl f9772a3df8 more descriptive name 2020-01-13 02:51:49 +01:00
Martin Diehl 1bb94f03b8 polishing (prospector was complaining) 2020-01-12 00:21:14 +01:00
Martin Diehl 3938f34978 Merge branch 'MiscImprovements' into MoreImprovements 2020-01-11 22:37:41 +01:00
Martin Diehl d4535dadb4 use American english 2020-01-11 20:33:29 +01:00
Martin Diehl a87e396b83 bugfix: need to addData to vtk
not really sure why 'SetScalars' was used for color. 'AddArray' seems to
work. Also, there seems to be no difference between 'data' and 'tensor'
2020-01-02 11:31:33 +01:00
Martin Diehl 05b2c80430 migrating ASCIItable to Table class 2019-12-26 14:34:22 +01:00
Martin Diehl 264afe00f9 using central functionality 2019-12-23 19:06:08 +01:00
Martin Diehl 27d6b91f18 using central funtionality 2019-12-23 10:19:38 +01:00
Martin Diehl d26005960c do not rely on singular value decomposition 2019-12-23 09:52:42 +01:00
Martin Diehl 93bc66d19f same order as in mechanics 2019-12-23 09:33:14 +01:00
Martin Diehl 3c4c364107 bugfix:
wrong results when calculating multiple strain tensors. Introduced in cd6a4d1cfd
2019-12-23 07:01:34 +01:00
Martin Diehl 3ed9126845 also not needed 2019-12-23 06:35:22 +01:00
Martin Diehl 149e4d6d73 not needed 2019-12-23 05:51:41 +01:00
Martin Diehl db14baec41 using central functionality 2019-12-22 22:23:48 +01:00
Martin Diehl c3c08b5b53 using new class/unifying style 2019-12-22 16:16:04 +01:00
Martin Diehl 70cb1f0764 copy of addGridData W/O functionality for meshes 2019-12-22 16:01:39 +01:00
Martin Diehl cde6853a20 do not repeat code 2019-12-22 07:20:23 +01:00
Martin Diehl fe463515d0 following prospector advice 2019-12-22 07:07:34 +01:00
Martin Diehl 343da2e54d Table class instead of ASCIItable 2019-12-21 21:45:00 +01:00
Martin Diehl 5b7139dc22 using specialized class 2019-12-21 19:09:28 +01:00
Martin Diehl 6989679d3b using central functionality
- Table class for table data
- grid_filters for grid related functions
2019-12-21 19:03:36 +01:00
Martin Diehl b293498864 fixing prospector complaints 2019-12-21 18:20:25 +01:00
Martin Diehl da33ba17bc using central (and tested) functionality 2019-12-21 18:17:04 +01:00
Martin Diehl dd318c8d1d Table class replaces ASCIItable class 2019-12-21 15:51:58 +01:00
Martin Diehl 0d1ff72c45 Merge branch 'grid-filters' into MiscImprovements 2019-12-21 06:57:38 +01:00
Martin Diehl 2c5f7d3b5a Merge branch 'development' into grid-filters 2019-12-20 14:32:20 +01:00
Martin Diehl 7ccf836379 not needed for python-based workflow 2019-12-18 20:06:44 +01:00
Vitesh Shah 4469f2f8f0 More general regex 2019-12-18 10:14:19 +01:00
Vitesh Shah 186605610d No phase name for generic datasets 2019-12-13 09:53:47 +01:00
Martin Diehl 7dc128ad12 polishing 2019-12-08 18:33:43 +01:00
Martin Diehl 828e82605e ensure that data is correctly ordered 2019-12-08 18:13:45 +01:00
Martin Diehl b92cfbbd5b do not use bare except 2019-12-07 20:15:50 +01:00
Martin Diehl c6c77b64d2 following renames in grid_filter 2019-12-07 20:08:31 +01:00
Martin Diehl e283acd606 correct way of importing for newer python versions 2019-12-07 20:07:46 +01:00
Martin Diehl 0b04f6a3bb Merge branch 'development' into grid-filters 2019-12-07 10:52:00 +01:00
Sharan Roongta 96710a238d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into incs-no-leading-zero 2019-12-06 15:25:21 +01:00
Philip Eisenlohr a41871e2ac Merge branch 'new-ASCII' into 'development'
New table class

See merge request damask/DAMASK!104
2019-12-06 14:58:16 +01:00
Martin Diehl f2ac87eb2f follow changes in Table class 2019-12-06 04:22:18 +01:00
Martin Diehl f475d1a0d0 adjusted to changes in table class 2019-12-05 13:35:06 +01:00
Martin Diehl 0eddd8a5c2 Merge branch 'new-ASCII' into grid-filters 2019-12-05 13:28:18 +01:00
Martin Diehl 90fdb24faa forgotten variable rename 2019-12-05 13:26:33 +01:00
Martin Diehl 274aaa7359 Merge branch 'new-ASCII' into grid-filters 2019-12-05 10:50:56 +01:00
Martin Diehl 1018b89296 nice to have.. 2019-12-05 10:48:42 +01:00
Martin Diehl 53a38e3a97 polishing 2019-12-05 10:37:13 +01:00
Martin Diehl 3af696995d did not work when piping 2019-12-05 08:36:32 +01:00
Martin Diehl 469d638afb making table class feature complete 2019-12-05 06:57:09 +01:00
Martin Diehl ee8e3386f4 shorter but still descriptive names 2019-12-05 06:16:29 +01:00
Martin Diehl 19c55990ab works again and uses DADF5 intrisic features 2019-12-04 18:30:08 +01:00
Martin Diehl 999321e588 Merge branch 'new-ASCII' into grid-filters 2019-12-04 07:45:01 +01:00
Martin Diehl 58a190ede8 Merge branch 'development' into incs-no-leading-zero 2019-12-04 05:19:38 +01:00
Martin Diehl 9ad8743396 using central functionality 2019-12-03 22:00:21 +01:00
Martin Diehl ff1778d149 Merge branch 'development' into new-ASCII 2019-12-03 15:56:49 +01:00
Martin Diehl 62ca2952fc polishing 2019-12-03 11:27:14 +01:00
Martin Diehl e2b13a5ca3 using de-facto standard naming 2019-11-29 19:32:18 +01:00
Martin Diehl 9b4252da68 smart handling of leading zeros 2019-11-29 16:58:11 +01:00
Martin Diehl 3e65d44e07 centralized facilities for differential operations
note the need to reverse the grid shape in data from the ASCII table. If x is fastest,
z is slowest we require x to be the rightmost index
2019-11-28 15:46:22 +01:00
Martin Diehl 4c4ccfe72e not needed 2019-11-28 06:27:19 +01:00
Martin Diehl a8016d64bb simplified 2019-11-27 12:31:32 +01:00
Martin Diehl cee095b58e better use centralized code 2019-11-27 12:22:28 +01:00
Martin Diehl 7d4b982c73 make information on modifications mandatory 2019-11-27 12:08:23 +01:00
Martin Diehl 9ad74745c1 missing import detected by prospector 2019-11-27 08:48:41 +01:00
Martin Diehl ab83dc2ebc use central facilities 2019-11-27 08:45:01 +01:00
Martin Diehl eb033e11b2 polishing 2019-11-27 08:44:38 +01:00
Martin Diehl 31d3958ca6 using fast new Table class
more a proof-of-concept since shell scripts are deprecated. The detailed
error handling of the former scripts is not implemented, i.e. the user
need to ensure that the files exist and the data has the correct shape
2019-11-26 22:59:42 +01:00
Martin Diehl 2d96136a0d more general constructor for Table
reading from file is just one case (now handled by static method).
General constructor needs data and header information as dictionary.
Works only with python 3.7 where dict keeps the insertion order. Earlier
python versions/other implementations might fail.
2019-11-26 22:53:46 +01:00
Martin Diehl 845cfc34ec similar logic as in geom class
- filename is not part of the object
- transparent handling of files, strings, and path-like objects for file
IO
2019-11-26 14:26:25 +01:00
Martin Diehl 81abc43920 Merge branch 'development' into new-ASCII 2019-11-26 10:29:05 +01:00
Martin Diehl 406ca39b2c ASCII table unable to handle inhomogeneous situations 2019-11-24 21:23:43 +01:00
Martin Diehl c9b1944493 handling of derived datatypes/structs
currently required for orientation
2019-11-24 08:50:27 +01:00
Martin Diehl fb286af354 [skip sc] first draft 2019-10-31 10:47:40 +01:00
Martin Diehl da79949c2a old python2 script, not needed for DADF5 2019-10-19 23:14:17 +02:00
Martin Diehl f4a0a5cfe5 substitute error introduced when enabling MSC.Marc 2019-10-18 22:03:31 +02:00
Martin Diehl b70ad9ff54 Merge branch 'development' into DADF5-improvements 2019-10-18 20:54:54 +02:00