Can now change the number of acquired points. This, with the ability to change the acquisition length, allows one to control dwell time indirectly
This commit is contained in:
@@ -84,7 +84,7 @@ def get_initial_block():
|
||||
|
||||
return block
|
||||
|
||||
def get_final_block(ringdown_time, preacquire_time, acquire_time, cooldown_time, acq_phase_cycle='0'):
|
||||
def get_final_block(ringdown_time, preacquire_time, acquire_time, cooldown_time, acq_phase_cycle='0', num_acq_points=1024):
|
||||
'''Generates the final block of data to create a sequence with.
|
||||
|
||||
Parameters
|
||||
@@ -100,7 +100,7 @@ def get_final_block(ringdown_time, preacquire_time, acquire_time, cooldown_time,
|
||||
a dictionary which can be updated with others to generate a larger, more complex sequence.
|
||||
'''
|
||||
block = se.generate_default_sequence(['Ringdown', 'RX On', 'Acquisition', 'Finish', ''], [ringdown_time, preacquire_time, acquire_time, cooldown_time, '1u'])
|
||||
block = se.generate_default_sequence(['Ringdown', 'RX On', 'Acquisition', 'Finish', ''], [ringdown_time, preacquire_time, acquire_time, cooldown_time, '1u'])
|
||||
block['num_acq_points'] = num_acq_points
|
||||
|
||||
# ringdown
|
||||
block['columns']['Ringdown']['Rx_Blank']['value'] = '1'
|
||||
|
||||
Reference in New Issue
Block a user