pyspi.utils.livedets module

pyspi.utils.livedets.get_live_dets(time, event_types=['single', 'double', 'triple'])[source]

Get the live dets for a given time

Parameters
  • time – Live dets at a given time. Either “YYMMDD HHMMSS” or as astropy time object

  • event_types – which event types? List with single, double and/or triple

Returns

array of live dets

pyspi.utils.livedets.get_live_dets_pointing(pointing, event_types=['single', 'double', 'triple'])[source]

Get livedets for a given pointing id

Parameters
  • pointing – pointing id

  • event_types – which event types? List with single, double and/or triple

Returns