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

Method get_dft_data

python/simulation.py:3080–3084  ·  view source on GitHub ↗
(self, dft_chunk)

Source from the content-addressed store, hash-verified

3078 self.fields.output_dft(dft_fields_swigobj, fname)
3079
3080 def get_dft_data(self, dft_chunk):
3081 n = mp._get_dft_data_size(dft_chunk)
3082 arr = np.zeros(n, np.complex128)
3083 mp._get_dft_data(dft_chunk, arr)
3084 return arr
3085
3086 def add_near2far(self, *args, **kwargs):
3087 """

Callers 3

get_near2far_dataMethod · 0.95
get_force_dataMethod · 0.95
get_flux_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected