Commit Graph

30 Commits

Author SHA1 Message Date
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl cd63a92733 using python 2.7 has shebang will also work on mac without symlink
unless someone uses the 6 year old python 2.6, this should be save
2016-07-18 19:35:35 +02:00
Martin Diehl a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Philip Eisenlohr b933359f17 clarified text of error message complaining about wrong input dimension 2016-03-09 12:28:36 -05:00
Martin Diehl 80dc23d93d following "prospector -t pep8 -t pyflakes -t dodgy -t profile-validator -t pep257" 2016-03-01 21:11:43 +01:00
Martin Diehl 2a50c6bf86 using prospector --tool=dodgy --tool=pyflakes -M to find python flaws 2016-03-01 18:25:14 +01:00
Martin Diehl 7c9d344601 python files now report their version depending on VERSION file in $DAMASK_ROOT 2016-01-27 17:06:00 +00:00
Martin Diehl f4d4a8e1ec adopted philips changes for reporting, using pyflakes to clean up 2015-09-24 09:24:42 +00:00
Martin Diehl 5f9fae1b75 simplified reporting using "emph" 2015-09-11 12:55:43 +00:00
Noriki Fujita 9a2c49ff50 corrected label header 2015-09-08 13:45:46 +00:00
Philip Eisenlohr 63d5506388 adopting further simplifications provided through ASCIItable class. 2015-08-20 19:42:05 +00:00
Philip Eisenlohr d4e748b654 outsourced multiple repetitive functions into ASCIItable class.
changed ASCIItable API from file-handles to filenames.

adopted these changes in pre and post processing scripts.

unified behavior and look.

fixed bugs here and there.

improved functionality.
2015-08-07 19:03:26 +00:00
Philip Eisenlohr 5cc7b60a88 simplified processing of ASCIItables by utilizing the improved class methods.
modernized file looping.
2015-06-16 17:21:24 +00:00
Martin Diehl 47b8605733 improved help for automatic documentation and simplified some scripts 2015-05-09 13:01:31 +00:00
Martin Diehl 3e3c13bf0b added missing math module import 2015-01-04 21:02:17 +00:00
Philip Eisenlohr 99ffa554eb added ‘1_*’ to ‘*’ as possible column label indicator 2014-11-18 15:20:10 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Philip Eisenlohr 96b16dd97b reshape "matrix" input data from (currently wrong) 9x1 to 3x3 layout.
simplified input validity check.
2014-08-21 16:14:06 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +00:00
Martin Diehl 938352d43a fixed calculation of size and dimension in case of 2D (was limited to third dim only)
plus polishing
2014-08-06 15:25:18 +00:00
Martin Diehl cbafad50d0 some more work on the postprocessing scripts, decreased test tolerance because spectral decomposition has rounding errors (depending on machine/python/numpy version) 2014-08-06 13:27:09 +00:00
Martin Diehl 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +00:00
Martin Diehl 7954c9a4a3 more and improved tests for add... 2014-07-24 20:21:18 +00:00
Martin Diehl e5dc9e79cc some more changes improving the post processing scripts 2014-07-22 14:21:49 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Philip Eisenlohr 63569b19b6 added use of "defaultdict" from collections 2014-02-28 15:56:28 +00:00
Philip Eisenlohr 85e4896478 "--degrees" option to specify Euler angles in degrees (instead of radians) 2014-02-09 20:36:42 +00:00
Philip Eisenlohr e2d4cc8b3d fixed former nonsense definition of lab frame direction 2013-12-09 15:57:21 +00:00
Philip Eisenlohr a45c7dbb62 new ASCIItable scripts to add
- quaternion and/or Euler representation of lattice orientation (given in rotation matrix, etc.)
- RGB color code of crystal direction in laboratory frame (matching closely the TSL-OIM scheme of inverse pole figures).
2013-11-25 19:11:02 +00:00