Commit graph

59 commits

Author SHA1 Message Date
Forgejo Actions
a1568a6f16 ignore some lint 2026-04-21 21:20:34 -07:00
Forgejo Actions
c6c9159b13 type hints and lint 2026-04-21 21:13:34 -07:00
e6756742be [bloch] add some more tests and clean up solves 2026-04-18 23:55:40 -07:00
07b16ad86a [bloch] fixup some vectorization and add tests 2026-04-18 23:55:40 -07:00
jan
b486fa325b Rework field types, use sparse arrays instead of matrices, rework eme arg naming, improve type annotations and linter cleanup 2025-12-10 02:14:20 -08:00
jan
b7ad5dea2b [fdfd.bloch] drop unnecessary noqas 2025-12-10 02:05:24 -08:00
cd5cc9eb83 [fdfd.eme] Add basic (WIP) eignmode expansion functionality 2025-01-28 22:07:19 -08:00
36431cd0e4 enable numpy 2.0 and recent scipy 2024-07-29 02:25:16 -07:00
739e96df3d avoid a copy 2024-07-29 00:34:17 -07:00
63e7cb949f explicitly specify closed variables 2024-07-29 00:33:58 -07:00
95e923d7b7 improve error handling 2024-07-29 00:32:03 -07:00
43bb0ba379 use generators where applicable 2024-07-29 00:31:16 -07:00
43f038d761 modernize type annotations 2024-07-29 00:29:39 -07:00
d5fca741d1 remove type:ignore from scipy imports (done at pyproject.toml level) 2024-07-29 00:27:59 -07:00
36bea6a593 drop unused import 2024-07-28 23:23:21 -07:00
b16b35d84a use new numpy.random.Generator approach 2024-07-28 23:23:11 -07:00
dc3e733e7f flake8 fixes 2024-07-18 19:31:17 -07:00
95e3f71b40 use f-strings in place of .format() 2024-07-18 19:31:17 -07:00
24da3f673b eigness is positive 2023-05-23 13:07:26 -07:00
d8ec46674d sqrtm increases precision, so cast back to double 2023-05-23 12:56:38 -07:00
be620f7137 comment updates 2023-05-23 12:54:18 -07:00
2c16c3c9ab Fixup in-place operators 2023-05-23 12:54:07 -07:00
1ec9375359 loosen default tolerance 2023-05-23 12:52:25 -07:00
98c973743f use if False instead of commenting out code 2023-05-23 12:52:17 -07:00
2a9e482e44 Z is y0 transposed 2023-05-23 12:51:12 -07:00
01e7aae41e comment updates 2023-05-23 12:50:17 -07:00
c7e823b0b3 allow initial value 2023-05-23 12:49:55 -07:00
44465f1bc9 modernize type annotations 2023-05-22 10:53:13 -07:00
3bf56c16c1 More in-place ops
Z.copy() is needed since op is in-place now
2023-05-22 09:55:47 -07:00
5c7deedb70 do more in-place 2023-05-22 09:53:56 -07:00
fd1a83b5b9 cleaner way to ravel 2023-05-22 09:53:30 -07:00
7cf90fe0de use keepdims instead of readding dims 2023-05-22 09:52:52 -07:00
09aa9761c6 Use same variable names as in code 2022-11-27 12:36:53 -08:00
jan
697770ce97 improve top level bloch comment 2022-11-24 23:16:25 -08:00
jan
b7bd825bce make saving previous GtKG direction more obvious 2022-11-22 22:23:00 -08:00
jan
ff395277b0 add another comment about minmization 2022-11-22 22:21:51 -08:00
jan
dfbb845bee add some comments 2022-11-22 22:21:31 -08:00
a64afcbe4d Add more info to log message 2022-11-22 14:44:54 -08:00
03c15c8486 store ZtAZ instead of AZU
U is small (~number of modes)^2
2022-11-22 14:44:43 -08:00
bec0137c99 update type hints and formatting 2022-11-20 19:56:45 -08:00
68a9818388 use moveaxis instead of deprecated rollaxis 2022-11-20 19:55:51 -08:00
8f8c130c2f use previous result as next guess 2022-11-14 12:39:41 -08:00
4a9198ade7 allow setting initial guess 2022-11-14 12:39:29 -08:00
c7c71a3a82 add per-iteration callback 2022-11-14 12:20:50 -08:00
a82d8dfc7e pass k_bounds and k_guess instad of just k_min and k_max 2022-11-14 12:20:33 -08:00
86feb5461c don't use patient planner by default 2022-11-14 12:19:55 -08:00
640b4d1ef7 Make find-k also return eigenvalues 2022-10-04 17:27:58 -07:00
52df24ad98 Major typing updates
Split field types to differentiate between complex and purely-real

Fix lots of numpy-related stuff
2022-10-04 17:17:44 -07:00
ad1ec6acfb Back off on FFTW args
multithreading in particular seems pretty detrimental
2022-10-04 14:35:30 -07:00
ec9a6edc85 be explicit about stack axis 2022-10-04 14:33:36 -07:00