triggers_single_detector_HM.TriggerList.get_time_index#

Back to Class page

Summary#

Signature#

def get_time_index(self, triggers)
Input variables#

Name

Type

Default

Description

triggers

Processedclist with triggers that jumped (can be a vector for n_triggers = 1)

Output variables#

Return annotation

Docstring type

Description

None

  1. Indices closest to right-edge of template + 1 = score 2. Subgrid shifts to the nearest time on the grid (s) (scalars if n_triggers = 1)

Docstring#

"
:param triggers:
    Processedclist with triggers that jumped
    (can be a vector for n_triggers = 1)
:return: 1. Indices closest to right-edge of template + 1 = score
         2. Subgrid shifts to the nearest time on the grid (s)
         (scalars if n_triggers = 1)