Martin Diehl
1cf9c59850
standardizing
...
import follows PEP style guide, encoding not needed for python3
2019-06-14 13:03:30 +02:00
Martin Diehl
29fc53fdcb
more specific about invocation
2019-02-16 17:41:56 +01:00
Martin Diehl
566099ad81
automatic documentation for some post processing scripts
2019-02-15 18:52:47 +01:00
Martin Diehl
e1a730e96b
python3 compatible integer division and argument sequence in agreement with documentation
2018-11-17 09:58:54 +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
a3647cc587
more files with confirmed python3 compatibility
2018-11-16 09:03:12 +01:00
Martin Diehl
2632be2a76
polishing
2018-07-20 03:09:53 +02:00
Philip Eisenlohr
e304ce35da
forgot to rename function call to read "coordGridAndSize"
2018-01-30 12:58:43 -05:00
Philip Eisenlohr
355d576b4d
shortened code with utility function coordGridAndSize
2018-01-30 09:20:47 -05:00
Philip Eisenlohr
710970d728
updated option --label for addCurl/Div/Grad
2018-01-29 21:27:05 -05:00
Philip Eisenlohr
1d71a52133
further simplifcation of scripts
2018-01-29 15:10:41 -05:00
Philip Eisenlohr
b45b43c5ac
bug fix in addCurl, simplified scripts
2018-01-29 14:12:19 -05:00
Philip Eisenlohr
30272fc355
generalized addCurl with --data instead of --tensor and --vector
2018-01-28 18:25:50 -05:00
Martin Diehl
873c52cceb
using 3 way merge to have syntax as similar as possible
2016-11-07 19:51:12 +01:00
Chuanlai Liu
551b4369a1
improved readability
2016-11-07 09:06:35 +01:00
Chuanlai Liu
d35c9dd431
using Einstein sum to replace 'for loop'
2016-11-04 18:50:39 +01:00
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
9ea6d3afd7
simplified FFT statements
2016-06-29 10:58:15 +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
Martin Diehl
d497503411
renamed options.coords/options.coordinates consistently to options.pos
2016-04-26 22:49:58 +02:00
Martin Diehl
26e5f97ff3
missing comma
2016-04-25 13:22:34 +02:00
Martin Diehl
2eb7ad7432
polishing
2016-04-25 12:59:15 +02:00
Martin Diehl
469ec4b00e
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements
2016-04-25 12:33:06 +02:00
Philip Eisenlohr
81f6530f52
changed default label of coordinates to "pos"
2016-04-15 18:27:23 -04:00
Martin Diehl
70afa462b2
should work now with odd resolution as well
2016-04-11 20:25:24 +02:00
Aritra Chakraborty
36c703ecd3
shortened excessively long lines
2016-03-16 15:20:31 -04:00
Aritra Chakraborty
ce26ad06da
polishing and introduction of locally derived grid in FFT subroutine
2016-03-16 15:01:22 -04:00
Martin Diehl
e55d0ae3ca
further attemps to make it conform with best python practice
2016-03-01 20:44: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
19ddbc9b21
fixed typo and simplified
2015-12-15 06:16:47 +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
cf90b764f8
calculation was for nyquist freq not fully correct.
...
See Notes on FFT-based differentiation
Steven G. Johnson, MIT Applied Mathematics
Created April, 2011, updated May 4, 2011:
2015-09-05 11:51:36 +00:00
Martin Diehl
6100185855
switch to new ASCII table class was buggy, using damask.util.emph
2015-08-31 11:00:45 +00:00
Martin Diehl
7ca1e77495
bug fixing
2015-08-13 08:32:09 +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
1f160dfd72
FFT was at single precision only
2015-05-24 16:35:37 +00:00
Martin Diehl
b60f868a76
renumbering asciitable when readArray for selected columns only
...
test no longer for deleteColumn
2015-05-10 11:29:11 +00:00
Martin Diehl
895421e677
changed from core module fftw to fftwpack from latex, tolerances need to be less strict
2015-04-24 08:07:13 +00:00
Martin Diehl
0dde6539ed
renamed from 1_ip to 1_ipinitialcoord
2015-03-11 07:22:11 +00:00
Martin Diehl
271c9eed8b
use 1_ip instead of ip.x
...
Old format still as fallback option to support legacy files
2015-03-09 12:52:43 +00:00
Tias Maiti
1b1ed3bbcf
removed unnecessary lines
2015-02-11 06:18:08 +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