Commit 7006afb
Improve
* Skip instead of raise in GPCCA.optimize when splitting eigenvalues, if more then one cluster number was supplied.
* Add missing properties. Improve property names, add missing attributes, sort attributes/properties alphabetically, fix docstrings of GPCCA.
* Warn/raise indicating splitting of complex conjugated eigenvalues instead of only conjugated eigenvalues.
* Add example notebook adapted to changed properties and complex conjugate splitting handling.
* get_sectionsf -> get_sections in _checks.
* Improve grammar and fix typos/formulas in utils/_docs.py.
* Set 'fail_on_warning: false' in .readthedocs.yml.
* Replace metastable by macrostate.
* Always show UserWarning.
* Change data type of p from np.complex64 to np.complex128.
* Add reference values for tests checking skipping because of eigenvalue splitting.
* Don't raise, if m=n, but exclude from search for optimal cluster number.
* Add and modify tests to check for correct splitting behavior and related warnings.
* Fix linting
* Ensure float64
* Add dtype tests
* Fix .pre-commit-config.yml
* Remove from example_matrix_mu=0 in tests
* [ci skip] Add environment.yml for binder
Co-authored-by: Michal Klein <michal.klein@protonmail.com>GPCCA.optimize(): Change complex conjugate splitting handling etc (#13)1 parent 073cffb commit 7006afb
14 files changed
Lines changed: 1102 additions & 247 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
This file was deleted.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments