Commit Graph

47 Commits

Author SHA1 Message Date
Martin Diehl 29fc53fdcb more specific about invocation 2019-02-16 17:41:56 +01:00
Martin Diehl 835e3f95a5 [skip ci] was not used 2018-12-31 08:05:56 +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 fe2c7efa27 seem to work 2018-11-15 13:56:48 +01:00
Martin Diehl 1f637a0c49 python3 compatible map requires conversion to list 2018-07-19 18:01:38 +02:00
Martin Diehl f928bd5e5b more python 3 compatibility 2018-07-19 16:26:30 +02: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 a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Philip Eisenlohr d3a7ceff15 fixed serious bug regarding wrong reshaping order (was 'C' now 'F') of 3dim to 1dim and back. 2016-04-28 13:25:46 -04:00
Martin Diehl d497503411 renamed options.coords/options.coordinates consistently to options.pos 2016-04-26 22:49:58 +02:00
Philip Eisenlohr 8c0b0351cd renamed "coordinates" option to "position". small additional polishing. 2016-04-24 13:12:18 -05:00
Philip Eisenlohr 7567aae7c0 now deals with 1D, 2D, 3D. speed up of grid detection. "pos" as default coordinate label. 2016-04-15 18:25:56 -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 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 6100185855 switch to new ASCII table class was buggy, using damask.util.emph 2015-08-31 11:00:45 +00:00
Martin Diehl 2a13d78196 did not run 2015-08-18 17:24:15 +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 b60f868a76 renumbering asciitable when readArray for selected columns only
test no longer for deleteColumn
2015-05-10 11:29:11 +00:00
Martin Diehl 47b8605733 improved help for automatic documentation and simplified some scripts 2015-05-09 13:01:31 +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
Martin Diehl 63434c2ddb corrected error checking for correct type 2015-02-09 08:57:14 +00:00
Martin Diehl 7edd209ce4 corrected wrong name in add..., more verbose error checking for geom_from... 2015-02-07 22:22:28 +00:00
Martin Diehl 6140285ddd small changes (use ip.x instead of 1_ip). Probably we should modify postResults to use the 1_, 2_, 3_, standard notation for ip as well 2015-02-07 18:13:51 +00:00
Martin Diehl e4a94aa72b put changes on algorithm from geom_fromEuclideanDistance into addEuclideanDistance 2015-02-07 17:11:46 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Philip Eisenlohr b5ef329f34 changed default position column format from .x,.y,.z to more standard 1_,2_,3_ 2014-11-18 15:18:27 +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 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +00:00
Martin Diehl 38048a09f2 introduced use of choice for argparse where applicable 2014-07-24 18:47:09 +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 e20ffb379d changed numpy.readtxt logic from "data_asArray" returning a copy to inplace "data_readArray" now directly storing into self.data 2013-12-14 03:51:22 +00:00
Philip Eisenlohr e51779579e removed (unsupported) "--geom" option. 2013-01-18 13:01:43 +00:00
Pratheek Shanthraj a69aaa1315 Use scipy euclidean distance function instead of FMM (runs without skfmm
module installed)
2012-12-19 14:50:45 +00:00
Pratheek Shanthraj 726d1173e5 polishing 2012-12-07 17:46:28 +00:00
Pratheek Shanthraj c4ef2e5925 bug fixes 2012-12-07 17:41:50 +00:00
Pratheek Shanthraj eaf7072bc1 Vectorized checking of neighbourhood for unique microstructure
(faster) 

M    addEuclideanDistance.py
2012-12-07 10:50:34 +00:00
Philip Eisenlohr a37250eef4 script to add the Euclidean distance map from boundaries, triple lines, and quadruple points to an ASCIItable of a regular grid.
requires numpy, scipy, and skfmm...
2012-12-06 21:49:49 +00:00