Jan Petykiewicz
44465f1bc9
modernize type annotations
12 months ago
Jan Petykiewicz
7009e505e7
fix accidental creation of array(None)
12 months ago
Jan Petykiewicz
bec0137c99
update type hints and formatting
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 Petykiewicz
d3db3ca91e
fix formula not rendering
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 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
77e7781705
fix imports
4 years ago
Jan Petykiewicz
b7d4bbbd95
type annotation fixup
4 years ago
Jan Petykiewicz
6e3cc1c3bd
more doc updates
4 years ago
Jan Petykiewicz
eb586ea8b7
fix parital -> partial
4 years ago
Jan Petykiewicz
bae1155c59
update waveguide operators to new format
4 years ago
Jan Petykiewicz
5250501f3e
add waveguide eigenproblem derivation
4 years ago
Jan Petykiewicz
35bd3d36f4
remove old print
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