Commit Graph

68 Commits

Author SHA1 Message Date
Martin Diehl 556d9d840e specifying V_e is more natural than F_i 2022-05-19 01:15:17 +02:00
Martin Diehl 7d015fbdc5 avoid confusion with existing table entry 2022-02-14 14:32:02 +00:00
Philip Eisenlohr 1b08f90d6c allow constant (non-label) value in cm.from_table() keys 2022-02-13 23:54:16 -05:00
Daniel Otto de Mentock 086ff42be5 05 Typehints config configmaterial 2022-02-01 07:30:00 +00:00
Philip Eisenlohr d5da47bf71 extend config init to allow YAML string and key=value pairs 2021-12-02 18:20:27 -05:00
Martin Diehl d751350bda systematic naming 2021-11-14 06:51:47 +01:00
Martin Diehl 5503592790 needs to be in constituents 2021-08-05 16:24:59 +02:00
Martin Diehl aa215ff81e generalization, now used for F_i 2021-07-24 19:30:15 +02:00
Martin Diehl db1882e4de polishing 2021-06-17 18:26:37 +02:00
Martin Diehl 0459f17f58 improved usability 2021-04-25 07:58:15 +02:00
Martin Diehl 3977e230b3 documenting and ensuring consistent argument names
'name' for a dataset matches the analogy to a file name
2021-04-24 14:47:45 +02:00
Martin Diehl 4d67c85a33 clarify out-of-place behavior and document return values 2021-04-23 23:32:09 +02:00
Martin Diehl 65b03aeb2d Merge remote-tracking branch 'origin/development' into Results.read-.place 2021-04-05 10:22:49 +02:00
Martin Diehl 39c0bc9de6 polishing 2021-04-03 08:19:16 +02:00
Martin Diehl 7865092b82 not needed 2021-03-30 17:24:19 +02:00
Martin Diehl a587e70704 split into small sections and test damage 2021-03-28 12:08:08 +02:00
Martin Diehl a3ab890315 bugfix for ConfigMaterial
don't use mutable variables in python initializers, they get updated
2021-03-28 11:35:40 +02:00
Martin Diehl be9e00347b cleaning
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl 572c3204d0 let the computer do the work 2021-03-23 14:28:56 +01:00
Martin Diehl e0e088eaa8 EBSD dataset for testing
use only non-segmented data. Automatically fall back to numeric phase
names if cell_ensemble_data is not found
2021-03-23 13:42:04 +01:00
Martin Diehl 549b849730 better readable 2021-03-23 12:05:08 +01:00
Martin Diehl 926b5c657d material_add can do expansion 2021-03-23 12:01:35 +01:00
Vitesh Shah 005fde2504 homogenization in material was missing 2021-03-23 11:48:35 +01:00
Martin Diehl 1c3d1ee0f2 documented 2021-03-20 13:37:06 +01:00
Martin Diehl 394fda5f37 improving import from DREAM.3D
- no duplicated entries even for non-segmented data
- using phase labels from file
- material.yaml: Dummy homogenization and phase
- tests to ensure correct order and match between Grid and
  ConfigMaterial
2021-03-20 12:56:18 +01:00
Martin Diehl cdcedd0d44 autodetect base group 2021-03-20 07:26:07 +01:00
Martin Diehl ec28fd8a73 polishing 2021-03-12 09:23:05 +01:00
Martin Diehl 3b27c64709 Merge remote-tracking branch 'origin/development' into config_from_dream3D 2021-03-12 08:11:54 +01:00
Philip Eisenlohr 2dea705fa9 polishing/shortening 2021-02-23 19:01:10 -05:00
Philip Eisenlohr 0b08b3d233 expanded help texts 2021-02-23 18:54:55 -05:00
Philip Eisenlohr dcc42204ec expanded help on material_add 2021-02-23 18:40:32 -05:00
Philip Eisenlohr 69316f186b fixed ConfigMaterial.from_table; 2D grid.from_table now acceptable 2021-02-23 11:50:13 -05:00
Philip Eisenlohr 4a00254dba shortened material_add and allow for multi-constituent; broken from_table... 2021-02-22 22:47:08 -05:00
Martin Diehl 0461c404f7 numpy uses __array__ for casting
avoids infinite loop of __init__, __getitem__, and shape. Found on
8cf07f6113
2021-02-22 18:52:06 +01:00
Martin Diehl f5f993435b make intention clear 2021-02-19 16:34:28 +01:00
Martin Diehl ab9661d951 don't see how ':=' should help here 2021-02-19 07:04:34 +01:00
Martin Diehl 869307c5ec temperature not needed for pure mechanics
would also require to define thermal homogenization
2021-02-08 22:56:37 +01:00
Sharan Roongta 14ce127dc4 fraction --> v 2021-02-04 13:46:01 +01:00
Vitesh Shah c3c4b05c01 handling point based data enabled 2021-01-12 13:01:11 +01:00
Vitesh Shah 6bffb91951 Added example 2021-01-11 15:16:46 +01:00
Vitesh Shah 6c367ec010 conform to docstring conventions 2021-01-11 15:05:48 +01:00
Vitesh Shah 2951617e28 able to take phaseID into account 2021-01-11 15:02:15 +01:00
Vitesh Shah dbab3c3a83 dream3D has an extra row at start for grain based data 2021-01-11 14:21:56 +01:00
Vitesh Shah 028d47034d conversion from dream3D for single phase materials 2021-01-11 13:31:08 +01:00
Martin Diehl 80b8693a66 avoid adding to existing data, i.e. when reading a file 2021-01-03 12:10:39 +01:00
Martin Diehl 9a278daa3f copy not needed
YAML writer does not write out references anymore
2021-01-03 12:07:02 +01:00
Martin Diehl 35ca1ffb0a consistent copy functionality 2021-01-03 12:03:40 +01:00
Martin Diehl 5fb0e4908b Examples reflect actual behavior 2020-12-18 07:09:05 +01:00
Philip Eisenlohr 403ac693da need to pass init argument to dict superclass 2020-12-17 18:08:55 -05:00
Philip Eisenlohr e11be7e600 preinitialize a ConfigMaterial object with 'constituents','homogenization','phase' keys 2020-12-17 10:49:33 -05:00