mahos.meas.qdyne.Qdyne#

class mahos.meas.qdyne.Qdyne(gconf: dict, name, context=None)#
__init__(gconf: dict, name, context=None)#

Pulse ODMR measurement with Qdyne protocol.

Default Worker (Pulser) implements Qdyne based on Pulse ODMR using a PG as timing source, and SGs as MW sources.

Parameters:
  • pulser.start_delay (float) – (sec.) delay time before starting PG output. (default: 0.0)

  • pulser.raw_events_dir (str) – (default: “”) The directory to load RawEvents file.

  • pulser.remove_raw_events (bool) – (default: True) Remove RawEvents file after loading it.

  • pulser.mw_modes (tuple[int]) – mw phase control modes for each channel. 0 is 4-phase control using IQ modulation at SG and a switch. 1 is 2-phase control using external 90-deg splitter and two switches. 2 is arbitral phase control using IQ modulation at SG (Analog output (AWG) is required for PG).

  • pulser.iq_amplitude (float) – (only for mw_mode 2) amplitude of analog IQ signal in V.

  • pulser.split_fraction (int) – (default: 4) fraction factor (F) to split the free period for MW phase modulation. the period (T) is split into (T // F, T - T // F) and MW phase is switched at T // F. Thus, larger F results in “quicker start” of the phase modulation (depending on hardware, but its response may be a bit slow).

  • pulser.pg_freq (float) – pulse generator frequency (has preset)

  • pulser.reduce_start_divisor (int) – (has preset) the divisor on start of reducing frequency reduce is done first by this value, and then repeated by 10.

  • pulser.minimum_block_length (int) – (has preset) minimum block length in generated blocks

  • pulser.block_base (int) – (has preset) block base granularity of pulse generator.

  • pulser.divide_block (bool) – (has preset) Default value of divide_block.

Methods

__init__(gconf, name[, context])

Pulse ODMR measurement with Qdyne protocol.

change_state(msg)

Change state to msg.state.

close_resources()

Close custom resources.

discard(msg)

Discard the data.

export_data(msg)

Export data.

get_param_dict(msg)

Get parameter dict.

get_param_dict_labels(msg)

Get parameter dict labels.

handle_req(msg)

Handle Request other than basic requests.

load_data(msg)

Load data.

main()

Main procedure that will be looped.

save_data(msg)

Save data.

validate(msg)

Validate the measurement params.

wait()

Wait until required resources are ready.

Attributes