M2j_module


class spirack.M2j_module(spi_rack, module, remote=False)

M2j module interface class. This class does the low level interfacing with the M2j amplifier module. It requires a SPI Rack object and module number at initialization.

Allows the user to get the RF level before the last amplifier and see if the amplifiers are clipping. The user can also set the amplification of the module by changing a variable attenuator inside the unit.

At initialization the attenuation gets reset.

Parameters:

  • spi_rack (SPI_rack) - SPI_rack class object via which the communication runs
  • module (int) - module number set on the harware
  • remote (bool) - enable/disable remote control, defaults to false

Methods

enable_remote(enable)

rf_clipped()

clear_rf_clip()

get_level()

set_gain(level)

Attributes

Attribute Info
module the module number set by the user (must coincide with hardware)
remote true if remote control is enabled