dragonfly.implementations.roach2_interface module¶
Some template vars¶
Members: Roach2Interface Roach2Provider Functions: Classes:
Interface for controlling the roach2
Summary¶
-
class
dragonfly.implementations.roach2_interface.Roach2Interface(roach2_hostname='led', channel_a_config=None, channel_b_config=None, channel_c_config=None, daq_name=None, do_adc_ogp_calibration=False, default_frequency=800000000.0, gain=7.0, fft_shift='1101010101010', **kwargs)¶ Bases:
dragonfly.implementations.roach2_interface.Roach2Provider-
adc_calibration_values¶
-
all_central_frequencies¶
-
block_channel(channel)¶
-
blocked_channels¶
-
calibrate_manually(gain1=None, gain2=None, gain3=None, gain4=None, offset1=None, offset2=None, offset3=None, offset4=None, phase1=None, phase2=None, phase3=None, phase4=None)¶ Calibrate the ADC cores manually
-
calibrate_with_2016_values()¶ Calibrates the ADC cores with values from a working calibration in 2016
-
calibration_status¶
-
do_adc_calibration()¶
-
gain¶
-
get_F_packets(dsoc_desc=None, channel='a', NPackets=10, filename=None)¶
-
get_T_packets(channel='a', NPackets=1, filename=None)¶
-
get_central_frequency(channel)¶
-
get_fft_shift_vector(tag)¶
-
get_packets(channel='a', NPackets=1, filename=None)¶
-
get_raw_adc_data(NSnaps=1, filename=None)¶
-
is_running¶
-
roach2_clock¶
-
set_central_frequency(channel, cf)¶
-
set_fft_shift_vector(tag, fft_shift)¶ Method to set the fft_shift. See set_fft_shift in r2daq for more details.
-
set_gain(channel, gain)¶ Method to set the gain of a channel. The gain is applied after the first down conversion step.
-
unblock_channel(channel)¶
-
-
class
dragonfly.implementations.roach2_interface.Roach2Provider(**kwargs)¶ Bases:
dragonfly.implementations.r2daq.ArtooDaq,dripline.core.provider.ProviderA DAQProvider for interacting with the Roach
End of modules condition
Data:
End of data condition