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

Function display_run_data

python/simulation.py:5550–5556  ·  view source on GitHub ↗
(sim, data_name, data)

Source from the content-addressed store, hash-verified

5548
5549
5550def display_run_data(sim, data_name, data):
5551 if isinstance(data, Sequence):
5552 data_str = [data_to_str(f) for f in data]
5553 else:
5554 data_str = [data_to_str(data)]
5555 if verbosity.meep > 0:
5556 print("{}{}:, {}".format(data_name, sim.run_index, ", ".join(data_str)))
5557
5558
5559def convert_h5(rm_h5, convert_cmd, *step_funcs):

Callers 2

_analyze_harminvMethod · 0.85
display_csvFunction · 0.85

Calls 1

data_to_strFunction · 0.85

Tested by

no test coverage detected