Martin Diehl
db09ca37e6
convenient shortcut
2023-12-17 13:17:52 +01:00
Martin Diehl
7544e81349
dictionary of visible items should not be exposed to users
...
getters for individual items are easier to understand
Note: increments_in_range and times_in_range operate now only on the
visible increments
2023-12-17 13:16:48 +01:00
Martin Diehl
8def54c862
fixed getters for visible entities
...
storing time information as dictionary simplifies many operations
2023-12-17 06:55:14 +01:00
Martin Diehl
38f9c1977c
attributes should depend on view
...
hidden attributes contain the view-independent variables, getter for
currently visible quantities
2023-12-16 16:06:35 +01:00
Martin Diehl
127ff97a24
make internals visible
2023-12-11 15:18:43 +01:00
Martin Diehl
bfb207d34d
use original DREAM.3D file as reference
...
current loop runs over all datasets (except those that should be
ignored).
2023-12-10 19:46:09 +01:00
Martin Diehl
1995934371
improved handling of phases without orientation
...
inactive phases and phases without orientation will get 999 numerical
values
2023-12-04 23:16:24 +01:00
Martin Diehl
5923aa2493
ensure closing of file
2023-12-04 22:53:35 +01:00
Martin Diehl
ecf68db814
handle missing orientation data
2023-12-04 22:35:44 +01:00
Martin Diehl
1245ec7d94
grouped
2023-12-04 22:25:28 +01:00
Martin Diehl
ffd3cfe951
simplified
2023-12-04 22:16:31 +01:00
Martin Diehl
213e8aa4be
avoid monkey patching
2023-12-04 21:50:02 +01:00
Martin Diehl
7a5e08c14d
consistent name
2023-12-04 19:59:01 +01:00
Martin Diehl
faedb49a20
simplified
2023-12-04 19:33:40 +01:00
Martin Diehl
ab24d444fc
limit to structures available in DAMASK
2023-12-04 19:25:41 +01:00
Vitesh Shah
9e51ab160c
ditching the patched copy approach
...
Further details or things to look at:
2a48bf504e (note_12028)
2023-12-01 12:34:59 +01:00
Vitesh Shah
338fce8b5d
nested methods and attributes need to added individually
2023-11-28 12:52:57 +01:00
Vitesh Shah
05da811afe
adding ._hl method to modified h5py class
...
Simple loading of module from importlib misses the extra methods and
attributes associated with h5py.
For h5py._hl is missing which is needed for nullterm strings in
attributes.
2023-11-28 09:45:51 +01:00
Vitesh Shah
1cf8696cbb
correct crystal structure array shape
2023-11-27 15:51:02 +01:00
Vitesh Shah
e3d85e09c8
even with patched copy the class needs to called
2023-11-27 14:00:17 +01:00
Vitesh Shah
30b546f2dd
message in case of unstructured grids and more constituents
2023-11-24 08:03:16 +01:00
Vitesh Shah
fb823c81e7
not needed since patched copy of module is used
2023-11-24 07:55:41 +01:00
Vitesh Shah
2a48bf504e
attempting patched copy of h5py
...
https://stackoverflow.com/questions/11170949/how-to-make-a-copy-of-a-python-module-at-runtime
2023-11-24 07:55:41 +01:00
Vitesh Shah
66dc5af5e0
needs specific datatype to write string arrays
2023-11-24 07:55:40 +01:00
Vitesh Shah
5dd9445f58
polishing
2023-11-24 07:55:03 +01:00
Vitesh Shah
56a9dd843c
polishing
2023-11-10 12:56:18 +01:00
Vitesh Shah
27168f2234
get crystal structure info from DADF5
2023-11-10 12:45:01 +01:00
Vitesh Shah
796e1ae2d5
increment number with leading zeroes
2023-11-10 12:45:01 +01:00
Vitesh
f71b1c4dc3
Merge branch 'development' into 'export_DAMASK_to_DREAM3D'
...
# Conflicts:
# python/damask/_result.py
2023-10-13 12:21:46 +00:00
Vitesh Shah
8bb193cc70
reset the attribute manager to default
2023-10-09 20:20:34 +02:00
Philip Eisenlohr
983a376f45
bugfix; serial string use
2023-10-04 09:10:11 -04:00
Martin Diehl
a0dc25c16e
more specific typehints
2023-10-03 23:02:12 +02:00
Vitesh Shah
85010a8d6d
the monkey patch should be used only for export Dream3D
...
Initially it got activated at the start of _result.py
This led to failure of other tests.
Use the patch only when needed.
2023-10-02 15:11:02 +02:00
Vitesh Shah
5ba83fd05b
Merge branch 'development' into export_DAMASK_to_DREAM3D
2023-09-29 08:00:23 +02:00
Martin Diehl
28cb72ced0
simplified
2023-09-25 13:58:17 +02:00
Martin Diehl
8b421ba7a7
simplified
2023-09-23 06:20:25 +02:00
Martin Diehl
36c13d2e58
no need to have this as class method
...
definition as class method was needed to be visible in multiprocessing
2023-09-22 10:58:25 +02:00
Martin Diehl
b0bb904c89
no multiprocessing for adding datasets
...
multiprocessing was not reliable on different platform and caused all
kinds of weird behavior
2023-09-22 08:36:34 +02:00
Vitesh Shah
e4b793cf77
Merge branch 'development' into export_DAMASK_to_DREAM3D
2023-07-05 15:04:08 +02:00
Yi Hu
09858317d8
add m=0 (default) case in docstring
2023-07-04 16:44:31 +02:00
Yi Hu
0e9e37bfb3
Merge branch 'development' into 284-more-friendly-output-name-of-add_strain-or-a-better-presentation-in-documentation-webpage
2023-07-04 16:07:48 +02:00
Vitesh Shah
b5b6c2d695
fixed typos and other python warnings
2023-05-04 12:59:56 +02:00
Vitesh Shah
c4baca0cb6
fixed typo
2023-05-04 10:49:11 +02:00
Vitesh Shah
3462d41d8e
consistent dataset naming eases testing
2023-04-26 12:56:34 +02:00
Vitesh Shah
45cebe3aee
better variable naming and splitext
2023-04-26 10:28:17 +02:00
Martin Diehl
62eda982fd
drop support for older DADF5 versions
...
simplifies code a little and 0.14 was already used in alpha5
2023-04-20 19:32:23 +02:00
Vitesh Shah
5dddf792e1
pathlib can give name of the file directly
2023-04-20 10:52:08 +02:00
Vitesh Shah
029b830156
corrected the looping and target dir
2023-04-17 08:03:44 +02:00
Sharan Roongta
7b158f5ec4
Merge branch 'regrid-result' into 'development'
...
regrid/map when exporting DADF5
See merge request damask/DAMASK!748
2023-04-14 20:05:30 +00:00
Vitesh Shah
2ae1a20443
seems to read the data correctly
2023-04-06 21:42:34 +02:00