nqrduck_broadband.controller#

This module contains the BroadbandController class.

Classes

BroadbandController(*args, **kwargs)

Controller class for the Broadband module.

class nqrduck_broadband.controller.BroadbandController(*args: Any, **kwargs: Any)#

Controller class for the Broadband module.

Signals:

start_broadband_measurement: Signal to start a broadband measurement. set_averages_failure: Signal that the set averages command failed. set_frequency_step_failure: Signal that the set frequency step command failed.

change_frequency_step(value: str) None#

Changes the frequency step of the measurement.

change_start_frequency(value: str) None#

Changes the start frequency of the measurement.

change_stop_frequency(value: str) None#

Changes the stop frequency of the measurement.

delete_LUT() None#

This slot is called when the LUT is deleted.

load_measurement(file_name: str) None#

Loads a broadband measurement from a file.

Parameters:

file_name (str) – Name of the file.

on_broadband_measurement_added() None#

This slot is called when a single measurement is added to the broadband measurement.

It then checks if there are more frequencies to measure and if so, starts the next measurement. Furthermore it updates the plots.

process_signals(key: str, value: object) None#

Process incoming signal from the nqrduck module.

Parameters:
  • key (str) – Name of the signal.

  • value (object) – Value of the signal.

received_LUT(LUT: Measurement) None#

This slot is called when the LUT data is received from the nqrduck module.

Parameters:

LUT (Measurement) – LUT data.

save_measurement(file_name: str) None#

Saves the current broadband measurement to a file.

Parameters:

file_name (str) – Name of the file.

set_averages(value: str) None#

Emits the set averages signal to the nqrduck module.

Parameters:

value (str) – Number of averages.

set_frequency(value: str) None#

Emits the set frequency signal to the nqrduck module.

Parameters:

value (str) – Frequency in MHz.

start_broadband_measurement() None#

Starts a broadband measurement.

start_single_measurement(frequency: float) None#

Starts a single measurement.

Parameters:

frequency (float) – Frequency in MHz.