imap_processing.idex.idex_l1b.get_trigger_origin#

imap_processing.idex.idex_l1b.get_trigger_origin(trigger_id: ndarray[tuple[int, ...], dtype[_ScalarType_co]], idex_attrs: ImapCdfAttributes) dict[str, DataArray]#

Determine the trigger origin for each event.

Parameters:
  • trigger_id (numpy.ndarray) – Array of raw trigger ID values from the l1a dataset. The trigger ID is a 32-bit integer where the lower 10 bits contain information about the trigger origin.

  • idex_attrs (ImapCdfAttributes) – CDF attribute manager object.

Returns:

A dictionary containing the trigger_origin DataArray with the trigger origin info for each event.

Return type:

dict[str, xarray.DataArray]