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

Class DftFields

python/simulation.py:836–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834
835
836class DftFields(DftObj):
837 """ """
838
839 def __init__(self, func, args):
840 """Construct a `DftFields`."""
841 super().__init__(func, args)
842 self.nfreqs = len(args[4])
843 self.regions = [FieldsRegion(where=args[1], center=args[2], size=args[3])]
844 self.num_components = len(args[0])
845
846 @property
847 def chunks(self):
848 return self.swigobj_attr("chunks")
849
850
851Mode = namedtuple("Mode", ["freq", "decay", "Q", "amp", "err"])

Callers 1

add_dft_fieldsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected