Philip Eisenlohr
0adc827278
Merge branch 'development' into python-vtk-improvements
2022-02-18 14:46:40 -05:00
Martin Diehl
9fc6469b13
Merge remote-tracking branch 'origin/development' into python-polishing
2022-02-16 23:13:46 +01:00
Philip Eisenlohr
18f9ac7d44
outsource tail-repacking of characters into string (util.tail_repack)
2022-02-14 12:11:01 -05:00
Martin Diehl
b1922c9fc0
return most specific type
2022-02-13 11:03:53 +01:00
Martin Diehl
57e8fe2b8a
need bracket for correct evaluation
2022-02-10 21:28:48 +01:00
Daniel Otto de Mentock
df54bf724c
Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation
2022-02-03 11:19:15 +01:00
Daniel Otto de Mentock
4b2e104f03
added new type for rng_seed in _typehints module
2022-02-02 12:52:59 +01:00
Daniel Otto de Mentock
cb1143a472
changed return type of util.shapeblender and util.shapeshifter from Sequence[SupportsIndex] to Tuple[SupportsIndex, ...]
...
ignored lines in orientation module that attempt to pass objects of type
Tuple[SupportsIndex, ...] to np.broadcast_to()
2022-02-01 18:38:49 +01:00
Daniel Otto de Mentock
086ff42be5
05 Typehints config configmaterial
2022-02-01 07:30:00 +00:00
Martin Diehl
9ce4573b12
docstring polishing
2022-01-29 23:16:57 +01:00
Martin Diehl
df96110733
some suggestions from prospector/pylint
2022-01-29 22:38:17 +01:00
Martin Diehl
609f13c590
Python 3.8 magic: The walrus operator ":="
2022-01-29 18:29:42 +01:00
Daniel Otto de Mentock
8e514bf6f4
added missing utils typehint
2022-01-26 16:36:26 +01:00
Daniel Otto de Mentock
0c21b6a8e0
[skip ci] changed almost all function definition lines to multiline for colormap, grid, table, vtk and util modules
2022-01-26 16:25:27 +01:00
Martin Diehl
2bbc4c4e46
polishing
2022-01-22 09:04:14 +01:00
Martin Diehl
a35a01d41b
iterable can be any Iterable, not just a Sequence
...
need to give N_iter only in cases when iterable is not a Sequence
2022-01-22 07:50:52 +01:00
Martin Diehl
7e9ce682e7
correcting types
...
Not really sure if srepr and friends take really 'Any'. They take
everything that can be casted (piecewise) to a string. So keep it open
at the moment and leave out a typehint
2022-01-22 06:56:42 +01:00
Daniel Otto de Mentock
76ccd4aaaa
replaced typehint in shapeshifter function
2022-01-21 11:45:14 +01:00
Daniel Otto de Mentock
23743c73d4
adjusted util.hybrid_IA function argument
2022-01-19 10:37:22 +01:00
Daniel Otto de Mentock
adf7abbda6
added typehints for util module
2022-01-17 14:58:08 +01:00
Philip Eisenlohr
b2d0fd8ff5
Lambert azimuthal equal-area (laea) projection
2021-12-28 10:19:17 +00:00
Martin Diehl
a038c4bbac
shorter and 'standard'
2021-08-31 22:51:49 +02:00
Martin Diehl
a809650a07
wrapper to subprocess.run
2021-08-31 07:12:53 +02:00
Philip Eisenlohr
d2bd6e16ca
capture special case early instead of failing
2021-08-16 13:24:34 -04:00
Martin Diehl
d1c3d767cc
documenting
2021-07-25 19:59:26 +02:00
Martin Diehl
e54f032f1e
Merge remote-tracking branch 'origin/development' into restructure-Orientation-2
2021-07-18 15:09:40 +02:00
Martin Diehl
3c22dd81ac
correct update frequency
2021-07-09 11:29:52 +02:00
Martin Diehl
32b5e4dece
update time estimate for long running processes
2021-06-18 18:14:52 +02:00
Martin Diehl
684016f3e3
utility function without connection to an object
2021-06-01 21:29:35 +02:00
Philip Eisenlohr
d6e69d5d4b
[skip ci] polishing of doc string
2021-05-10 14:44:58 -04:00
Martin Diehl
a48fa5d797
better readable and documented
2021-05-07 20:07:59 +02:00
Martin Diehl
24046ef683
support the user
2021-04-24 18:00:57 +02:00
Martin Diehl
37df78a8e0
don't show progress bar for empty iterations
2021-04-10 15:01:50 +02:00
Martin Diehl
115e3dd4c7
simplified
2021-04-05 17:18:12 +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
6f3dc80079
simplified/using new functionality
2021-04-03 16:32:48 +02:00
Martin Diehl
27f2e3b26e
avoid random order when using sets
2021-04-03 12:21:06 +02:00
Martin Diehl
39c0bc9de6
polishing
2021-04-03 08:19:16 +02:00
Philip Eisenlohr
f6d6aefe1d
function renaming; rewording of help messages
2021-04-01 18:41:28 -04:00
Martin Diehl
8a8a28adc4
support multi-constituents
2021-03-31 20:02:25 +02:00
Martin Diehl
97e6c397d9
cleaned
2021-03-31 15:10:39 +02:00
Martin Diehl
e9c65dee73
documenting and testing
2021-03-31 10:59:21 +02:00
Martin Diehl
60119c1300
return minimal unique dictionaries per default
2021-03-30 21:39:14 +02:00
Martin Diehl
989992004d
cleaning dicts
2021-03-30 19:41:36 +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
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
cdcedd0d44
autodetect base group
2021-03-20 07:26:07 +01:00
Franz Roters
7b89cb41f9
Merge branch 'dislotwin-correction' into 'development'
...
dislotwin-correction
See merge request damask/DAMASK!347
2021-02-28 19:45:34 +00:00
Philip Eisenlohr
464c62e7e7
abandoned integer aliases for projection directions
2021-02-28 12:47:13 +01: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
Martin Diehl
bf223e8e00
helpful reporting in case of errors
2021-02-26 06:35:42 +01:00
Martin Diehl
67f0ab2ce8
silence deprecation warning
2021-02-22 08:46:28 +01:00
Martin Diehl
fd8743af5e
clearly distinguish seeds for tessellation and seeds for RNG
2020-11-15 13:49:17 +01:00
Martin Diehl
51e5dda702
documentation + consistent string formatting
2020-11-15 10:54:20 +01:00
Martin Diehl
1eb9d494c7
not specific to Orientation class
2020-11-14 19:51:15 +01:00
Martin Diehl
149fce0a7e
increase test coverage
2020-11-14 19:42:52 +01:00
Martin Diehl
5926f84851
WIP: refactoring Orientation=Symmetry+Rotation, Lattice=subclass of Sym, and Crystal=Lattice+Rotation
2020-11-09 21:20:56 +01:00
Martin Diehl
cf18954db9
hint for future improvement
2020-11-01 19:20:52 +01:00
Philip Eisenlohr
31f86c28f4
[skip ci] added parameter description; shortened hybrid_IA pre-loop logic
2020-09-29 11:15:10 -04:00
Martin Diehl
95b85626d8
general hybridIA functionality
2020-09-28 07:40:43 +02:00
Martin Diehl
b995f34834
Merge branch 'development' into geom-fully-out-of-place
2020-09-23 22:50:20 +02:00
Martin Diehl
8c83566b71
suppress warning
...
we already handle the invalid FPE
2020-09-23 21:10:39 +02:00
Sharan Roongta
5a64dd30e1
Merge branch 'development' into modernize-testing
2020-09-23 00:05:59 +02:00
Philip Eisenlohr
7cbd422ae3
fixed coprime error when encountering NaN
2020-09-19 13:38:32 -04:00
Martin Diehl
0746a2f3a4
give visual feedback
...
in most tests, this is done manually
2020-09-19 08:33:15 +02:00
Martin Diehl
f23b89f055
get rid of annoying warning during test
2020-09-18 16:30:22 +02:00
Philip Eisenlohr
2560f014a3
Merge remote-tracking branch 'origin/increase-geom-test-coverage' into geom-out-of-place
2020-08-24 17:17:31 -04:00
Martin Diehl
9d505c8518
better readable
...
- more explicit reporting
- always relative import for DAMASK
2020-08-24 09:58:24 +02:00
Martin Diehl
9867830d68
store history of geometry modifications
2020-08-23 23:52:48 +02:00
Martin Diehl
3290e2c585
handle even obscure directions
2020-06-25 08:29:36 +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
14d3b7e66d
more f-stringing
2020-06-24 16:59:55 -04:00
Philip Eisenlohr
ff858fd4c8
[skip ci] corrected help string for "srepr"
2020-06-24 20:13:09 +02:00
Philip Eisenlohr
4314ec1f37
[skip ci] started to replace .format() with f-strings
2020-06-24 11:02:37 -04:00
Martin Diehl
4c5939ef23
small polishing
2020-06-20 22:51:00 +02:00
Martin Diehl
6864b9525d
go back to original dir as soon as possible
2020-04-26 14:52:27 +02:00
Martin Diehl
656c0199cf
sorted and make explicitly available what we need
2020-04-10 12:32:33 +02:00
Martin Diehl
76984a4dbd
more sensible check
...
works also for numpy arrays. Not sure why the old way is considered to
be "pythonic", I think it can just cause trouble
2020-03-20 23:42:23 +01:00
Martin Diehl
0871111c11
consistent and correct number of leading zeros
2020-03-19 08:45:25 +01:00
Martin Diehl
794d7e485e
bugfix: report again correctly
2020-03-16 22:50:09 +01:00
Martin Diehl
b4679fabfc
whitespace cleaning and other polishing
2020-03-14 22:17:59 +01:00
Philip Eisenlohr
a7f5e42c2e
condensed if-else
2020-03-10 22:13:21 +01:00
Martin Diehl
32378fa609
simpler use of progress bar
...
now written as class (avoids the managing of function attributes) which
is used as a small wrapper around a loop.
ETA is shown, based on datetime class which hast nice formatting
2020-03-09 13:44:08 +01:00
Martin Diehl
7a0c20b6de
Merge branch 'development' into python-style
2020-03-05 22:00:58 +01:00
Martin Diehl
fd11f073f0
fixing prospector complaints
2020-02-22 00:11:00 +01:00
Martin Diehl
1dddfa040e
adjusting indents
...
should be always 4 spaces
2020-02-21 23:25:22 +01:00
Martin Diehl
c2ae657f5b
arguments should be documented
2020-02-21 21:04:23 +01:00
Martin Diehl
0358e7343b
polishing
2020-02-21 19:39:17 +01:00
Martin Diehl
05476ff85c
parallelize addition of datasets
...
threads does not work, muliprocessing shows good performance: Overhead
is small compared to the performance gain.
Especially useful for long running functions of the orientation class
2020-02-21 19:25:37 +01:00
Martin Diehl
c1caef4bc9
fixing prospector complaints
2020-02-21 08:13:10 +01:00
Martin Diehl
9beca6488c
more verbose description
2020-02-21 07:21:45 +01:00
Martin Diehl
a7d60dc52a
not used anymore
...
geom class has own report function
2019-12-21 19:10:41 +01:00
Martin Diehl
5b7139dc22
using specialized class
2019-12-21 19:09:28 +01:00
Martin Diehl
d1fa2a14dc
was used only for yield surface fitting
2019-12-09 05:28:00 +01:00