Commit Graph

1954 Commits

Author SHA1 Message Date
Test User 138b0e03f2 [skip ci] updated version information after successful test of v3.0.0-alpha5-696-g6fce27dee 2022-02-16 19:11:10 +01:00
Test User 0f579e44ab [skip ci] updated version information after successful test of v3.0.0-alpha5-691-gfe0ff7cab 2022-02-16 07:51:02 +01:00
Martin Diehl fe0ff7cab2 Merge branch 'typehints_orientation_rotation' into 'development'
04 First typehints for rotation and orientation modules

See merge request damask/DAMASK!479
2022-02-16 03:35:45 +00:00
Philip Eisenlohr 96133c68e9 Corrected documentation for Table.set/add/sort_by 2022-02-15 22:53:08 +00:00
Martin Diehl 35caed305f consistently define allclose for own type only 2022-02-15 22:08:12 +01:00
Test User 00f44c9ed6 [skip ci] updated version information after successful test of v3.0.0-alpha5-651-gd4f711416 2022-02-15 17:06:48 +01:00
Franz Roters d4f7114164 Merge branch 'improved-table-slicing' into 'development'
Extended slicing functionality of Table

See merge request damask/DAMASK!522
2022-02-15 12:48:39 +00:00
Test User bdeb3e042e [skip ci] updated version information after successful test of v3.0.0-alpha5-642-ge38786515 2022-02-15 01:20:38 +01:00
Martin Diehl e387865153 Merge branch 'cm.from_table-with-constant' into 'development'
allow constant (non-label) value in cm.from_table() keys

See merge request damask/DAMASK!523
2022-02-14 20:59:57 +00:00
Martin Diehl 7d015fbdc5 avoid confusion with existing table entry 2022-02-14 14:32:02 +00:00
Test User 1d5abc206a [skip ci] updated version information after successful test of v3.0.0-alpha5-638-g1ecbeb692 2022-02-14 11:23:42 +01:00
Philip Eisenlohr 1b08f90d6c allow constant (non-label) value in cm.from_table() keys 2022-02-13 23:54:16 -05:00
Philip Eisenlohr 0300912b30 Table.__eq__ for proper comparison; logical masks for slicing now work 2022-02-13 22:00:48 -05:00
Test User e210a9873d [skip ci] updated version information after successful test of v3.0.0-alpha5-624-g26979da58 2022-02-14 02:21:46 +01:00
Martin Diehl b1922c9fc0 return most specific type 2022-02-13 11:03:53 +01:00
Martin Diehl 2907facfd3 polishing
classes should return 'MyType' for inheritance without hassle
2022-02-13 02:47:08 +01:00
Martin Diehl bdc951c39b Merge remote-tracking branch 'origin/development' into typehints_orientation_rotation 2022-02-12 22:39:28 +01:00
Philip Eisenlohr c6a188a1fe added CrystalFamily, CrystalLattice, CrystalKinematics typehints 2022-02-11 15:41:30 -05:00
Philip Eisenlohr 0a52ae3b6f polishing of help and style; relax to FloatSequence type where appropriate but keep doc at np.ndarray 2022-02-11 14:50:55 -05:00
Test User 5f7a18c32d [skip ci] updated version information after successful test of v3.0.0-alpha5-608-g3e8d1a60d 2022-02-11 01:09:25 +01:00
Test User 97d17ea50c [skip ci] updated version information after successful test of v3.0.0-alpha5-603-ge0ed668ce 2022-02-09 19:45:43 +01:00
Franz Roters e0ed668ce0 Merge branch 'Fortran-polishing' into 'development'
a number of small improvements

See merge request damask/DAMASK!516
2022-02-09 16:01:00 +00:00
Test User 81c141e3d3 [skip ci] updated version information after successful test of v3.0.0-alpha5-574-g13783f87f 2022-02-08 17:58:03 +01:00
Daniel Otto de Mentock 8c6225794d adjusted return of Orientation.__ne__ function to return NotImplemented in case of wrong input type 2022-02-08 14:47:23 +01:00
Test User 171193d0d7 [skip ci] updated version information after successful test of v3.0.0-alpha5-571-g1edc8442d 2022-02-07 00:44:17 +01:00
Martin Diehl a6e83c70ec adjustments to follow de-facto standard in other parts of the python
library
2022-02-06 17:12:35 +01:00
Daniel Otto de Mentock 72978df099 minor correction 2022-02-04 17:41:29 +01:00
Daniel Otto de Mentock c1c2336638 reverted __eq__ and __ne type verification to return NotImplemented constant
changed rotation.average input type to FloatSequence

minor adjustments
2022-02-04 16:57:25 +01:00
Daniel Otto de Mentock 019ae1c536 adjusted typecheck in __eq__ and __ne__ functions 2022-02-04 11:43:35 +01:00
Daniel Otto de Mentock 7a405125da added type:ignore statements to Tuple Supportsindex addition in Orientation.disorientation function 2022-02-04 10:57:24 +01:00
Daniel Otto de Mentock 9dad54304c added generic types to remaining non-overwritten rotation functions (exception __mul__) 2022-02-04 09:57:42 +01:00
Daniel Otto de Mentock d1f9e98e3c moved typecheck of __ne__ functions to __eq__
added initial empty runtimeerror to Schmid function

minor corrections
2022-02-03 16:11:09 +01:00
Test User e940a02304 [skip ci] updated version information after successful test of v3.0.0-alpha5-568-g2cb3b2cc4 2022-02-03 13:47:57 +01:00
Daniel Otto de Mentock f80de7d0b3 added NumpyRngSeed type to rotation rng_seed objects 2022-02-03 12:04:31 +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
Martin Diehl a243e10641 Merge remote-tracking branch 'origin/development' into Fortran-polishing 2022-02-03 09:01:33 +01:00
Martin Diehl 5d55392425 Merge branch 'thermal-restart' into development 2022-02-03 07:53:05 +01:00
Martin Diehl cf2b22b34a does not exist for older numpy versions 2022-02-03 07:39:38 +01:00
Test User ef390ca916 [skip ci] updated version information after successful test of v3.0.0-alpha5-556-g97f849c09 2022-02-03 03:49:37 +01:00
Sharan d72347fe25 Merge remote-tracking branch 'origin/development' into thermal-restart 2022-02-02 23:07:32 +01:00
Martin Diehl 97f849c098 Merge remote-tracking branch 'origin/typehints_rngseed' into development 2022-02-02 22:45:52 +01:00
Test User 7078b5ec87 [skip ci] updated version information after successful test of v3.0.0-alpha5-552-ga6e78c5b6 2022-02-02 22:07:12 +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 fc8cd6322c adjusted rng_seed type in rotation
adjusted NotImplemented error return in orientation
2022-02-02 12:16:57 +01:00
Daniel Otto de Mentock 3df411469b Added generic type to rotation functions not overwritten by orientation 2022-02-02 12:14:00 +01:00
Daniel Otto de Mentock 71bc92fed0 changed quote layout to single quote Added NotImplemented returnvalue to __eq__ functions 2022-02-02 11:11:59 +01:00
Martin Diehl 6dcf6b972c complaints from prospector (PEP8) 2022-02-02 09:14:41 +01:00
Sharan 1bd654781b tests updated 2022-02-02 00:20:14 +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 ef051ceef9 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-02-01 11:56:01 +01:00