Commit Graph

274 Commits

Author SHA1 Message Date
Martin Diehl 81a8b2c4ed color lib for output 2016-01-05 18:17:55 +00:00
Martin Diehl 120b2b8bd2 added test for hybridIA 2015-12-22 22:17:15 +00:00
Martin Diehl 0cfe35dfe6 consistently removing leading and trailing whitespace 2015-12-22 15:59:01 +00:00
Martin Diehl bbb00b30e8 using numpy random 2015-12-17 21:26:59 +00:00
Martin Diehl 37aa559bd4 fixed missing structure type in material.config, small changes in the other code 2015-12-15 14:30:17 +00:00
Martin Diehl 97b96f13b2 updated installation for testing 2015-12-14 21:31:47 +00:00
Martin Diehl 1f08d0fbf6 verbose option for compareTables, new option to filter (now before and after normalizing) 2015-12-11 17:23:36 +00:00
Martin Diehl c3dc05c53a continued work on test class and adopted some tests 2015-12-04 22:40:39 +00:00
Philip Eisenlohr a18a1066e2 started to rework test class. Martin probably needs to check and continue improving on this. 2015-12-03 21:52:03 +00:00
Philip Eisenlohr fc2d79e17b added more animations… 2015-12-02 23:08:18 +00:00
Martin Diehl 0e76ef85c1 checking return code in util.exececute, cleaning makefile, deleted dummy docs 2015-12-02 13:21:17 +00:00
Martin Diehl 0ffcb7fdaf cleaning 2015-12-01 16:37:20 +00:00
Martin Diehl 161e637ba6 not needed any more (at more usefull position in damask.util) 2015-11-30 16:30:35 +00:00
Philip Eisenlohr 38c536b6b7 improved unicode handling.
background message is now stoppable.
background message not “jumping” (multiplying) anymore.
2015-11-20 16:15:34 +00:00
Philip Eisenlohr 30a481f152 fixed forgotten symmetry property for average orientation. 2015-11-14 04:36:46 +00:00
Philip Eisenlohr 2b5cb08c4d new method “head_putGeom” translates info-array into geom-description 2015-11-14 01:48:16 +00:00
Philip Eisenlohr 6211a9faad symQuats-related functions can take optional argument to downselect return values.
“getAverageOrientations” —> “average” and takes optional multiplicities of orientations in list.
2015-11-14 01:46:44 +00:00
Martin Diehl b700721905 comment on literature 2015-11-08 11:44:46 +00:00
Philip Eisenlohr 519484233c can now deal with “empty” header line.
example:
# some comment
# further stuff
1_dim 2_dim
34 33
1 22

would work with “labeled”=True and stores the first two lines as “info”.
2015-11-03 21:14:45 +00:00
Martin Diehl 4ac9ef602e still trying to find a stable solution on all machines 2015-10-29 21:51:57 +00:00
Aritra Chakraborty 9ea0898cd9 corrected the convention added yesterday; “proper” and ‘improper” was the wrong way around. “proper = True ” considers the bigger (2 adjacent) SST. In general, an improper rotation is implicitly assumed when projecting a pole into the (single) SST, hence this is termed “improper” now. 2015-10-23 20:16:01 +00:00
Philip Eisenlohr 15963391aa inSST and inversePole now can consider the secondary SST related to improper rotations. Secondary SST is immediately neighboring (positively rotated around Z). 2015-10-22 21:15:15 +00:00
Martin Diehl 31579b3f88 tolerances caused problems, introduced new funtionality based on np.allclose 2015-10-22 05:59:11 +00:00
Franz Roters b676ed0085 support for Marc 2010 was dropped a long time ago 2015-10-20 13:32:48 +00:00
Franz Roters a087eedd54 added support for Marc2014.2 (so far installed on maws14 only) 2015-10-20 13:25:59 +00:00
Martin Diehl e72ae63873 geom canvas crashed for some parameters, now giving error message. table class now handles dismiss correctly 2015-10-14 21:35:56 +00:00
Philip Eisenlohr 7df8d95cd0 slightly cleaner way of dealing with disorientation calculation when axis not required to fall into SST. 2015-10-09 13:03:10 +00:00
Philip Eisenlohr 26f8f74310 undone np.unique of columns since this would introduce the unwanted side-effect of (messily) sorting columns. user expects to get sorting as provided through command line. 2015-10-09 12:55:30 +00:00
Martin Diehl 4c46d155ec line continuation not needed 2015-10-09 10:24:17 +00:00
Martin Diehl 61090c955d removed code doubling 2015-10-09 05:51:58 +00:00
Martin Diehl 851d2e1b2c prevent to load columns more than once\n @Philip: OK? 2015-10-08 17:47:00 +00:00
Philip Eisenlohr 3b0dc374bb now using ‘emph’ in reporting function instead of code doubling. 2015-10-07 01:07:56 +00:00
Philip Eisenlohr 801d57af4c fixed buggy behavior caused by assigning string instead of single-item list to readBuffer. 2015-10-07 01:03:26 +00:00
Martin Diehl 6e05082133 might be needed in multicore env 2015-10-06 18:01:31 +00:00
Martin Diehl 95a8b54996 buggy behavior when read buffer contained string (len > 0, but no pop() method)
@Philip: please check if intended behavior
2015-10-06 16:19:37 +00:00
Philip Eisenlohr e089e60202 transparently deal with one-dimensional array output 2015-09-30 18:44:54 +00:00
Philip Eisenlohr b2243ae3c1 small polishing 2015-09-29 22:25:57 +00:00
Martin Diehl 948aa0c544 was missing in last commit 2015-09-24 10:01:15 +00:00
Philip Eisenlohr 2aa1073949 relocated “croak” and “report” functionality to here. needs to be altered in all scripts that still use the ASCIItable class for those… 2015-09-22 21:00:18 +00:00
Martin Diehl 6a3a0f3859 allow asciitable to use file handle instead of string (following e.g. numpy.genfromtxt) 2015-09-16 19:44:11 +00:00
Harsha Phukan 24bd3a6eee added “non-strict” version to find disorientation, neglecting the search for axis falling into SST (has linear instead of quadratic effort). 2015-09-16 17:07:02 +00:00
Harsha Phukan 8a05584924 bg.message does not require symbol selection anymore—will pick random if nothing specified… 2015-09-15 19:02:00 +00:00
Martin Diehl 5f9fae1b75 simplified reporting using "emph" 2015-09-11 12:55:43 +00:00
Philip Eisenlohr 31bb27268c removed dangerous property overload (.asQuaternion() —> .quaternion) 2015-09-09 22:37:18 +00:00
Tias Maiti 7495b33b68 label_dimension dropped indices >9 due to buggy string comparison… 2015-09-08 23:12:45 +00:00
Chen Zhang ba418a5c97 reflect recent changes in orientation class 2015-09-03 16:50:49 +00:00
Tias Maiti eb5ad7528f fixed bug in asEulers() output in degrees 2015-08-29 23:22:32 +00:00
Martin Diehl 6848d83d13 behavior of IO_stringPos was unsafe in some situations, also took the chance to rename the variables used in its context to a more meaningful name.
functions in the core module are not used, including kdTree
2015-08-28 07:38:48 +00:00
Chen Zhang f4145dd505 add numpy header location in the setup script. 2015-08-25 18:06:36 +00:00
Philip Eisenlohr 636eb8a087 multiple fixes and improvements.
1) asAngleAxis got “degrees” switch, fixed buggy output for negative angles, now angles are always non-negative.
2) removed rotateBys.
3) asEulers corrected for cases w==z or x==y.
4) added method symmetryQuats.
5) calculation of disorientation (finally) fixed, returns tuple (disorientation quaternion, index symA, index symB, boolean whether A—>B or B—>A).
2015-08-24 13:39:09 +00:00