Commit Graph

391 Commits

Author SHA1 Message Date
Philip Eisenlohr d5f9f543ca Script to generate PNG image from given column (or 2D data in overall ASCIItable) with custom colormap and pixel sizes.
Supersedes “imageFromData” from “Code” repository.
2015-02-11 17:25:49 +00:00
Philip Eisenlohr 9eae665365 fixed ‘too many files open’ issue when processing a large list of input tables. 2015-02-11 17:22:47 +00:00
Tias Maiti 1b1ed3bbcf removed unnecessary lines 2015-02-11 06:18:08 +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
Tias Maiti 2c9c04eb76 added script to replace all rows of an ASCII table by a single row containing their average 2015-01-23 00:57:10 +00:00
Martin Diehl 5be9a75cff fixed indentation 2015-01-22 09:04:01 +00:00
Martin Diehl c08f704dee added Id + a little help 2015-01-07 19:29:27 +00:00
Tias Maiti ca58216134 added missing math module import 2015-01-05 12:25:03 +00:00
Martin Diehl 3e3c13bf0b added missing math module import 2015-01-04 21:02:17 +00:00
Martin Diehl 5e8fff13d9 worked on the vtk binary out, still some problems with multicomponent datatypes 2014-12-18 21:46:38 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Philip Eisenlohr 89f8ba979e Add x,y coordinates of stereographic projection of given direction (pole) in crystal frame. 2014-12-13 00:12:55 +00:00
Philip Eisenlohr b17dcd7652 added options ’—origin’ and ‘—geom’. Latter interprets the geom-header to derive voxel sizes. 2014-11-18 15:26:59 +00:00
Philip Eisenlohr 461a3fa979 fixed syntax error and added ‘—render’ option to immediately see output on screen 2014-11-18 15:24:09 +00:00
Philip Eisenlohr a3196669ea exchanged deprecated data array read function 2014-11-18 15:22:00 +00:00
Philip Eisenlohr 7136db1fd8 fixed syntax error: ’options.error’ —> ‘parser.error’ for error handling 2014-11-18 15:20:57 +00:00
Philip Eisenlohr 99ffa554eb added ‘1_*’ to ‘*’ as possible column label indicator 2014-11-18 15:20:10 +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
Philip Eisenlohr f6741138e7 had badly messed up the file handling in commit 3630. STDIN did not work, files were not checked for existence… 2014-10-29 13:27:40 +00:00
Martin Diehl bdd2d55383 small bug fix for last commit 2014-10-24 06:36:01 +00:00
Philip Eisenlohr 13ba71a314 fixed bug where option.condition was altered in processing of first file, thus preventing additional files from seeing the same user input.
changed file handle setup to allow for large lists of input files.
2014-10-23 21:23:10 +00:00
Martin Diehl dc7a4bb978 using damasks extentable option + correct version string 2014-10-16 14:56:44 +00:00
Martin Diehl ce1f17c9cb worked on the binary vtk out needed for large datasets 2014-10-14 07:13:13 +00:00
Philip Eisenlohr 23ee538dcb shortened syntax. fixed undefined file['croak'] 2014-10-02 04:49:46 +00:00
Philip Eisenlohr 496c3d4bc8 added line breaks identifier and $Id$ flag 2014-09-25 21:54:42 +00:00
Tias Maiti 78ab14806f fixed bug in parser option type definition 2014-09-21 17:59:06 +00:00
Martin Diehl d07a098724 fixed wrong help introduced with last change on 3Dvisualize 2014-09-19 09:50:26 +00:00
Martin Diehl a7d831de06 forgot to import python module 2014-09-15 10:07:52 +00:00
Martin Diehl 5657119b11 updated post processing test: rotateData is doing something, corrected addDeviator defauls 2014-09-12 14:49:26 +00:00
Martin Diehl f2c4db0bb5 correcting help and default, some comments 2014-09-12 14:46:12 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl 9ba7851c14 fixed bug in calculation of spherical part. Variables in python functions are intent(inout) in Fortran language! 2014-09-12 13:13:05 +00:00
Philip Eisenlohr 5a159dcdfa script to add scalar data and/or RGB color tuples to rectilinear VTK file (*.vtr) 2014-09-05 20:28:39 +00:00
Martin Diehl 6cdcdecdfa post processing scripts are working again.
@Philip: definining one offset for shiftData and one factor for scaleData for tensor/vector/special>1 seems to be more reasonable than per component
2014-08-25 21:13:39 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Philip Eisenlohr 99e3c9a397 fixed (potentially) buggy rotation of tensors. convention is:
with A v = b
v' = R v
A' = R A R^T
such that
A' v' = R A R^T  R v = R A v (= R b = b', i.e. old result transformed into other coordinate basis)
2014-08-22 15:32:48 +00:00
Philip Eisenlohr df27115472 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-22 15:25:51 +00:00
Philip Eisenlohr 77df55c998 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-21 17:16:43 +00:00
Philip Eisenlohr 9aa22d4a08 simplified column key generation 2014-08-21 16:17:23 +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 15a6015bc2 added some more post processing tests
DAMASK env now reports in MiB (GiB is too big for small machines)
2014-08-07 16:51:26 +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 a0f9865133 updated to state-of-the art file handling etc 2014-08-04 20:07:20 +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 0b93e7c5a5 corrected addDivergence script. Restarting still not working for new state, needs further investigations: tightend tolerances again 2014-07-27 09:43:00 +00:00