MCPcopy Create free account
hub / github.com/NanoComp/meep / get_efields

Method get_efields

python/tests/test_mpb.py:1657–1658  ·  view source on GitHub ↗
(ms, band)

Source from the content-addressed store, hash-verified

1655 efields = []
1656
1657 def get_efields(ms, band):
1658 efields.append(ms.get_efield(8))
1659
1660 k = mp.Vector3(1 / -3, 1 / 3)
1661 ms.run_tm(mpb.output_at_kpoint(k, mpb.fix_efield_phase, get_efields))

Callers

nothing calls this directly

Calls 1

get_efieldMethod · 0.45

Tested by

no test coverage detected