Commit Graph

934 Commits

Author SHA1 Message Date
Philip Eisenlohr e9ec497da6 fixed bug preventing files specified with full path to be treated properly 2016-04-05 16:17:55 -04:00
Philip Eisenlohr fcddf9345e added option for non-uniform weights 2016-03-27 17:54:49 -04:00
Philip Eisenlohr 7c72ede29d now works properly for labels specified as index (instead of string) 2016-03-27 16:29:45 -04:00
Philip Eisenlohr 0d93a47c71 Generate histogram of N bins in given data range. 2016-03-27 13:34:19 -04:00
Martin Diehl 7423c1a06a not needed anymore 2016-03-24 18:47:11 +01:00
Martin Diehl ea28bc8f06 restored script for calculation of nodal positions 2016-03-24 16:19:49 +01:00
Martin Diehl 8b89063113 less core module 2016-03-24 14:19:00 +01:00
Martin Diehl 60a3ac5b04 copied fortran code 2016-03-24 12:35:33 +01:00
Martin Diehl 022b089fa7 cleaned core module related stuff 2016-03-24 11:49:23 +01:00
Martin Diehl 4592db8dfb added python based geometry reconstruction 2016-03-24 10:37:15 +01:00
Martin Diehl 809f03bef5 new printing for python3 and corrected help 2016-03-23 17:02:51 +01:00
Philip Eisenlohr 0840a5f42e modernized orientation treatment and adopted slip systems from lattice.f90 2016-03-22 20:52:02 -04:00
Martin Diehl fafedd5cd6 Merge branch 'LargeFiles' into development 2016-03-22 15:45:42 +01:00
Philip Eisenlohr e39441f36b corrected usage message to tell about string comparison in filter condition 2016-03-17 19:02:30 -04:00
Aritra Chakraborty 36c703ecd3 shortened excessively long lines 2016-03-16 15:20:31 -04:00
Aritra Chakraborty 3a267dc7ff FFT-based gradient calculation of scalar or vector field data (sibling of addCurl and addDivergence) 2016-03-16 15:02:38 -04:00
Aritra Chakraborty ce26ad06da polishing and introduction of locally derived grid in FFT subroutine 2016-03-16 15:01:22 -04:00
Philip Eisenlohr 6197e839c9 fixed missing file extension when adding in-place 2016-03-15 14:52:10 -04:00
Martin Diehl f857353e16 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-11 12:49:47 +01:00
Martin Diehl b0dedb8cbd =addOrientation can do the same (and more) 2016-03-09 19:02:28 +01:00
Philip Eisenlohr b933359f17 clarified text of error message complaining about wrong input dimension 2016-03-09 12:28:36 -05:00
Martin Diehl 93d7643875 no long lines anymore and prospector is also happy 2016-03-03 14:44:29 +01:00
Martin Diehl 9fa49b8584 vtk files, mainly removed from vtk import * 2016-03-02 13:52:33 +01:00
Martin Diehl e89923d6d3 next round 2016-03-02 11:11:20 +01:00
Martin Diehl 5d7e138a9b long line 2016-03-02 10:55:21 +01:00
Martin Diehl f77de7ac6e adjusting style (mainly long lines an "== None") 2016-03-02 10:52:24 +01:00
Martin Diehl 043f2faeb3 line too long 2016-03-01 21:59:59 +01:00
Martin Diehl 98476ea29c more improved scripts 2016-03-01 21:35:59 +01:00
Martin Diehl 9cfc27d295 line too long (132 lines max code, like Fortran, 159 including comments, Python standard) 2016-03-01 21:18:32 +01:00
Martin Diehl 80dc23d93d following "prospector -t pep8 -t pyflakes -t dodgy -t profile-validator -t pep257" 2016-03-01 21:11:43 +01:00
Martin Diehl e55d0ae3ca further attemps to make it conform with best python practice 2016-03-01 20:44:43 +01:00
Martin Diehl 6eb170bc07 still struggling with prospector 2016-03-01 19:37:31 +01:00
Martin Diehl 3b33d320b1 getting pyflakes to ignore 2016-03-01 19:06:00 +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 c710709b1a example Makefile typically does not work, deleted 2015-12-15 14:34:03 +00:00
Martin Diehl 19ddbc9b21 fixed typo and simplified 2015-12-15 06:16:47 +00:00
Martin Diehl d76fcb4be8 was giving wrong results 2015-12-05 21:34:39 +00:00
Martin Diehl 7eb7a4e8cd changed to use routine for symmetric matrices as ascii table cannot handle complex number anyway. further advantage: eigvals and eigvectors will be odered 2015-12-04 22:34:19 +00:00
Philip Eisenlohr 35202494c2 fixed issue caused by using -r twice as option label. 2015-12-04 04:33:23 +00:00
Philip Eisenlohr 784c78a3b0 removed defunct option to output labels as column vector. 2015-12-04 04:31:53 +00:00
Philip Eisenlohr 937634d703 added group shuffling (i.e. exchanging unique values) 2015-12-04 01:17:45 +00:00
Philip Eisenlohr 55b33e5597 added option “inplace” to directly modify VTK file instead of creating copy_added. 2015-12-02 23:10:14 +00:00
Martin Diehl f49091c952 addDeformedConfiguration without core module 2015-12-02 20:53:02 +00:00
Martin Diehl 0ffcb7fdaf cleaning 2015-12-01 16:37:20 +00:00
Martin Diehl 40c2a5dd6d differentiate name for undeformed and deformed coordinates makes sense. Still not happy with the naming though 2015-11-20 15:58:32 +00:00
Philip Eisenlohr 4c51c15795 changed option to —coordinates.
gracefully extend points to be 3D.
2015-11-14 01:52:31 +00:00
Philip Eisenlohr 2c9f9981e2 polishing of addRectiliearGridData.
subsumed functionality of addVoxelgridData into it.
2015-11-10 01:49:32 +00:00
Philip Eisenlohr ccf7530121 added output selection “rodrigues” 2015-11-10 01:34:10 +00:00
Chen Zhang fe1dbf2ea0 output file name now contains both position and mode.
e.g. ${prefix}_ipinitialcoord(point).vtr
2015-11-03 21:44:36 +00:00
Philip Eisenlohr ad06fc1a77 fixed buggy mapIncremental behavior for anything else than averaging (the standard case luckily…) 2015-10-27 20:16:24 +00:00
Martin Diehl ebf20f2ebc unified style and other minor improvements 2015-10-15 19:51:27 +00:00
Aritra Chakraborty 723f135177 can now handle tiling of values (scalar [string,number] spread out to vector and such) 2015-10-09 14:22:41 +00:00
Philip Eisenlohr 196afb9b31 adopted change in named argument (strict -> SST) for disorientation 2015-10-09 13:06:51 +00:00
Martin Diehl fc9d290339 unified structure and names, added test for vtk{point/voxel}cloud 2015-10-09 11:24:26 +00:00
Martin Diehl 1bd8167445 requires core module and is most likely not used.
When needed, a Complete, lean redesign is simpler than updating to current coding style
2015-10-06 18:11:58 +00:00
Aritra Chakraborty 22048cb546 fixed a bug 2015-10-02 01:59:59 +00:00
Philip Eisenlohr 863fe5ddf0 needs modules “math” and “random” for user-supplied conditions…
(do not remove through pyflakes—shall we introduce dummy code to keep the modules “active”?)
2015-09-29 22:27:07 +00:00
Harsha Phukan 202ee00049 Eliminated redundant searches for similar orientations in neighboring points…speeds up script by 2 orders of magnitude 2015-09-28 19:03:24 +00:00
Martin Diehl 55dc2b419a warn if unexpected file size is encoutered 2015-09-24 17:07:27 +00:00
Martin Diehl f4d4a8e1ec adopted philips changes for reporting, using pyflakes to clean up 2015-09-24 09:24:42 +00:00
Tias Maiti 3c901e5549 added option for Euler angle output in degrees 2015-09-23 23:05:28 +00:00
Harsha Phukan fb48719283 fixed critical bugs 2015-09-15 19:02:59 +00:00
Martin Diehl 6f20651250 copy and paste error and new interface for test 2015-09-12 19:29:34 +00:00
Aritra Chakraborty 6683c1fb73 fixed a bug 2015-09-12 16:34:31 +00:00
Martin Diehl 5f9fae1b75 simplified reporting using "emph" 2015-09-11 12:55:43 +00:00
Philip Eisenlohr e0d5cef047 Script to merge multiple ASCIItables. Stops at end of shortest one. 2015-09-09 22:22:29 +00:00
Martin Diehl 70f906a2c4 follow new syntax and bugfix, marc 2014 is default 2015-09-09 16:45:49 +00:00
Tias Maiti c9dcb41bac fixed sorting logic to respect numerical values of vector data (i.e. 1,2,3,….,10,11,… instead of 10,11,12,1,2,…) 2015-09-08 23:55:44 +00:00
Noriki Fujita c2d27d56fa updated to new ASCII table style 2015-09-08 15:26:40 +00:00
Noriki Fujita 9a2c49ff50 corrected label header 2015-09-08 13:45:46 +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 08f8746182 made some more scripts working again 2015-08-31 21:22:44 +00:00
Philip Eisenlohr 8ff79e1eb0 NaN now considered transparent 2015-08-31 17:41:00 +00:00
Philip Eisenlohr 8f79744f2c now works with (rounded) floating point numbers as mapping indices 2015-08-31 16:01:11 +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
Aritra Chakraborty 115518a2c8 minor changes in commit and setting the script ID properly 2015-08-29 15:10:43 +00:00
Aritra Chakraborty cff6307779 Update existing value(s) to expression(s) respecting condition. 2015-08-29 00:54:45 +00:00
Philip Eisenlohr d8afe9be23 Add scalars, vectors, and/or an RGB tuple from an ASCIItable to existing VTK rectilinear grid (.vtr/.vtk). 2015-08-25 00:39:37 +00:00
Aritra Chakraborty cec6d7d220 for generating rectilinear grid of either cell type or point type from ASCII table. 2015-08-24 20:48:50 +00:00
Philip Eisenlohr 7961b486cb now compatible with updated Orientation.disorientation() output, i.e., select item [0] (the quaternion). 2015-08-24 14:20:09 +00:00
Philip Eisenlohr c215139ce1 now works with recent changes of ASCIItable and with STDIN to STDOUT. 2015-08-24 14:01:24 +00:00
Philip Eisenlohr afc88c7029 now works with recent changes of ASCIItable. 2015-08-24 13:42:29 +00:00
Philip Eisenlohr 38992fdc37 now use outsourced damask.util methods 2015-08-23 23:19:40 +00:00
Philip Eisenlohr 63d5506388 adopting further simplifications provided through ASCIItable class. 2015-08-20 19:42:05 +00:00
Philip Eisenlohr 9439cf7278 add cumulative (first to current) values of given labels to table 2015-08-20 19:40:45 +00:00
Martin Diehl 2a13d78196 did not run 2015-08-18 17:24:15 +00:00
Philip Eisenlohr 70daa8663f adoption of new ASCIItable API 2015-08-18 14:37:32 +00:00
Martin Diehl ca1fe6bb82 updated to new ASCII table style 2015-08-18 07:56:03 +00:00
Tias Maiti d0b75b5a10 fixed table.croak error in last commit 2015-08-18 04:41:36 +00:00
Tias Maiti befd6aa7ff fixed stderr output (croaking..) as per new ASCII table style 2015-08-18 04:33:45 +00:00
Aritra Chakraborty ac7f443595 adopted new ASCIItable API 2015-08-13 21:25:08 +00:00
Martin Diehl 7ca1e77495 bug fixing 2015-08-13 08:32:09 +00:00
Philip Eisenlohr 3e65c324de adopted changes in ASCIItable API 2015-08-12 21:52:33 +00:00
Martin Diehl 1149053c61 updated to new ASCII table style 2015-08-12 20:59:10 +00:00
Martin Diehl 35863e0229 fixed averageDown and made it's test running 2015-08-12 13:43:05 +00:00
Martin Diehl bceeb0964c corrected calculation of expected file size for legacy files beyond the 4 GB limit 2015-08-10 18:48:48 +00:00
Tias Maiti 126cea24ce fixed syntax and undefined variable calling errors 2015-08-09 22:12:49 +00:00
Philip Eisenlohr a4772343b0 adopted new ASCIItable API. some polishing. 2015-08-07 22:08:54 +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
Philip Eisenlohr 020a3e2634 superfluous since same can be (even more flexibly) accomplished with:
reLabel -l old -s old+tag
2015-07-26 00:41:42 +00:00
Philip Eisenlohr 0db33f21b5 superfluous since same can be accomplished with:
showTable -l -d (labels and data)
2015-07-26 00:39:32 +00:00
Chen Zhang 657ed7ed35 group voxels/pts by orientation and position, require spicy. 2015-07-24 13:30:33 +00:00
Philip Eisenlohr e08b7bd02e forgot to rescale transparency mask by pixelsizes. 2015-07-16 22:34:26 +00:00
Tias Maiti 3c9d6df889 fixed typo in last commit 2015-07-15 18:15:39 +00:00
Tias Maiti 6ebc490207 fixed broken functionality by adopting new ASCIItable class output for data_readArray(). 2015-07-15 16:57:03 +00:00
Philip Eisenlohr dce0501358 script to rename labels in an ASCIItable 2015-07-10 16:28:01 +00:00
Philip Eisenlohr f8658ffea1 added “gap” value to render pieces of resulting image transparent. 2015-07-07 14:53:55 +00:00
Philip Eisenlohr 812d17f91c streamlined column processing based on recently introduced asciitable functionality. 2015-07-01 15:48:34 +00:00
Martin Diehl ef243d3e19 added references 2015-06-30 14:52:48 +00:00
Philip Eisenlohr 47249bb52a added possibility to scale deformation fluctuation field. 2015-06-29 09:44:49 +00:00
Philip Eisenlohr 9b1f16e99e report data range.
gracefully deal with constant field (below 1e-8 noise).
2015-06-19 11:36:21 +00:00
Tias Maiti 94423cc7ac added scriptID line “ removed during last commit” 2015-06-17 19:47:50 +00:00
Tias Maiti 012c830eff removed writing of debugging statement to final output 2015-06-17 19:44:01 +00:00
Philip Eisenlohr e440305532 streamlined ASCIItable error checking. 2015-06-17 06:52:43 +00:00
Philip Eisenlohr 5cc7b60a88 simplified processing of ASCIItables by utilizing the improved class methods.
modernized file looping.
2015-06-16 17:21:24 +00:00
Philip Eisenlohr c089ff9256 now with $ID$ and correct line endings… 2015-06-15 18:13:06 +00:00
Philip Eisenlohr 6086baba52 Generate PNG image from scalar data on grid deformed by (periodic) deformation gradient. 2015-06-15 18:12:38 +00:00
Philip Eisenlohr 37792f67df automatically figure dimension of labels to tag. 2015-06-13 11:55:20 +00:00
Philip Eisenlohr e243632eb5 simplifications by adopting functionality provided by new asciitable class methods. 2015-06-08 05:07:14 +00:00
Martin Diehl d99e34d870 typo caused problems with more than one tensor 2015-06-06 15:42:29 +00:00
Philip Eisenlohr 129446e687 simplified script. deals now only with single format at a time. result is printed to STDOUT unless “basename” option specified. 2015-06-06 11:12:07 +00:00
Philip Eisenlohr bb9e080790 input file handling now save for large file count.
reshape input rotation matrix to (3,3).
2015-06-05 11:47:27 +00:00
Philip Eisenlohr 5adbe74b10 changed library function name table.labels_index() to table.label_index() 2015-06-05 11:44:17 +00:00
Martin Diehl 2877066a6c removed debug statement and simplified 2015-06-04 08:51:10 +00:00
Yang Su bb677a26aa added interface for predefined colormaps 2015-05-29 18:50:54 +00:00
Yang Su 92654dc2cd fixed syntax bug, instantiating of Color object, and file closure. 2015-05-29 18:36:09 +00:00
Philip Eisenlohr 54746c85d3 fixed bug for only blacklisting. 2015-05-28 22:31:32 +00:00
Philip Eisenlohr c327735c0d order of whitelist is maintained in output (only if no blacklist is specified). allows to rearrange column order in tables. 2015-05-27 23:02:11 +00:00
Harsha Phukan 4107d5d1d2 Script to calculate Quaternion from input orientation matrix 2015-05-26 06:38:48 +00:00
Martin Diehl 5900fa4bf5 corrected defaults and simplified loops 2015-05-25 10:49:20 +00:00
Martin Diehl 1f160dfd72 FFT was at single precision only 2015-05-24 16:35:37 +00:00
Martin Diehl e8fb49edc6 missing bracket 2015-05-22 06:17:35 +00:00
Martin Diehl 737e474cea consistent handling of random number per file and always reporting as comment, fix for permuteData needed because of new asciitable behavior 2015-05-22 05:56:49 +00:00
Martin Diehl fbfa55e910 adjusted to new table style and naming of output 2015-05-22 04:57:05 +00:00
Philip Eisenlohr f363d81de5 simplified column parsing 2015-05-21 21:54:47 +00:00
Yannick Naunheim 2349e6c79c standard way of reporting 2015-05-21 16:04:19 +00:00
Philip Eisenlohr 14b921f6d5 corrected help text. 2015-05-21 00:13:50 +00:00
Philip Eisenlohr df5dd98576 simplified boolean dictionaries to “if else” constructs. 2015-05-21 00:13:11 +00:00
Philip Eisenlohr acc2cb656b simplifications due to better functionality available through asciitable.py
output filename format has slightly changed: binned-X-Y_weighted-W_
2015-05-21 00:08:32 +00:00
Philip Eisenlohr 439d778cc0 simplified column check.
fixed typos and improved help.
2015-05-20 23:21:35 +00:00
Philip Eisenlohr 973f092fd9 similar to imageData but uses RGB triplet as color value instead of mapping a scalar.
Can only use columnar data and not 2D arrays, though.
2015-05-19 21:15:15 +00:00
Philip Eisenlohr ee65b269ad simplified data column determination. 2015-05-19 21:14:19 +00:00
Harsha Phukan f7faa3eeca finally fixed the bug in the transformation and incorporated rotation to conform to TSL convention 2015-05-18 22:28:24 +00:00
Martin Diehl 03fef5fd6e simplified option parsing 2015-05-15 13:49:16 +00:00
Martin Diehl 6a38b4396f simplified help 2015-05-15 13:34:52 +00:00
Martin Diehl a3bed5cc42 short options conflicting with typical use 2015-05-15 10:33:32 +00:00
Martin Diehl a451a69c2c corrected default type (only list for 'extend') 2015-05-14 18:48:15 +00:00
Aritra Chakraborty 3e8f16c515 range parameter is now autoscaled to account for -log option, i.e. range is always given as bounds of original data 2015-05-13 13:45:26 +00:00
Philip Eisenlohr b0a37497a1 fixed buggy coordinate transform. 2015-05-12 15:30:00 +00:00
Martin Diehl 6a98c7efad simplified option parsing 2015-05-11 20:12:31 +00:00
Martin Diehl 2102fadfc7 improved help for automatic documentation 2015-05-11 19:47:52 +00:00
Philip Eisenlohr 537c42d146 script to transform coordinate system at APS beam line 34-ID-E from X,Y,Z,F to strain x,y,z 2015-05-11 14:15:50 +00:00
Martin Diehl eff71b418b now working with corrected asciitable 2015-05-10 20:59:23 +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 8bf7a7ef6a some beautifications 2015-05-10 10:58:32 +00:00
Martin Diehl c0a9141c8f updated help to enable automated documentation 2015-05-10 10:56:02 +00:00
Martin Diehl a03b1ede99 improved help for automatic documentation 2015-05-10 08:59:21 +00:00
Martin Diehl d87b70fe49 filterTable can do the job 2015-05-09 21:33:17 +00:00
Martin Diehl 18831e0e80 improved help for automatic documentation and simplified some scripts 2015-05-09 21:32:23 +00:00
Martin Diehl 47b8605733 improved help for automatic documentation and simplified some scripts 2015-05-09 13:01:31 +00:00
Martin Diehl 59e546e3d7 improved help for automatic documentation and simplified some scripts 2015-05-09 12:45:30 +00:00
Philip Eisenlohr cb42fb9c5d clarified help text. 2015-05-05 16:58:56 +00:00
Philip Eisenlohr 58b3d017bd changed option name from “invertColor” to “invert” 2015-05-01 17:58:10 +00:00
Philip Eisenlohr c05df20370 throw error message when DAMASK output obviously not present in T16 file 2015-04-28 17:54:00 +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
Philip Eisenlohr 790aa32b1b fixed string to character splitting of weight column label 2015-04-13 20:24:03 +00:00
Philip Eisenlohr 4bcc80911e changed grid to float from (wrong) integer type.
row and column probability density normalization now takes place BEFORE limiting data range.
2015-04-13 19:55:28 +00:00
Tias Maiti 5257a2161f added options for x and y normalization 2015-04-09 06:45:21 +00:00
Martin Diehl 57a2c90d30 corrected according to vtk specification and remove an unused option 2015-04-08 18:48:35 +00:00
Martin Diehl 0544706c7b corrected help for legacy format 2015-04-08 12:51:40 +00:00
Martin Diehl 92a67e1a9d geom_fromAng.py crashed when found empty line (eg. at the end of the file), now fixed 2015-04-01 14:42:25 +00:00
Martin Diehl a1956436be fixed bug introduced last time when searching for keywords in spectralOut header
made reading in of header more robust by explicitly using the information given by fortran specifies the data length
introduced a legacy mode again, now it is used to read old spectralOut files prior to rev 4017
2015-04-01 10:02:21 +00:00
Philip Eisenlohr 38943c1e94 improved help 2015-03-29 15:37:40 +00:00
Martin Diehl 913c5347a5 removed handling for old legacy format (we might introduce a new one) 2015-03-29 09:08:42 +00:00
Martin Diehl 66d4ff097f removed obsolete comment 2015-03-28 11:44:17 +00:00
Martin Diehl 8a30021202 cleaned up core modul 2015-03-27 14:10:18 +00:00
Pratheek Shanthraj 1ee81e74ea more patches to get the tests running again:
- fixed increment counting in postResults to current output scheme

- corrected node coordinates calculation

- some work on restart (restart test still not running)
2015-03-26 21:19:28 +00:00
Pratheek Shanthraj fe4373a9f9 updated post processing script for MPI IO spectralOut file 2015-03-25 16:09:56 +00:00
Martin Diehl 1a3bfc7d1f updated according to new convention for ip and nodes 2015-03-24 13:52:40 +00:00
Martin Diehl 12cb5e56fe fixed interpretation 'spectralOut' header. Seem to have been buggy all the time, but manifested itself only after keyword change. Also added ':' after keywords to be more robust 2015-03-15 15:29:38 +00:00
Martin Diehl df2ee87a7c corrected help 2015-03-13 14:47:22 +00:00
Martin Diehl c4f639dbfb prevent crash in option parsing 2015-03-13 14:46:40 +00:00
Martin Diehl def6d6b878 re-introduced determination of elem column 2015-03-12 06:20:40 +00:00
Bret Dunlap 3f340ffac9 fixed bug for table data without labels in header 2015-03-11 20:39:14 +00:00
Martin Diehl 72efc7b30c renamed resolution -> grid, dimension -> size 2015-03-11 08:55:48 +00:00
Martin Diehl 0dde6539ed renamed from 1_ip to 1_ipinitialcoord 2015-03-11 07:22:11 +00:00
Martin Diehl eb1561b528 changed postprocessing to use 1_ip instead of ip.x etc, plus corrected test files headers 2015-03-10 21:15:05 +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 4d587b1bf9 introduced 'alias' for ip.x by first searching for 1_ip 2015-03-09 11:32:16 +00:00
Philip Eisenlohr 639b030c65 shortened code for opening input file list 2015-03-06 17:04:44 +00:00
Tias Maiti 654aacf207 removed invalid options (options.packing, options.shift) 2015-03-05 21:41:53 +00:00
Philip Eisenlohr 53b40662ec now with executable, correct line endings, and ID tags. 2015-02-11 17:26:56 +00:00
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
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
Philip Eisenlohr b572c71db0 fixed small bug in error reporting (missing column head complaint was broken...) 2013-04-16 20:10:17 +00:00
Martin Diehl b4f67248a5 deleted two simple scripts used for debugging but with almost no use any more 2013-04-12 13:22:15 +00:00
Martin Diehl 770712529d one more bug fix related to scaling 2013-03-26 16:16:59 +00:00
Martin Diehl ccef9d4f73 fixed scaling option 2013-03-26 14:18:29 +00:00
Philip Eisenlohr 5b96c1d62a scaling of deformation gradient fluctuations now possible in x,y,z independently (give array). 2013-03-22 15:09:55 +00:00
Martin Diehl cd86a80c2b corrected handling of default value and cases where the deformation gradient is not f 2013-03-19 18:22:14 +00:00
Martin Diehl 43ec1d2051 added output of perceptual unfiform colormaps to GOM (DIC Aramis) format, deleted some old files in the documentation folder 2013-03-19 15:19:46 +00:00
Martin Diehl 757c3e5a04 fixed bug in averageDown and updated test 2013-03-13 16:23:02 +00:00
Philip Eisenlohr 30024af6c2 polished string concatenations 2013-02-14 21:33:11 +00:00
Philip Eisenlohr a7e7a857c3 readjusted color values to work nicely with Msh colorspace (as in ParaView) 2013-02-02 20:17:54 +00:00
Philip Eisenlohr ac562f4b8b changed internal color mapping to damask.Colormap class 2013-02-02 15:12:43 +00:00
Martin Diehl e74b5da19a changed all remaining routines to fortran-fast arrays (geometry reconstruction etc.)
changed all remaining routines in f2py to more clever determination of array size (requires f2py >= 2.0)
enabled 3D visualize to work with odd resolution by switching to linear reconstruction
PLEASE NOTE: Redefinition of routines for f2py might cause trouble -> DELETE DAMASK_ROOT/lib/damask/core.so in this case
further changes: added pure statement where possible, polished, unified use of "Q" for "Quaternion" and reordered math to have similar routines together
2013-01-31 16:28:08 +00:00
Philip Eisenlohr 963ff0c3ae added support for tetrahedron element with 4 integration points (Marc ID 127) 2013-01-28 16:25:43 +00:00
Pratheek Shanthraj e691ff1ea1 updated setup_processing and corrected descriptions for new scripts 2013-01-22 09:56:36 +00:00
Pratheek Shanthraj a4abebfcbb some potentially useful postprocessing scripts 2013-01-21 23:15:23 +00:00
Mahesh Balasubramaniam 5676330e93 parsing options and file handling for perceptually linear diverging and sequential colormaps 2013-01-18 17:15:30 +00:00
Philip Eisenlohr e51779579e removed (unsupported) "--geom" option. 2013-01-18 13:01:43 +00:00
Mahesh Balasubramaniam 7ac7d1a657 new tool for creation of colormaps, now using proper classes 2013-01-15 18:24:10 +00:00
Mahesh Balasubramaniam cd5197556b sequential colormapping with options for desired color and type(increasing or decreasing) is now working 2013-01-04 19:50:39 +00:00
Mahesh Balasubramaniam 820b8eb2c1 put colormap related functions into library, renamed and added scripts for creation of colormaps 2013-01-04 13:57:36 +00:00
Mahesh Balasubramaniam 6ab79d5593 added options for parsing and the colormap. Customized colormap is written out as an xml file importable into paraview. 2013-01-04 12:04:05 +00:00
Mahesh Balasubramaniam 3242361c91 added a minor change to the string expression and the for loop. 2013-01-04 12:01:34 +00:00
Mahesh Balasubramaniam 7157e8f03c changed some of the color-space conversion formulae. 2013-01-04 12:00:10 +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
Martin Diehl 260e4191a0 replaced tabs by spaces 2012-12-13 18:15:10 +00:00
Philip Eisenlohr dfb791bcaf only complain about missing Mentat release if needed... 2012-12-12 08:33:42 +00:00
Christoph Kords 34645a7222 write warning about missing Mentat release to stderr instead of stdout 2012-12-12 08:21:59 +00:00
Christoph Kords 93d822aaa1 symmetric colormap always with pure white in the middle 2012-12-11 16:50:34 +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
Philip Eisenlohr 2d4cf7da74 conditions can handle string data.
use "#s#label#" format to indicate that column headed by "label" contains strings (not floats)...
2012-12-03 14:29:21 +00:00
Philip Eisenlohr 7d96bb7ce8 Add column(s) containing directional stiffness based on given cubic stiffness values C11, C12, and C44 (in consecutive columns) 2012-12-03 13:10:16 +00:00
Philip Eisenlohr faa5f3c459 corrected severe bug in (non-logarithmic) strain calculations..! 2012-11-30 15:02:25 +00:00
Philip Eisenlohr 72159e867c fixed buggy file handling for multiple input files 2012-11-30 11:03:53 +00:00
Philip Eisenlohr 74f62c891d slightly safer file closing strategy 2012-11-30 08:38:52 +00:00
Philip Eisenlohr 9fb838fd28 changed switch from "sequential" to "column" 2012-11-30 08:29:34 +00:00
Philip Eisenlohr 1bd6bcfe3d script to list info, labels, and/or data of an ASCIItable 2012-11-30 08:26:13 +00:00
Philip Eisenlohr f446d4d87e added wildcard matching ( "?", "*", "[(!)sequence_of_characters]" ) for ASCII table labels 2012-11-29 10:42:13 +00:00
Philip Eisenlohr 255af58434 post processing script to add eigenvalues and eigenvectors to tensorial data in ASCII tables. 2012-11-23 21:49:30 +00:00
Martin Diehl 78c22d8449 corrected label in case of divergence of tensor, now using correct notation for scalar: divFFT(data) instead of 1_divFFT(data) 2012-11-21 10:31:52 +00:00
Martin Diehl b988caa6ba added script to add deviatoric and hydrostatic part of a tensor to ASCII table 2012-11-14 10:46:51 +00:00
Martin Diehl 1fc59107fa removed debug statement in averageDown.py, deleted obsolete spectral_iterationCount.py (new solver will report statistics anyway and most probably the current count does not work as the screen output was modified) 2012-10-31 10:06:11 +00:00
Martin Diehl b9aa50c59a improved performance for large packing values 2012-10-26 12:59:43 +00:00
Martin Diehl 573c4702eb fixed bug in averageDown.py and added test to check its features 2012-10-17 15:05:26 +00:00
Martin Diehl dcff640926 fixed handling of given resolution and dimension 2012-10-17 10:04:13 +00:00
Martin Diehl 6c7affc43f improved performance (hopefully)
now each new element gets a new ID, running from 1 to N for N elements
2012-10-16 18:06:02 +00:00
Philip Eisenlohr 1004d744f2 output speed-up by *show_table/*show_model masking 2012-10-05 21:49:33 +00:00
Martin Diehl c377dae9a6 added option to create hexagonal grid (2D slices only, according to P. Konijnenbergs experience on 3D ang) 2012-10-05 17:25:54 +00:00
Martin Diehl 6d97a92913 further improvements on the conversion, seems to work quite good for the 2D case now 2012-09-28 12:10:10 +00:00
Martin Diehl 6619717baf improved the conversion of tables to ang files 2012-09-26 12:20:14 +00:00
Philip Eisenlohr dc55e30cf1 added "startingIncrement" to spectralOut result interpretation 2012-09-05 15:14:36 +00:00
Martin Diehl b7dc9f9944 renamed spectral_buildElements.py to nodesFromCentroids.py and added first simple version of an ascii table to ang converter 2012-08-30 17:01:46 +00:00
Martin Diehl 3f99d2bb65 further improved prefix handling 2012-08-27 09:39:57 +00:00
Martin Diehl 96ba5ecae4 moved some more 'mesh related' functions for post processing from math.f90 to mesh.f90
f2py functions remaining in math.f90 now uses assumed size arrays in order to have simpler interfaces. This is only working with python 2.7!
changed python pre- and postprocessing scripts.
If you encounter any problems whith core modules, try to remove the old core.so in the lib/damask
2012-08-27 08:04:47 +00:00
Mahesh Balasubramaniam 975c3437ac added possibility to use comma in functions, to prevent splitting substituted by ';'. Eg. round(4.021,1) becomes round(4.021;1) in command line call 2012-08-22 17:47:34 +00:00
Christoph Kords 4cfc302cdd put prefix in front of the filename, not the directory name 2012-08-03 13:14:51 +00:00
Mahesh Balasubramaniam 3d7bc40520 added output of defaults for mesh, points, and box to help 2012-08-02 13:22:57 +00:00