snews

class hop.plugins.snews.SNEWSAlert(message_id: str, sent_time: str, machine_time: str, content: str)[source]

Defines a SNEWS alert message.

class hop.plugins.snews.SNEWSBase(message_id: str)[source]

Defines a base SNEWS message type.

classmethod load(input_)[source]
Parameters

input – A serialized json string converted by asdict().

Returns

class hop.plugins.snews.SNEWSHeartbeat(message_id: str, detector_id: str, sent_time: str, machine_time: str, location: str, status: str, content: str)[source]

Defines a heartbeat published by a detector.

class hop.plugins.snews.SNEWSObservation(message_id: str, detector_id: str, sent_time: str, neutrino_time: str, machine_time: str, location: str, p_value: float, status: str, content: str)[source]

Defines an observation published by a detector.