3.4.1.2. qupulse.hardware.awgs.tabor

class qupulse.hardware.awgs.tabor.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 teawg

  • paranoia_level – Paranoia level that is forwarded to teawg

  • external_trigger – Not supported yet

  • reset

  • mirror_addresses

__init__(instr_addr=None, paranoia_level=1, external_trigger=False, reset=False, mirror_addresses=())[source]
Parameters
  • instr_addr – Instrument address that is forwarded to teawg

  • paranoia_level – Paranoia level that is forwarded to teawg

  • external_trigger – Not supported yet

  • reset

  • mirror_addresses

abort()[source]
Return type

None

property all_devices
Return type

Sequence[TEWXAwg]

amplitude(channel)[source]
Return type

float

property channel_pair_AB
Return type

TaborChannelPair

property channel_pair_CD
Return type

TaborChannelPair

property dev_properties
Return type

dict

download_adv_seq_table(seq_table, pref=':ASEQ:DATA', paranoia_level=None)[source]
download_segment_lengths(seg_len_list, pref=':SEGM:DATA', paranoia_level=None)[source]
download_sequencer_table(seq_table, pref=':SEQ:DATA', paranoia_level=None)[source]
enable()[source]
Return type

None

get_readable_device(simulator=True)[source]
Return type

TEWXAwg

get_status_table()[source]

Send a lot of queries to the AWG about its settings. A good way to visualize is using pandas.DataFrame

Return type

Dict[str, Union[str, float, int]]

Returns

An ordered dictionary with the results

initialize()[source]
Return type

None

is_coupled()[source]
Return type

bool

property is_open
Return type

bool

property main_instrument
Return type

TEWXAwg

property mirrored_instruments
Return type

Sequence[TEWXAwg]

offset(channel)[source]
Return type

float

property paranoia_level
Return type

int

reset()[source]
Return type

None

sample_rate(channel)[source]
Return type

int

select_channel(channel)[source]
Return type

None

select_marker(marker)[source]

Select marker 1 or 2 of the currently active channel pair.

Return type

None

send_binary_data(pref, bin_dat, paranoia_level=None)[source]
send_cmd(cmd_str, paranoia_level=None)[source]
send_query(query_str, query_mirrors=False)[source]
Return type

Any

trigger()[source]
Return type

None

class qupulse.hardware.awgs.tabor.TaborChannelPair(tabor_device, channels, identifier)[source]

Bases: qupulse.hardware.awgs.base.AWG

CONFIG_MODE_PARANOIA_LEVEL = None
arm(name)[source]

Implements arm().

Return type

None

change_armed_program(name)[source]
Return type

None

cleanup()[source]

Discard all segments after the last which is still referenced

Return type

None

clear()[source]

Delete all segments and clear memory

Return type

None

property device
Return type

TaborAWGRepresentation

free_program(name)[source]
Return type

TaborProgramMemory

property internal_paranoia_level
Return type

Optional[int]

property logger
property num_channels

Implements num_channels.

Return type

int

property num_markers

Implements num_markers.

Return type

int

property programs

The set of program names that can currently be executed on the hardware AWG.

Return type

Set[str]

read_advanced_sequencer_table()[source]
Return type

Tuple[ndarray, ndarray, ndarray]

read_complete_program()[source]
Return type

PlottableProgram

read_sequence_tables()[source]
Return type

List[Tuple[ndarray, ndarray, ndarray]]

read_waveforms()[source]
Return type

List[ndarray]

remove(name)[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.

Return type

None

run_current_program()[source]
Return type

None

property sample_rate

Implements sample_rate.

Return type

float

select()[source]
Return type

None

set_channel_state(channel, active)[source]
Return type

None

set_marker_state(marker, active)[source]

Sets the marker state of this channel pair. According to the manual one cannot turn them off/on separately.

Return type

None

set_program_advanced_sequence_table(name, new_advanced_sequence_table)[source]
set_program_sequence_table(name, new_sequence_table)[source]
set_volatile_parameters(program_name, parameters)[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 (str) – Name of program which should be changed.

  • parameters (Mapping[str, Number]) – Names of volatile parameters and respective values to which they should be set.

Return type

None

property total_capacity
Return type

int

upload(name, program, channels, markers, voltage_transformation, force=False)[source]

Upload a program to the AWG.

The policy is to prefer amending the unknown waveforms to overwriting old ones.

Return type

None