Commit Graph

485 Commits

Author SHA1 Message Date
Martin Diehl ff8ce3840b handle infinite loop 2021-04-28 08:03:22 +02:00
Martin Diehl de79d2d897 test handling of Marc results 2021-04-26 00:28:39 +02:00
Martin Diehl 62c987badf add tracer to vtk files 2021-04-25 23:54:33 +02:00
Martin Diehl d4a46b9be8 Merge remote-tracking branch 'origin/development' into drop-old-DADF5-support 2021-04-25 17:34:14 +02:00
Martin Diehl 0459f17f58 improved usability 2021-04-25 07:58:15 +02:00
Martin Diehl 18aa6f7f12 support for string arrays
allows to add phase label from mapping. Only scalar string arrays are
allowed (no real restriction)
2021-04-24 22:50:59 +02:00
Martin Diehl 3977e230b3 documenting and ensuring consistent argument names
'name' for a dataset matches the analogy to a file name
2021-04-24 14:47:45 +02:00
Martin Diehl 4d67c85a33 clarify out-of-place behavior and document return values 2021-04-23 23:32:09 +02:00
Martin Diehl 37df78a8e0 don't show progress bar for empty iterations 2021-04-10 15:01:50 +02:00
Martin Diehl 07d573a56d more helpful dataset descriptors
phase label for single phase material not helpful
2021-04-10 09:32:21 +02:00
Martin Diehl 63b343ad87 Merge branch 'development' into allclose-rotation-orientation 2021-04-10 08:05:25 +02:00
Martin Diehl e89236b14d bugfix:
don't overwrite data when doing a 'place-like' operation to merge
datasets
2021-04-08 17:36:33 +02:00
Martin Diehl 00aed99419 naming of tests should follow naming in class 2021-04-08 13:39:48 +02:00
Martin Diehl bc1454970c mandatory symmetry
if symmetry is not of interest, damask.Rotation should be used
2021-04-06 22:49:08 +02:00
Philip Eisenlohr bf2515c4c1 removed `Grid.diff` in lieu of `__eq__` 2021-04-06 12:10:35 -04:00
Philip Eisenlohr bf4c88a39e renamed result.read to get; polishing 2021-04-06 11:39:44 -04:00
Martin Diehl d5806075d4 distinguish isclose/allclose and __eq__ 2021-04-05 22:15:03 +02:00
Martin Diehl 115e3dd4c7 simplified 2021-04-05 17:18:12 +02:00
Martin Diehl 9db1ef9ed7 polishing 2021-04-05 13:41:49 +02:00
Martin Diehl 65b03aeb2d Merge remote-tracking branch 'origin/development' into Results.read-.place 2021-04-05 10:22:49 +02:00
Martin Diehl 62c85db745 out of place behavior 2021-04-05 08:03:00 +02:00
Martin Diehl e1d57f176d simplifying
[] has a special meaning for glob, use () to indicate direction for IPF
color. It is anyways the sample direction, not a crystallographic
direction
2021-04-04 19:05:58 +02:00
Martin Diehl d78e0085fc simplified 2021-04-04 18:32:17 +02:00
Martin Diehl 6f3dc80079 simplified/using new functionality 2021-04-03 16:32:48 +02:00
Martin Diehl 1b2d892b42 keep reference folder clean 2021-04-03 07:31:31 +02:00
Martin Diehl 20d0242d59 using new logic 2021-04-02 12:21:27 +02:00
Martin Diehl cf1ce6a1fe support for masked array
masked arrays are the outcome of Result.place
2021-04-02 08:07:22 +02:00
Philip Eisenlohr f6d6aefe1d function renaming; rewording of help messages 2021-04-01 18:41:28 -04:00
Martin Diehl 84e117c6b3 polished and added tests 2021-04-01 17:26:51 +02:00
Martin Diehl 4b9fcf2f77 testing new read functionality 2021-04-01 14:55:50 +02:00
Martin Diehl 85aaaa96f3 new tests 2021-04-01 10:47:45 +02:00
Martin Diehl 8a3af87e3e Merge remote-tracking branch 'origin/development' into spring-cleaning 2021-04-01 00:09:51 +02:00
Philip Eisenlohr 07c9cf5f1a - improved reporting and slicing of table.
- implemented numpy-like `allclose` and `isclose`
2021-03-31 18:30:07 +00:00
Martin Diehl e9c65dee73 documenting and testing 2021-03-31 10:59:21 +02:00
Martin Diehl be9e00347b cleaning
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl 111a1a76c6 cleaning 2021-03-27 07:35:49 +01:00
Martin Diehl 9fd244d8a0 cleaning 2021-03-26 20:59:49 +01:00
Martin Diehl 9e9eb391ba handle floating point errors 2021-03-25 22:33:14 +01:00
Martin Diehl 3b392281e4 consistent naming in HDF5 output 2021-03-25 19:22:59 +01:00
Martin Diehl fe0cd8e5e2 transparently handle orientations/rotations 2021-03-25 15:30:31 +01:00
Martin Diehl 1ff6a09746 tests/specifications 2021-03-23 18:51:21 +01:00
Martin Diehl 572c3204d0 let the computer do the work 2021-03-23 14:28:56 +01:00
Martin Diehl e0e088eaa8 EBSD dataset for testing
use only non-segmented data. Automatically fall back to numeric phase
names if cell_ensemble_data is not found
2021-03-23 13:42:04 +01:00
Martin Diehl 394fda5f37 improving import from DREAM.3D
- no duplicated entries even for non-segmented data
- using phase labels from file
- material.yaml: Dummy homogenization and phase
- tests to ensure correct order and match between Grid and
  ConfigMaterial
2021-03-20 12:56:18 +01:00
Martin Diehl 35c5bfcc45 reference files for DREAM.3D operations
will be used for the configuration of material.yaml and grid (using
symbolic links)
2021-03-19 11:45:04 +01:00
Philip Eisenlohr a26e586b14 More general 'delete' (accepts iterables) and backports of '|' and '|=' for union/add.
'|=' would work for python 3.9 without extra code, but '|' unfortunately casts 'damask.Config' (subclass of 'dict') to a 'dict'.
2021-03-09 19:15:15 +00:00
Philip Eisenlohr 175d724ded added keepdims=False option to project_stereographic 2021-02-27 18:38:40 -05:00
Philip Eisenlohr ea763fd941 generalized stereographic projection to cope with all three directions (x,y,Z) 2021-02-27 11:15:01 -05:00
Philip Eisenlohr 2549d7a05a [skip ci] removed debug print statement 2021-02-24 15:50:06 +01:00
Philip Eisenlohr 69316f186b fixed ConfigMaterial.from_table; 2D grid.from_table now acceptable 2021-02-23 11:50:13 -05:00