Commit Graph

582 Commits

Author SHA1 Message Date
Martin Diehl 608852df83 rotation paper has angle as last component 2019-02-12 10:58:38 +01:00
Martin Diehl 97ac437686 more user friendly constructors 2019-02-12 08:14:27 +01:00
Martin Diehl ef3fc0b58a bugfix: wrong array indexing
rotation of meshgrid tuple implemented
2019-02-12 07:42:46 +01:00
Martin Diehl 48b0307fab using new rotation class
cannot rotate matrices (3,3) and (3,3,3,3) at the moment
2019-02-12 00:27:13 +01:00
Martin Diehl da115ca9d4 probably never used and outdated (python2.7)
doing the same conversion via DREAM.3D will be available soon
2019-01-16 17:51:37 +01:00
Martin Diehl c5dabbb68f correct comment sign
the # indicates the end of a list
2019-01-09 16:31:00 +01:00
Martin Diehl 0dca8d2740 compatible to python 3 and mentat >= 2017 2019-01-09 16:28:21 +01:00
Philip Eisenlohr 9bdd4d1d68 added <!skip> line to stop config parser from trying to interpret rest of geom description---huge speedup!! 2018-12-20 17:22:29 -05:00
Martin Diehl 5d7f930592 math.isclose does not exist for older versions
np.isclose does the same
2018-12-17 20:04:16 +01:00
Martin Diehl e8f4dc4c9f Merge branch 'orientationClass_with_negative_P' into development 2018-12-06 07:26:08 +01:00
Martin Diehl ee7e4ee0d9 python3 has different encoding syntax 2018-12-06 06:27:07 +01:00
Philip Eisenlohr a6d4c73de0 added list of map and introduced "quat" keyword in quaternion init 2018-12-05 10:20:05 -05:00
Philip Eisenlohr c0f7ae2798 updated scripts that still used formerly valid object properties of quaternions 2018-12-05 09:07:29 -05:00
Philip Eisenlohr 1d7172c971 adopted more intutitive alternative of P=-1 from Rowenhorst_etal2015 2018-12-04 17:05:35 -05:00
Martin Diehl 7c1e2e256c os.urandom returns byte, not string in python3 2018-11-24 10:07:47 +01:00
Martin Diehl d53b01ab56 also works for python3 2018-11-18 08:04:52 +01:00
Martin Diehl 015e819d4c python3 does not allow to compare tuple/list with int 2018-11-17 09:29:05 +01:00
Martin Diehl 82861e80bc more python3 related changes 2018-11-17 08:46:58 +01:00
Martin Diehl 558745b548 explicitly require python3
on older systems, python3 tpyically exists but python2 is the defaul
2018-11-17 08:12:12 +01:00
Martin Diehl 50f880afd1 more scripts working with python3 2018-11-16 19:32:17 +01:00
Martin Diehl 9922f5f646 adjusted to python3
translate is more complicated now:
https://stackoverflow.com/questions/41708770
2018-11-16 12:23:45 +01:00
Martin Diehl a3647cc587 more files with confirmed python3 compatibility 2018-11-16 09:03:12 +01:00
Martin Diehl e9e3fef8d4 more python3 compatible scripts 2018-11-15 16:40:54 +01:00
Martin Diehl a00d15b889 geom files are not labeled 2018-09-29 11:18:35 +02:00
Martin Diehl 8616a92309 unused module 2018-07-20 03:50:07 +02:00
Martin Diehl 24d1528e04 on the way to full python 3 compatibility 2018-07-20 03:31:46 +02:00
Martin Diehl 784ae28dbb now working with python 3 2018-07-20 00:39:50 +02:00
Martin Diehl 9821654aae iteritems does not exist in python3 anymore
items also works for python2 (might be slower though)
2018-07-19 16:16:10 +02:00
Philip Eisenlohr 1b12457fe6 vicinityOffset to specific triggering IDs instead of just any other ID 2018-03-30 11:48:02 -04:00
Philip Eisenlohr 0570a49ed5 fixed broken logic of restoring and preventing immutable microstructures 2018-03-27 16:53:49 -04:00
Philip Eisenlohr 2c3eae6bf0 fixed tests and bug for very small unit cube fractions when grid is also small 2018-03-07 18:59:27 -05:00
Philip Eisenlohr 32c34457c2 direct selection of valid seed coordinates within subfraction of unit cube instead of check and repeat 2018-03-07 17:45:22 -05:00
Philip Eisenlohr f5177b6d2d [skip ci] added option for non-periodic geometries 2018-02-20 10:20:35 -05:00
Martin Diehl ba3a4e1254 indicating vectors with 1_, ..., n_ is standard now, "euler" also (more or less) 2018-02-05 17:34:08 +01:00
Martin Diehl 4dfb52c792 unfinished HDF5 should not be part of the next release 2017-11-21 10:23:50 +01:00
Franz Roters eddc2a6acf numpy actually not needed 2017-10-20 10:17:08 +02:00
Franz Roters 0c24f113c1 split overlong line 2017-10-20 10:14:15 +02:00
Franz Roters 26b8788c06 script to colocate 2D ang files into one §D file and optionally creat geometry and Paraview files 2017-10-20 09:36:57 +02:00
Philip Eisenlohr ff072ae3c4 fixed bug (lost orgin info) 2017-08-23 15:14:22 -04:00
Philip Eisenlohr 9b6e092b5c changed location where script appends itself to info trail
used to be sometimes at top, sometimes at bottom; now always after predecessor and above standard geom header
2017-08-23 14:09:33 -04:00
Philip Eisenlohr f825e91bf1 script to straighten numbering in geom 2017-08-23 14:08:11 -04:00
Philip Eisenlohr 12fed7a38f added option to use seed coordinates that are not normalized to a unit cube 2017-08-16 16:24:45 -04:00
Philip Eisenlohr 4eff7cfdd8 fixed wrong name for "pos" options destination 2017-08-15 16:11:21 -04:00
Philip Eisenlohr 1a423617c2 combined assignement of curvature exponent to deal with negative dimensions 2017-08-03 12:12:47 -04:00
Philip Eisenlohr 84a3885af8 negated option from "voxelspace" to "realspace".
introduced logarithmic sense of curvature exponents, additional polishing
2017-08-03 12:08:51 -04:00
Martin Diehl e5af0630fe gaussian filter (wrapper no ndimage) 2017-05-29 10:33:05 +02:00
Martin Diehl 691f338f5d executable bit got lost 2017-05-19 09:33:58 +02:00
Franz Roters ed85ce5bdb changed argument handling in line with other scripts
now also works with stdin/out
2017-04-28 12:36:10 +02:00
Philip Eisenlohr d35df1df49 Operate on MFD file to apply servo links, not client-server communication
Speed up by many orders of magnitude... 64 x 64 x 64 mesh less than a minute! Thanks Brendan!
2017-04-26 17:32:01 -04:00
Philip Eisenlohr c34716a0da modern form of croaking, added '*draw_automatic' as final output 2017-04-14 15:07:43 -04:00