Skip to content

Commit

Permalink
Matlab: fix get_pulse_duratoin
Browse files Browse the repository at this point in the history
  • Loading branch information
terrorfisch committed Aug 27, 2018
1 parent b95a9ea commit aa6e0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MATLAB/+qc/get_pulse_duration.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% Return pulse length in s

kwargs = cell2namevalpairs(fieldnames(parameters), struct2cell(parameters));
pulse_length = pulse_template.duration.evaluate_numeric(pyargs(kwargs{:}))*1e-9;
pulse_length = py.getattr(pulse_template, 'duration').evaluate_numeric(pyargs(kwargs{:}))*1e-9;


function cellarr = cell2namevalpairs(field_names, values)
Expand Down

0 comments on commit aa6e0bc

Please sign in to comment.