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

Method get_efield_x

python/simulation.py:4731–4732  ·  view source on GitHub ↗
(self, snap=False)

Source from the content-addressed store, hash-verified

4729 return np.stack([x, y, z], axis=-1)
4730
4731 def get_efield_x(self, snap=False):
4732 return self.get_array(mp.Ex, cmplx=not self.fields.is_real, snap=snap)
4733
4734 def get_efield_y(self, snap=False):
4735 return self.get_array(mp.Ey, cmplx=not self.fields.is_real, snap=snap)

Callers 1

Calls 1

get_arrayMethod · 0.95

Tested by

no test coverage detected