Skip to content
Snippets Groups Projects
Commit 111c672d authored by Sander Snoo's avatar Sander Snoo
Browse files

Removed segment_pulse.add_ramp because it caused serious errors in sequences

parent 57ba49a9
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,8 @@ class segment_pulse(segment_base):
amplitude : total hight of the ramp, starting from the base point
keep_amplitude : when pulse is done, keep reached amplitude for time infinity
'''
print('Warning: add_ramp is deprecated. Use add_ramp_ss')
return self._add_ramp(start, stop, 0, amplitude, keep_amplitude)
raise Exception('add_ramp is deprecated because it caused serious mistakes in pulse sequences !!! '
'Use add_ramp_ss.')
@loop_controller
def add_ramp_ss(self, start, stop, start_amplitude, stop_amplitude, keep_amplitude=False):
......
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