3.2.1.3. qupulse.hardware.awgs.tabor¶
Functions
|
This decorator assures that the AWG is in configuration mode while the decorated method runs. |
|
Asserts the channel pair is selected when the wrapped function is called |
Classes
|
|
|
|
|
Create new instance of TaborProgramMemory(waveform_to_segment, program) |
Exceptions
|
If this exception is raised the attached tabor device is in an undefined state. |
- class TaborAWGRepresentation(instr_addr=None, paranoia_level=1, external_trigger=False, reset=False, mirror_addresses=())[source]¶
Bases:
object- Parameters:
instr_addr – Instrument address that is forwarded to tabor_control
paranoia_level – Paranoia level that is forwarded to tabor_control
external_trigger – Not supported yet
reset
mirror_addresses
- property channel_pair_AB: TaborChannelPair¶
- property channel_pair_CD: TaborChannelPair¶
- get_status_table() Dict[str, str | float | int][source]¶
Send a lot of queries to the AWG about its settings. A good way to visualize is using pandas.DataFrame
- Returns:
An ordered dictionary with the results
- property main_instrument: tabor_control.device.TEWXAwg¶
- class TaborChannelPair(tabor_device: TaborAWGRepresentation, channels: Tuple[int, int], identifier: str)[source]¶
Bases:
AWG- CONFIG_MODE_PARANOIA_LEVEL = None¶
- arm(name: str) None[source]¶
Load the program ‘name’ and arm the device for running it. If name is None the awg will “dearm” its current program.
- property device: TaborAWGRepresentation¶
- property logger¶
- property programs: Set[str]¶
The set of program names that can currently be executed on the hardware AWG.
- remove(name: str) None[source]¶
Remove a program from the AWG.
Also discards all waveforms referenced only by the program identified by name.
- Parameters:
name (str) – The name of the program to remove.
- set_marker_state(marker: int, active: bool) None[source]¶
Sets the marker state of this channel pair. According to the manual one cannot turn them off/on separately.
- set_volatile_parameters(program_name: str, parameters: Mapping[str, Number]) None[source]¶
Set the values of parameters which were marked as volatile on program creation. Sets volatile parameters in program memory and device’s (adv.) sequence tables if program is current program.
If set_volatile_parameters needs to run faster, set CONFIG_MODE_PARANOIA_LEVEL to 0 which causes the device to enter the configuration mode with paranoia level 0 (Note: paranoia level 0 does not work for the simulator) and set device._is_coupled.
- Parameters:
program_name – Name of program which should be changed.
parameters – Names of volatile parameters and respective values to which they should be set.
- upload(name: str, program: Loop, channels: Tuple[str | int | None, str | int | None], markers: Tuple[str | int | None, str | int | None], voltage_transformation: Tuple[Callable, Callable], force: bool = False) None[source]¶
Upload a program to the AWG.
The policy is to prefer amending the unknown waveforms to overwriting old ones.