Commit Graph

54 Commits

Author SHA1 Message Date
Martin Diehl 1bbaa7cefe reverted last commit, scipy.linalg is different from numpy.linalg 2018-02-26 23:50:44 +01:00
Martin Diehl 6046a7ae3d there is no scipy.linalg (at least on my system)
numpy.linalg is automatically imported together with numpy
2018-02-26 20:22:57 +01:00
Philip Eisenlohr b078234644 added scipy and scipy.linalg as known modules for calculations 2018-02-25 14:19:22 -05:00
Philip Eisenlohr e6cc948ddf added vector-valued conditions and cleaned obsolete code 2017-08-11 15:19:47 -04:00
Zhuowen Zhao b7d4b3d190 simplified internal handling of conditions and added vector capability to it 2017-08-11 11:56:27 -04:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Philip Eisenlohr 23a57ec78f reinstalled "NOQA" keyword for "import math" 2016-07-30 12:52:49 -04:00
Philip Eisenlohr ab3415d44e polishing and rearrangement of code snippets 2016-07-30 12:46:00 -04:00
Martin Diehl c3650a1b00 shebang got reverted 2016-07-30 08:20:57 +02:00
Aritra Chakraborty 304fdf1ebe can deal with "veterans" and "newbies" meaning over ride existing with new 2016-07-29 20:41:15 -04: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 a64388355a simplified 2016-06-29 11:02:49 +02:00
Martin Diehl 66e06cf61f shebang for python2 got lost 2016-05-17 16:41:38 +02:00
Aritra Chakraborty 8d6c601a45 fixed python flake complaints. 2016-05-16 20:17:17 -04:00
Aritra Chakraborty 8e01247597 merged functionality of fillTable (change existing column values) into addCalculation. If labels already exist, they are altered. Otherwise, new columns are appended. 2016-05-16 20:06:13 -04:00
Martin Diehl a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Martin Diehl e55d0ae3ca further attemps to make it conform with best python practice 2016-03-01 20:44:43 +01:00
Martin Diehl 6eb170bc07 still struggling with prospector 2016-03-01 19:37:31 +01:00
Martin Diehl 3b33d320b1 getting pyflakes to ignore 2016-03-01 19:06:00 +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 0ffcb7fdaf cleaning 2015-12-01 16:37:20 +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
Martin Diehl 1149053c61 updated to new ASCII table style 2015-08-12 20:59:10 +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
Martin Diehl 59e546e3d7 improved help for automatic documentation and simplified some scripts 2015-05-09 12:45:30 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +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
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 7954c9a4a3 more and improved tests for add... 2014-07-24 20:21:18 +00:00
Martin Diehl 38048a09f2 introduced use of choice for argparse where applicable 2014-07-24 18:47:09 +00:00
Martin Diehl e8d2e787bc updated first 9 post processing scripts to latest ASCII table handling style 2014-07-21 19:55:05 +00:00
Martin Diehl e7c282a02d some further improvements on ASCII table handling 2014-07-10 09:27:51 +00:00
Martin Diehl f72a87f94b polished scripts (option parser, numpy) 2014-07-09 10:07:24 +00:00
Martin Diehl 51b92f3ef9 simplified option parsing (so far, only for addCalculation and addMises) 2014-06-17 07:10:10 +00:00
Tias Maiti 0885ea8023 changed variable interpolation to be useable in connection with dictionary definitions for formulas. Slightly less efficient but now much more powerful... 2014-05-02 19:56:56 +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 894776ca67 fixed stupid bug addressing a dict by dict{key} instead of dict[key] 2013-12-11 14:30:27 +00:00
Philip Eisenlohr 26690859bb deal more gracefully with problematic user input. 2013-12-09 15:54:47 +00:00
Martin Diehl a39005ef1c added possibility to specify formula with array return type
added support for numpy
2013-07-16 21:48:23 +00:00
Mahesh Balasubramaniam 975c3437ac added possibility to use comma in functions, to prevent splitting substituted by ';'. Eg. round(4.021,1) becomes round(4.021;1) in command line call 2012-08-22 17:47:34 +00:00
Philip Eisenlohr a2b46c8a36 columns can be called by index
now pipe-aware...
2012-02-23 13:53:12 +00:00
Martin Diehl d68a3d1869 added LF=UNIX to a bunch of files 2012-02-22 13:30:00 +00:00
Philip Eisenlohr 1bad5bf3c7 removed --count option. introduced 'internal' column #_row_#. adopted polished column head identification developed in filterTable. wiki updated. 2012-02-16 11:56:16 +00:00
Martin Diehl 9f45cb3745 new option: -c --count: count rows in ascii table and add column "row" with row number 2012-02-16 11:16:36 +00:00
Philip Eisenlohr 3228cf563c fixed bug when column was referenced multiple time in a formula.
changed column tagging character to '#' ('$' gave some trouble on the shell...)
2012-02-09 15:46:25 +00:00