Closed fr34q closed 5 years ago
measure_td will throw an exception if sample.mspec is not defined even if it is not used during execution (assignment at the beginning) https://github.com/qkitgroup/qkit/blob/8a1f8b74e9e65ed32361a2815eab0a32c24888ee/qkit/measure/timedomain/measure_td.py#L43
sample.mspec
Workaround: in sample object define sample.mspec = None
sample.mspec = None
Should be either directly used from sample object where necessary or catched with try/except
measure_td will throw an exception if
sample.mspec
is not defined even if it is not used during execution (assignment at the beginning) https://github.com/qkitgroup/qkit/blob/8a1f8b74e9e65ed32361a2815eab0a32c24888ee/qkit/measure/timedomain/measure_td.py#L43Workaround: in sample object define
sample.mspec = None
Should be either directly used from sample object where necessary or catched with try/except