Commit Graph

41 Commits (24da3f673b12ebad30895374bbd71c04f472eb9f)

Author SHA1 Message Date
Jan Petykiewicz 24da3f673b eigness is positive 1 year ago
Jan Petykiewicz d8ec46674d sqrtm increases precision, so cast back to double 1 year ago
Jan Petykiewicz be620f7137 comment updates 1 year ago
Jan Petykiewicz 2c16c3c9ab Fixup in-place operators 1 year ago
Jan Petykiewicz 1ec9375359 loosen default tolerance 1 year ago
Jan Petykiewicz 98c973743f use `if False` instead of commenting out code 1 year ago
Jan Petykiewicz 2a9e482e44 Z is y0 transposed 1 year ago
Jan Petykiewicz 01e7aae41e comment updates 1 year ago
Jan Petykiewicz c7e823b0b3 allow initial value 1 year ago
Jan Petykiewicz 44465f1bc9 modernize type annotations 1 year ago
Jan Petykiewicz 3bf56c16c1 More in-place ops
Z.copy() is needed since op is in-place now
1 year ago
Jan Petykiewicz 5c7deedb70 do more in-place 1 year ago
Jan Petykiewicz fd1a83b5b9 cleaner way to ravel 1 year ago
Jan Petykiewicz 7cf90fe0de use keepdims instead of readding dims 1 year ago
Jan Petykiewicz 09aa9761c6 Use same variable names as in code 1 year ago
jan 697770ce97 improve top level bloch comment 2 years ago
jan b7bd825bce make saving previous GtKG direction more obvious 2 years ago
jan ff395277b0 add another comment about minmization 2 years ago
jan dfbb845bee add some comments 2 years ago
Jan Petykiewicz a64afcbe4d Add more info to log message 2 years ago
Jan Petykiewicz 03c15c8486 store ZtAZ instead of AZU
U is small (~number of modes)^2
2 years ago
Jan Petykiewicz bec0137c99 update type hints and formatting 2 years ago
Jan Petykiewicz 68a9818388 use moveaxis instead of deprecated rollaxis 2 years ago
Jan Petykiewicz 8f8c130c2f use previous result as next guess 2 years ago
Jan Petykiewicz 4a9198ade7 allow setting initial guess 2 years ago
Jan Petykiewicz c7c71a3a82 add per-iteration callback 2 years ago
Jan Petykiewicz a82d8dfc7e pass k_bounds and k_guess instad of just k_min and k_max 2 years ago
Jan Petykiewicz 86feb5461c don't use patient planner by default 2 years ago
Jan Petykiewicz 640b4d1ef7 Make find-k also return eigenvalues 2 years ago
Jan Petykiewicz 52df24ad98 Major typing updates
Split field types to differentiate between complex and purely-real

Fix lots of numpy-related stuff
2 years ago
Jan Petykiewicz ad1ec6acfb Back off on FFTW args
multithreading in particular seems pretty detrimental
2 years ago
Jan Petykiewicz ec9a6edc85 be explicit about stack axis 2 years ago
Jan Petykiewicz faecc79179 typing and formatting updates 2 years ago
Jan Petykiewicz d42a625e5f typing updates 2 years ago
Jan Petykiewicz bc428f5e8e add more type hints 4 years ago
Jan Petykiewicz d13a3796a9 style and type fixes (per mypy and flake8) 4 years ago
Jan Petykiewicz a312a3085c hmn_2_exyz should return an ndarray 4 years ago
Jan Petykiewicz f69b8c9f11 Change comments to new format 4 years ago
Jan Petykiewicz a956323b94 move stuff under fdmath 5 years ago
Jan Petykiewicz d6e7e3dee1 Big documentation and structure updates
- Split math into fdmath package
- Rename waveguide into _2d _3d and _cyl variants
- pdoc-based documentation
5 years ago
Jan Petykiewicz f61bcf3dfa rename to meanas and split fdtd/fdfd 5 years ago