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

Method output_band_range_data

python/solver.py:519–526  ·  view source on GitHub ↗
(self, br_data)

Source from the content-addressed store, hash-verified

517 return update_brd(brd, freqs, [])
518
519 def output_band_range_data(self, br_data):
520 if verbosity.mpb > 0:
521 fmt = "Band {} range: {} at {} to {} at {}"
522 for tup, band in zip(br_data, range(1, len(br_data) + 1)):
523 min_band, max_band = tup
524 min_freq, min_kpoint = min_band
525 max_freq, max_kpoint = max_band
526 print(fmt.format(band, min_freq, min_kpoint, max_freq, max_kpoint))
527
528 # Output any gaps in the given band ranges, and return a list of the gaps as
529 # a list of (percent, freq-min, freq-max) tuples.

Callers 1

run_parityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected