Skip to content
Snippets Groups Projects
Commit 30cc96d2 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

nb: add debug logging for calc

parent 0ec96711
No related branches found
No related tags found
No related merge requests found
......@@ -434,12 +434,14 @@ class Budget(Noise):
# calc all calibrations
c = {}
for name, cal in self._cal_objs.items():
logger.debug("calc {}".format(name))
c[name] = cal.calc()
# calc all noises
for name, noise in self._noise_objs.items():
cals = [c[cal] for cal in self._noise_cals[name]]
if calibrations:
cals += calibrations
logger.debug("calc {}".format(name))
d[name] = noise.calc_trace(
calibrations=cals,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment