Tias Maiti
4ed56a8ba6
removed debugging print statements
2015-08-07 20:52:57 +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
Tias Maiti
de90a04374
assign indices from microstructure column if present for laguerre tessellation
2015-07-30 04:42:00 +00:00
Tias Maiti
599bb768ef
index microstructure from 1 instead of zero for laguerre tessellation
2015-07-28 22:15:32 +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
Haiming Zhang
b69a422529
Generate the geometry description of a directional non-equiaxed grain structure, e.g., RVE cutted from a cold-rolling sheet. '--reduct' specifies the thickness reduction after rolling, and '-n' specified the number of samples cutted, e.g., n=5, then five samples will be cutted from the sheet along theta = 0 (the rolling direction), theta = 22.5, theta = 45, theta = 67.5, and theta = 90 (the transversal direction).
2015-07-24 14:12:10 +00:00
Chen Zhang
657ed7ed35
group voxels/pts by orientation and position, require spicy.
2015-07-24 13:30:33 +00:00
Philip Eisenlohr
fc0e29c45b
removed erroneous rescaling of Laguerre weights.
2015-07-22 22:34:40 +00:00
Haiming Zhang
b15f68905f
fig a bug.
2015-07-21 15:38:12 +00:00
Haiming Zhang
331a4c5775
add the number of the re-constructed orientation into the name of output files.
2015-07-18 17:25:05 +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
d676fdc1ce
fixed default behavior of symmetry. used to advertise having cubic symmetry but was using [].
2015-07-10 16:58:30 +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
Haiming Zhang
61e3987bfa
extract the deformation anisotropic coefficients (r values) and strength anisotropic coefficients (normalized yield stress) automatically.
2015-06-29 15:57:31 +00:00
Philip Eisenlohr
47249bb52a
added possibility to scale deformation fluctuation field.
2015-06-29 09:44:49 +00:00
Philip Eisenlohr
fcdd80bba3
switched order of command line options to make consequence of “degrees” switch more clear, i.e., it affects both the tolerance and Euler angles…
2015-06-29 09:40:44 +00:00
Philip Eisenlohr
129026662c
fixed small bugs.
...
modernized file treatment.
improved Laguerre speed by a factor of 2 due to precalculating the squared weights.
2015-06-27 08:41:08 +00:00
Haiming Zhang
088299daf2
fix the bug in the calculation of RMSD, replace N with sqrt(N).
2015-06-25 12:41:26 +00:00
Philip Eisenlohr
e310763c52
Novel script to generate geometry description and material configuration from position, phase, and orientation data in an ASCIItable.
...
Can deal with phase-specific lattice symmetry, condenses orientations within a given angular threshold, and might be used in lieu of geom_fromANG when replacing the ANG header.
2015-06-21 11:56:05 +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
acad1246f3
fixed wrong variable name for quaternions as rotation options
2015-06-19 04:38:00 +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
d57c7568dd
simplified processing of ASCIItables by utilizing the improved class methods.
...
modernized file looping.
updated help.
2015-06-16 05:42:11 +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
Luv Sharma
a5b3e9d64c
typos fixed
2015-06-14 05:51:53 +00:00
Philip Eisenlohr
37792f67df
automatically figure dimension of labels to tag.
2015-06-13 11:55:20 +00:00
Haiming Zhang
c7f59c6482
change angle into radian.
2015-06-11 17:57:23 +00:00
Haiming Zhang
bfe76794af
add the output of ".ang" file
2015-06-11 16:50:29 +00:00
Yannick Naunheim
c45a0ce55e
improved stability for geom_fromAng. no longer depends on correct header information.
...
geom_fromVPSC with correct size determination now
2015-06-11 10:06:53 +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
b7f98c00d6
input file handling now save for large file count.
...
streamlining of input column detection.
fixed bug iterating through “grainIDs” instead of “grain”.
proper closing and dismissal of output table file.
2015-06-05 11:50:15 +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
Philip Eisenlohr
f50927b99f
Create seeds file by poking at 45 degree through given geom file.
...
Mimics APS Beamline 34-ID-E DAXM poking.
2015-06-05 11:41:44 +00:00
Philip Eisenlohr
6eb83530b8
streamlining
2015-06-05 11:34:41 +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
Tias Maiti
147cc91496
some polishing to laguerre tessellation
2015-05-28 20:57:03 +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
Tias Maiti
c5349ab041
some polishing for option parser
2015-05-26 20:22:11 +00:00
Tias Maiti
73c6bd767f
added options for selective seed picking based on Mitchell’s best candidate algorithm for more uniformly distributed (spatially) seeds points
2015-05-26 20:13:35 +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
Sehar Abbas
7af176d13f
introduced option to set microstructure starting index
2015-05-21 10:04:52 +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
Martin Diehl
d70b903d1b
output follows standard way, test need to ignore header
2015-05-20 21:26:49 +00:00
Martin Diehl
056ba0f2e4
reverted back to hard-to-read but working if else statement
2015-05-20 19:40:11 +00:00
Martin Diehl
d99f13a49f
now operating on file, only on stdout if input comes from stdin
2015-05-20 19:07:52 +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
cd94469ea0
VPSC file format not used, if needed convert first to geom
2015-05-18 18:59:41 +00:00
Martin Diehl
76d456ee49
fixed rename
2015-05-18 14:48:25 +00:00
Martin Diehl
7775b254bd
updated tests to follow new addStrainTensors syntax, check in seeds_fromTable.py was wrong with simplified default
2015-05-18 08:42:14 +00:00
Martin Diehl
cddbd53789
reads better
2015-05-16 14:32:32 +00:00
Martin Diehl
03fef5fd6e
simplified option parsing
2015-05-15 13:49:16 +00:00
Martin Diehl
e45dcb7948
more readable if-else oneliner
2015-05-15 13:38:27 +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
Martin Diehl
fa1368204d
fixed bug in asciitable when updating labels for readArray, fixed checking for euler angels presence in tessellation, improved help
2015-05-14 17:07:50 +00:00
Martin Diehl
7ea350b90e
corrected default for multiple arguments of fixed length (tuple, not list)
2015-05-14 10:00:56 +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
4899b3df0a
found some unused (forgotten debug) statements
2015-05-11 20:09:49 +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
6f112b46b5
can be done with TSL OIM in current versions
2015-05-10 15:56:59 +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
Martin Diehl
d0180540eb
fixed bugs introduced with last commit and restored capability of handling legacy seeds format
2015-05-08 05:02:44 +00:00
Philip Eisenlohr
cb42fb9c5d
clarified help text.
2015-05-05 16:58:56 +00:00
Haiming Zhang
f5ccc37125
re-write Karafillis-Boyce yield criterion, the old version is actually the generalized Karafillis-Boyce yield criterion, i.e., Born-Besson yield criterion, which has three exponents, it seems unstable. Now retreat to the original Karafillis-Boyce yield criterion (Karafillis, Boyce 1993), which has only one exponents.
2015-05-04 15:00:02 +00:00
Haiming Zhang
1e6c4fa988
re-write Yld2000
2015-05-04 14:54:48 +00:00
Haiming Zhang
e0e7bb7a24
fix bugs of barlat1989, barlat1991
2015-05-04 14:52:33 +00:00
Tias Maiti
ce0675f359
added options for laguerrre tessellation
2015-05-02 07:41:14 +00:00
Philip Eisenlohr
58b3d017bd
changed option name from “invertColor” to “invert”
2015-05-01 17:58:10 +00:00
Haiming Zhang
afe7225357
add the option of exporting '.ctf' format file.
2015-04-28 18:09:07 +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
Haiming Zhang
f8e06b488a
make the script consistent with other scripts:
...
1. use new file handles
2. add scriptID and version
2015-04-28 17:47:06 +00:00
Martin Diehl
906c3f63a1
updated hybridIA sampling to work with new format
...
cropLinearODF is not working for the new format, but filterTable should be able to do the task
2015-04-27 05:30:29 +00:00
Haiming Zhang
1b9595d012
1. add the option 'all', fit all criteria automatically
...
2. generate equivalent stress automatically for advanced criteria.
2015-04-25 17:08:38 +00:00
Haiming Zhang
a55b0c54c6
change the unit of stress
2015-04-25 16:22:32 +00:00
Haiming Zhang
edb559d2fa
1. Judge the validity of stress points, and skip the invalid stress points.
...
2. change the defaulted unit
2015-04-25 16:19:06 +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
Martin Diehl
b9c5edf7ab
changed to standard file and output handling
2015-04-22 18:57:44 +00:00
Martin Diehl
2e6bbe887e
changed header in seeds file from 'x,y,z' to '1..3_coords'.
...
scripts now use the header information and do not rely on coordinates being in the first three columns
2015-04-22 18:44:54 +00:00
Martin Diehl
0cec85ac63
corrected order of output, config file output is not supported yet
2015-04-21 19:37:03 +00:00
Haiming Zhang
46c33b0d98
polishing
2015-04-21 18:55:10 +00:00
Martin Diehl
4581e22a0f
change reading in to standard loop over files
...
getting bins now from header information
format of linearODF now standard ASCII table style with header/keyword/label
2015-04-20 14:22:45 +00:00
Martin Diehl
f43afa13d8
simple script to generate geom file from stacked tiff images.
2015-04-20 12:57:45 +00:00
Martin Diehl
f5762209dc
changed 'range' keyword to 'limit', now using proper ASCII table (with column 'intensity') for linearODF
...
hybridIO_linODFsampling simplified
2015-04-15 14:37:46 +00:00
Martin Diehl
64764b0902
introduced moving of multiple seeds at the same time
...
introduced more suitable check for convergence of the first bin. Improvements in bringing seeds with a size outside the range of the target closer are no longer invisible
2015-04-14 12:42:35 +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
Martin Diehl
d008b566b4
ensure to bring all seeds within target range
2015-04-10 20:47:20 +00:00
Martin Diehl
9d3cd8f997
added options do define number of maximum seeds to move simulateneously
2015-04-10 18:08:17 +00:00
Martin Diehl
4aa63e1ab9
handling of seeds files without microstructure (but eulerangles)
2015-04-10 16:59:08 +00:00
Martin Diehl
09bfd1e18e
more verbose error handling for euler angles limits
...
ensuring that ROUNDED euler angles are not above the limits
2015-04-10 14:50:23 +00:00
Martin Diehl
e01e270300
improved search for double microstructures (was N^2 bogosort) in geom_fromAng and introduced it in geom_fromVPSC
2015-04-10 12:57:25 +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
Haiming Zhang
976647b9e4
add the convergence criterion, the method is :
...
1. calculate the L2 norm of the residual of all the stress points
2. store the relative errors of the L2 norm
3. if the standard deviation of the relative errors of last five fittings is less than 0.05, that it is considered that the relative errors is stabilized, so the fitting is finished.
2015-04-08 17:48:26 +00:00
Haiming Zhang
b77768fd4d
all the criteria support plane stress
2015-04-08 16:24:20 +00:00
Martin Diehl
0544706c7b
corrected help for legacy format
2015-04-08 12:51:40 +00:00
Martin Diehl
6e650a42b4
some comments for discussion
2015-04-07 07:42:46 +00:00
Haiming Zhang
ab89c84ec8
Correct the message of last change
...
1. rename BBC2003 as BBC2000;
2. add the real BBC2003 yield criterion, BBC2003 works;
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2005
2015-04-03 21:01:37 +00:00
Haiming Zhang
412028f33f
1. rename BBC2003 as BBC2000;
...
2. add the real BBC2003 yield criterion, BBC2003 works;
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2008
2015-04-03 20:59:23 +00:00
Haiming Zhang
cd2a744db9
add Yld2000 yield criterion, Yld2000 works
2015-04-03 16:20:03 +00:00
Haiming Zhang
2b9964bba5
add Barlat-Lian 1989 yield criterion, Barlat1989 works.
2015-04-03 12:31:13 +00:00
Haiming Zhang
0097d39873
fix some type errors; add more comments
2015-04-02 19:32:48 +00:00
Martin Diehl
86f39de462
remove non-utf symbol
2015-04-02 16:13:00 +00:00
Haiming Zhang
d8a99b23bf
1.compact all the criteria into a single Class;
...
2.the first thorough check of the script;
3.add the option of exponents for all non-quadratic yield criteria, now the user 1)can specify the exponent, for example, m=6 for Barlat 1991, or 2)see the exponent as an undetermined parameters;
4.add the pre-specified bounds for all criteria;
5.add the user defined equivalent stress for some anisotropic yield criteria
2015-04-02 12:08:55 +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
Haiming Zhang
72c2ead277
polishing, replace variables calculation with arrays calculation.
2015-03-27 17:58:49 +00:00