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
Tias Maiti
e01630e073
fixed bug in tuple assignment
2014-07-25 17:49:22 +00:00
Philip Eisenlohr
bee6e0b09b
added optional weighting column
2014-07-25 16:38:04 +00:00
Martin Diehl
d0ecc0943c
added addPK2 script to test
2014-07-24 21:42:13 +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
e5dc9e79cc
some more changes improving the post processing scripts
2014-07-22 14:21:49 +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
2f0ecdf7e8
improved file handling etc. to follow newest style
2014-07-16 16:41:04 +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
Luv Sharma
596ee18da9
improved the regex for header reading
2014-06-08 14:43:32 +00:00
Philip Eisenlohr
2f249773c9
fixed missing Python module
2014-06-06 15:11:15 +00:00
Philip Eisenlohr
32b315487c
removed debug printing
2014-06-06 14:46:41 +00:00
Philip Eisenlohr
59e8cd1d7e
new script: Add data in column(s) of second ASCIItable selected from row that is given by the value in a mapping column
2014-06-06 14:35:37 +00:00
Philip Eisenlohr
63c1a0a212
updated to croaking, scriptID, IO-piping.
2014-06-06 09:43:28 +00:00
Philip Eisenlohr
9834c8466c
scripts to scale, shift, and rotate scalar, vector, or tensor quantities of ASCIItables (in-place!)
2014-05-27 08:08:10 +00:00
Philip Eisenlohr
65f1f55a87
added option to pre-rotate orientation (change lab frame)
2014-05-26 14:31:42 +00:00
Philip Eisenlohr
51e7f9eed9
added --reverse option. corrected help hint regarding sorting order
2014-05-23 14:05:58 +00:00
Philip Eisenlohr
06715dc99f
added "no data check" and updated script backbone to be consistent with other scripts (croak).
2014-05-19 13:43:26 +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
Philip Eisenlohr
a8a9c8eef5
added possibility to not sort (--sort none) output by its --separation such that the output can be used in conjunction with the VTK files produced by DAMASK.
2014-04-14 21:45:24 +00:00
Philip Eisenlohr
babde13c6a
capture missing --vtk option
2014-04-03 01:00:00 +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
Martin Diehl
782b54a430
more LF, Id, and executable status changes
2014-04-01 17:52:31 +00:00
Martin Diehl
188002f16e
more LF, Id, and executable status changes
2014-04-01 16:58:54 +00:00
Philip Eisenlohr
16743f8631
explicitly state unbuffered ASCIIoutput
2014-03-28 18:15:37 +00:00
Martin Diehl
0363b1fb04
updated reporting (according to addCauchy)
2014-03-10 14:01:39 +00:00
Christoph Kords
e10f8f1b5e
corrected typo
2014-03-04 16:43:22 +00:00
Philip Eisenlohr
6fd8407d6e
moved "predefined" to colormap init
...
cleaned interpolate to not change color model
fixed color range cropping issue
2014-02-28 16:09:01 +00:00
Philip Eisenlohr
63569b19b6
added use of "defaultdict" from collections
2014-02-28 15:56:28 +00:00
Martin Diehl
27c83f60a6
fixed typo
2014-02-26 15:05:34 +00:00
Philip Eisenlohr
7f08c976c3
skip file if mandatory column not found in ASCIItable
2014-02-26 14:56:06 +00:00
Philip Eisenlohr
98a8b47a09
can now read legacy VTK files with unstructured grid data
2014-02-24 19:23:08 +00:00
Philip Eisenlohr
a659d071a9
added '--degrees' option to indicate Euler angles unit
2014-02-10 18:01:21 +00:00
Philip Eisenlohr
85e4896478
"--degrees" option to specify Euler angles in degrees (instead of radians)
2014-02-09 20:36:42 +00:00
Philip Eisenlohr
3c2af8e7a6
fixed dropped file handle when flushing closed output...
2014-01-29 21:16:44 +00:00
Philip Eisenlohr
24d7f55f55
check whether output is already stopped (in command piping for instance)
2014-01-29 21:13:36 +00:00
Philip Eisenlohr
cd18ec2abf
removed unneccesary table.data_rewind, which breaks command piping
2014-01-29 21:03:56 +00:00
Martin Diehl
ee99216edc
polishing compile_CoreModule, bug fix for Makefile
2014-01-28 07:34:13 +00:00
Philip Eisenlohr
1bd456aa22
corrected options.error --> parser.error
2014-01-27 14:30:37 +00:00
Philip Eisenlohr
a1cfc85d74
produce VTK unstructured grid with voxels around all points given in an ASCIItable.
2014-01-27 14:10:29 +00:00
Philip Eisenlohr
13fed38a2f
add scalar and RGB tuples from ASCIItable to existing VTK voxel cloud (*.vtu)
2014-01-27 14:05:03 +00:00
Martin Diehl
0f101c8dbf
adopted to improved HDF5 format
2014-01-13 16:22:01 +00:00
Martin Diehl
a614e76968
first post processing script for HDF5 output
2014-01-07 20:42:51 +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
600389ac44
new script to sort ASCIItable according to (multiple) columns
2013-12-14 03:48:50 +00:00
Christoph Kords
0f8790c148
clarified help string
2013-12-12 08:48:57 +00:00
Philip Eisenlohr
10c8a1a3ce
corrected typo in usage hint
2013-12-12 02:35:01 +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
44b3687e7c
added option to invert output data range (1.0 -- 0.0 instead of 0.0 -- 1.0)
2013-12-10 00:27:22 +00:00
Philip Eisenlohr
e4cea31a9d
small bug fix: options.error --> parser.error
2013-12-09 15:58:35 +00:00
Philip Eisenlohr
e2d4cc8b3d
fixed former nonsense definition of lab frame direction
2013-12-09 15:57:21 +00:00
Philip Eisenlohr
26690859bb
deal more gracefully with problematic user input.
2013-12-09 15:54:47 +00:00
Philip Eisenlohr
090fca8683
deleted left-over debug statement
2013-11-26 20:24:40 +00:00
Philip Eisenlohr
d498eca242
deleted left-over debug statement
2013-11-26 20:22:52 +00:00
Philip Eisenlohr
b63d2eafe8
new scripts for:
...
-generating vtk point cloud from x,y,z ASCIItable data
-adding scalar values and color tuples from ASCIItable to vtk point cloud
-permuting data in ASCIItable columns (used to shuffle ordered grain indices)
2013-11-26 20:19:27 +00:00
Philip Eisenlohr
a45c7dbb62
new ASCIItable scripts to add
...
- quaternion and/or Euler representation of lattice orientation (given in rotation matrix, etc.)
- RGB color code of crystal direction in laboratory frame (matching closely the TSL-OIM scheme of inverse pole figures).
2013-11-25 19:11:02 +00:00
Martin Diehl
feaccae652
set threshold for values treated as zero to 1.e-12 (was 1.e-15) to avoid flip in strain direction
2013-11-19 19:39:14 +00:00
Martin Diehl
1915215c6f
commented out not working use of vtk class
2013-09-20 11:27:11 +00:00
Martin Diehl
a17b85cba8
deleted wrong colormap script, was there twice. correct one (modified recently by Philip) is called perceptualUniformColormap
2013-09-11 08:15:05 +00:00
Martin Diehl
022696c8f3
fixed output to screen
2013-09-11 07:45:42 +00:00
Philip Eisenlohr
538a471246
updated $Id$ handling.
...
added (colored) my script's name reporting.
2013-09-09 14:12:00 +00:00
Philip Eisenlohr
ec6587e7f5
corrected help message
2013-09-09 14:11:16 +00:00
Christoph Kords
26df077c2a
translating scalar data that contain vector components to vector data
2013-07-22 08:24:04 +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
Philip Eisenlohr
0fa9f7dc22
can now show data for tables lacking column labels (use option --nolabels)
2013-07-08 11:56:16 +00:00
Martin Diehl
e3a1e70542
started to use vtk class for writing results
2013-06-27 18:21:20 +00:00
Christoph Kords
13227dff0f
corrected calculation of origin
2013-06-22 14:13:29 +00:00
Christoph Kords
0740845d81
allow coordinates to not be in consecutive columns
...
keep origin of original data set
2013-06-20 07:36:35 +00:00
Christoph Kords
e6499e1a39
renamed script in order to distinguish from "add" scripts that act on ascii tables
2013-06-13 09:05:30 +00:00
Martin Diehl
becacb675a
linear reconstruction no longer needed for odd resolution
2013-06-05 14:05:11 +00:00
Martin Diehl
e635b06270
last polishing on preprocessing scripts, documentation and scripts are all up to date.
...
added addSchmidfactors to post processing scripts
2013-06-04 12:56:57 +00:00
Philip Eisenlohr
32a16f9745
wildcard matching for column headings, e.g. "[159]_p" to extract only the diagonal elements (scalars) of stress, or "[1-9]_p" to extract all nine values.
...
fixed VTK file format problem where double precision floats were incorrectly interpreted because they were announced as "float" (now "double").
2013-05-29 10:24:00 +00:00
Christoph Kords
837574278e
removed (now) unused function for reading of configFile
2013-05-28 14:47:50 +00:00
Christoph Kords
10a32dc17b
use predefined maps in damask.Colormap class; no need for a colorMap config file anymore
2013-05-28 14:18:21 +00:00
Philip Eisenlohr
8fd590d7bd
added red--blue map
2013-05-24 07:41:44 +00:00
Christoph Kords
19dc95a915
now able to choose vector that is used for warpvector filter via option.dispLabel
2013-05-22 21:23:01 +00:00
Christoph Kords
75ee54146b
deleted unused function
2013-05-22 21:20:00 +00:00
Martin Diehl
53348db000
tested the modified scripts, all scripts generating geometry now named geom_from...
2013-05-15 16:02:38 +00:00
Christoph Kords
deb2bd7dca
added option to only process ip or node based geometry/data
2013-05-13 10:06:40 +00:00
Christoph Kords
7f7cd0732d
improved visualization of script results
2013-05-13 09:36:19 +00:00
Christoph Kords
193c77f526
corrected prediction of computation time
2013-05-09 11:33:40 +00:00
Christoph Kords
ed1674ee1c
changed default value of eulerangles label
2013-05-09 11:32:34 +00:00
Christoph Kords
2d4cb6d128
first point on slice always starts at (0,0)
...
added option to visualize results
2013-05-08 15:59:51 +00:00
Christoph Kords
bd33169118
mistakenly committed table2ang in rev 2380, instead of vtk2ang. reverted changes in table2ang
2013-05-08 15:58:17 +00:00
Christoph Kords
ed9413a008
added simple output about progress
2013-05-07 14:32:38 +00:00
Christoph Kords
543cbf3a14
first point on slice always starts at (0,0)
2013-05-07 13:18:26 +00:00
Christoph Kords
c7f987a3c1
"unitlength" parameter, which determines the physical size of the mesh, now available as a global mesh variable "mesh_unitlength" and written to the .mesh file during init.
...
Hence, it is available to the marc_deformedGeometry.py script via "mesh_init_postprocessing()" and "mesh_get_unitlength()", so no need for setting the scaling of the displacement vectors explicitly through an option; now displacements and nodal positions are always consistent
2013-05-07 13:06:29 +00:00
Christoph Kords
9656d06fcc
- all length in nag file in micrometer
...
- "size" option replaced by "scale": uniform scaling of all length
- default normal in negative z-direction
- more output in verbose mode
- ang file numbering starts with 1
- positions in ang file in TSL, not lab frame
2013-05-07 12:57:34 +00:00
Christoph Kords
278198121d
only import vtk classes that were used
2013-05-06 16:55:44 +00:00
Christoph Kords
f5482ffbf4
new script that generates ang files for slices through vtk data set
2013-05-06 16:37:54 +00:00
Christoph Kords
43647fc5e6
use datatype double instead of float for ouputs
2013-04-30 14:45:29 +00:00
Christoph Kords
12ca2c1931
added scaling option for displacements
2013-04-29 16:02:30 +00:00
Christoph Kords
9afaa9f4d0
set "line breaks" and "keywords" property
2013-04-29 09:24:07 +00:00
Christoph Kords
fbb8353bba
check if data set attribute is already present
2013-04-29 09:23:16 +00:00
Christoph Kords
cc72c0b17b
added two new scripts:
...
"marc_extractData" is a simple variant of the "postResult" script that extracts all data from a macro *.t16 file (quadratic elements not yet supported) and writes it into an asciitable
"addDataToGeometry" searches for corresponding *.txt and *.vtk file in a given directory and adds the data from the *.txt file as SCALARS to the *.vtk file
first script needed an additional function in mesh that returns the corresponding node of a given ip in a specific element
2013-04-28 20:56:17 +00:00
Christoph Kords
650b7ef4ac
added python script that produces vtk files with the (node based and ip based) deformed mesh from marc output file
2013-04-23 18:30:56 +00:00