Developer Guide

The ATMonochromator CSC is implemented using ts_salobj.

The CSC controls the monochromator using a TCP/IP connection to a low-level hardware controller. The Monochromator TCP Protocol is specified here: https://confluence.lsstcorp.org/display/LTS/Monochromator+TCP+Protocol

API

The primary classes are:

lsst.ts.atmonochromator Package

Functions

run_atmonochromator()

Run ATMonochromator CSC.

Classes

MockController()

Mock Monochromator low-level controller that talks over TCP/IP.

Model(log)

A model class to represent the connection to the Monochromator.

ModelReply(value[, names, module, qualname, ...])

MonochromatorCsc([config_dir, ...])

Commandable SAL Component (MonochromatorCsc) for the Monochromator.

SimulationConfiguration()

Class Inheritance Diagram

Inheritance diagram of lsst.ts.atmonochromator.mock_controller.MockController, lsst.ts.atmonochromator.model.Model, lsst.ts.atmonochromator.model.ModelReply, lsst.ts.atmonochromator.monochromator_csc.MonochromatorCsc, lsst.ts.atmonochromator.mock_controller.SimulationConfiguration

Build and Test

This is a pure python package. There is nothing to build except the documentation.

make_idl_files.py ATMonochromator
setup -r .
pytest -v  # to run tests
package-docs clean; package-docs build  # to build the documentation

Contributing

lsst.ts.atmonochromator is developed at https://github.com/lsst-ts/ts_atmonochromator. Bug reports and feature requests use Jira with labels=ts_atmonochromator.