SAOclient

class MonitorControl.BackEnds.ROACH1.SAOclient.SAOclient(name, inputs=None, output_names=None, hardware=None)

Bases: MonitorControl.BackEnds.Backend

SAO 32K-channel spectrometer client

This is a DSSServer attribute item equipment['Backend']

This backend consists of four ROACH boards, each running the same firmware. It takes in four IF class signals and outputs digital data (spectra) for each channel.

The details of this class depend on the SAO spectrometer firmware in the ROACH processors.

This is a client class which uses the server controlling the spectrometer.

Attributes::

bandwidth: freqs: hardware: last_scan: logger: name: num_chan: parent: roachnames: scans: spectra_dict: titles:

Attributes Summary

input_names

num_chan

scan_finished

Methods Summary

get_last_spectrum()

serve last spectrum of the ones coming in

help([kind])

start_recording([parent, n_accums, …])

start a series of scans

stop_recording()

Attributes Documentation

input_names = {'sao64k-1': 'SAO1', 'sao64k-2': 'SAO2', 'sao64k-3': 'SAO3', 'sao64k-4': 'SAO4'}
num_chan = 32768
scan_finished

Methods Documentation

get_last_spectrum()

serve last spectrum of the ones coming in

help(kind=None)
start_recording(parent=None, n_accums=120, integration_time=5.0)

start a series of scans

Scans are retrieved with the callback cb_receiver.finished() invokes by the server. The data are put on cb_receiver.queue.

stop_recording()