Transient Buffer Device

This module implements the MCCS transient buffer device.

class MccsTransientBuffer(*args: Any, **kwargs: Any)[source]

An implementation of a transient buffer Tango device for MCCS.

class InitCommand(*args: Any, **kwargs: Any)[source]

A class for MccsTransientBuffer’s Init command.

The do() method below is called upon MccsTransientBuffer’s initialisation.

do(*args: Any, **kwargs: Any) tuple[ska_control_model.ResultCode, str][source]

Initialise the attributes and properties of the MccsTransientBuffer.

Parameters:
  • args – positional args to the component manager method

  • kwargs – keyword args to the component manager method

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

__init__(*args: Any, **kwargs: Any) None[source]

Initialise this device object.

Parameters:
  • args – positional args to the init

  • kwargs – keyword args to the init

create_component_manager() TransientBufferComponentManager[source]

Create and return a component manager for this device.

Returns:

a component manager for this device.

init_device() None[source]

Initialise the device.

This is overridden here to change the Tango serialisation model.

nStations() int[source]

Return the number of stations.

Returns:

the number of stations

resamplingBits() int[source]

Return the resampling bit depth.

Returns:

the resampling bit depth

stationId() int[source]

Return the station id.

Returns:

the station id

stationIds() list[str][source]

Return the station ids.

Returns:

the station ids

transientBufferJobId() int[source]

Return the transient buffer job id.

Returns:

the transient buffer job id

transientFrequencyWindow() list[float][source]

Return the transient frequency window.

Returns:

the transient frequency window

main(*args: str, **kwargs: str) int[source]

Entry point for module.

Parameters:
  • args – positional arguments

  • kwargs – named arguments

Returns:

exit code