Martin Diehl
6ab88aad2b
default format for Table is ASCII
...
hence, renamed load_ASCII/save_ASCII to load/save
2020-09-20 20:45:06 +02:00
Philip Eisenlohr
f52aae3c29
legacy shell scripts again output legacy ASCIItables
2020-09-15 10:19:19 -04:00
Philip Eisenlohr
96ad358f83
modified file reading/writing methods to load_X, save_X formalism
2020-09-15 01:14:05 -04:00
Martin Diehl
f6758ecc28
table class operates out of place
2020-09-14 07:04:01 +02:00
Philip Eisenlohr
be0668dc27
fixed all affected shell scripts
2020-09-03 11:19:19 -04:00
Martin Diehl
9979eb58f4
consistent layout for grid data
...
has now always the shape ([x,y,z,...]) with x fastest. For conversion from or
to linear layout ([x*y*z,...]), e.g. storage in ASCII table, reshape needs
to have the 'F' option.
Credits to Vitesh and Fran for pointing this out.
2020-04-20 13:09:59 +02:00
Martin Diehl
45e3b8f7c6
no brackets for reshape required
2020-03-17 12:25:44 +01:00
Martin Diehl
f9772a3df8
more descriptive name
2020-01-13 02:51:49 +01:00
Martin Diehl
7dc128ad12
polishing
2019-12-08 18:33:43 +01:00
Martin Diehl
828e82605e
ensure that data is correctly ordered
2019-12-08 18:13:45 +01:00
Martin Diehl
f2ac87eb2f
follow changes in Table class
2019-12-06 04:22:18 +01:00
Martin Diehl
f475d1a0d0
adjusted to changes in table class
2019-12-05 13:35:06 +01:00
Martin Diehl
62ca2952fc
polishing
2019-12-03 11:27:14 +01:00
Martin Diehl
3e65d44e07
centralized facilities for differential operations
...
note the need to reverse the grid shape in data from the ASCII table. If x is fastest,
z is slowest we require x to be the rightmost index
2019-11-28 15:46:22 +01:00
Martin Diehl
4c4ccfe72e
not needed
2019-11-28 06:27:19 +01:00
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