Philip Eisenlohr
80c31ac20e
Add period to sentences.
2024-03-02 13:31:24 +05:30
Martin Diehl
1d19d4242c
more robust implementation
...
use abs() for situations with negative numbers, allow to explicitly
specify precision.
max_denominator and default N_significant are determined empirical
2024-03-02 13:31:24 +05:30
Philip Eisenlohr
5da7ff56b9
Merge branch 'development' into 285-attributes-of-damask-result-should-depend-on-view
2024-01-02 09:37:59 -05:00
Martin Diehl
a8e979e904
ensure that files are closed automatically
...
reported by Karo Sedighiani
2023-12-23 07:07:12 +01:00
Philip Eisenlohr
42a752aa6b
Merge branch 'development' into '285-attributes-of-damask-result-should-depend-on-view'
...
# Conflicts:
# python/damask/_result.py
2023-12-20 19:14:40 +00:00
Martin Diehl
7245aa24d4
use NotImplementedError to indicate non-implemented combinations
2023-12-19 18:39:47 +01:00
Philip Eisenlohr
e93618bc89
Correct docstring
2023-12-18 23:02:02 +00:00
Martin Diehl
95e45ab073
avoid inconsistencies
2023-12-17 13:18:21 +01:00
Martin Diehl
f3e7f51bb4
centralized functionality for handling of colors
2023-12-09 16:56:09 +01:00
Martin Diehl
5d07851d60
use stdout but do nothing if redirected
2023-12-09 14:43:29 +01:00
Philip Eisenlohr
550c757cdc
overall smart blending; more robust disFZ
2023-10-04 09:42:09 -04:00
Martin Diehl
5b6aeaf4b3
Merge branch 'shaped-rotation-application' into 'development'
...
Shaped rotation application
See merge request damask/DAMASK!819
2023-09-24 18:49:41 +00:00
Martin Diehl
36d2ae1c2a
avoid repeated opening of files
2023-09-22 15:17:58 +02:00
Philip Eisenlohr
b3f98ab877
more flexible shapeblending
2023-09-19 17:43:27 -04:00
Daniel Otto de Mentock
ad39577ea4
improvements to docstrings (in `damask.Rotation`)
2023-03-02 18:46:00 +00:00
Martin Diehl
c40b446854
add keywords to signature of Orientation functions that inherit from Rotation
2023-02-23 18:49:08 +00:00
Martin Diehl
ce6c86dd6d
essentially same behavior as before,
...
but better documentation, a few simplifications, and typehints
2023-01-24 11:26:14 +01:00
Martin Diehl
dcdc4acbd5
Unified object.comments as list[str]; simplifications of Python code
2022-12-13 18:32:19 +00:00
Martin Diehl
741aeab1d3
Merge branch '235-docstring-of-orientation-from_axis_angle' into development
2022-11-29 06:06:31 +01:00
Martin Diehl
d668f8a56d
don't add empty strings
2022-11-28 20:05:39 +00:00
Daniel Otto de Mentock
8112f87d39
parameter names can contain underscores
2022-11-28 10:33:07 +01:00
Martin Diehl
92ae86b636
Merge branch 'fix-mypy-no-implicit-optional' into 'development'
...
PEP 484 compatibility (no-implicit-optional in mypy)
See merge request damask/DAMASK!664
2022-11-25 21:25:33 +00:00
Martin Diehl
77be2c0d4c
standard way to report
2022-11-25 07:00:15 +01:00
Philip Eisenlohr
6315f97f4a
added explicit Optional type hint
2022-11-22 16:26:15 -05:00
Martin Diehl
815d825fac
Merge branch 'material_add' into 'development'
...
configMaterial functionality
See merge request damask/DAMASK!651
2022-11-20 12:59:01 +00:00
Daniel Otto de Mentock
5017aabcea
util.extend_docstring: proper layout for extended class (incl. current return type)
2022-11-19 08:10:00 +00:00
Philip Eisenlohr
fa69a1876b
unify X or list/seq/collection of X --> (A/B/C of) X in docstrings
2022-11-14 09:09:45 -05:00
Philip Eisenlohr
2e7d59ab43
brief but comprehensive "is_complete" reporting
2022-11-11 18:07:48 -05:00
Daniel Otto de Mentock
400323a9aa
Modified shapeshifter function
2022-08-12 18:45:40 +00:00
Martin Diehl
44d9663ff0
standard name
2022-07-26 21:55:17 +02:00
Martin Diehl
1a44b6e692
white space adjustments
2022-06-10 14:03:43 +02:00
d.mentock
d88a139a41
pyflakes bug causes error without comment
2022-06-10 12:03:50 +02:00
d.mentock
afbafd1d98
util imports need prefix instead of __all__ definition to prevent namespace pollution
2022-06-10 12:00:54 +02:00
d.mentock
b9214fcc6c
Prevent windows overflow error when using numpy dtype=int instead of int64
2022-06-02 19:40:18 +02:00
Martin Diehl
0916922423
read Windows/Unix, write Unix line endings
2022-03-27 10:03:47 +02:00
Martin Diehl
f3cf67d3fa
avoid code duplication and inconsistencies
2022-03-27 09:55:20 +02:00
Martin Diehl
7f09bbeb08
int is 32 bit on Windows (cause trouble for hybrid_IA)
2022-03-26 22:06:03 +01:00
Martin Diehl
135f2e7add
allow to use '~' in filenames
...
no idea how to test, but seems to work
2022-03-19 11:10:22 +01:00
Philip Eisenlohr
f13a4c82da
grid.clean/vicinity now uses ball neighborhood; lots of polishing
2022-03-09 18:26:52 -05:00
Martin Diehl
4c941c608f
better names and description
2022-03-09 15:35:36 +01:00
Martin Diehl
445d5ec720
propagate signals to running commands
...
otherwise, we have long running processes when GitLab terminates jobs in
a pipeline
2022-03-06 21:11:19 +01:00
Martin Diehl
425d148ea8
mypy-safe
2022-03-06 19:37:46 +01:00
Martin Diehl
d7ba853859
use None for no selection, empty list is 'nothing'
2022-03-05 20:37:47 +01:00
Martin Diehl
161e4b6815
testing new functionality
2022-03-04 10:57:49 +01:00
Martin Diehl
03912b0a03
Merge remote-tracking branch 'origin/development' into polishing
2022-03-04 03:44:36 +01:00
Martin Diehl
f9e04bc4cb
unifying interface
...
same same for same functionality, allow user to specify single integer
for convenience
2022-02-28 16:14:40 +01:00
Philip Eisenlohr
320ab70270
Merge branch 'development' into 'python-vtk-improvements'
...
# Conflicts:
# python/damask/_vtk.py
2022-02-23 14:20:52 +00:00
Philip Eisenlohr
47dcd4bd41
follow Python exception message convention of lower-case
2022-02-22 10:42:05 -05:00
Philip Eisenlohr
aeb0e527ec
Consistent formatting of raised messages
2022-02-22 09:46:12 -05:00
Philip Eisenlohr
fe2ab947ec
somehow "Sequence" was missing from import
2022-02-18 14:50:28 -05:00