Commit Graph

345 Commits

Author SHA1 Message Date
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
c53a3c4d84 unused var 2024-07-29 00:33:43 -07:00
5dd9994e76 improve some type annotations 2024-07-29 00:32:52 -07:00
1021768e30 simplify indentation 2024-07-29 00:32:20 -07:00
95e923d7b7 improve error handling 2024-07-29 00:32:03 -07:00
3f8802cb5f use strict zip 2024-07-29 00:31:44 -07:00
43bb0ba379 use generators where applicable 2024-07-29 00:31:16 -07:00
e19968bb9f linter-related test updates 2024-07-29 00:30:00 -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
ca94ad1b25 use path.open() 2024-07-29 00:23:08 -07:00
10f26c12b4 add ruff and mypy configs 2024-07-29 00:22:54 -07:00
ee51c7db49 improve type annotations 2024-07-28 23:23:47 -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
6f3ae5a64f explicitly re-export some names 2024-07-28 23:22:21 -07:00
99c22d572f bump numpy version 2024-07-28 23:21:59 -07:00
2f00baf0c6 fixup cylindrical wg example 2024-07-18 19:31:17 -07:00
2712d96f2a add notes on references 2024-07-18 19:31:17 -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
639f88bba8 add sensitivity calculation 2024-07-18 19:31:17 -07:00
ccfd4fbf04 use parentheses instead of backslash 2024-07-15 16:32:48 -07:00
77715da8b4 Use raw strings to avoid double backslashes 2024-07-15 16:32:31 -07:00
2d48858973 drop duplicate import 2024-07-15 16:10:51 -07:00
8c49710861 black bg for tex svgs 2024-07-14 22:09:16 -07:00
22565328ab use parens in place of backslashes 2024-07-14 22:08:52 -07:00
4c8a07bf20 Use raw strings to eliminate repeated backslashes 2024-07-14 22:08:30 -07:00
b47dec0317 bump version to v0.9 2024-03-30 18:08:51 -07:00
52d297bb31 add links to pypi and github 2024-03-30 18:07:50 -07:00
7b4b2058bb bump minmum python to 3.11 2024-03-30 18:07:30 -07:00
950a5831ec should also use dxbg 2024-03-18 10:34:21 -07:00
91d89550a1 comment 2024-03-18 10:34:09 -07:00
1b3d322fc6 some work on FDFD derivation 2024-01-18 00:54:03 -08:00
107c0fcd7e set fdfd sources in a way that catches incorrect j.e calculation 2024-01-17 23:30:08 -08:00
c3b6fd94a6 should be e dot j.conj() 2024-01-17 22:20:59 -08:00
5c3b3532a9 M should be same timestep as E 2024-01-16 23:17:05 -08:00
24da3f673b eigness is positive 2023-05-23 13:07:26 -07:00
b1a5cdcda9 bloch example updates 2023-05-23 12:56:48 -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
7009e505e7 fix accidental creation of array(None) 2023-05-22 10:52:55 -07:00