Jan Petykiewicz
950a5831ec
should also use dxbg
2 months ago
Jan Petykiewicz
44465f1bc9
modernize type annotations
1 year 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
faecc79179
typing and formatting updates
2 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
b7d4bbbd95
type annotation fixup
4 years ago
Jan Petykiewicz
7d8901539c
Use big Omega
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
6f2faca7dc
Ignore size-1 axes when shifting
5 years ago
Jan Petykiewicz
487bdd61ec
Fixup poynting operators for new approach
5 years ago
jan
a1a7aa5511
Alternate approach to poynting matrices
5 years ago
Jan Petykiewicz
8eac9df76e
in progress
5 years ago
Jan Petykiewicz
41bec05d4e
Remove unwanted return
5 years ago
Jan Petykiewicz
0503e9d6ef
Fix shift_with_mirror() for C-ordered arrays
5 years ago
Jan Petykiewicz
b466ed02ea
Add e_boundary_source
5 years ago
Jan Petykiewicz
ccdb423ba2
add e_tfsf_source
5 years ago
Jan Petykiewicz
5951f2bdb1
various fixes and improvements
5 years ago
Jan Petykiewicz
f61bcf3dfa
rename to meanas and split fdtd/fdfd
5 years ago