neclib.devices.attenuator.attenuator_base#

Aliases#

DeviceBase

None

class NetworkAttenuator[source]#

Bases: DeviceBase

Return type:

DeviceBase

abstract set_loss(dB, id)[source]#
Parameters:
  • dB (int) –

  • id (str) –

abstract get_loss(id)[source]#
Parameters:

id (str) –

Return type:

Quantity

class CurrentAttenuator[source]#

Bases: DeviceBase

Return type:

DeviceBase

abstract get_outputrange(ch)[source]#
Parameters:

ch (int) –

Return type:

dict

abstract set_outputrange(id, outputrange)[source]#
Parameters:
  • id (int) –

  • outputrange (str) –

abstract set_current(id, mA)[source]#
Parameters:
  • id (str) –

  • mA (float) –

abstract apply_current()[source]#
abstract finalize()[source]#