[fdfd.eme] Add semi-analytic taper approximation
This commit is contained in:
parent
bf99f35f9b
commit
7e6363ea04
6 changed files with 541 additions and 1 deletions
|
|
@ -45,3 +45,11 @@ def test_eme_bend_example_smoke_runs(tmp_path: Path) -> None:
|
|||
assert result.returncode == 0, result.stdout + result.stderr
|
||||
assert 'straight effective indices:' in result.stdout
|
||||
assert 'cascaded bend through power' in result.stdout
|
||||
|
||||
|
||||
def test_eme_taper_cmt_example_smoke_runs(tmp_path: Path) -> None:
|
||||
result = _run_example('eme_taper_cmt.py', tmp_path)
|
||||
|
||||
assert result.returncode == 0, result.stdout + result.stderr
|
||||
assert 'sampled taper effective indices:' in result.stdout
|
||||
assert 'taper CMT transmission' in result.stdout
|
||||
|
|
|
|||
Loading…
Reference in a new issue