Forgejo Actions
153536ee91
[numerics] fix modal scattering and Yee-grid updates
...
Integrate targeted complex mode bases, solve both interface incidences together, and cascade sampled taper S matrices. Add frozen-basis evaluation, explicit overlap measures, reproducible starts, shared 2D-to-3D conversion, PML controls, and lower-allocation derivatives.
Validation: 1629 tests passed, 584 skipped.
2026-10-18 23:07:47 -07:00
Forgejo Actions
061c3f2e90
[_normalized_fields] remove unused args
2026-04-22 21:09:59 -07:00
Forgejo Actions
a1568a6f16
ignore some lint
2026-04-21 21:20:34 -07:00
Forgejo Actions
c6c9159b13
type hints and lint
2026-04-21 21:13:34 -07:00
5e95d66a7e
[docs] expand API and derivation docs
2026-04-18 23:55:40 -07:00
d4f1008c5c
[fdfd.waveguide*] comment updates
2025-12-10 19:45:26 -08:00
b486fa325b
Rework field types, use sparse arrays instead of matrices, rework eme arg naming, improve type annotations and linter cleanup
2025-12-10 02:14:20 -08:00
83f4d87ad8
[fdfd.waveguide*] misc fixes
2025-01-28 19:54:48 -08:00
1987ee473a
improve type annotations
2025-01-28 19:54:13 -08:00
4afc6cf62e
cleanup latex
2025-01-14 22:34:52 -08:00
53d5812b4a
[waveguide_2d] Remove \gamma from docs in favor of just using \beta
2025-01-14 22:34:35 -08:00
651e255704
add derivation for exy2e()
2025-01-14 22:15:18 -08:00
155f30068f
add inner_product() and use it for energy calculation
2025-01-14 22:01:10 -08:00
7987dc796f
mode numbers may be any sequence
2025-01-14 22:00:21 -08:00
829007c672
Only keep the real part of the energy
2025-01-14 22:00:08 -08:00
b3c2fd391b
[waveguide_2d] Return modes sorted by wavenumber (descending)
2025-01-14 21:57:54 -08:00
c543868c0b
check for sign=0 case
2025-01-14 21:51:32 -08:00
47415a0beb
Return list-of-vectors from waveguide mode solve
2025-01-07 00:04:53 -08:00
e459b5e61f
clean up comments and some types
2025-01-07 00:04:01 -08:00
d5fca741d1
remove type:ignore from scipy imports (done at pyproject.toml level)
2024-07-29 00:27:59 -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
77715da8b4
Use raw strings to avoid double backslashes
2024-07-15 16:32:31 -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
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
bec0137c99
update type hints and formatting
2022-11-20 19:56:45 -08: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
faecc79179
typing and formatting updates
2022-10-04 14:32:40 -07:00
d3db3ca91e
fix formula not rendering
2021-09-05 17:50:34 -07:00
204afb8024
Return: -> Returns:
2021-07-11 17:27:56 -07:00
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
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
77e7781705
fix imports
2020-06-11 19:27:35 -07:00
b7d4bbbd95
type annotation fixup
2020-06-11 19:26:17 -07:00
6e3cc1c3bd
more doc updates
2020-02-19 18:42:06 -08:00
eb586ea8b7
fix parital -> partial
2020-02-08 17:43:51 -08:00
bae1155c59
update waveguide operators to new format
2020-01-13 23:24:20 -08:00
5250501f3e
add waveguide eigenproblem derivation
2020-01-13 01:53:24 -08:00
35bd3d36f4
remove old print
2020-01-04 18:20:09 -08:00
a956323b94
move stuff under fdmath
2019-11-27 22:59:52 -08:00
d6e7e3dee1
Big documentation and structure updates
...
- Split math into fdmath package
- Rename waveguide into _2d _3d and _cyl variants
- pdoc-based documentation
2019-11-24 23:47:31 -08:00