Skip to content
Snippets Groups Projects
Commit 20b38c29 authored by Christopher Wipf's avatar Christopher Wipf
Browse files

Merge branch '94-incorrect-results-with-calibrations-in-sub-budgets' into 'master'

Resolve "Incorrect results with calibrations in sub-budgets"

Closes #94

See merge request !131
parents 638bdfd5 7dc75f96
No related branches found
No related tags found
1 merge request!131Resolve "Incorrect results with calibrations in sub-budgets"
Pipeline #209727 passed
......@@ -521,6 +521,8 @@ class Budget(Noise):
"""
if _precomp is None:
_precomp = dict()
# must copy first if using mul-in-place or we clobber other cals
calibration = np.ones_like(self.freq) * calibration
for cal in self._noise_cals[name]:
if _cals:
calibration *= _cals[cal]
......
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