nqrduck_spectrometer.base_spectrometer_controller#

Base class for all spectrometer controllers.

Classes

BaseSpectrometerController(*args, **kwargs)

The base class for all spectrometer controllers.

class nqrduck_spectrometer.base_spectrometer_controller.BaseSpectrometerController(*args: Any, **kwargs: Any)#

The base class for all spectrometer controllers.

load_settings(path: str) None#

Loads the settings of the spectrometer.

on_loading()#

Called when the module is loading.

save_settings(path: str) None#

Saves the settings of the spectrometer.

set_averages(value)#

Sets the number of averages.

set_frequency(value)#

Sets the frequency of the spectrometer.

start_measurement()#

Starts the measurement.

This method should be called when the measurement is started.