Commit Graph

103 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz 950a5831ec should also use dxbg 1 month ago
Jan Petykiewicz 91d89550a1 comment 1 month ago
Jan Petykiewicz 1b3d322fc6 some work on FDFD derivation 3 months ago
Jan Petykiewicz 24da3f673b eigness is positive 11 months ago
Jan Petykiewicz d8ec46674d sqrtm increases precision, so cast back to double 11 months ago
Jan Petykiewicz be620f7137 comment updates 11 months ago
Jan Petykiewicz 2c16c3c9ab Fixup in-place operators 11 months ago
Jan Petykiewicz 1ec9375359 loosen default tolerance 11 months ago
Jan Petykiewicz 98c973743f use `if False` instead of commenting out code 11 months ago
Jan Petykiewicz 2a9e482e44 Z is y0 transposed 11 months ago
Jan Petykiewicz 01e7aae41e comment updates 11 months ago
Jan Petykiewicz c7e823b0b3 allow initial value 11 months ago
Jan Petykiewicz 44465f1bc9 modernize type annotations 11 months ago
Jan Petykiewicz 7009e505e7 fix accidental creation of array(None) 11 months ago
Jan Petykiewicz 3bf56c16c1 More in-place ops
Z.copy() is needed since op is in-place now
11 months ago
Jan Petykiewicz 5c7deedb70 do more in-place 11 months ago
Jan Petykiewicz fd1a83b5b9 cleaner way to ravel 11 months ago
Jan Petykiewicz 7cf90fe0de use keepdims instead of readding dims 11 months ago
Jan Petykiewicz 09aa9761c6 Use same variable names as in code 1 year ago
jan 697770ce97 improve top level bloch comment 1 year ago
jan b7bd825bce make saving previous GtKG direction more obvious 1 year ago
jan ff395277b0 add another comment about minmization 1 year ago
jan dfbb845bee add some comments 1 year ago
Jan Petykiewicz a64afcbe4d Add more info to log message 1 year ago
Jan Petykiewicz 03c15c8486 store ZtAZ instead of AZU
U is small (~number of modes)^2
1 year ago
Jan Petykiewicz bec0137c99 update type hints and formatting 1 year ago
Jan Petykiewicz 68a9818388 use moveaxis instead of deprecated rollaxis 1 year ago
Jan Petykiewicz 8f8c130c2f use previous result as next guess 1 year ago
Jan Petykiewicz 4a9198ade7 allow setting initial guess 1 year ago
Jan Petykiewicz c7c71a3a82 add per-iteration callback 1 year ago
Jan Petykiewicz a82d8dfc7e pass k_bounds and k_guess instad of just k_min and k_max 1 year ago
Jan Petykiewicz 86feb5461c don't use patient planner by default 1 year ago
Jan Petykiewicz 640b4d1ef7 Make find-k also return eigenvalues 2 years ago
Jan Petykiewicz 4e240988c9 use "is None" to check for default args
numpy.any(numpy.equal(x, None)) is more general, because
`numpy.array(None) is not None`, but checking for that doesn't make much
sense if you're already type-checking
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 01b4971388 Overlap is computed with the conjugate 3 years ago
Jan Petykiewicz d3db3ca91e fix formula not rendering 3 years ago
Jan Petykiewicz 8c8f9f6e69 factor out omega**2 terms 3 years ago
Jan Petykiewicz 204afb8024 Return: -> Returns: 3 years ago
jan fcca9e3ae5 Fix waveguide eigenvalue derivation
Thanks to Rafael Diaz Fuentes and Paolo Pintus for catching and
correcting these!
3 years ago
jan 8faefff98d make vectorization docs point to the right functions 3 years ago
Jan Petykiewicz 1a754dcbc9 clarify that `rotation` is a circular shift (rename to `shift_circ`) 3 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 0e04f5ca77 zero k=0 values 4 years ago
Jan Petykiewicz 77e7781705 fix imports 4 years ago