Commit Graph

281 Commits

Author SHA1 Message Date
jan
4144e6dc37 update comment 2022-11-19 19:33:50 -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
edfd9a49c6 formatting 2022-10-06 13:45:04 -07:00
ad7c27eee3 bump version to v0.8 2022-10-04 17:29:13 -07:00
640b4d1ef7 Make find-k also return eigenvalues 2022-10-04 17:27:58 -07:00
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
2022-10-04 17:27:44 -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
31e6e0ec60 just check if file exists rather than trying to open 2022-10-04 17:09:14 -07:00
ad1ec6acfb Back off on FFTW args
multithreading in particular seems pretty detrimental
2022-10-04 14:35:30 -07:00
d4fcfa1e07 fix var name 2022-10-04 14:33:47 -07:00
ec9a6edc85 be explicit about stack axis 2022-10-04 14:33:36 -07:00
71d6ceec1e update to new fdtd approach 2022-10-04 14:32:54 -07:00
faecc79179 typing and formatting updates 2022-10-04 14:32:40 -07:00
d42a625e5f typing updates 2022-10-04 12:43:26 -07:00
eedcc7b919 update for new Gridlock 2022-10-04 12:29:11 -07:00
831c39246a drop pathlib prefix 2022-10-04 12:27:10 -07:00
6b0182c102 update README 2022-08-30 23:50:29 -07:00
e2ef6d1c8d move to hatch-based build 2022-08-30 23:49:39 -07:00
c0bbc1f46d fix fdtd pmls
integrate them into the update operations
2021-09-05 17:52:09 -07:00
01b4971388 Overlap is computed with the conjugate 2021-09-05 17:50:51 -07:00
d3db3ca91e fix formula not rendering 2021-09-05 17:50:34 -07:00
c06dd03a90 force remove in case the dir doesn't exist 2021-09-05 17:49:49 -07:00
cb0062f6f1 reduce matplotlib log spam 2021-09-05 17:49:08 -07:00
47e2cb2efc vec/unvec live in fdmath 2021-07-11 17:33:15 -07:00
81cd3d7d85 add html_helpers.py to templates 2021-07-11 17:27:56 -07:00
8ac0d52cd1 Add some docs for energy calculations 2021-07-11 17:27:56 -07:00
8c8f9f6e69 factor out omega**2 terms 2021-07-11 17:27:56 -07:00
204afb8024 Return: -> Returns: 2021-07-11 17:27:56 -07:00
a6ae3da4b1 update email 2021-07-11 17:27:56 -07:00
39f9de2e55 strip whitespace from version string 2021-07-11 17:27:56 -07:00
jan
fcca9e3ae5 Fix waveguide eigenvalue derivation
Thanks to Rafael Diaz Fuentes and Paolo Pintus for catching and
correcting these!
2021-07-05 15:01:08 -07:00
jan
23490694ff improve doc generation and fix code links 2021-07-05 14:58:39 -07:00
jan
8faefff98d make vectorization docs point to the right functions 2021-07-05 14:58:14 -07:00
61c85fc654 remove old VERSION file from manifest 2021-01-09 01:07:31 -08:00
1a754dcbc9 clarify that rotation is a circular shift (rename to shift_circ) 2021-01-09 01:07:12 -08:00
fcd6fc7065 add py.typed to enable downstream typechecking 2020-11-03 01:15:58 -08:00
54bc14f923 bump version to v0.7 2020-11-03 01:13:23 -08:00
f4afb06210 avoid dependencies on package_data
__doc__ is handled poorly here; consider an alternate approach
2020-11-03 01:12:38 -08:00
db23cc1d6f style and typing fixes in tests 2020-10-17 17:48:58 -07:00
bc428f5e8e add more type hints 2020-10-16 21:46:04 -07:00
d13a3796a9 style and type fixes (per mypy and flake8) 2020-10-16 19:16:13 -07:00
0e04f5ca77 zero k=0 values 2020-06-11 19:29:25 -07:00
fa3f8db267 add .mypy_cache to gitignore 2020-06-11 19:28:37 -07:00
77e7781705 fix imports 2020-06-11 19:27:35 -07:00
d906514623 add missing return 2020-06-11 19:27:20 -07:00
a312a3085c hmn_2_exyz should return an ndarray 2020-06-11 19:26:51 -07:00