atomiq.components.sinara.sampler¶
Classes¶
Sinara Sampler 8 Channel ADC |
|
Single ADC Channel of a Sinara Sampler |
Module Contents¶
- class atomiq.components.sinara.sampler.Sampler(sampler_device, default_gain=[0] * 8, *args, **kwargs)[source]¶
Bases:
atomiq.components.electronics.adc.ADCSinara Sampler 8 Channel ADC
This class represents the Sinara Sampler with all its 8 channels. It allows to sample all channels at once and to read out the result.
- Parameters:
sampler_device -- The ARTIQ device for the sampler from the device_db, e.g. @sampler0
default_gain (TList(TInt32)) -- List with 8 entries setting the default gain for the 8 channels at startup. (default [0, .. , 0])
- kernel_invariants¶
- _sampler_device¶
- default_gain = [0, 0, 0, 0, 0, 0, 0, 0]¶
- _prerun()[source]¶
Specify here what should be done for this component before the run starts. In contrast to the _build() method, the _prerun() routine is executed on the core device before the actual experiment starts.
- class atomiq.components.sinara.sampler.SamplerChannel(default_gain=0, *args, **kwargs)[source]¶
Bases:
atomiq.components.electronics.adc.ADCChannelSingle ADC Channel of a Sinara Sampler
This class represents a single channel of a Sinara Sampler as an
ADCChannel.- Parameters:
default_gain (artiq.language.types.TInt32) -- Default gain to set for the Sampler channel at startup. (default 0)