Package csw.params.events
Class SequencerObserveEvent
java.lang.Object
csw.params.events.SequencerObserveEvent
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
The events that indicate activities for each observation and the acquisition process.
param: prefix
Prefix
the prefix identifier of the sequencer which is generating this event.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1) dataWriteEnd
(ExposureId exposureId, String filename) This event indicates that the instrument has finished writing the exposure data file or transfer of exposure data to DMS.dataWriteStart
(ExposureId exposureId, String filename) This event indicates that the instrument has started writing the exposure data file or transfer of exposure data to DMS.downtimeStart
(ObsId obsId, String reasonForDowntime) This event indicates that something has occurred that interrupts the normal observing workflow and time accounting.exposureAborted
(ExposureId exposureId) This event indicates that a request was made to abort the exposure and it has completed.exposureEnd
(ExposureId exposureId) This event indicates the end of data acquisition that results in a file produced for DMS.exposureStart
(ExposureId exposureId) This event indicates the start of data acquisition that results in a file produced for DMS.guidestarAcqEnd
(ObsId obsId) This event indicates the end of locking the telescope to the sky with guide and WFS targetsguidestarAcqStart
(ObsId obsId) This event indicates the start of locking the telescope to the sky with guide and WFS targetsinputRequestEnd
(ObsId obsId) This event indicates the end of a request to the user for inputinputRequestStart
(ObsId obsId) This event indicates the start of a request to the user for inputobservationEnd
(ObsId obsId) This event indicates the end of execution of actions related to an observation including acquisition and science data acquisition.observationStart
(ObsId obsId) This event indicates the start of execution of actions related to an observation including acquisition and science data acquisition.observeEnd
(ObsId obsId) This event indicates the end of execution of actions related to an Observe commandThis event indicates that a user has paused the current observation Sequence which will happen after the current step concludesThis event indicates that a user has resumed a paused observation Sequence.observeStart
(ObsId obsId) This event indicates the start of execution of actions related to an Observe commandThis event indicates the end of a telescope offset or ditheroffsetStart
(ObsId obsId, CoordinateSystem coordinateSystem, double p, double q) This event indicates the start of a telescope offset or ditherprefix()
prepareStart
(ExposureId exposureId) This event indicates that the detector system is preparing to start an exposure.This event indicates the end of the preset phase of acquisitionpresetStart
(ObsId obsId) This event indicates the start of the preset phase of acquisitionreadoutEnd
(ExposureId exposureId) This event indicates that a readout that is part of a ramp has completed.readoutFailed
(ExposureId exposureId) This event indicates that a readout that is part of a ramp has failed indicating transfer failure or some other issue.scitargetAcqEnd
(ObsId obsId) This event indicates the end of acquisition phase where science target is centered as needed after guidestar lockingscitargetAcqStart
(ObsId obsId) This event indicates the start of acquisition phase where science target is peaked up as needed after guidestar lockingstatic String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
SequencerObserveEvent
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
prefix
-
presetStart
This event indicates the start of the preset phase of acquisition- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
presetEnd
This event indicates the end of the preset phase of acquisition- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
guidestarAcqStart
This event indicates the start of locking the telescope to the sky with guide and WFS targets- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
guidestarAcqEnd
This event indicates the end of locking the telescope to the sky with guide and WFS targets- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
scitargetAcqStart
This event indicates the start of acquisition phase where science target is peaked up as needed after guidestar locking- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
scitargetAcqEnd
This event indicates the end of acquisition phase where science target is centered as needed after guidestar locking- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
observationStart
This event indicates the start of execution of actions related to an observation including acquisition and science data acquisition.- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
observationEnd
This event indicates the end of execution of actions related to an observation including acquisition and science data acquisition.- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
observeStart
This event indicates the start of execution of actions related to an Observe command- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
observeEnd
This event indicates the end of execution of actions related to an Observe command- Parameters:
obsId
-ObsId
Represents a unique observation id- Returns:
ObserveEvent
-
exposureStart
This event indicates the start of data acquisition that results in a file produced for DMS. This is a potential metadata event for DMS.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
exposureEnd
This event indicates the end of data acquisition that results in a file produced for DMS. This is a potential metadata event for DMS.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
readoutEnd
This event indicates that a readout that is part of a ramp has completed.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
readoutFailed
This event indicates that a readout that is part of a ramp has failed indicating transfer failure or some other issue.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
dataWriteStart
This event indicates that the instrument has started writing the exposure data file or transfer of exposure data to DMS.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.filename
-String
the path of the file.- Returns:
ObserveEvent
-
dataWriteEnd
This event indicates that the instrument has finished writing the exposure data file or transfer of exposure data to DMS.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.filename
-String
the path of the file.- Returns:
ObserveEvent
-
prepareStart
This event indicates that the detector system is preparing to start an exposure.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
exposureAborted
This event indicates that a request was made to abort the exposure and it has completed. Normal data events should occur if data is recoverable. Abort should not fail- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
observePaused
This event indicates that a user has paused the current observation Sequence which will happen after the current step concludes- Returns:
ObserveEvent
-
observeResumed
This event indicates that a user has resumed a paused observation Sequence.- Returns:
ObserveEvent
-
downtimeStart
This event indicates that something has occurred that interrupts the normal observing workflow and time accounting. This event will have a hint (TBD) that indicates the cause of the downtime for statistics. Examples are: weather, equipment or other technical failure, etc. Downtime is ended by the start of an observation or exposure.- Parameters:
obsId
-ObsId
Represents a unique observation idreasonForDowntime
-String
a hint that indicates the cause of the downtime for statistics.- Returns:
ObserveEvent
-
offsetStart
This event indicates the start of a telescope offset or dither- Parameters:
obsId
-ObsId
representing a unique observation idcoordinateSystem
-CoordinateSystem
Represents coordinate systemp
-Double
Represents telescope's xCoordinate offsetq
-Double
Represents telescope's yCoordinate offset- Returns:
ObserveEvent
-
offsetEnd
This event indicates the end of a telescope offset or dither- Parameters:
obsId
-ObsId
representing a unique observation id- Returns:
ObserveEvent
-
inputRequestStart
This event indicates the start of a request to the user for input- Parameters:
obsId
-ObsId
Representing a unique observation id- Returns:
ObserveEvent
-
inputRequestEnd
This event indicates the end of a request to the user for input- Parameters:
obsId
-ObsId
Representing a unique observation id- Returns:
ObserveEvent
-