Module csw.ObserveEventNames

Classes

class ObserveEventNames
Expand source code
class ObserveEventNames:

    @staticmethod
    def _eventName(name: str) -> EventName:
        return EventName(f"ObserveEvent.{name}")

    # common
    ObserveStart: EventName = _eventName("ObserveStart")
    ObserveEnd: EventName = _eventName("ObserveEnd")
    ExposureStart: EventName = _eventName("ExposureStart")
    ExposureEnd: EventName = _eventName("ExposureEnd")
    ReadoutEnd: EventName = _eventName("ReadoutEnd")
    ReadoutFailed: EventName = _eventName("ReadoutFailed")
    DataWriteStart: EventName = _eventName("DataWriteStart")
    DataWriteEnd: EventName = _eventName("DataWriteEnd")
    ExposureAborted: EventName = _eventName("ExposureAborted")
    PrepareStart: EventName = _eventName("PrepareStart")

    # IRDetector specific
    IRDetectorExposureData: EventName = _eventName("IRDetectorExposureData")
    IRDetectorExposureState: EventName = _eventName("IRDetectorExposureState")

    # OpticalDetector specific
    OpticalDetectorExposureData: EventName = _eventName("OpticalDetectorExposureData")
    OpticalDetectorExposureState: EventName = _eventName("OpticalDetectorExposureState")

    # WFSDetector specific
    WfsDetectorExposureState: EventName = _eventName("WfsDetectorExposureState")
    PublishSuccess: EventName = _eventName("PublishSuccess")
    PublishFail: EventName = _eventName("PublishFail")

    # Sequencer specific
    PresetStart: EventName = _eventName("PresetStart")
    PresetEnd: EventName = _eventName("PresetEnd")
    GuidestarAcqStart: EventName = _eventName("GuidestarAcqStart")
    GuidestarAcqEnd: EventName = _eventName("GuidestarAcqEnd")
    ScitargetAcqStart: EventName = _eventName("ScitargetAcqStart")
    ScitargetAcqEnd: EventName = _eventName("ScitargetAcqEnd")
    ObservationStart: EventName = _eventName("ObservationStart")
    ObservationEnd: EventName = _eventName("ObservationEnd")
    ObservePaused: EventName = _eventName("ObservePaused")
    ObserveResumed: EventName = _eventName("ObserveResumed")
    DowntimeStart: EventName = _eventName("DowntimeStart")
    OffsetStart: EventName = _eventName("OffsetStart")
    OffsetEnd: EventName = _eventName("OffsetEnd")
    InputRequestStart: EventName = _eventName("InputRequestStart")
    InputRequestEnd: EventName = _eventName("InputRequestEnd")

    # DMS specific
    MetadataAvailable: EventName = _eventName("MetadataAvailable")
    ExposureAvailable: EventName = _eventName("ExposureAvailable")

Class variables

var DataWriteEndEventName

The type of the None singleton.

var DataWriteStartEventName

The type of the None singleton.

var DowntimeStartEventName

The type of the None singleton.

var ExposureAbortedEventName

The type of the None singleton.

var ExposureAvailableEventName

The type of the None singleton.

var ExposureEndEventName

The type of the None singleton.

var ExposureStartEventName

The type of the None singleton.

var GuidestarAcqEndEventName

The type of the None singleton.

var GuidestarAcqStartEventName

The type of the None singleton.

var IRDetectorExposureDataEventName

The type of the None singleton.

var IRDetectorExposureStateEventName

The type of the None singleton.

var InputRequestEndEventName

The type of the None singleton.

var InputRequestStartEventName

The type of the None singleton.

var MetadataAvailableEventName

The type of the None singleton.

var ObservationEndEventName

The type of the None singleton.

var ObservationStartEventName

The type of the None singleton.

var ObserveEndEventName

The type of the None singleton.

var ObservePausedEventName

The type of the None singleton.

var ObserveResumedEventName

The type of the None singleton.

var ObserveStartEventName

The type of the None singleton.

var OffsetEndEventName

The type of the None singleton.

var OffsetStartEventName

The type of the None singleton.

var OpticalDetectorExposureDataEventName

The type of the None singleton.

var OpticalDetectorExposureStateEventName

The type of the None singleton.

var PrepareStartEventName

The type of the None singleton.

var PresetEndEventName

The type of the None singleton.

var PresetStartEventName

The type of the None singleton.

var PublishFailEventName

The type of the None singleton.

var PublishSuccessEventName

The type of the None singleton.

var ReadoutEndEventName

The type of the None singleton.

var ReadoutFailedEventName

The type of the None singleton.

var ScitargetAcqEndEventName

The type of the None singleton.

var ScitargetAcqStartEventName

The type of the None singleton.

var WfsDetectorExposureStateEventName

The type of the None singleton.