|
67 | 67 | return |
68 | 68 | end |
69 | 69 | end |
70 | | - setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'phase_target', single(newValue)); |
| 70 | + setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'phase_target', newValue); |
71 | 71 | end |
72 | 72 |
|
73 | 73 |
|
|
78 | 78 | function obj = set.phase_plusminus(obj, phase_plusminus) |
79 | 79 | %set.phase_plusminus Set phase tolerance |
80 | 80 | % A tolerance of pi ignores the phase in generation of events |
81 | | - setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'phase_plusminus', single(phase_plusminus)); |
| 81 | + setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'phase_plusminus', phase_plusminus); |
82 | 82 | end |
83 | 83 |
|
84 | 84 |
|
|
89 | 89 | function obj = set.amplitude_min(obj, amplitude_min) |
90 | 90 | %METHOD1 Summary of this method goes here |
91 | 91 | % Detailed explanation goes here |
92 | | - setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'amplitude_min', single(amplitude_min)); |
| 92 | + setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'amplitude_min', amplitude_min); |
93 | 93 | end |
94 | 94 |
|
95 | 95 |
|
|
98 | 98 | end |
99 | 99 |
|
100 | 100 | function obj = set.amplitude_max(obj, amplitude_max) |
101 | | - setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'amplitude_max', single(amplitude_max)); |
| 101 | + setparam(obj.targetObj, [obj.appName,'/EVD/' obj.name], 'amplitude_max', amplitude_max); |
102 | 102 | end |
103 | 103 |
|
104 | 104 |
|
|
120 | 120 | if numel(coeffs) < numel(obj.bpf_fir_coeffs) |
121 | 121 | coeffs(numel(obj.bpf_fir_coeffs)) = 0; % fill with zeros |
122 | 122 | end |
123 | | - setparam(obj.targetObj, [obj.appName,'/OSC/' obj.name], 'bpf_fir_coeffs', single(coeffs)); |
| 123 | + setparam(obj.targetObj, [obj.appName,'/OSC/' obj.name], 'bpf_fir_coeffs', coeffs); |
124 | 124 | end |
125 | 125 |
|
126 | 126 | function offset_samples = get.offset_samples(obj) |
|
0 commit comments