Skip to content

Commit

Permalink
Add MOSS subsystem to XML
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Sep 11, 2024
1 parent a16574f commit 15a301c
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/news/DM-46263.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CSC for the Multi Beam Optical Seeing Sensor (MOSS)
78 changes: 78 additions & 0 deletions python/lsst/ts/xml/data/sal_interfaces/MOSS/MOSS_Commands.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://lsst-sal.tuc.noao.edu/schema/SALCommandSet.xsl"?>
<SALCommandSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://lsst-sal.tuc.noao.edu/schema/SALCommandSet.xsd">
<SALCommand>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_command_moveBeam</EFDB_Topic>
<Description>Move the beam by a relative angle.</Description>
<item>
<EFDB_Name>index</EFDB_Name>
<Description>Beam number</Description>
<IDL_Type>int</IDL_Type>
<Units>unitless</Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>tip</EFDB_Name>
<Description>Relative tip (azimuth) angle in degrees</Description>
<IDL_Type>float</IDL_Type>
<Units>degree</Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>tilt</EFDB_Name>
<Description>Relative tilt (elevation) angle in degrees</Description>
<IDL_Type>float</IDL_Type>
<Units>degree</Units>
<Count>1</Count>
</item>
</SALCommand>
<SALCommand>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_command_runPulsedBeam</EFDB_Topic>
<Description>Run the commanded pulse beam with the given settings.</Description>
<item>
<EFDB_Name>intensity</EFDB_Name>
<Description>Intensity of the beam. The same intensity applies to all the beams and is not callibrated to a known IS units.</Description>
<IDL_Type>float</IDL_Type>
<Units>unitless</Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>number</EFDB_Name>
<Description>Number of pulses to be emitted</Description>
<IDL_Type>int</IDL_Type>
<Units>unitless</Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>frequency</EFDB_Name>
<Description>Frequency of the beam (number of pulses per second)</Description>
<IDL_Type>float</IDL_Type>
<Units>hertz</Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>pulseLength</EFDB_Name>
<Description>Length of the pulses</Description>
<IDL_Type>float</IDL_Type>
<Units>millisecond</Units>
<Count>1</Count>
</item>
</SALCommand>
<SALCommand>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_command_stopPulsedBeam</EFDB_Topic>
<Description>Stop the commanded pulse beam.</Description>
</SALCommand>
<SALCommand>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_command_powerOff</EFDB_Topic>
<Description>Turn off the PDU of MOSS.</Description>
</SALCommand>
<SALCommand>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_command_powerOn</EFDB_Topic>
<Description>Turn on the PDU of MOSS.</Description>
</SALCommand>
</SALCommandSet>
52 changes: 52 additions & 0 deletions python/lsst/ts/xml/data/sal_interfaces/MOSS/MOSS_Events.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://lsst-sal.tuc.noao.edu/schema/SALEventSet.xsl"?>
<SALEventSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://lsst-sal.tuc.noao.edu/schema/SALEventSet.xsd">
<SALEvent>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_logevent_beamIntensity</EFDB_Topic>
<Description>Report the intensity of the beam</Description>
<item>
<EFDB_Name>intensity</EFDB_Name>
<Description>Intensity of the beam. The same intensity applies to all the beams and is not calibrated to a known IS units.</Description>
<IDL_Type>int</IDL_Type>
<Units>unitless</Units>
<Count>1</Count>
</item>
</SALEvent>
<SALEvent>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_logevent_pulseLength</EFDB_Topic>
<Description>Report the length of the pulse</Description>
<item>
<EFDB_Name>pulseLength</EFDB_Name>
<Description>Length of the pulse in seconds</Description>
<IDL_Type>float</IDL_Type>
<Units>millisecond</Units>
<Count>1</Count>
</item>
</SALEvent>
<SALEvent>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_logevent_pulseFrequency</EFDB_Topic>
<Description>Report the frequency of the pulse</Description>
<item>
<EFDB_Name>frequency</EFDB_Name>
<Description>Frequency of the pulse (number of pulses per second)</Description>
<IDL_Type>float</IDL_Type>
<Units>hertz</Units>
<Count>1</Count>
</item>
</SALEvent>
<SALEvent>
<Subsystem>MOSS</Subsystem>
<EFDB_Topic>MOSS_logevent_beamState</EFDB_Topic>
<Description>Report the state of the beam</Description>
<item>
<EFDB_Name>state</EFDB_Name>
<Description>Frequency of the pulse (number of pulses per second)</Description>
<IDL_Type>long</IDL_Type>
<Units>unitless</Units>
<Count>1</Count>
</item>
</SALEvent>
</SALEventSet>
18 changes: 18 additions & 0 deletions python/lsst/ts/xml/data/sal_interfaces/SALSubsystems.xml
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,24 @@
<Simulator>Internal to CSC</Simulator>
<Configuration>https://github.com/lsst-ts/ts_config_mttcs</Configuration>
</SALSubsystem>
<SALSubsystem>
<Name>MOSS</Name>
<Description>The CSC for the Multi Beam Optical Seeing Sensor</Description>
<IndexEnumeration>no</IndexEnumeration>
<AddedGenerics>csc, configurable</AddedGenerics>
<ActiveDevelopers>Guillem Megias</ActiveDevelopers>
<Github>https://github.com/lsst-ts/ts_moss</Github>
<JenkinsTestResults>https://tssw-ci.lsst.org/job/LSST_Telescope-and-Site/job/ts_moss/</JenkinsTestResults>
<RubinObsContact>Sandrine Thomas</RubinObsContact>
<CSCDocs>https://ts-moss.lsst.io</CSCDocs>
<ProductOwner>Sandrine Thomas</ProductOwner>
<RelatedDocuments/>
<SoftwareLanguage>Python</SoftwareLanguage>
<RuntimeLanguages>IDL</RuntimeLanguages>
<VendorContact>Not Applicable</VendorContact>
<Simulator>Internal to CSC</Simulator>
<Configuration>https://github.com/lsst-ts/ts_config_mttcs</Configuration>
</SALSubsystem>
<SALSubsystem>
<Name>MTAOS</Name>
<Description>The CSC for the Main Telescope Active Optics System</Description>
Expand Down
1 change: 1 addition & 0 deletions python/lsst/ts/xml/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"LEDProjector",
"LinearStage",
"LOVE",
"MOSS",
"MTAOS",
"MTCamera",
"MTDome",
Expand Down

0 comments on commit 15a301c

Please sign in to comment.