SKA CSP.LMC SubElement Base Classes

This project provides a limited set of base classes to be extended by each CSP.LMC SubElement class.

The scope of the CSP.LMC SubElement Base classes is to provide to a CSP.LMC Element a common set of TANGO methods and attributes to access its SubElements in an uniform way.

SKA CSP-LMC-SUBELEMENT Abstract Class

https://readthedocs.org/projects/ska-telescope-csp-lmc-subelement/badge/?version=latestDocumentation Status

Description

This project contains the CSP.LMC.SUBELEMENT prototype. It includes a single class:

  • the CspSubElementMaster device: based on the CspMaster class. The CspSubElementMaster represents a primary point of contact for CSP SubElement Monitor and Control. It implements CSP SubElement state and mode indicators and a limited set of housekeeping commands. It is intended to connect to the various subcomponent of SubElement. This can be accomplished directly or by means of a caching device, called Rack. Of course it is a device collector and can or cannot correspond to a physical rack.

Getting started

The project can be found in the SKA gitlab repository.

To get a local copy of the project:

git clone https://gitlab.com/ska-telescope/csp-lmc-subelement.git

Prerequisities

Repository organization

The CSP.LMC.SUBELEMENT repository is organized in a single code tree. The hierarchy contains:

  • cspse: contains the specific project TANGO Device Class files

  • pogo: contains the POGO files of the TANGO Device Classes of the project

  • docker: contains the docker, docker-compose and dsconfig configuration files as well as the Makefile to generate the docker image and run the tests.

  • tests: contains the test

Running tests

To run the internal test go to tests directory and execute:

make test

Known bugs

Still none

Troubleshooting

TBD

License

See the LICENSE file for details.

Public API documentation

CspSubElementMaster TANGO Class

CSP.LMC Sub-element Master

A base class for the Master of a SKA Sub-element.

cspse.lmc.subelement_master.main(args=None, **kwargs)[source]

Main function of the CspSubElementMaster module.

CspSubElementSubarray TANGO Class

CSP SubElement Subarray

CSP SubElementbsubarray functionality is modeled via a TANGO Device Class

cspse.lmc.subelement_subarray.main(args=None, **kwargs)[source]

Main function of the CspSubElementSubarray module.

Detailed Class Documentation

We report here the detailed descriptions of the component that form part of the project. This project includes few TANGO Device Classes: the CspSubElementMaster, the CspSubElementSubarray.