| 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. |