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:
2025-08-12 11:23:35 +02:00
parent 904db04447
commit 7e5b47d45f
3 changed files with 24 additions and 7 deletions

View File

@@ -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'