Philip Eisenlohr
35aa8a9bc6
combine table.add and .set
2022-05-11 09:19:48 -04:00
Philip Eisenlohr
21e076b0f9
Table.save(with_labels=False) to properly store ANG
2022-03-17 21:23:57 -04:00
Martin Diehl
0d22cfb83d
table.__init__ now has common order of arguments (label, data)
2022-03-11 22:31:35 +01:00
Philip Eisenlohr
0300912b30
Table.__eq__ for proper comparison; logical masks for slicing now work
2022-02-13 22:00:48 -05:00
Martin Diehl
8a3af87e3e
Merge remote-tracking branch 'origin/development' into spring-cleaning
2021-04-01 00:09:51 +02:00
Philip Eisenlohr
07c9cf5f1a
- improved reporting and slicing of table.
...
- implemented numpy-like `allclose` and `isclose`
2021-03-31 18:30:07 +00:00
Martin Diehl
be9e00347b
cleaning
...
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl
35f9861818
Fortran standard is 2018
...
will not work for older compilers
2020-12-18 15:19:04 +01:00
Martin Diehl
aad123f41b
Merge branch 'table-getitem' into development
2020-12-12 19:58:42 +01:00
Philip Eisenlohr
36e4042f0b
removed "where" method from Table class
2020-12-11 19:31:19 -05:00
Philip Eisenlohr
4877334986
added getitem and where functionality to Table
2020-12-02 19:25:54 -05:00
Martin Diehl
4d2bf37193
Merge branch 'lattice-structure-rename' into ShowGrainBoundaries
2020-11-29 20:53:58 +01:00
Martin Diehl
149fce0a7e
increase test coverage
2020-11-14 19:42:52 +01:00
Martin Diehl
76f07e4c1e
tmp_path is preferred over tmpdir
2020-09-29 19:25:50 +02:00
Martin Diehl
6ab88aad2b
default format for Table is ASCII
...
hence, renamed load_ASCII/save_ASCII to load/save
2020-09-20 20:45:06 +02:00
Philip Eisenlohr
96ad358f83
modified file reading/writing methods to load_X, save_X formalism
2020-09-15 01:14:05 -04:00
Martin Diehl
f6758ecc28
table class operates out of place
2020-09-14 07:04:01 +02:00
Philip Eisenlohr
a4785ba562
modified file writing of geom and table to a general to_file() that takes a "format=" argument
2020-09-03 10:53:16 -04:00
Martin Diehl
3f2e63977d
not needed anymore
2020-07-31 19:46:44 +02:00
Martin Diehl
72ea9a5cec
non-vectorized formulas can be implemented in a user function
2020-07-31 19:42:44 +02:00
Martin Diehl
a4dfd7fc74
missing tests
2020-05-16 17:23:05 +02:00
Martin Diehl
ee0d80ce2a
following python standard + polishing
2020-03-18 13:49:53 +01:00
Martin Diehl
45e3b8f7c6
no brackets for reshape required
2020-03-17 12:25:44 +01:00
Martin Diehl
6fed655500
fix for new style and test
2020-01-26 10:17:27 +01:00
Martin Diehl
7f92418fc4
shapes should also match
2020-01-26 10:01:00 +01:00
Martin Diehl
2cb3213e37
improvements to Table class
...
- string comparison should be '!=' not 'is not', latter compares
object, not value
- functions for common operations: append (vstack, growTable) and join
(hstack, addTable)
2019-12-22 22:21:32 +01:00
Martin Diehl
48c21045d7
centralized functionality for ang import
2019-12-22 14:57:57 +01:00
Martin Diehl
e142d00d02
test now sensible to wrong rename
2019-12-10 20:05:24 +01:00
Philip Eisenlohr
2648a67dcd
fixed sort_by to respect updated index (upon subsequent adding of new data)
2019-12-05 12:02:10 -05:00
Martin Diehl
1018b89296
nice to have..
2019-12-05 10:48:42 +01:00
Martin Diehl
f885748a58
variable was never used
2019-12-05 08:43:14 +01:00
Martin Diehl
469d638afb
making table class feature complete
2019-12-05 06:57:09 +01:00
Martin Diehl
ee8e3386f4
shorter but still descriptive names
2019-12-05 06:16:29 +01:00
Martin Diehl
e7a67262f8
clear enough
2019-12-05 06:00:49 +01:00
Martin Diehl
2172e92e7e
test exotic input files
2019-12-05 05:57:47 +01:00
Martin Diehl
07e9778798
one more test
2019-12-04 10:20:57 +01:00
Martin Diehl
3effea8e1d
also check operations that should NOT work
2019-12-03 17:03:03 +01:00
Martin Diehl
f5bbd3cf22
ensure functionality through unit testing
2019-12-03 16:39:54 +01:00